Package io.netty.handler.codec.quic
Interface QuicSslSessionContext
-
- All Superinterfaces:
javax.net.ssl.SSLSessionContext
public interface QuicSslSessionContext extends javax.net.ssl.SSLSessionContext
SSLSessionContext
which also supports advanced operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setTicketKeys(SslSessionTicketKey @Nullable ... keys)
Sets theSslSessionTicketKey
s that should be used.
-
-
-
Method Detail
-
setTicketKeys
void setTicketKeys(SslSessionTicketKey @Nullable ... keys)
Sets theSslSessionTicketKey
s that should be used. The first key of the array is used for encryption and decryption while the rest of the array is only used for decryption. This allows you to better handling rotating of the keys. The rotating is the responsibility of the user. Ifnull
is used forkeys
a key will automatically generated by the library and also rotated.- Parameters:
keys
- the tickets to use.
-
-