C# Class Org.BouncyCastle.Bcpg.ElGamalPublicBcpgKey

Base class for an ElGamal public key.
Inheritance: BcpgObject, IBcpgKey
Show file Open project: nonorganic/dssnet

Public Methods

Method Description
ElGamalPublicBcpgKey ( BcpgInputStream bcpgIn ) : System
ElGamalPublicBcpgKey ( BigInteger p, BigInteger g, BigInteger y ) : System
Encode ( BcpgOutputStream bcpgOut ) : void
GetEncoded ( ) : byte[]

Return the standard PGP encoding of the key.

Method Details

ElGamalPublicBcpgKey() public method

public ElGamalPublicBcpgKey ( BcpgInputStream bcpgIn ) : System
bcpgIn BcpgInputStream
return System

ElGamalPublicBcpgKey() public method

public ElGamalPublicBcpgKey ( BigInteger p, BigInteger g, BigInteger y ) : System
p Org.BouncyCastle.Math.BigInteger
g Org.BouncyCastle.Math.BigInteger
y Org.BouncyCastle.Math.BigInteger
return System

Encode() public method

public Encode ( BcpgOutputStream bcpgOut ) : void
bcpgOut BcpgOutputStream
return void

GetEncoded() public method

Return the standard PGP encoding of the key.
public GetEncoded ( ) : byte[]
return byte[]