public final class OpenSslSessionTicketKey extends Object
Modifier and Type | Field and Description |
---|---|
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 ticker key
|
Constructor and Description |
---|
OpenSslSessionTicketKey(byte[] name,
byte[] hmacKey,
byte[] aesKey)
Construct a OpenSslSessionTicketKey.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
aesKey()
Get AES Key.
|
byte[] |
hmacKey()
Get HMAC key.
|
byte[] |
name()
Get name.
|
public static final int NAME_SIZE
public static final int HMAC_KEY_SIZE
public static final int AES_KEY_SIZE
public static final int TICKET_KEY_SIZE
public OpenSslSessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)
name
- the name of the session ticket keyhmacKey
- the HMAC key of the session ticket keyaesKey
- the AES key of the session ticket keyCopyright © 2008–2017 The Netty Project. All rights reserved.