Package org.gudy.bouncycastle.crypto
Class AsymmetricCipherKeyPair
java.lang.Object
org.gudy.bouncycastle.crypto.AsymmetricCipherKeyPair
a holding class for public/private parameter pairs.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAsymmetricCipherKeyPair
(CipherParameters publicParam, CipherParameters privateParam) basic constructor. -
Method Summary
Modifier and TypeMethodDescriptionreturn the private key parameters.return the public key parameters.
-
Field Details
-
publicParam
-
privateParam
-
-
Constructor Details
-
AsymmetricCipherKeyPair
basic constructor.- Parameters:
publicParam
- a public key parameters object.privateParam
- the corresponding private key parameters.
-
-
Method Details
-
getPublic
return the public key parameters.- Returns:
- the public key parameters.
-
getPrivate
return the private key parameters.- Returns:
- the private key parameters.
-