public final class AsymmetricKeyPair<P extends AsymmetricPublicKey,S extends AsymmetricPrivateKey>
extends java.lang.Object
| Constructor and Description |
|---|
AsymmetricKeyPair(P publicKey,
S privateKey)
Create a public/private key pair.
|
| Modifier and Type | Method and Description |
|---|---|
S |
getPrivateKey()
Return the private key of the pair.
|
P |
getPublicKey()
Return the public key of the pair.
|