java.lang.ObjectEncapsulates parameters for an SSL/TLS connection. The parameters are the list of ciphersuites to be accepted in an SSL/TLS handshake, the list of protocols to be allowed, the endpoint identification algorithm during SSL/TLS handshaking, the algorithm constraints and whether SSL/TLS servers should request or require client authentication.javax.net.ssl.SSLParameters
SSLParameters can be created via the constructors in this class.
Objects can also be obtained using the getSSLParameters()
methods in
SSLSocket and
SSLServerSocket and
SSLEngine or the
getDefaultSSLParameters() and
getSupportedSSLParameters()
methods in SSLContext
.
SSLParameters can be applied to a connection via the methods SSLSocket.setSSLParameters() and SSLServerSocket.setSSLParameters() and SSLEngine.getSSLParameters() .
1.6
- Constructor: |
---|
The cipherSuites and protocols values are set to |
Calling this constructor is equivalent to calling the no-args
constructor followed by
|
Calling this constructor is equivalent to calling the no-args
constructor followed by
|
Method from javax.net.ssl.SSLParameters Summary: |
---|
getAlgorithmConstraints, getCipherSuites, getEndpointIdentificationAlgorithm, getNeedClientAuth, getProtocols, getWantClientAuth, setAlgorithmConstraints, setCipherSuites, setEndpointIdentificationAlgorithm, setNeedClientAuth, setProtocols, setWantClientAuth |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.net.ssl.SSLParameters Detail: |
---|
|
|
|
|
|
|
If the |
|
If the |
wantClientAuth flag. |
|
needClientAuth flag. |