Class CxfTlsConfiguration

java.lang.Object
io.quarkiverse.cxf.CxfTlsConfiguration
All Implemented Interfaces:
io.quarkus.tls.TlsConfiguration

public class CxfTlsConfiguration extends Object implements io.quarkus.tls.TlsConfiguration
A TlsConfiguration implementation used in case the user uses the legacy way of implementing TLS via .trust-store* and .key-store* family of options rather than via .tls-configuration-name.
  • Constructor Details

    • CxfTlsConfiguration

      public CxfTlsConfiguration(io.vertx.core.net.KeyCertOptions keyStoreOptions, KeyStore keyStore, io.vertx.core.net.TrustOptions trustOptions, KeyStore trustStore)
  • Method Details

    • getKeyStoreOptions

      public io.vertx.core.net.KeyCertOptions getKeyStoreOptions()
      Specified by:
      getKeyStoreOptions in interface io.quarkus.tls.TlsConfiguration
    • getKeyStore

      public KeyStore getKeyStore()
      Specified by:
      getKeyStore in interface io.quarkus.tls.TlsConfiguration
    • getTrustStoreOptions

      public io.vertx.core.net.TrustOptions getTrustStoreOptions()
      Specified by:
      getTrustStoreOptions in interface io.quarkus.tls.TlsConfiguration
    • getTrustStore

      public KeyStore getTrustStore()
      Specified by:
      getTrustStore in interface io.quarkus.tls.TlsConfiguration
    • createSSLContext

      public SSLContext createSSLContext() throws Exception
      Specified by:
      createSSLContext in interface io.quarkus.tls.TlsConfiguration
      Throws:
      Exception
    • getSSLOptions

      public io.vertx.core.net.SSLOptions getSSLOptions()
      Specified by:
      getSSLOptions in interface io.quarkus.tls.TlsConfiguration
    • isTrustAll

      public boolean isTrustAll()
      Specified by:
      isTrustAll in interface io.quarkus.tls.TlsConfiguration
    • getHostnameVerificationAlgorithm

      public Optional<String> getHostnameVerificationAlgorithm()
      Specified by:
      getHostnameVerificationAlgorithm in interface io.quarkus.tls.TlsConfiguration
    • usesSni

      public boolean usesSni()
      Specified by:
      usesSni in interface io.quarkus.tls.TlsConfiguration
    • reload

      public boolean reload()
      Specified by:
      reload in interface io.quarkus.tls.TlsConfiguration