Table of Contents

Class NewSessionTicket

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

Constructors

NewSessionTicket(long, byte[])

public NewSessionTicket(long ticketLifetimeHint, byte[] ticket)

Parameters

ticketLifetimeHint long
ticket byte[]

Properties

Ticket

public byte[] Ticket { get; }

Property Value

byte[]

TicketLifetimeHint

public long TicketLifetimeHint { get; }

Property Value

long

Methods

Encode(Stream)

Encode this NewSessionTicket to a Stream.

public void Encode(Stream output)

Parameters

output Stream

the Stream to encode to.

Exceptions

IOException

Parse(Stream)

Parse a NewSessionTicket from a Stream.

public static NewSessionTicket Parse(Stream input)

Parameters

input Stream

the Stream to parse from.

Returns

NewSessionTicket

a NewSessionTicket object.

Exceptions

IOException