| java.lang.Object | |
| ↳ | javax.net.ssl.SSLParameters |
SSL handshake parameters that include protocols, cipher suites, and client authentication requirements.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
The default SSLParameters constructor.
| |||||||||||
A SSLParameters constructor that allows the values for the
initial cipher suites array to be provided.
| |||||||||||
A SSLParameters constructor that allows the values for initial
cipher suites and protocols arrays to be provided.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a copy of the cipher suites, or null if none have been
specified.
| |||||||||||
Returns true if a server requires authentication from a client
during handshaking.
| |||||||||||
Returns a copy of the protocols, or null if none have been
specified.
| |||||||||||
Returns true if a server optionally wants to authenticate a
client during handshaking.
| |||||||||||
Sets the cipher suites to a copy of the input, or null
| |||||||||||
Sets whether or not to a server needs client authentication.
| |||||||||||
Sets the protocols to a copy of the input, or null
| |||||||||||
Sets whether or not to a server wants client authentication.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
The default SSLParameters constructor. Cipher suites and protocols are initialized to null and client authentication options are initialized to false.
A SSLParameters constructor that allows the values for the
initial cipher suites array to be provided. Other values
default as specified in SSLParameters().
| cipherSuites | An array of cipherSuites that is cloned for use within the SSLParameters, or null. |
|---|
A SSLParameters constructor that allows the values for initial
cipher suites and protocols arrays to be provided. Other values
default as specified in SSLParameters().
| cipherSuites | An array of cipher names that is cloned for use within the SSLParameters, or null. |
|---|---|
| protocols | An array of protocol names that is cloned for use within the SSLParameters, or null. |
Returns a copy of the cipher suites, or null if none have been specified.
Returns true if a server requires authentication from a client
during handshaking. If this returns true, getWantClientAuth() will return false.
Returns a copy of the protocols, or null if none have been specified.
Returns true if a server optionally wants to authenticate a
client during handshaking. If this returns true, getNeedClientAuth() will return false.
Sets the cipher suites to a copy of the input, or null
Sets whether or not to a server needs client authentication. After calling this, #getWantClientAuth() will return false.
Sets the protocols to a copy of the input, or null
Sets whether or not to a server wants client authentication. After calling this, #getNeedClientAuth() will return false.