Top Description Fields Constructors Methods
io.netty.handler.ssl

public final Class OpenSslSessionTicketKey

extends Object
Class Inheritance
Imports
io.netty.internal.tcnative.SessionTicketKey

Session Ticket Key

Field Summary

Modifier and TypeField and Description
public static final int
AES_KEY_SIZE

Size of session ticket key AES key

public static final int
HMAC_KEY_SIZE

Size of session ticket key HMAC key

pack-priv final SessionTicketKey
public static final int
NAME_SIZE

Size of session ticket key name

public static final int
TICKET_KEY_SIZE

Size of session ticker key

Constructor Summary

AccessConstructor and Description
public
OpenSslSessionTicketKey(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 a OpenSslSessionTicketKey.

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

the AES key of the session ticket key
aesKey
()

Get AES Key.

public byte[]

Returns:

the HMAC key of the session ticket key
hmacKey
()

Get HMAC key.

public byte[]

Returns:

the name of the session ticket key
name
()

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

HMAC_KEY_SIZEback to summary
public static final int HMAC_KEY_SIZE

Size of session ticket key HMAC key

keyback to summary
pack-priv final SessionTicketKey key
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 ticker key

Constructor Detail

OpenSslSessionTicketKeyback to summary
public OpenSslSessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)

Construct a OpenSslSessionTicketKey.

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

aesKeyback to summary
public byte[] aesKey()

Get AES Key.

Returns:byte[]

the AES key of the session ticket key

hmacKeyback to summary
public byte[] hmacKey()

Get HMAC key.

Returns:byte[]

the HMAC key of the session ticket key

nameback to summary
public byte[] name()

Get name.

Returns:byte[]

the name of the session ticket key