Example usage for Java javax.crypto KeyGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
SecretKey | generateKey() Generates a secret key. |
String | getAlgorithm() Returns the algorithm name of this KeyGenerator object. |
KeyGenerator | getInstance(String algorithm) Returns a KeyGenerator object that generates secret keys for the specified algorithm. |
KeyGenerator | getInstance(String algorithm, String provider) Returns a KeyGenerator object that generates secret keys for the specified algorithm. |
KeyGenerator | getInstance(String algorithm, Provider provider) Returns a KeyGenerator object that generates secret keys for the specified algorithm. |
void | init(SecureRandom random) Initializes this key generator. |
void | init(AlgorithmParameterSpec params) Initializes this key generator with the specified parameter set. |
void | init(int keysize) Initializes this key generator for a certain keysize. |
void | init(AlgorithmParameterSpec params, SecureRandom random) Initializes this key generator with the specified parameter set and a user-provided source of randomness. |
void | init(int keysize, SecureRandom random) Initializes this key generator for a certain keysize, using a user-provided source of randomness. |