Class CustomTlsParameters
java.lang.Object
org.openehealth.ipf.commons.audit.CustomTlsParameters
- All Implemented Interfaces:
TlsParameters
- Direct Known Subclasses:
DefaultCamelTlsParameters
,VertxTlsParameters
TlsParameters
that can be set independently of the javax.net.ssl system
properties. Still, a newly instantiated instance of this class defaults to these
properties.-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
protected String
protected int
protected String
protected String
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSSLContext
(boolean serverSide) void
setCertAlias
(String certAlias) void
setCertificateType
(String certificateType) void
setClientAuthentication
(String clientAuthentication) void
setEnabledClientCipherSuites
(String enabledClientCipherSuites) void
setEnabledProtocols
(String enabledProtocols) void
setEnabledServerCipherSuites
(String enabledServerCipherSuites) void
setKeyStoreFile
(String keyStoreFile) void
setKeyStorePassword
(String keyStorePassword) void
setKeyStoreType
(String keyStoreType) void
setPerformDomainValidation
(boolean performDomainValidation) void
setProvider
(String provider) void
setSessionTimeout
(int sessionTimeout) void
setSniHostnames
(List<String> sniHostnames) void
setTlsProtocol
(String tlsProtocol) void
setTrustStoreFile
(String trustStoreFile) void
setTrustStorePassword
(String trustStorePassword) void
setTrustStoreType
(String trustStoreType) protected String[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.audit.TlsParameters
getSSLSocketFactory
-
Field Details
-
provider
-
tlsProtocol
-
certificateType
-
certAlias
-
keyStoreType
-
trustStoreType
-
keyStoreFile
-
keyStorePassword
-
trustStoreFile
-
trustStorePassword
-
enabledClientCipherSuites
-
enabledServerCipherSuites
-
enabledProtocols
-
sessionTimeout
protected int sessionTimeout -
performDomainValidation
protected boolean performDomainValidation -
sniHostnames
-
clientAuthentication
-
-
Constructor Details
-
CustomTlsParameters
public CustomTlsParameters()
-
-
Method Details
-
setProvider
-
setTlsProtocol
-
setKeyStoreType
-
setTrustStoreType
-
setCertificateType
-
setCertAlias
-
setKeyStoreFile
-
setKeyStorePassword
-
setTrustStoreFile
-
setTrustStorePassword
-
setEnabledClientCipherSuites
-
setEnabledServerCipherSuites
-
setEnabledProtocols
-
setSessionTimeout
public void setSessionTimeout(int sessionTimeout) -
setPerformDomainValidation
public void setPerformDomainValidation(boolean performDomainValidation) -
getClientAuthentication
-
setClientAuthentication
-
getSniHostnames
-
setSniHostnames
-
split
-
getSSLContext
- Specified by:
getSSLContext
in interfaceTlsParameters
- Returns:
- the
SSLContext
-