Top Description Fields Constructors Methods
io.netty.internal.tcnative

public final Class SessionTicketKey

extends Object
Class Inheritance

Session Ticket Key

Field Summary

Modifier and TypeField and Description
public static final int
AES_KEY_SIZE

Size of session ticket key AES key

pack-priv final byte[]
public static final int
HMAC_KEY_SIZE

Size of session ticket key HMAC key

pack-priv final byte[]
pack-priv final byte[]
public static final int
NAME_SIZE

Size of session ticket key name

public static final int
TICKET_KEY_SIZE

Size of session ticket key

Constructor Summary

AccessConstructor and Description
public
SessionTicketKey(byte[]
the name of the session ticket key
name
,
byte[]
the HMAC key of the session ticket key
hmacKey
,
byte[]
the AES key of the session ticket key
aesKey
)

Construct SessionTicketKey.

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

the AES key of the session ticket key
getAesKey
()

Get AES Key.

public byte[]

Returns:

the HMAC key of the session ticket key
getHmacKey
()

Get HMAC key.

public byte[]

Returns:

the name of the session ticket key
getName
()

Get name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

AES_KEY_SIZEback to summary
public static final int AES_KEY_SIZE

Size of session ticket key AES key

aesKeyback to summary
pack-priv final byte[] aesKey
HMAC_KEY_SIZEback to summary
public static final int HMAC_KEY_SIZE

Size of session ticket key HMAC key

hmacKeyback to summary
pack-priv final byte[] hmacKey
nameback to summary
pack-priv final byte[] name
NAME_SIZEback to summary
public static final int NAME_SIZE

Size of session ticket key name

TICKET_KEY_SIZEback to summary
public static final int TICKET_KEY_SIZE

Size of session ticket key

Constructor Detail

SessionTicketKeyback to summary
public SessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)

Construct SessionTicketKey.

Parameters
name:byte[]

the name of the session ticket key

hmacKey:byte[]

the HMAC key of the session ticket key

aesKey:byte[]

the AES key of the session ticket key

Method Detail

getAesKeyback to summary
public byte[] getAesKey()

Get AES Key.

Returns:byte[]

the AES key of the session ticket key

getHmacKeyback to summary
public byte[] getHmacKey()

Get HMAC key.

Returns:byte[]

the HMAC key of the session ticket key

getNameback to summary
public byte[] getName()

Get name.

Returns:byte[]

the name of the session ticket key