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

public static class SslConfiguration.KeyStoreConfiguration extends Object
Configuration properties for SSL key store.
  • Field Details

  • Constructor Details

    • KeyStoreConfiguration

      public KeyStoreConfiguration()
  • Method Details

    • getPath

      public Optional<String> getPath()
      Returns:
      The path to the key store (typically .jks). Can use classpath: and file:.
    • getPassword

      public Optional<String> getPassword()
      Returns:
      The password to the keyStore
    • getType

      public Optional<String> getType()
      Returns:
      The key store type
    • getProvider

      public Optional<String> getProvider()
      Returns:
      Provider for the key store.
    • setPath

      public void setPath(String path)
      Sets the path.
      Parameters:
      path - The path
    • setPassword

      public void setPassword(String password)
      Sets the password to use for the keystore.
      Parameters:
      password - The password
    • setType

      public void setType(String type)
      Sets the type of keystore.
      Parameters:
      type - The keystore type
    • setProvider

      public void setProvider(String provider)
      Sets the keystore provider name.
      Parameters:
      provider - The provider