Class SslConfiguration.TrustStoreConfiguration
java.lang.Object
io.micronaut.http.ssl.SslConfiguration.TrustStoreConfiguration
- Direct Known Subclasses:
ClientSslConfiguration.DefaultTrustStoreConfiguration, DefaultSslConfiguration.DefaultTrustStoreConfiguration, ServerSslConfiguration.DefaultTrustStoreConfiguration, ServiceHttpClientConfiguration.ServiceSslClientConfiguration.DefaultTrustStoreConfiguration
- Enclosing class:
SslConfiguration
Configuration properties for SSL trust store.
- Since:
- 1.0
- Author:
- James Kleeh
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()The path to the trust store (typically .jks).getType()voidsetPassword(String password) Sets the password to use for the keystore.voidThe path to the trust store (typically .jks).voidsetProvider(String provider) Sets the keystore provider name.voidSets the type of keystore.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
TrustStoreConfiguration
public TrustStoreConfiguration()
-
-
Method Details
-
getPath
-
getPassword
-
getType
-
getProvider
-
setPath
The path to the trust store (typically .jks). Can also point to a PEM file containing one or more X.509 certificates. Can useclasspath:,file:,string:orbase64:.- Parameters:
path- The resource containing the trust store
-
setPassword
Sets the password to use for the keystore.- Parameters:
password- The password
-
setType
-
setProvider
Sets the keystore provider name.- Parameters:
provider- The provider
-