![](http://www.gnu-darwin.org/hexley-gd-sm.png)
|
Bouncy Castle Cryptography 1.11 API Specification: Class AsymmetricCipherKeyPair
org.bouncycastle.crypto
Class AsymmetricCipherKeyPair
java.lang.Object
|
+--org.bouncycastle.crypto.AsymmetricCipherKeyPair
- public class AsymmetricCipherKeyPair
- extends java.lang.Object
a holding class for public/private parameter pairs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsymmetricCipherKeyPair
public AsymmetricCipherKeyPair(CipherParameters publicParam,
CipherParameters privateParam)
- basic constructor.
- Parameters:
publicParam - a public key parameters object.privateParam - the corresponding private key parameters.
getPublic
public CipherParameters getPublic()
- return the public key parameters.
- Returns:
- the public key parameters.
getPrivate
public CipherParameters getPrivate()
- return the private key parameters.
- Returns:
- the private key parameters.
|