Class TlsConfiguration


  • public class TlsConfiguration
    extends Object
    • Constructor Detail

      • TlsConfiguration

        public TlsConfiguration()
    • Method Detail

      • setTrustSelfSignedCertificates

        public void setTrustSelfSignedCertificates​(boolean trustSelfSignedCertificates)
      • isTrustSelfSignedCertificates

        public boolean isTrustSelfSignedCertificates()
      • getKeyStorePath

        @Nullable
        public File getKeyStorePath()
      • setKeyStorePath

        public void setKeyStorePath​(File keyStorePath)
      • getKeyStorePassword

        @Nullable
        public String getKeyStorePassword()
      • setKeyStorePassword

        public void setKeyStorePassword​(String keyStorePassword)
      • getKeyStoreType

        public String getKeyStoreType()
      • setKeyStoreType

        public void setKeyStoreType​(String keyStoreType)
      • getTrustStoreType

        public String getTrustStoreType()
      • setTrustStoreType

        public void setTrustStoreType​(String trustStoreType)
      • getTrustStorePath

        @Nullable
        public File getTrustStorePath()
      • setTrustStorePath

        public void setTrustStorePath​(File trustStorePath)
      • getTrustStorePassword

        @Nullable
        public String getTrustStorePassword()
      • setTrustStorePassword

        public void setTrustStorePassword​(String trustStorePassword)
      • isVerifyHostname

        public boolean isVerifyHostname()
      • setVerifyHostname

        public void setVerifyHostname​(boolean verifyHostname)
      • getProtocol

        public String getProtocol()
      • setProtocol

        public void setProtocol​(String protocol)
      • getProvider

        @Nullable
        public String getProvider()
      • setProvider

        public void setProvider​(@Nullable
                                String provider)
      • getSupportedCiphers

        @Nullable
        public List<String> getSupportedCiphers()
      • setSupportedCiphers

        public void setSupportedCiphers​(@Nullable
                                        List<String> supportedCiphers)
      • getSupportedProtocols

        @Nullable
        public List<String> getSupportedProtocols()
      • setSupportedProtocols

        public void setSupportedProtocols​(@Nullable
                                          List<String> supportedProtocols)
      • getCertAlias

        @Nullable
        public String getCertAlias()
      • setCertAlias

        public void setCertAlias​(@Nullable
                                 String certAlias)
      • isValidKeyStorePassword

        @ValidationMethod(message="keyStorePassword should not be null or empty if keyStorePath not null")
        public boolean isValidKeyStorePassword()
      • isValidTrustStorePassword

        @ValidationMethod(message="trustStorePassword should not be null or empty if trustStorePath not null")
        public boolean isValidTrustStorePassword()
      • getKeyStoreProvider

        @Nullable
        public String getKeyStoreProvider()
        Since:
        2.0
      • setKeyStoreProvider

        public void setKeyStoreProvider​(@Nullable
                                        String keyStoreProvider)
        Since:
        2.0
      • getTrustStoreProvider

        @Nullable
        public String getTrustStoreProvider()
        Since:
        2.0
      • setTrustStoreProvider

        public void setTrustStoreProvider​(@Nullable
                                          String trustStoreProvider)
        Since:
        2.0