This interface allows us o decouple the
SSLParametersConfiguration from SSLSocket
and SSLServerSocket to facilitate unit
testing.
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: cipher suites (generally a subset of the set returned bygetSupportedCipherSuites()); the return value may be an
empty array but must never be nullGets the set of cipher suites that the SSL component enables by default. |
| public String[] | Returns: protocols (generally a subset of the set returned bygetSupportedProtocols()); the return value may be an empty
array but must never be null.Gets the set of protocols that the SSL component enables by default. |
| public String[] | Returns: supported cipher suites; the return value may be an empty array but must never benullGets the set of cipher suites that the SSL component supports. |
| public String[] | Returns: protocols supported protocols; the return value may be an empty array but must never benull.Gets the set of protocols that the SSL component supports. |
| public void | setEnabledCipherSuites(String[]
the cipher suites to enable cipherSuites)Sets the enabled cipher suites on the SSL component. |
| public void | setEnabledProtocols(String[]
the protocols to enable protocols)Sets the enabled protocols on the SSL component. |
| public void | |
| public void | setNeedClientAuth(boolean
the flag state to set state)Sets a flag indicating whether the SSL component should require client authentication. |
| public void | setWantClientAuth(boolean
the flag state to set state)Sets a flag indicating whether the SSL component should request client authentication. |
| getDefaultCipherSuites | back to summary |
|---|---|
| public String[] getDefaultCipherSuites() Gets the set of cipher suites that the SSL component enables by default.
| |
| getDefaultProtocols | back to summary |
|---|---|
| public String[] getDefaultProtocols() Gets the set of protocols that the SSL component enables by default.
| |
| getSupportedCipherSuites | back to summary |
|---|---|
| public String[] getSupportedCipherSuites() Gets the set of cipher suites that the SSL component supports.
| |
| getSupportedProtocols | back to summary |
|---|---|
| public String[] getSupportedProtocols() Gets the set of protocols that the SSL component supports.
| |
| setEnabledCipherSuites | back to summary |
|---|---|
| public void setEnabledCipherSuites(String[] cipherSuites) Sets the enabled cipher suites on the SSL component.
| |
| setEnabledProtocols | back to summary |
|---|---|
| public void setEnabledProtocols(String[] protocols) Sets the enabled protocols on the SSL component.
| |
| setHostnameVerification | back to summary |
|---|---|
| public void setHostnameVerification(boolean verifyHostname) | |
| setNeedClientAuth | back to summary |
|---|---|
| public void setNeedClientAuth(boolean state) Sets a flag indicating whether the SSL component should require client authentication.
| |
| setWantClientAuth | back to summary |
|---|---|
| public void setWantClientAuth(boolean state) Sets a flag indicating whether the SSL component should request client authentication.
| |