Class TrustStoreConfig

java.lang.Object
io.quarkus.mailer.runtime.TrustStoreConfig

public class TrustStoreConfig extends Object
  • Field Details

    • password

      @ConfigItem Optional<String> password
      Sets the trust store password if any. Note that the password is only used for JKS and PCK#12 trust stores.
    • paths

      @ConfigItem @ConvertWith(io.quarkus.runtime.configuration.TrimmedStringConverter.class) Optional<List<String>> paths
      Sets the location of the trust store files. If you use JKS or PCK#12, only one path is allowed. If you use PEM files, you can specify multiple paths.

      The relative paths are relative to the application working directly.

    • type

      @ConfigItem Optional<String> type
      Sets the trust store type. By default, it guesses the type from the file name extension. For instance, truststore.pem will be seen as a PEM file, while truststore.jks will be seen as a JKS file. truststore.p12 and truststore.pfx will both be seen as PKCS#12 files. Accepted values are: JKS, PEM, PKCS.
  • Constructor Details

    • TrustStoreConfig

      public TrustStoreConfig()
  • Method Details

    • isConfigured

      public boolean isConfigured()
      Returns:
      true is the trust store is configured, false otherwise