Table of Contents

Class UserIdPacket

Namespace
Org.BouncyCastle.Bcpg
Assembly
BouncyCastle.Cryptography.dll
public class UserIdPacket : ContainedPacket, IUserDataPacket
Inheritance
UserIdPacket
Implements
Inherited Members

Constructors

UserIdPacket(BcpgInputStream)

public UserIdPacket(BcpgInputStream bcpgIn)

Parameters

bcpgIn BcpgInputStream

UserIdPacket(byte[])

public UserIdPacket(byte[] rawId)

Parameters

rawId byte[]

UserIdPacket(string)

public UserIdPacket(string id)

Parameters

id string

Methods

Encode(BcpgOutputStream)

public override void Encode(BcpgOutputStream bcpgOut)

Parameters

bcpgOut BcpgOutputStream

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.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetId()

public string GetId()

Returns

string

GetRawId()

public byte[] GetRawId()

Returns

byte[]