org.bouncycastle.crypto
public class AsymmetricCipherKeyPair extends Object
Constructor Summary | |
---|---|
AsymmetricCipherKeyPair(CipherParameters publicParam, CipherParameters privateParam)
basic constructor.
|
Method Summary | |
---|---|
CipherParameters | getPrivate()
return the private key parameters.
|
CipherParameters | getPublic()
return the public key parameters.
|
Parameters: publicParam a public key parameters object. privateParam the corresponding private key parameters.
Returns: the private key parameters.
Returns: the public key parameters.