Пример #1
0
 /**
  * Encode this {@link NewSessionTicket} to a {@link Stream}.
  *
  * @param output the {@link Stream} to encode to.
  * @throws IOException
  */
 public virtual void Encode(Stream output)
 {
     TlsUtilities.WriteUint32(mTicketLifetimeHint, output);
     TlsUtilities.WriteOpaque16(mTicket, output);
 }