Table of Contents

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

sigType int
hashAlgorithm HashAlgorithmTag
keyAlgorithm PublicKeyAlgorithmTag
keyId long
isNested bool

Properties

HashAlgorithm

The hash algorithm tag.

public HashAlgorithmTag HashAlgorithm { get; }

Property Value

HashAlgorithmTag

KeyAlgorithm

The encryption algorithm tag.

public PublicKeyAlgorithmTag KeyAlgorithm { get; }

Property Value

PublicKeyAlgorithmTag

KeyId

public long KeyId { get; }

Property Value

long

SignatureType

public int SignatureType { get; }

Property Value

int

Methods

Encode(BcpgOutputStream)

public override void Encode(BcpgOutputStream bcpgOut)

Parameters

bcpgOut BcpgOutputStream