Package io.netty.handler.codec.quic
Class SslSessionTicketKey
- java.lang.Object
-
- io.netty.handler.codec.quic.SslSessionTicketKey
-
public final class SslSessionTicketKey extends java.lang.Object
Session Ticket Key
-
-
Field Summary
Fields Modifier and Type Field Description static int
AES_KEY_SIZE
Size of session ticket key AES keystatic int
HMAC_KEY_SIZE
Size of session ticket key HMAC keystatic int
NAME_SIZE
Size of session ticket key namestatic int
TICKET_KEY_SIZE
Size of session ticket key
-
Constructor Summary
Constructors Constructor Description SslSessionTicketKey(byte[] name, byte[] hmacKey, byte[] aesKey)
Construct SessionTicketKey.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
aesKey()
Get AES Key.boolean
equals(java.lang.Object o)
int
hashCode()
byte[]
hmacKey()
Get HMAC key.byte[]
name()
Get name.java.lang.String
toString()
-
-
-
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 ticket key- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-