Table of Contents

Class SignatureSubpacket

Namespace
Org.BouncyCastle.Bcpg
Assembly
BouncyCastle.Cryptography.dll
public class SignatureSubpacket
Inheritance
SignatureSubpacket
Derived
Inherited Members

Remarks

Basic type for a PGP Signature sub-packet.

Constructors

SignatureSubpacket(SignatureSubpacketTag, bool, bool, byte[])

protected SignatureSubpacket(SignatureSubpacketTag type, bool critical, bool isLongLength, byte[] data)

Parameters

type SignatureSubpacketTag
critical bool
isLongLength bool
data byte[]

Properties

SubpacketType

public SignatureSubpacketTag SubpacketType { get; }

Property Value

SignatureSubpacketTag

Methods

Encode(Stream)

public void Encode(Stream os)

Parameters

os Stream

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetData()

Return the generic data making up the packet.

public byte[] GetData()

Returns

byte[]

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsCritical()

public bool IsCritical()

Returns

bool

IsLongLength()

public bool IsLongLength()

Returns

bool