Package io.micronaut.nats.connect
Class NatsConnectionFactoryConfig.TLS
java.lang.Object
io.micronaut.nats.connect.NatsConnectionFactoryConfig.TLS
- Enclosing class:
- NatsConnectionFactoryConfig
TLS Configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCertificatePath
(String certificatePath) void
setTrustStorePassword
(String trustStorePassword) void
setTrustStorePath
(String trustStorePath) void
setTrustStoreType
(@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
-