Interface QuicSslSessionContext
- All Superinterfaces:
SSLSessionContext
SSLSessionContext which also supports advanced operations.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetTicketKeys(SslSessionTicketKey @Nullable ... keys) Sets theSslSessionTicketKeys that should be used.Methods inherited from interface SSLSessionContext
getIds, getSession, getSessionCacheSize, getSessionTimeout, setSessionCacheSize, setSessionTimeout
-
Method Details
-
setTicketKeys
Sets theSslSessionTicketKeys 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. Ifnullis used forkeysa key will automatically generated by the library and also rotated.- Parameters:
keys- the tickets to use.
-