public class SSLConfigurableSocket extends java.lang.Object implements SSLConfigurable
SSLConfigurable wrapper for an SSLSocket.| Constructor and Description |
|---|
SSLConfigurableSocket(javax.net.ssl.SSLSocket delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getDefaultCipherSuites()
Gets the set of cipher suites that the SSL component enables by default.
|
java.lang.String[] |
getDefaultProtocols()
Gets the set of protocols that the SSL component enables by default.
|
java.lang.String[] |
getSupportedCipherSuites()
Gets the set of cipher suites that the SSL component supports.
|
java.lang.String[] |
getSupportedProtocols()
Gets the set of protocols that the SSL component supports.
|
void |
setEnabledCipherSuites(java.lang.String[] suites)
Sets the enabled cipher suites on the SSL component.
|
void |
setEnabledProtocols(java.lang.String[] protocols)
Sets the enabled protocols on the SSL component.
|
void |
setNeedClientAuth(boolean state)
Sets a flag indicating whether the SSL component should require
client authentication.
|
void |
setWantClientAuth(boolean state)
Sets a flag indicating whether the SSL component should request
client authentication.
|
public SSLConfigurableSocket(javax.net.ssl.SSLSocket delegate)
public java.lang.String[] getDefaultProtocols()
SSLConfigurablegetDefaultProtocols in interface SSLConfigurableSSLConfigurable.getSupportedProtocols()); the return value may be
an empty array but must never be null.public java.lang.String[] getSupportedProtocols()
SSLConfigurablegetSupportedProtocols in interface SSLConfigurablenull.public void setEnabledProtocols(java.lang.String[] protocols)
SSLConfigurablesetEnabledProtocols in interface SSLConfigurablepublic java.lang.String[] getDefaultCipherSuites()
SSLConfigurablegetDefaultCipherSuites in interface SSLConfigurableSSLConfigurable.getSupportedCipherSuites()); the return value may be
an empty array but must never be nullpublic java.lang.String[] getSupportedCipherSuites()
SSLConfigurablegetSupportedCipherSuites in interface SSLConfigurablenullpublic void setEnabledCipherSuites(java.lang.String[] suites)
SSLConfigurablesetEnabledCipherSuites in interface SSLConfigurablesuites - the cipher suites to enablepublic void setNeedClientAuth(boolean state)
SSLConfigurablesetNeedClientAuth in interface SSLConfigurablestate - the flag state to setpublic void setWantClientAuth(boolean state)
SSLConfigurablesetWantClientAuth in interface SSLConfigurablestate - the flag state to setCopyright © 2010 - 2023 Adobe. All Rights Reserved