Table of Contents

Class PskIdentity

Namespace
Org.BouncyCastle.Tls
Assembly
BouncyCastle.Cryptography.dll
public sealed class PskIdentity
Inheritance
PskIdentity
Inherited Members

Constructors

PskIdentity(byte[], long)

public PskIdentity(byte[] identity, long obfuscatedTicketAge)

Parameters

identity byte[]
obfuscatedTicketAge long

Properties

Identity

public byte[] Identity { get; }

Property Value

byte[]

ObfuscatedTicketAge

public long ObfuscatedTicketAge { get; }

Property Value

long

Methods

Encode(Stream)

public void Encode(Stream output)

Parameters

output 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.

GetEncodedLength()

public int GetEncodedLength()

Returns

int

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Parse(Stream)

public static PskIdentity Parse(Stream input)

Parameters

input Stream

Returns

PskIdentity