Class SslSessionTicketKey

java.lang.Object
io.netty.handler.codec.quic.SslSessionTicketKey

public final class SslSessionTicketKey extends Object
Session Ticket Key
  • Field Details

    • NAME_SIZE

      public static final int NAME_SIZE
      Size of session ticket key name
      See Also:
    • HMAC_KEY_SIZE

      public static final int HMAC_KEY_SIZE
      Size of session ticket key HMAC key
      See Also:
    • AES_KEY_SIZE

      public static final int AES_KEY_SIZE
      Size of session ticket key AES key
      See Also:
    • TICKET_KEY_SIZE

      public static final int TICKET_KEY_SIZE
      Size of session ticket key
      See Also:
  • Constructor Details

    • SslSessionTicketKey

      public SslSessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)
      Construct SessionTicketKey.
      Parameters:
      name - the name of the session ticket key
      hmacKey - the HMAC key of the session ticket key
      aesKey - the AES key of the session ticket key
  • Method Details

    • name

      public byte[] name()
      Get name.
      Returns:
      the name of the session ticket key
    • hmacKey

      public byte[] hmacKey()
      Get HMAC key.
      Returns:
      the HMAC key of the session ticket key
    • aesKey

      public byte[] aesKey()
      Get AES Key.
      Returns:
      the AES key of the session ticket key
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object