Package io.dropwizard.client.ssl
Class TlsConfiguration
- java.lang.Object
-
- io.dropwizard.client.ssl.TlsConfiguration
-
public class TlsConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description TlsConfiguration()
-
Method Summary
-
-
-
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)
-
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
-
-