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

public static class SslConfiguration.TrustStoreConfiguration extends Object
Configuration properties for SSL trust store.
  • Field Details

  • Constructor Details

    • TrustStoreConfiguration

      public TrustStoreConfiguration()
  • Method Details

    • getPath

      public Optional<String> getPath()
      Returns:
      The path to the trust 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