Class ServerTlsOptions

java.lang.Object
org.forgerock.openig.tools.TlsOptions
org.forgerock.openig.tools.ServerTlsOptions

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

    • 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. The KeyManager is used for server authentication.
      Parameters:
      algorithm - SSL algorithm (not null)
      managers - array of KeyManager (not 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)
    • ServerTlsOptions

      public ServerTlsOptions(String algorithm, TrustManager[] trustManagers, List<String> ciphers, List<String> protocols, boolean enableAlpn, ServerTlsOptions.ClientAuthentication clientAuth, ServerTlsOptions.SniConfiguration sniConfiguration)
      Constructs TLS options with provided values. The ServerTlsOptions.SniConfiguration is used for server authentication.
      Parameters:
      algorithm - SSL algorithm (not 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)
      sniConfiguration - The SNI configuration (not null)
  • Method Details