Uses of Class java.security.KeyPair

Uses in package java.security

Methods with parameter type java.security.KeyPair

void
Sets the key pair (public key and private key) for this signer.

First, if there is a security manager, its checkSecurityAccess() method is called with "setSignerKeyPair" as its argument to see if it's ok to set the key pair.

Methods with return type java.security.KeyPair

KeyPair
Generates a key pair.

If this KeyPairGenerator has not been initialized explicitly, provider-specific defaults will be used for the size and other (algorithm-specific) values of the generated keys.

This will generate a new key pair every time it is called.

This method is functionally equivalent to generateKeyPair().

KeyPair
Generates a key pair.

If this KeyPairGenerator has not been initialized explicitly, provider-specific defaults will be used for the size and other (algorithm-specific) values of the generated keys.

This will generate a new key pair every time it is called.

This method is functionally equivalent to genKeyPair().

KeyPair
Generates a KeyPair according the rules for the algorithm.