Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.connection.tls
Class SSLExtendedOptions

java.lang.Object
  extended by com.genesyslab.platform.commons.connection.tls.SSLExtendedOptions

public final class SSLExtendedOptions
extends java.lang.Object

Container for extended SSLContext/SSLEngine options. Used to carry options that can not be configured in SSLContext but will be required to configure SSLEngine.


Field Summary
static java.lang.String CIPHER_LIST_SEPARATOR_CHAR
          Separator char for cipher lists.
static java.lang.String PROTOCOL_LIST_SEPARATOR_CHAR
           
 
Constructor Summary
SSLExtendedOptions(boolean mutualTLS, java.lang.String enabledCipherSuites)
          Container for extended SSLContext/SSLEngine options.
SSLExtendedOptions(boolean mutualTLS, java.lang.String[] enabledCipherSuites)
          Container for extended SSLContext/SSLEngine options.
SSLExtendedOptions(boolean mutualTLS, java.lang.String[] enabledCipherSuites, java.lang.String[] enabledProtocols)
          Container for extended SSLContext/SSLEngine options.
SSLExtendedOptions(boolean mutualTLS, java.lang.String enabledCipherSuites, java.lang.String enabledProtocols)
          Container for extended SSLContext/SSLEngine options.
 
Method Summary
 java.lang.String[] getEnabledCipherSuites()
           
 java.lang.String[] getEnabledProtocols()
           
 boolean isMutualTLS()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CIPHER_LIST_SEPARATOR_CHAR

public static final java.lang.String CIPHER_LIST_SEPARATOR_CHAR
Separator char for cipher lists. Currently space char is used.

See Also:
Constant Field Values

PROTOCOL_LIST_SEPARATOR_CHAR

public static final java.lang.String PROTOCOL_LIST_SEPARATOR_CHAR
See Also:
Constant Field Values
Constructor Detail

SSLExtendedOptions

public SSLExtendedOptions(boolean mutualTLS,
                          java.lang.String[] enabledCipherSuites,
                          java.lang.String[] enabledProtocols)
Container for extended SSLContext/SSLEngine options.

Parameters:
mutualTLS - Used only for server side, meaningless for client side. True - SSLEngine will require client side to present certificates, false - will not.
enabledCipherSuites - Array of cipher names. Will be used to calculate enabled cipher suites as an intersection of sets: (cipher suites supported by SSLEngine) x (enabledCipherSuites).
enabledProtocols - Array of protocols names. Will be used to calculate enabled protocols as an intersection of sets: (protocols supported by SSLEngine) x (enabledProtocols). Example. { "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" }

SSLExtendedOptions

public SSLExtendedOptions(boolean mutualTLS,
                          java.lang.String[] enabledCipherSuites)
Container for extended SSLContext/SSLEngine options.

Parameters:
mutualTLS - Used only for server side, meaningless for client side. True - SSLEngine will require client side to present certificates, false - will not.
enabledCipherSuites - Array of cipher names. Will be used to calculate enabled cipher suites as an intersection of sets: (cipher suites supported by SSLEngine) x (enabledCipherSuites).

SSLExtendedOptions

public SSLExtendedOptions(boolean mutualTLS,
                          java.lang.String enabledCipherSuites,
                          java.lang.String enabledProtocols)
Container for extended SSLContext/SSLEngine options.

Parameters:
mutualTLS - Used only for server side, meaningless for client side. True - SSLEngine will require client side to present certificates, false - will not.
enabledCipherSuites - List of cipher names separated by CIPHER_LIST_SEPARATOR_CHAR (currently space character is used). Will be used to calculate enabled cipher suites as an intersection of sets: (cipher suites supported by SSLEngine) x (cipherSuites).
enabledProtocols - List of protocols names separated by PROTOCOL_LIST_SEPARATOR_CHAR (currently space character is used). Will be used to calculate enabled protocols as an intersection of sets: (protocols supported by SSLEngine) x (enabledProtocols). Example. "SSLv3 TLSv1 TLSv1.1 TLSv1.2"

SSLExtendedOptions

public SSLExtendedOptions(boolean mutualTLS,
                          java.lang.String enabledCipherSuites)
Container for extended SSLContext/SSLEngine options.

Parameters:
mutualTLS - Used only for server side, meaningless for client side. True - SSLEngine will require client side to present certificates, false - will not.
enabledCipherSuites - List of cipher names separated by CIPHER_LIST_SEPARATOR_CHAR (currently space character is used). Will be used to calculate enabled cipher suites as an intersection of sets: (cipher suites supported by SSLEngine) x (cipherSuites).
Method Detail

isMutualTLS

public boolean isMutualTLS()

getEnabledCipherSuites

public java.lang.String[] getEnabledCipherSuites()

getEnabledProtocols

public java.lang.String[] getEnabledProtocols()

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.