Class UserAttributeSubpacket
- Namespace
- Org.BouncyCastle.Bcpg
- Assembly
- BouncyCastle.Cryptography.dll
public class UserAttributeSubpacket
- Inheritance
-
UserAttributeSubpacket
- Derived
- Inherited Members
Constructors
UserAttributeSubpacket(UserAttributeSubpacketTag, bool, byte[])
protected UserAttributeSubpacket(UserAttributeSubpacketTag type, bool forceLongLength, byte[] data)
Parameters
typeUserAttributeSubpacketTagforceLongLengthbooldatabyte[]
UserAttributeSubpacket(UserAttributeSubpacketTag, byte[])
protected UserAttributeSubpacket(UserAttributeSubpacketTag type, byte[] data)
Parameters
typeUserAttributeSubpacketTagdatabyte[]
Fields
data
protected readonly byte[] data
Field Value
- byte[]
Properties
SubpacketType
public virtual UserAttributeSubpacketTag SubpacketType { get; }
Property Value
Methods
Encode(Stream)
public virtual 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()
public virtual byte[] GetData()
Returns
- byte[]
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.