C# Class Org.BouncyCastle.Bcpg.PublicKeyPacket

Basic packet for a PGP public key.
Inheritance: ContainedPacket
Mostrar archivo Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Encode ( BcpgOutputStream bcpgOut ) : void
GetEncodedContents ( ) : byte[]
GetTime ( ) : System.DateTime
PublicKeyPacket ( PublicKeyAlgorithmTag algorithm, System.DateTime time, IBcpgKey key ) : System

Construct a version 4 public key packet.

Private Methods

Method Description
PublicKeyPacket ( BcpgInputStream bcpgIn ) : System

Method Details

Encode() public method

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

GetEncodedContents() public method

public GetEncodedContents ( ) : byte[]
return byte[]

GetTime() public method

public GetTime ( ) : System.DateTime
return System.DateTime

PublicKeyPacket() public method

Construct a version 4 public key packet.
public PublicKeyPacket ( PublicKeyAlgorithmTag algorithm, System.DateTime time, IBcpgKey key ) : System
algorithm PublicKeyAlgorithmTag
time System.DateTime
key IBcpgKey
return System