Class AsymmetricKeyPair<P extends AsymmetricPublicKey,S extends AsymmetricPrivateKey>
- java.lang.Object
-
- org.bouncycastle.crypto.asymmetric.AsymmetricKeyPair<P,S>
-
public final class AsymmetricKeyPair<P extends AsymmetricPublicKey,S extends AsymmetricPrivateKey> extends java.lang.ObjectCarrier class for a public key and its associated private key. This class will check the key pair on construction.
-
-
Constructor Summary
Constructors Constructor Description AsymmetricKeyPair(P publicKey, S privateKey)Create a public/private key pair.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SgetPrivateKey()Return the private key of the pair.PgetPublicKey()Return the public key of the pair.
-