Package io.dropwizard.client.ssl
Class TlsConfiguration
java.lang.Object
io.dropwizard.client.ssl.TlsConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable String@Nullable File@Nullable String@Nullable String@Nullable String@Nullable File@Nullable StringbooleanbooleanbooleanbooleanvoidsetCertAlias(@Nullable String certAlias) voidsetKeyStorePassword(String keyStorePassword) voidsetKeyStorePath(File keyStorePath) voidsetKeyStoreProvider(@Nullable String keyStoreProvider) voidsetKeyStoreType(String keyStoreType) voidsetProtocol(String protocol) voidsetProvider(@Nullable String provider) voidsetSupportedCiphers(@Nullable List<String> supportedCiphers) voidsetSupportedProtocols(@Nullable List<String> supportedProtocols) voidsetTrustSelfSignedCertificates(boolean trustSelfSignedCertificates) voidsetTrustStorePassword(String trustStorePassword) voidsetTrustStorePath(File trustStorePath) voidsetTrustStoreProvider(@Nullable String trustStoreProvider) voidsetTrustStoreType(String trustStoreType) voidsetVerifyHostname(boolean verifyHostname)
-
Constructor Details
-
TlsConfiguration
public TlsConfiguration()
-
-
Method Details
-
setTrustSelfSignedCertificates
public void setTrustSelfSignedCertificates(boolean trustSelfSignedCertificates) -
isTrustSelfSignedCertificates
public boolean isTrustSelfSignedCertificates() -
getKeyStorePath
-
setKeyStorePath
-
getKeyStorePassword
-
setKeyStorePassword
-
getKeyStoreType
-
setKeyStoreType
-
getTrustStoreType
-
setTrustStoreType
-
getTrustStorePath
-
setTrustStorePath
-
getTrustStorePassword
-
setTrustStorePassword
-
isVerifyHostname
public boolean isVerifyHostname() -
setVerifyHostname
public void setVerifyHostname(boolean verifyHostname) -
getProtocol
-
setProtocol
-
getProvider
-
setProvider
-
getSupportedCiphers
-
setSupportedCiphers
-
getSupportedProtocols
-
setSupportedProtocols
-
getCertAlias
-
setCertAlias
-
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
- Since:
- 2.0
-
setKeyStoreProvider
- Since:
- 2.0
-
getTrustStoreProvider
- Since:
- 2.0
-
setTrustStoreProvider
- Since:
- 2.0
-