类 SessionTicketKey


  • public final class SessionTicketKey
    extends java.lang.Object
    Session Ticket Key
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static int AES_KEY_SIZE
      Size of session ticket key AES key
      static int HMAC_KEY_SIZE
      Size of session ticket key HMAC key
      static int NAME_SIZE
      Size of session ticket key name
      static int TICKET_KEY_SIZE
      Size of session ticket key
    • 构造器概要

      构造器 
      构造器 说明
      SessionTicketKey​(byte[] name, byte[] hmacKey, byte[] aesKey)
      Construct SessionTicketKey.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      byte[] getAesKey()
      Get AES Key.
      byte[] getHmacKey()
      Get HMAC key.
      byte[] getName()
      Get name.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • NAME_SIZE

        public static final int NAME_SIZE
        Size of session ticket key name
        另请参阅:
        常量字段值
      • HMAC_KEY_SIZE

        public static final int HMAC_KEY_SIZE
        Size of session ticket key HMAC key
        另请参阅:
        常量字段值
      • AES_KEY_SIZE

        public static final int AES_KEY_SIZE
        Size of session ticket key AES key
        另请参阅:
        常量字段值
      • TICKET_KEY_SIZE

        public static final int TICKET_KEY_SIZE
        Size of session ticket key
        另请参阅:
        常量字段值
    • 构造器详细资料

      • SessionTicketKey

        public SessionTicketKey​(byte[] name,
                                byte[] hmacKey,
                                byte[] aesKey)
        Construct SessionTicketKey.
        参数:
        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
    • 方法详细资料

      • getName

        public byte[] getName()
        Get name.
        返回:
        the name of the session ticket key
      • getHmacKey

        public byte[] getHmacKey()
        Get HMAC key.
        返回:
        the HMAC key of the session ticket key
      • getAesKey

        public byte[] getAesKey()
        Get AES Key.
        返回:
        the AES key of the session ticket key