C# Class Org.BouncyCastle.Bcpg.DsaPublicBcpgKey

Base class for a DSA public key.
Inheritance: BcpgObject, IBcpgPublicKey
Show file Open project: nonorganic/dssnet

Public Methods

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

Return the standard PGP encoding of the key.

Method Details

DsaPublicBcpgKey() public method

public DsaPublicBcpgKey ( BcpgInputStream bcpgIn ) : System
bcpgIn BcpgInputStream The stream to read the packet from.
return System

DsaPublicBcpgKey() public method

public DsaPublicBcpgKey ( BigInteger p, BigInteger q, BigInteger g, BigInteger y ) : System
p Org.BouncyCastle.Math.BigInteger
q 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[]