Class TlsConfiguration

java.lang.Object
io.dropwizard.client.ssl.TlsConfiguration

public class TlsConfiguration extends Object
  • Constructor Details

    • TlsConfiguration

      public TlsConfiguration()
  • Method Details

    • setTrustSelfSignedCertificates

      public void setTrustSelfSignedCertificates(boolean trustSelfSignedCertificates)
    • isTrustSelfSignedCertificates

      public boolean isTrustSelfSignedCertificates()
    • getKeyStorePath

      public @Nullable File getKeyStorePath()
    • setKeyStorePath

      public void setKeyStorePath(File keyStorePath)
    • getKeyStorePassword

      public @Nullable 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

      public @Nullable File getTrustStorePath()
    • setTrustStorePath

      public void setTrustStorePath(File trustStorePath)
    • getTrustStorePassword

      public @Nullable 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

      public @Nullable String getProvider()
    • setProvider

      public void setProvider(@Nullable String provider)
    • getSupportedCiphers

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

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

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

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

      public @Nullable 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

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

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

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

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