public class NewSessionTicket
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
ticket
Deprecated.
|
protected long |
ticketLifetimeHint
Deprecated.
|
Constructor and Description |
---|
NewSessionTicket(long ticketLifetimeHint,
byte[] ticket)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream output)
Deprecated.
Encode this
NewSessionTicket to an OutputStream . |
byte[] |
getTicket()
Deprecated.
|
long |
getTicketLifetimeHint()
Deprecated.
|
static NewSessionTicket |
parse(java.io.InputStream input)
Deprecated.
Parse a
NewSessionTicket from an InputStream . |
protected long ticketLifetimeHint
protected byte[] ticket
public NewSessionTicket(long ticketLifetimeHint, byte[] ticket)
public long getTicketLifetimeHint()
public byte[] getTicket()
public void encode(java.io.OutputStream output) throws java.io.IOException
NewSessionTicket
to an OutputStream
.output
- the OutputStream
to encode to.java.io.IOException
public static NewSessionTicket parse(java.io.InputStream input) throws java.io.IOException
NewSessionTicket
from an InputStream
.input
- the InputStream
to parse from.NewSessionTicket
object.java.io.IOException