Package io.netty.handler.codec.quic
Interface QuicSslSessionContext
-
- All Superinterfaces:
javax.net.ssl.SSLSessionContext
public interface QuicSslSessionContext extends javax.net.ssl.SSLSessionContextSSLSessionContextwhich also supports advanced operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetTicketKeys(SslSessionTicketKey @Nullable ... keys)Sets theSslSessionTicketKeys that should be used.
-
-
-
Method Detail
-
setTicketKeys
void setTicketKeys(SslSessionTicketKey @Nullable ... keys)
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.
-
-