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()getType()voidsetPassword(String password) Sets the password to use for the keystore.voidSets the path.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
- Returns:
- The path to the trust store (typically .jks). Can use classpath: and file:.
-
getPassword
- Returns:
- The password to the keyStore
-
getType
- Returns:
- The key store type
-
getProvider
- Returns:
- Provider for the key store.
-
setPath
Sets the path.- Parameters:
path- The path
-
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
-