Package io.micronaut.http.ssl
Class SslConfiguration.KeyStoreConfiguration
java.lang.Object
io.micronaut.http.ssl.SslConfiguration.KeyStoreConfiguration
- Direct Known Subclasses:
ClientSslConfiguration.DefaultKeyStoreConfiguration,DefaultSslConfiguration.DefaultKeyStoreConfiguration,ServerSslConfiguration.DefaultKeyStoreConfiguration,ServiceHttpClientConfiguration.ServiceSslClientConfiguration.DefaultKeyStoreConfiguration
- Enclosing class:
- SslConfiguration
Configuration properties for SSL key 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
-
KeyStoreConfiguration
public KeyStoreConfiguration()
-
-
Method Details
-
getPath
- Returns:
- The path to the key 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
-