Table of Contents

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

type UserAttributeSubpacketTag
forceLongLength bool
data byte[]

UserAttributeSubpacket(UserAttributeSubpacketTag, byte[])

protected UserAttributeSubpacket(UserAttributeSubpacketTag type, byte[] data)

Parameters

type UserAttributeSubpacketTag
data byte[]

Fields

data

protected readonly byte[] data

Field Value

byte[]

Properties

SubpacketType

public virtual UserAttributeSubpacketTag SubpacketType { get; }

Property Value

UserAttributeSubpacketTag

Methods

Encode(Stream)

public virtual 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()

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.