C# Class Org.BouncyCastle.Bcpg.RsaPublicBcpgKey

Base class for an RSA public key.
Inheritance: BcpgObject, IBcpgKey
ファイルを表示 Open project: nonorganic/dssnet

Public Methods

Method Description
Encode ( BcpgOutputStream bcpgOut ) : void
GetEncoded ( ) : byte[]

Return the standard PGP encoding of the key.

RsaPublicBcpgKey ( BcpgInputStream bcpgIn ) : System

Construct an RSA public key from the passed in stream.

RsaPublicBcpgKey ( BigInteger n, BigInteger e ) : System

Method Details

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[]

RsaPublicBcpgKey() public method

Construct an RSA public key from the passed in stream.
public RsaPublicBcpgKey ( BcpgInputStream bcpgIn ) : System
bcpgIn BcpgInputStream
return System

RsaPublicBcpgKey() public method

public RsaPublicBcpgKey ( BigInteger n, BigInteger e ) : System
n Org.BouncyCastle.Math.BigInteger The modulus.
e Org.BouncyCastle.Math.BigInteger The public exponent.
return System