Example usage for Java java.security KeyPairGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
KeyPair | generateKeyPair() Generates a key pair. |
KeyPair | genKeyPair() Generates a key pair. |
String | getAlgorithm() Returns the standard name of the algorithm for this key pair generator. |
KeyPairGenerator | getInstance(String algorithm) Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm. |
KeyPairGenerator | getInstance(Instance instance, String algorithm) |
KeyPairGenerator | getInstance(String algorithm, String provider) Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm. |
KeyPairGenerator | getInstance(String algorithm, Provider provider) Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm. |
void | initialize(int keysize, SecureRandom random) Initializes the key pair generator for a certain keysize with the given source of randomness (and a default parameter set). |
void | initialize(AlgorithmParameterSpec params, SecureRandom random) Initializes the key pair generator with the given parameter set and source of randomness. |
void | initialize(int keysize) Initializes the key pair generator for a certain keysize using a default parameter set and the SecureRandom implementation of the highest-priority installed provider as the source of randomness. |
void | initialize(AlgorithmParameterSpec params) Initializes the key pair generator using the specified parameter set and the SecureRandom implementation of the highest-priority installed provider as the source of randomness. |