Interface OtherKeyStoreConfiguration


public interface OtherKeyStoreConfiguration
Configuration contract for a key store with an arbitrary type.

This interface is implemented by the runtime configuration class and is used by KeyStoreFactory so that factory implementations can be defined without depending on the runtime configuration module.

  • Method Details

    • type

      String type()
      The key store type, passed to java.security.KeyStore.getInstance(type).

      This value also serves as the lookup key for a KeyStoreFactory CDI bean via @Identifier.

    • provider

      Optional<String> provider()
      The Java security provider name, passed to java.security.KeyStore.getInstance(type, provider).
    • path

      Optional<Path> path()
      Path to the key store file.
    • password

      Optional<String> password()
      Password of the key store.
    • alias

      Optional<String> alias()
      Alias of the private key and certificate in the key store.
    • aliasPassword

      Optional<String> aliasPassword()
      Password of the alias in the key store.
    • params

      Map<String,String> params()
      Arbitrary parameters available to a KeyStoreFactory CDI bean via config.params().