Class OpenSslSessionTicketKey

java.lang.Object
io.netty.handler.ssl.OpenSslSessionTicketKey

public final class OpenSslSessionTicketKey extends Object
Session Ticket Key
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Size of session ticket key AES key
    static final int
    Size of session ticket key HMAC key
    (package private) final io.netty.internal.tcnative.SessionTicketKey
     
    static final int
    Size of session ticket key name
    static final int
    Size of session ticker key
  • Constructor Summary

    Constructors
    Constructor
    Description
    OpenSslSessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)
    Construct a OpenSslSessionTicketKey.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Get AES Key.
    byte[]
    Get HMAC key.
    byte[]
    Get name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 ticker key
      See Also:
    • key

      final io.netty.internal.tcnative.SessionTicketKey key
  • Constructor Details

    • OpenSslSessionTicketKey

      public OpenSslSessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)
      Construct a OpenSslSessionTicketKey.
      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