Package org.forgerock.openig.tools
Class TlsOptions
java.lang.Object
org.forgerock.openig.tools.TlsOptions
- Direct Known Subclasses:
ClientTlsOptions,ServerTlsOptions
Key TLS Options used by both the
ClientTlsOptions and the ServerTlsOptions.-
Method Summary
Modifier and TypeMethodDescriptionReturns the SSL context algorithm name (never null).Returns the list of cipher suites to be enabled (may be empty for JVM default).Returns the list of protocols to be enabled (may be empty for JVM default).Returns the array ofKeyManagerto use (may be null).Returns the array ofTrustManagerto use (may be null).booleanIs ALPN (Application Layer Protocol Negotiation, a TLS extension) enabled or not ?booleanReturns true if handshaking should be offloaded to a worker thread, false otherwise.
-
Method Details
-
getAlgorithm
Returns the SSL context algorithm name (never null).- Returns:
- the SSL context algorithm name (never null)
-
getKeyManagers
Returns the array ofKeyManagerto use (may be null).- Returns:
- the array of
KeyManagerto use (may be null)
-
getTrustManagers
Returns the array ofTrustManagerto use (may be null).- Returns:
- the array of
TrustManagerto use (may be null)
-
getCipherSuitesList
Returns the list of cipher suites to be enabled (may be empty for JVM default).- Returns:
- the list of cipher suites to be enabled (may be empty for JVM default)
-
getEnabledProtocolsList
Returns the list of protocols to be enabled (may be empty for JVM default).- Returns:
- the list of protocols to be enabled (may be empty for JVM default)
-
isAlpnEnabled
public boolean isAlpnEnabled()Is ALPN (Application Layer Protocol Negotiation, a TLS extension) enabled or not ?- Returns:
- true if the ALPN is enabled, false otherwise.
-
offloadHandshake
public boolean offloadHandshake()Returns true if handshaking should be offloaded to a worker thread, false otherwise.- Returns:
- true if handshaking should be offloaded to a worker thread, false otherwise..
-