Package org.forgerock.openig.tools
Class TlsOptions
- java.lang.Object
-
- org.forgerock.openig.tools.TlsOptions
-
- Direct Known Subclasses:
ClientTlsOptions
,ServerTlsOptions
public abstract class TlsOptions extends Object
Key TLS Options used by both theClientTlsOptions
and theServerTlsOptions
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
Returns the SSL context algorithm name (never null).String[]
getCipherSuitesArray()
Returns the array of cipher suites to be enabled (may be null for JVM default).List<String>
getCipherSuitesList()
Returns the list of cipher suites to be enabled (may be empty for JVM default).String[]
getEnabledProtocolsArray()
Returns the array of protocols to be enabled (may be null for JVM default).List<String>
getEnabledProtocolsList()
Returns the list of protocols to be enabled (may be empty for JVM default).KeyManager[]
getKeyManagers()
Returns the array ofKeyManager
to use (may be null).TrustManager[]
getTrustManagers()
Returns the array ofTrustManager
to use (may be null).boolean
isAlpnEnabled()
Is ALPN (Application Layer Protocol Negotiation, a TLS extension) enabled or not ?
-
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
Returns the SSL context algorithm name (never null).- Returns:
- the SSL context algorithm name (never null).
-
getKeyManagers
public KeyManager[] getKeyManagers()
Returns the array ofKeyManager
to use (may be null).- Returns:
- the array of
KeyManager
to use (may be null).
-
getTrustManagers
public TrustManager[] getTrustManagers()
Returns the array ofTrustManager
to use (may be null).- Returns:
- the array of
TrustManager
to use (may be null).
-
getCipherSuitesArray
public String[] getCipherSuitesArray()
Returns the array of cipher suites to be enabled (may be null for JVM default).- Returns:
- the array of cipher suites to be enabled (may be null for JVM default).
-
getCipherSuitesList
public List<String> 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).
-
getEnabledProtocolsArray
public String[] getEnabledProtocolsArray()
Returns the array of protocols to be enabled (may be null for JVM default).- Returns:
- the array of protocols to be enabled (may be null for JVM default).
-
getEnabledProtocolsList
public List<String> 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.
-
-