public final class SSLExtendedOptions
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
CIPHER_LIST_SEPARATOR_CHAR |
|
static java.lang.String |
PROTOCOL_LIST_SEPARATOR_CHAR |
Constructor | Description |
---|---|
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,
boolean enabledTargetHostnameChecking) |
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,
boolean enabledTargetHostnameChecking) |
Container for extended SSLContext/SSLEngine options.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getEnabledCipherSuites() |
|
java.lang.String[] |
getEnabledProtocols() |
|
boolean |
isEnabledTargetHostnameChecking() |
Specifies if target host name checking have to be turned on when an instance of SSLEngine will be created.
|
boolean |
isMutualTLS() |
public static final java.lang.String CIPHER_LIST_SEPARATOR_CHAR
public static final java.lang.String PROTOCOL_LIST_SEPARATOR_CHAR
public SSLExtendedOptions(boolean mutualTLS, java.lang.String[] enabledCipherSuites, java.lang.String[] enabledProtocols, boolean enabledTargetHostnameChecking)
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" }enabledTargetHostnameChecking
- if it is equals to true
then target host name checking have to be turned on
when an instance of SSLEngine will be created. Else if it is false then
target host name checking may be implementer or not
using a trust manager passed in SSLContext.public SSLExtendedOptions(boolean mutualTLS, java.lang.String[] enabledCipherSuites, java.lang.String[] enabledProtocols)
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" }public SSLExtendedOptions(boolean mutualTLS, java.lang.String[] enabledCipherSuites)
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).public SSLExtendedOptions(boolean mutualTLS, java.lang.String enabledCipherSuites, java.lang.String enabledProtocols, boolean enabledTargetHostnameChecking)
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"enabledTargetHostnameChecking
- if it is equals to true
then target host name checking have to be turned on
when an instance of SSLEngine will be created. Else if it is false then
target host name checking may be implementer or not
using a trust manager passed in SSLContext.public SSLExtendedOptions(boolean mutualTLS, java.lang.String enabledCipherSuites, java.lang.String enabledProtocols)
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"public SSLExtendedOptions(boolean mutualTLS, java.lang.String enabledCipherSuites)
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).public boolean isMutualTLS()
public java.lang.String[] getEnabledCipherSuites()
public java.lang.String[] getEnabledProtocols()
public boolean isEnabledTargetHostnameChecking()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.