Package io.micronaut.http.ssl
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()
The path to the trust store (typically .jks).getType()
void
setPassword
(String password) Sets the password to use for the keystore.void
The path to the trust store (typically .jks).void
setProvider
(String provider) Sets the keystore provider name.void
Sets the type of keystore.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
TrustStoreConfiguration
public TrustStoreConfiguration()
-
-
Method Details
-
getPath
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:
.- Returns:
- The resource containing the trust store
-
getPassword
- Returns:
- The password to the keyStore
-
getType
- Returns:
- The key store type
-
getProvider
- Returns:
- Provider for the key store.
-
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
Sets the type of keystore.- Parameters:
type
- The keystore type
-
setProvider
Sets the keystore provider name.- Parameters:
provider
- The provider
-