public class NewSessionTicket extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
ticket |
protected long |
ticketLifetimeHint |
| Constructor and Description |
|---|
NewSessionTicket(long ticketLifetimeHint,
byte[] ticket) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output)
Encode this
NewSessionTicket to an OutputStream. |
byte[] |
getTicket() |
long |
getTicketLifetimeHint() |
static NewSessionTicket |
parse(InputStream input)
Parse a
NewSessionTicket from an InputStream. |
public long getTicketLifetimeHint()
public byte[] getTicket()
public void encode(OutputStream output) throws IOException
NewSessionTicket to an OutputStream.output - the OutputStream to encode to.IOExceptionpublic static NewSessionTicket parse(InputStream input) throws IOException
NewSessionTicket from an InputStream.input - the InputStream to parse from.NewSessionTicket object.IOExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.