Package io.netty.handler.ssl
Class OpenSslSessionTicketKey
java.lang.Object
io.netty.handler.ssl.OpenSslSessionTicketKey
Session Ticket Key
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Size of session ticket key AES keystatic 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 namestatic final int
Size of session ticker key -
Constructor Summary
ConstructorsConstructorDescriptionOpenSslSessionTicketKey
(byte[] name, byte[] hmacKey, byte[] aesKey) Construct a OpenSslSessionTicketKey. -
Method Summary
-
Field Details
-
NAME_SIZE
public static final int NAME_SIZESize of session ticket key name- See Also:
-
HMAC_KEY_SIZE
public static final int HMAC_KEY_SIZESize of session ticket key HMAC key- See Also:
-
AES_KEY_SIZE
public static final int AES_KEY_SIZESize of session ticket key AES key- See Also:
-
TICKET_KEY_SIZE
public static final int TICKET_KEY_SIZESize 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 keyhmacKey
- the HMAC key of the session ticket keyaesKey
- 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
-