| Modifier and Type | Field and Description |
|---|---|
| private ArrayList | |
| private ArrayList | |
| public static final List | DEFAULT_ENABLED_SECURE_TRANSPORT_PROTOCOLS
The default ENABLED_SECURE_TRANSPORT_PROTOCOLS value = { "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3" } SSLv3 is NOT enabled due to POODLE vulnerability http://en.wikipedia.org/wiki/POODLE "SSLv2Hello" is NOT enabled since it's disabled by default since JDK7 |
| public static final long | DEFAULT_SSL_HANDSHAKE_TIMEOUT
The default value of SSL handshake timeout = 10 |
| public static final TimeUnit | DEFAULT_SSL_HANDSHAKE_TIMEOUT_TIME_UNIT
Default SSL handshake time unit = SECONDS |
| public static final boolean | DEFAULT_USE_ALPN
Default use alpn = false |
| private Set | |
| private Set | |
| private KeyCertOptions | |
| private long | |
| private TimeUnit | |
| private TrustOptions | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | SSLOptions(JsonObject
the JSON json)
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
Create options from JSON |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe path crlPath)Add a CRL path |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe value crlValue)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Add a CRL value |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe suite suite)Add an enabled cipher suite, appended to the ordered suites. |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe SSL/TLS protocol to enable protocol)Add an enabled SSL/TLS protocols, appended to the ordered protocols. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | |
| public List | |
| public Set | Returns: the enabled cipher suitesReturn an ordered set of the cipher suites. |
| public Set | Returns: the enabled protocolsReturns the enabled SSL/TLS protocols |
| public KeyCertOptions | |
| public long | Returns: the SSL handshake timeout, in time unit specified bygetSslHandshakeTimeoutUnit().
|
| public TimeUnit | |
| public TrustOptions | |
| private void | |
| public boolean | |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe suite suite)Removes an enabled cipher suite from the ordered suites. |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe SSL/TLS protocol to disable protocol)Removes an enabled SSL/TLS protocol from the ordered protocols. |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe SSL/TLS protocols to enable enabledSecureTransportProtocols)Sets the list of enabled SSL/TLS protocols. |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe key store options options)Set the key/cert options. |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe SSL handshake timeout to set, in milliseconds sslHandshakeTimeout)Set the SSL handshake timeout, default time unit is seconds. |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlyspecify time unit. sslHandshakeTimeoutUnit)Set the SSL handshake timeout unit. |
| public SSLOptions | Returns: a reference to this, so the API can be used fluentlythe trust options options)Set the trust options. |
| public SSLOptions | setUseAlpn(boolean
true when Application-Layer Protocol Negotiation should be used useAlpn)Set the ALPN usage. |
| public JsonObject | Returns: the JSON
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
Convert to JSON |
| crlPaths | back to summary |
|---|---|
| private ArrayList<String> crlPaths | |
| crlValues | back to summary |
|---|---|
| private ArrayList<Buffer> crlValues | |
| DEFAULT_ENABLED_SECURE_TRANSPORT_PROTOCOLS | back to summary |
|---|---|
| public static final List<String> DEFAULT_ENABLED_SECURE_TRANSPORT_PROTOCOLS The default ENABLED_SECURE_TRANSPORT_PROTOCOLS value = { "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3" } SSLv3 is NOT enabled due to POODLE vulnerability http://en.wikipedia.org/wiki/POODLE "SSLv2Hello" is NOT enabled since it's disabled by default since JDK7 | |
| DEFAULT_SSL_HANDSHAKE_TIMEOUT | back to summary |
|---|---|
| public static final long DEFAULT_SSL_HANDSHAKE_TIMEOUT The default value of SSL handshake timeout = 10 | |
| DEFAULT_SSL_HANDSHAKE_TIMEOUT_TIME_UNIT | back to summary |
|---|---|
| public static final TimeUnit DEFAULT_SSL_HANDSHAKE_TIMEOUT_TIME_UNIT Default SSL handshake time unit = SECONDS | |
| DEFAULT_USE_ALPN | back to summary |
|---|---|
| public static final boolean DEFAULT_USE_ALPN Default use alpn = false | |
| enabledCipherSuites | back to summary |
|---|---|
| private Set<String> enabledCipherSuites | |
| enabledSecureTransportProtocols | back to summary |
|---|---|
| private Set<String> enabledSecureTransportProtocols | |
| keyCertOptions | back to summary |
|---|---|
| private KeyCertOptions keyCertOptions | |
| sslHandshakeTimeout | back to summary |
|---|---|
| private long sslHandshakeTimeout | |
| sslHandshakeTimeoutUnit | back to summary |
|---|---|
| private TimeUnit sslHandshakeTimeoutUnit | |
| trustOptions | back to summary |
|---|---|
| private TrustOptions trustOptions | |
| useAlpn | back to summary |
|---|---|
| private boolean useAlpn | |
| SSLOptions | back to summary |
|---|---|
| public SSLOptions(JsonObject json)
References Deprecated
See corresponding docs for further information. Create options from JSON
| |
| SSLOptions | back to summary |
|---|---|
| public SSLOptions() Default constructor | |
| SSLOptions | back to summary |
|---|---|
| public SSLOptions(SSLOptions other) Copy constructor
| |
| addCrlPath | back to summary |
|---|---|
| public SSLOptions addCrlPath(String crlPath) throws NullPointerException Add a CRL path
| |
| addCrlValue | back to summary |
|---|---|
| public SSLOptions addCrlValue(Buffer crlValue) throws NullPointerException
References Deprecated
See corresponding docs for further information. Add a CRL value
| |
| addEnabledCipherSuite | back to summary |
|---|---|
| public SSLOptions addEnabledCipherSuite(String suite) Add an enabled cipher suite, appended to the ordered suites.
| |
| addEnabledSecureTransportProtocol | back to summary |
|---|---|
| public SSLOptions addEnabledSecureTransportProtocol(String protocol) Add an enabled SSL/TLS protocols, appended to the ordered protocols.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getCrlPaths | back to summary |
|---|---|
| public List | |
| getCrlValues | back to summary |
|---|---|
| public List Get the CRL values | |
| getEnabledCipherSuites | back to summary |
|---|---|
| public Set Return an ordered set of the cipher suites. The set is initially empty and suite should be added to this set in the desired order. When suites are added and therefore the list is not empty, it takes precedence over the
default suite defined by the | |
| getEnabledSecureTransportProtocols | back to summary |
|---|---|
| public Set Returns the enabled SSL/TLS protocols | |
| getKeyCertOptions | back to summary |
|---|---|
public KeyCertOptions getKeyCertOptions()
| |
| getSslHandshakeTimeout | back to summary |
|---|---|
public long getSslHandshakeTimeout()
| |
| getSslHandshakeTimeoutUnit | back to summary |
|---|---|
public TimeUnit getSslHandshakeTimeoutUnit()
| |
| getTrustOptions | back to summary |
|---|---|
public TrustOptions getTrustOptions()
| |
| init | back to summary |
|---|---|
| private void init() | |
| isUseAlpn | back to summary |
|---|---|
public boolean isUseAlpn()
| |
| removeEnabledCipherSuite | back to summary |
|---|---|
| public SSLOptions removeEnabledCipherSuite(String suite) Removes an enabled cipher suite from the ordered suites.
| |
| removeEnabledSecureTransportProtocol | back to summary |
|---|---|
| public SSLOptions removeEnabledSecureTransportProtocol(String protocol) Removes an enabled SSL/TLS protocol from the ordered protocols.
| |
| setEnabledSecureTransportProtocols | back to summary |
|---|---|
| public SSLOptions setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) Sets the list of enabled SSL/TLS protocols.
| |
| setKeyCertOptions | back to summary |
|---|---|
| public SSLOptions setKeyCertOptions(KeyCertOptions options) Set the key/cert options.
| |
| setSslHandshakeTimeout | back to summary |
|---|---|
| public SSLOptions setSslHandshakeTimeout(long sslHandshakeTimeout) Set the SSL handshake timeout, default time unit is seconds.
| |
| setSslHandshakeTimeoutUnit | back to summary |
|---|---|
| public SSLOptions setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) Set the SSL handshake timeout unit. If not specified, default is seconds.
| |
| setTrustOptions | back to summary |
|---|---|
| public SSLOptions setTrustOptions(TrustOptions options) Set the trust options.
| |
| setUseAlpn | back to summary |
|---|---|
| public SSLOptions setUseAlpn(boolean useAlpn) Set the ALPN usage.
| |
| toJson | back to summary |
|---|---|
| public JsonObject toJson()
References Deprecated
See corresponding docs for further information. Convert to JSON
| |