Interface TlsConfig
-
public interface TlsConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanenabled()Whether SSL/TLS is enabled.Optional<String>hostnameVerificationAlgorithm()The hostname verification algorithm to use in case the server's identity should be checked.JksConfigurationkeyCertificateJks()Key/cert configuration in the JKS format.PemKeyCertConfigurationkeyCertificatePem()Key/cert configuration in the PEM format.PfxConfigurationkeyCertificatePfx()Key/cert configuration in the PFX format.booleantrustAll()Enable trusting all certificates.JksConfigurationtrustCertificateJks()Trust configuration in the JKS format.PemTrustCertConfigurationtrustCertificatePem()Trust configuration in the PEM format.PfxConfigurationtrustCertificatePfx()Trust configuration in the PFX format.
-
-
-
Method Detail
-
enabled
@WithDefault("false") boolean enabled()Whether SSL/TLS is enabled.
-
trustAll
@WithDefault("false") boolean trustAll()Enable trusting all certificates. Disabled by default.
-
trustCertificatePem
PemTrustCertConfiguration trustCertificatePem()
Trust configuration in the PEM format.When enabled,
#trust-certificate-jksand#trust-certificate-pfxmust be disabled.
-
trustCertificateJks
JksConfiguration trustCertificateJks()
Trust configuration in the JKS format.When enabled,
#trust-certificate-pemand#trust-certificate-pfxmust be disabled.
-
trustCertificatePfx
PfxConfiguration trustCertificatePfx()
Trust configuration in the PFX format.When enabled,
#trust-certificate-jksand#trust-certificate-pemmust be disabled.
-
keyCertificatePem
PemKeyCertConfiguration keyCertificatePem()
Key/cert configuration in the PEM format.When enabled,
key-certificate-jksand#key-certificate-pfxmust be disabled.
-
keyCertificateJks
JksConfiguration keyCertificateJks()
Key/cert configuration in the JKS format.When enabled,
#key-certificate-pemand#key-certificate-pfxmust be disabled.
-
keyCertificatePfx
PfxConfiguration keyCertificatePfx()
Key/cert configuration in the PFX format.When enabled,
key-certificate-jksand#key-certificate-pemmust be disabled.
-
-