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
- Enclosing class:
- SslConfiguration
public static class SslConfiguration.KeyStoreConfiguration extends java.lang.Object
Configuration properties for SSL key store.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFIX
-
Constructor Summary
Constructors Constructor Description KeyStoreConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getPassword()
java.util.Optional<java.lang.String>
getPath()
java.util.Optional<java.lang.String>
getProvider()
java.util.Optional<java.lang.String>
getType()
void
setPassword(java.lang.String password)
Sets the password to use for the keystore.void
setPath(java.lang.String path)
Sets the path.void
setProvider(java.lang.String provider)
Sets the keystore provider name.void
setType(java.lang.String type)
Sets the type of keystore.
-
-
-
Field Detail
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPath
public java.util.Optional<java.lang.String> getPath()
- Returns:
- The path to the key store (typically .jks). Can use classpath: and file:.
-
getPassword
public java.util.Optional<java.lang.String> getPassword()
- Returns:
- The password to the keyStore
-
getType
public java.util.Optional<java.lang.String> getType()
- Returns:
- The key store type
-
getProvider
public java.util.Optional<java.lang.String> getProvider()
- Returns:
- Provider for the key store.
-
setPath
public void setPath(java.lang.String path)
Sets the path.- Parameters:
path
- The path
-
setPassword
public void setPassword(java.lang.String password)
Sets the password to use for the keystore.- Parameters:
password
- The password
-
setType
public void setType(java.lang.String type)
Sets the type of keystore.- Parameters:
type
- The keystore type
-
setProvider
public void setProvider(java.lang.String provider)
Sets the keystore provider name.- Parameters:
provider
- The provider
-
-