Interface QuicSslSessionContext

All Superinterfaces:
SSLSessionContext

public interface QuicSslSessionContext extends SSLSessionContext
SSLSessionContext which also supports advanced operations.
  • Method Details

    • setTicketKeys

      void setTicketKeys(SslSessionTicketKey @Nullable ... keys)
      Sets the SslSessionTicketKeys 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. If null is used for keys a key will automatically generated by the library and also rotated.
      Parameters:
      keys - the tickets to use.