Bouncy Castle Cryptography Library 1.64

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


Field Summary
protected  byte[] ticket
          Deprecated.  
protected  long ticketLifetimeHint
          Deprecated.  
 
Constructor Summary
NewSessionTicket(long ticketLifetimeHint, byte[] ticket)
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ticketLifetimeHint

protected long ticketLifetimeHint
Deprecated. 

ticket

protected byte[] ticket
Deprecated. 
Constructor Detail

NewSessionTicket

public NewSessionTicket(long ticketLifetimeHint,
                        byte[] ticket)
Deprecated. 
Method Detail

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 -  

Bouncy Castle Cryptography Library 1.64