org.bouncycastle.crypto.tls
Class NewSessionTicket
java.lang.Object
|
+--org.bouncycastle.crypto.tls.NewSessionTicket
Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
- public class NewSessionTicket
- extends java.lang.Object
Constructor Summary |
NewSessionTicket(long ticketLifetimeHint,
byte[] ticket)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ticketLifetimeHint
protected long ticketLifetimeHint
- Deprecated.
ticket
protected byte[] ticket
- Deprecated.
NewSessionTicket
public NewSessionTicket(long ticketLifetimeHint,
byte[] ticket)
- Deprecated.
getTicketLifetimeHint
public long getTicketLifetimeHint()
- Deprecated.
getTicket
public byte[] getTicket()
- Deprecated.
encode
public void encode(java.io.OutputStream output)
throws java.io.IOException
- Deprecated.
- Encode this
NewSessionTicket
to an OutputStream
.
- Parameters:
output
- the OutputStream
to encode to.- Throws:
java.io.IOException
-
parse
public static NewSessionTicket parse(java.io.InputStream input)
throws java.io.IOException
- Deprecated.
- Parse a
NewSessionTicket
from an InputStream
.
- Parameters:
input
- the InputStream
to parse from.- Returns:
- a
NewSessionTicket
object. - Throws:
java.io.IOException
-