Example usage for Java java.security KeyPair fields, constructors, methods, implement or subclass
The text is from its open source code.
KeyPair(PublicKey publicKey, PrivateKey privateKey) Constructs a key pair from the given public key and private key. |
PrivateKey | getPrivate() Returns a reference to the private key component of this key pair. |
PublicKey | getPublic() Returns a reference to the public key component of this key pair. |