SSLEngine.
| Modifier and Type | Field and Description |
|---|---|
| private String[] | |
| private String[] | |
| private String | |
| private String | |
| private Boolean | |
| private String | |
| private String | |
| private Boolean | |
| private Boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(SSLConfigurable
the subject configurable socket)Configures SSL parameters on an |
| private String[] | Returns: enabled cipher suitescipher suites supported by the SSL engine supportedCipherSuites, String[] default cipher suites enabled by the SSL engine defaultCipherSuites)Gets the set of enabled cipher suites based on the configuration. |
| private String[] | Returns: enabled protocolsprotocols supported by the SSL engine supportedProtocols, String[] default protocols enabled by the SSL engine defaultProtocols)Gets the set of enabled protocols based on the configuration. |
| public String | Returns: a string containing comma-separated JSSE cipher suite names (e.g.TLS_DHE_RSA_WITH_AES_256_CBC_SHA)Gets the JSSE cipher suite names to exclude. |
| public String | Returns: a string containing comma-separated JSSE secure transport protocol names (e.g.TLSv1)Gets the JSSE secure transport protocols to exclude. |
| public boolean | |
| public String | Returns: a string containing comma-separated JSSE cipher suite names (e.g.TLS_DHE_RSA_WITH_AES_256_CBC_SHA)Gets the JSSE cipher suite names to include. |
| public String | Returns: a string containing comma-separated JSSE secure transport protocol names (e.g.TLSv1)Gets the JSSE secure transport protocols to include. |
| private String[] | Returns: an array of strings containing those strings fromdefaults
that match at least one pattern in included that are not
matched by any pattern in excludeddefault list of string values defaults, String comma-separated patterns that identity values to include included, String comma-separated patterns that identity string to exclude excluded)Applies include and exclude patterns to an array of default string values to produce an array of strings included by the patterns. |
| public Boolean | Returns: flag stateGets a flag indicating whether client authentication is required. |
| public Boolean | Returns: flag stateGets a flag indicating whether client authentication is desired. |
| public void | setExcludedCipherSuites(String
a string containing comma-separated JSSE cipher suite
names cipherSuites)Sets the JSSE cipher suite names to exclude. |
| public void | setExcludedProtocols(String
a string containing comma-separated JSSE secure transport
protocol names protocols)Sets the JSSE secure transport protocols to exclude. |
| public void | |
| public void | setIncludedCipherSuites(String
a string containing comma-separated JSSE cipher suite
names cipherSuites)Sets the JSSE cipher suite names to include. |
| public void | setIncludedProtocols(String
a string containing comma-separated JSSE secure transport
protocol names protocols)Sets the JSSE secure transport protocols to include. |
| public void | setNeedClientAuth(Boolean
the flag state to set needClientAuth)Sets a flag indicating whether client authentication is required. |
| public void | setWantClientAuth(Boolean
the flag state to set wantClientAuth)Sets a flag indicating whether client authentication is desired. |
| private String[] | Returns: array of values contained insthe subject string s)Splits a string containing comma-separated values into an array. |
| enabledCipherSuites | back to summary |
|---|---|
| private String[] enabledCipherSuites | |
| enabledProtocols | back to summary |
|---|---|
| private String[] enabledProtocols | |
| excludedCipherSuites | back to summary |
|---|---|
| private String excludedCipherSuites | |
| excludedProtocols | back to summary |
|---|---|
| private String excludedProtocols | |
| hostnameVerification | back to summary |
|---|---|
| private Boolean hostnameVerification | |
| includedCipherSuites | back to summary |
|---|---|
| private String includedCipherSuites | |
| includedProtocols | back to summary |
|---|---|
| private String includedProtocols | |
| needClientAuth | back to summary |
|---|---|
| private Boolean needClientAuth | |
| wantClientAuth | back to summary |
|---|---|
| private Boolean wantClientAuth | |
| SSLParametersConfiguration | back to summary |
|---|---|
| public SSLParametersConfiguration() | |
| configure | back to summary |
|---|---|
| public void configure(SSLConfigurable socket) Configures SSL parameters on an
| |
| enabledCipherSuites | back to summary |
|---|---|
| private String[] enabledCipherSuites(String[] supportedCipherSuites, String[] defaultCipherSuites) Gets the set of enabled cipher suites based on the configuration. | |
| enabledProtocols | back to summary |
|---|---|
| private String[] enabledProtocols(String[] supportedProtocols, String[] defaultProtocols) Gets the set of enabled protocols based on the configuration. | |
| getExcludedCipherSuites | back to summary |
|---|---|
| public String getExcludedCipherSuites() Gets the JSSE cipher suite names to exclude.
| |
| getExcludedProtocols | back to summary |
|---|---|
| public String getExcludedProtocols() Gets the JSSE secure transport protocols to exclude.
| |
| getHostnameVerification | back to summary |
|---|---|
| public boolean getHostnameVerification() | |
| getIncludedCipherSuites | back to summary |
|---|---|
| public String getIncludedCipherSuites() Gets the JSSE cipher suite names to include.
| |
| getIncludedProtocols | back to summary |
|---|---|
| public String getIncludedProtocols() Gets the JSSE secure transport protocols to include.
| |
| includedStrings | back to summary |
|---|---|
| private String[] includedStrings(String[] defaults, String included, String excluded) Applies include and exclude patterns to an array of default string values to produce an array of strings included by the patterns.
| |
| isNeedClientAuth | back to summary |
|---|---|
| public Boolean isNeedClientAuth() Gets a flag indicating whether client authentication is required.
| |
| isWantClientAuth | back to summary |
|---|---|
| public Boolean isWantClientAuth() Gets a flag indicating whether client authentication is desired.
| |
| setExcludedCipherSuites | back to summary |
|---|---|
| public void setExcludedCipherSuites(String cipherSuites) Sets the JSSE cipher suite names to exclude.
| |
| setExcludedProtocols | back to summary |
|---|---|
| public void setExcludedProtocols(String protocols) Sets the JSSE secure transport protocols to exclude.
| |
| setHostnameVerification | back to summary |
|---|---|
| public void setHostnameVerification(boolean hostnameVerification) | |
| setIncludedCipherSuites | back to summary |
|---|---|
| public void setIncludedCipherSuites(String cipherSuites) Sets the JSSE cipher suite names to include.
| |
| setIncludedProtocols | back to summary |
|---|---|
| public void setIncludedProtocols(String protocols) Sets the JSSE secure transport protocols to include.
| |
| setNeedClientAuth | back to summary |
|---|---|
| public void setNeedClientAuth(Boolean needClientAuth) Sets a flag indicating whether client authentication is required.
| |
| setWantClientAuth | back to summary |
|---|---|
| public void setWantClientAuth(Boolean wantClientAuth) Sets a flag indicating whether client authentication is desired.
| |
| stringToArray | back to summary |
|---|---|
| private String[] stringToArray(String s) Splits a string containing comma-separated values into an array. | |