Class OnePassSignaturePacket
- Namespace
- Org.BouncyCastle.Bcpg
- Assembly
- BouncyCastle.Cryptography.dll
public class OnePassSignaturePacket : ContainedPacket
- Inheritance
-
OnePassSignaturePacket
- Inherited Members
Remarks
Generic signature object
Constructors
OnePassSignaturePacket(int, HashAlgorithmTag, PublicKeyAlgorithmTag, long, bool)
public OnePassSignaturePacket(int sigType, HashAlgorithmTag hashAlgorithm, PublicKeyAlgorithmTag keyAlgorithm, long keyId, bool isNested)
Parameters
sigTypeinthashAlgorithmHashAlgorithmTagkeyAlgorithmPublicKeyAlgorithmTagkeyIdlongisNestedbool
Properties
HashAlgorithm
The hash algorithm tag.
public HashAlgorithmTag HashAlgorithm { get; }
Property Value
KeyAlgorithm
The encryption algorithm tag.
public PublicKeyAlgorithmTag KeyAlgorithm { get; }
Property Value
KeyId
public long KeyId { get; }
Property Value
SignatureType
public int SignatureType { get; }
Property Value
Methods
Encode(BcpgOutputStream)
public override void Encode(BcpgOutputStream bcpgOut)
Parameters
bcpgOutBcpgOutputStream