- java.lang.Object
-
- io.netty5.handler.ssl.OpenSslSessionTicketKey
-
public final class OpenSslSessionTicketKey extends Object
Session Ticket Key
-
-
Field Summary
Fields Modifier and Type Field Description static intAES_KEY_SIZESize of session ticket key AES keystatic intHMAC_KEY_SIZESize of session ticket key HMAC keystatic intNAME_SIZESize of session ticket key namestatic intTICKET_KEY_SIZESize of session ticker key
-
Constructor Summary
Constructors Constructor Description OpenSslSessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)Construct a OpenSslSessionTicketKey.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]aesKey()Get AES Key.byte[]hmacKey()Get HMAC key.byte[]name()Get name.
-
-
-
Field Detail
-
NAME_SIZE
public static final int NAME_SIZE
Size of session ticket key name- See Also:
- Constant Field Values
-
HMAC_KEY_SIZE
public static final int HMAC_KEY_SIZE
Size of session ticket key HMAC key- See Also:
- Constant Field Values
-
AES_KEY_SIZE
public static final int AES_KEY_SIZE
Size of session ticket key AES key- See Also:
- Constant Field Values
-
TICKET_KEY_SIZE
public static final int TICKET_KEY_SIZE
Size of session ticker key- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenSslSessionTicketKey
public OpenSslSessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)Construct a OpenSslSessionTicketKey.- Parameters:
name- the name of the session ticket keyhmacKey- the HMAC key of the session ticket keyaesKey- the AES key of the session ticket key
-
-