Class CustomTlsParameters

java.lang.Object
org.openehealth.ipf.commons.audit.CustomTlsParameters
All Implemented Interfaces:
TlsParameters
Direct Known Subclasses:
DefaultCamelTlsParameters, VertxTlsParameters

public class CustomTlsParameters extends Object implements TlsParameters
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 Details

    • provider

      protected String provider
    • tlsProtocol

      protected String tlsProtocol
    • certificateType

      protected String certificateType
    • certAlias

      protected String certAlias
    • keyStoreType

      protected String keyStoreType
    • trustStoreType

      protected String trustStoreType
    • keyStoreFile

      protected String keyStoreFile
    • keyStorePassword

      protected String keyStorePassword
    • trustStoreFile

      protected String trustStoreFile
    • trustStorePassword

      protected String trustStorePassword
    • enabledClientCipherSuites

      protected String enabledClientCipherSuites
    • enabledServerCipherSuites

      protected String enabledServerCipherSuites
    • enabledProtocols

      protected String enabledProtocols
    • sessionTimeout

      protected int sessionTimeout
    • performDomainValidation

      protected boolean performDomainValidation
    • sniHostnames

      protected List<String> sniHostnames
    • clientAuthentication

      protected String clientAuthentication
  • Constructor Details

    • CustomTlsParameters

      public CustomTlsParameters()
  • Method Details

    • setProvider

      public void setProvider(String provider)
    • setTlsProtocol

      public void setTlsProtocol(String tlsProtocol)
    • setKeyStoreType

      public void setKeyStoreType(String keyStoreType)
    • setTrustStoreType

      public void setTrustStoreType(String trustStoreType)
    • setCertificateType

      public void setCertificateType(String certificateType)
    • setCertAlias

      public void setCertAlias(String certAlias)
    • setKeyStoreFile

      public void setKeyStoreFile(String keyStoreFile)
    • setKeyStorePassword

      public void setKeyStorePassword(String keyStorePassword)
    • setTrustStoreFile

      public void setTrustStoreFile(String trustStoreFile)
    • setTrustStorePassword

      public void setTrustStorePassword(String trustStorePassword)
    • setEnabledClientCipherSuites

      public void setEnabledClientCipherSuites(String enabledClientCipherSuites)
    • setEnabledServerCipherSuites

      public void setEnabledServerCipherSuites(String enabledServerCipherSuites)
    • setEnabledProtocols

      public void setEnabledProtocols(String enabledProtocols)
    • setSessionTimeout

      public void setSessionTimeout(int sessionTimeout)
    • setPerformDomainValidation

      public void setPerformDomainValidation(boolean performDomainValidation)
    • getClientAuthentication

      public String getClientAuthentication()
    • setClientAuthentication

      public void setClientAuthentication(String clientAuthentication)
    • getSniHostnames

      public List<String> getSniHostnames()
    • setSniHostnames

      public void setSniHostnames(List<String> sniHostnames)
    • split

      protected String[] split(String s)
    • getSSLContext

      public SSLContext getSSLContext(boolean serverSide)
      Specified by:
      getSSLContext in interface TlsParameters
      Returns:
      the SSLContext