Class NatsConnectionFactoryConfig.TLS

java.lang.Object
io.micronaut.nats.connect.NatsConnectionFactoryConfig.TLS
Enclosing class:
NatsConnectionFactoryConfig

@ConfigurationProperties("tls") public static class NatsConnectionFactoryConfig.TLS extends Object
TLS Configuration.
  • Constructor Details

    • TLS

      public TLS()
  • Method Details

    • getTrustStorePath

      public String getTrustStorePath()
      Returns:
      file path for the trust store
    • setTrustStorePath

      public void setTrustStorePath(String trustStorePath)
      Parameters:
      trustStorePath - file path for the trust store
    • getTrustStorePassword

      public String getTrustStorePassword()
      Returns:
      password used to unlock the trust store
    • setTrustStorePassword

      public void setTrustStorePassword(String trustStorePassword)
      Parameters:
      trustStorePassword - used to unlock the trust store
    • getTrustStoreType

      public String getTrustStoreType()
      Returns:
      type of keystore to use for connections
    • setTrustStoreType

      public void setTrustStoreType(@Nullable @Nullable String trustStoreType)
      Parameters:
      trustStoreType - generally the default, but available for special trust store formats/types
    • getCertificatePath

      public String getCertificatePath()
      Returns:
      the certificate path
    • setCertificatePath

      public void setCertificatePath(String certificatePath)
      Parameters:
      certificatePath - the path to the certificate