Class ServerTlsOptions


  • public class ServerTlsOptions
    extends ClientTlsOptions
    Extension to ClientTlsOptions supporting client authentication configuration used to drive the authentication negotiation between the client and IG.
    • Constructor Detail

      • ServerTlsOptions

        public ServerTlsOptions​(String algorithm,
                                KeyManager[] managers,
                                TrustManager[] trustManagers,
                                List<String> ciphers,
                                List<String> protocols,
                                boolean enableAlpn,
                                ServerTlsOptions.ClientAuthentication clientAuth)
        Constructs TLS options with provided values.
        Parameters:
        algorithm - SSL algorithm (not null)
        managers - array of KeyManager (may be null)
        trustManagers - array of TrustManager (may be null)
        ciphers - list of cipher suites to be enabled (may be empty for JVM default)
        protocols - list of protocols to be enabled (may be empty for JVM default)
        enableAlpn - enable the ALPN TLS extension
        clientAuth - required level of client authentication (not null)