Package io.micronaut.nats.connect
Class NatsConnectionFactoryConfig.TLS
java.lang.Object
io.micronaut.nats.connect.NatsConnectionFactoryConfig.TLS
- Enclosing class:
- NatsConnectionFactoryConfig
TLS Configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCertificatePath(String certificatePath) voidsetTrustStorePassword(String trustStorePassword) voidsetTrustStorePath(String trustStorePath) voidsetTrustStoreType(@Nullable String trustStoreType)
-
Constructor Details
-
TLS
public TLS()
-
-
Method Details
-
getTrustStorePath
- Returns:
- file path for the trust store
-
setTrustStorePath
- Parameters:
trustStorePath- file path for the trust store
-
getTrustStorePassword
- Returns:
- password used to unlock the trust store
-
setTrustStorePassword
- Parameters:
trustStorePassword- used to unlock the trust store
-
getTrustStoreType
- Returns:
- type of keystore to use for connections
-
setTrustStoreType
- Parameters:
trustStoreType- generally the default, but available for special trust store formats/types
-
getCertificatePath
- Returns:
- the certificate path
-
setCertificatePath
- Parameters:
certificatePath- the path to the certificate
-