Interface TlsConfig
-
public interface TlsConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
enabled()
Whether SSL/TLS is enabled.Optional<String>
hostnameVerificationAlgorithm()
The hostname verification algorithm to use in case the server's identity should be checked.JksConfiguration
keyCertificateJks()
Key/cert configuration in the JKS format.PemKeyCertConfiguration
keyCertificatePem()
Key/cert configuration in the PEM format.PfxConfiguration
keyCertificatePfx()
Key/cert configuration in the PFX format.boolean
trustAll()
Enable trusting all certificates.JksConfiguration
trustCertificateJks()
Trust configuration in the JKS format.PemTrustCertConfiguration
trustCertificatePem()
Trust configuration in the PEM format.PfxConfiguration
trustCertificatePfx()
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-jks
and#trust-certificate-pfx
must be disabled.
-
trustCertificateJks
JksConfiguration trustCertificateJks()
Trust configuration in the JKS format.When enabled,
#trust-certificate-pem
and#trust-certificate-pfx
must be disabled.
-
trustCertificatePfx
PfxConfiguration trustCertificatePfx()
Trust configuration in the PFX format.When enabled,
#trust-certificate-jks
and#trust-certificate-pem
must be disabled.
-
keyCertificatePem
PemKeyCertConfiguration keyCertificatePem()
Key/cert configuration in the PEM format.When enabled,
key-certificate-jks
and#key-certificate-pfx
must be disabled.
-
keyCertificateJks
JksConfiguration keyCertificateJks()
Key/cert configuration in the JKS format.When enabled,
#key-certificate-pem
and#key-certificate-pfx
must be disabled.
-
keyCertificatePfx
PfxConfiguration keyCertificatePfx()
Key/cert configuration in the PFX format.When enabled,
key-certificate-jks
and#key-certificate-pem
must be disabled.
-
-