C# Class Org.BouncyCastle.Bcpg.SignaturePacket

Generic signature packet.
Inheritance: ContainedPacket
Exibir arquivo Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Encode ( BcpgOutputStream bcpgOut ) : void
GetHashedSubPackets ( ) : Org.BouncyCastle.Bcpg.SignatureSubpacket[]
GetSignature ( ) : Org.BouncyCastle.Bcpg.MPInteger[]
GetSignatureBytes ( ) : byte[]
GetSignatureTrailer ( ) : byte[]
GetUnhashedSubPackets ( ) : Org.BouncyCastle.Bcpg.SignatureSubpacket[]
SignaturePacket ( int version, int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, SignatureSubpacket hashedData, SignatureSubpacket unhashedData, byte fingerprint, MPInteger signature ) : System
SignaturePacket ( int version, int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, long creationTime, byte fingerprint, MPInteger signature ) : System
SignaturePacket ( int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, SignatureSubpacket hashedData, SignatureSubpacket unhashedData, byte fingerprint, MPInteger signature ) : System

Private Methods

Method Description
EncodeLengthAndData ( BcpgOutputStream pOut, byte data ) : void
GetEncodedSubpackets ( SignatureSubpacket ps ) : byte[]
SignaturePacket ( BcpgInputStream bcpgIn ) : System
setCreationTime ( ) : void

Method Details

Encode() public method

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

GetHashedSubPackets() public method

public GetHashedSubPackets ( ) : Org.BouncyCastle.Bcpg.SignatureSubpacket[]
return Org.BouncyCastle.Bcpg.SignatureSubpacket[]

GetSignature() public method

public GetSignature ( ) : Org.BouncyCastle.Bcpg.MPInteger[]
return Org.BouncyCastle.Bcpg.MPInteger[]

GetSignatureBytes() public method

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

GetSignatureTrailer() public method

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

GetUnhashedSubPackets() public method

public GetUnhashedSubPackets ( ) : Org.BouncyCastle.Bcpg.SignatureSubpacket[]
return Org.BouncyCastle.Bcpg.SignatureSubpacket[]

SignaturePacket() public method

public SignaturePacket ( int version, int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, SignatureSubpacket hashedData, SignatureSubpacket unhashedData, byte fingerprint, MPInteger signature ) : System
version int
signatureType int
keyId long
keyAlgorithm PublicKeyAlgorithmTag
hashAlgorithm HashAlgorithmTag
hashedData SignatureSubpacket
unhashedData SignatureSubpacket
fingerprint byte
signature MPInteger
return System

SignaturePacket() public method

public SignaturePacket ( int version, int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, long creationTime, byte fingerprint, MPInteger signature ) : System
version int
signatureType int
keyId long
keyAlgorithm PublicKeyAlgorithmTag
hashAlgorithm HashAlgorithmTag
creationTime long
fingerprint byte
signature MPInteger
return System

SignaturePacket() public method

public SignaturePacket ( int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, SignatureSubpacket hashedData, SignatureSubpacket unhashedData, byte fingerprint, MPInteger signature ) : System
signatureType int
keyId long
keyAlgorithm PublicKeyAlgorithmTag
hashAlgorithm HashAlgorithmTag
hashedData SignatureSubpacket
unhashedData SignatureSubpacket
fingerprint byte
signature MPInteger
return System