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
Properties
Identity
public byte[] Identity { get; }
Property Value
- byte[]
ObfuscatedTicketAge
public long ObfuscatedTicketAge { get; }
Property Value
Methods
Encode(Stream)
public void Encode(Stream output)
Parameters
outputStream
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
GetEncodedLength()
public int GetEncodedLength()
Returns
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
inputStream