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
typeSignatureSubpacketTagcriticalboolisLongLengthbooldatabyte[]
Properties
SubpacketType
public SignatureSubpacketTag SubpacketType { get; }
Property Value
Methods
Encode(Stream)
public void Encode(Stream os)
Parameters
osStream
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
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
IsLongLength()
public bool IsLongLength()