FileDocCategorySizeDatePackage
AsymmetricCipherKeyPair.javaAPI DocAzureus 3.0.3.4997Tue Jun 08 05:12:58 BST 2004org.bouncycastle.crypto

AsymmetricCipherKeyPair

public class AsymmetricCipherKeyPair extends Object
a holding class for public/private parameter pairs.

Fields Summary
private CipherParameters
publicParam
private CipherParameters
privateParam
Constructors Summary
public AsymmetricCipherKeyPair(CipherParameters publicParam, CipherParameters privateParam)
basic constructor.

param
publicParam a public key parameters object.
param
privateParam the corresponding private key parameters.

        this.publicParam = publicParam;
        this.privateParam = privateParam;
    
Methods Summary
public CipherParametersgetPrivate()
return the private key parameters.

return
the private key parameters.

        return privateParam;
    
public CipherParametersgetPublic()
return the public key parameters.

return
the public key parameters.

        return publicParam;