Interface StoreConfiguration

All Known Implementing Classes:
StoreConfigurationProperties

public interface StoreConfiguration
Configuration interface for creating a Java KeyStore.
Author:
Martin Lindström
  • Method Details

    • location

      Optional<String> location()
      Location of the resource containing the store content.
      Returns:
      the location of the resource containing the store content
    • password

      String password()
      Password used to access the store.
      Returns:
      the password used to access the store
    • type

      Optional<String> type()
      Type of the store to create, e.g., JKS, PKCS12 or PKCS11.
      Returns:
      the type of the store to create
    • provider

      Optional<String> provider()
      Security provider for the store.
      Returns:
      the name of the security provider for the store
    • pkcs11

      If the type is "PKCS11" and a provider that is not statically configured for PKCS#11, additional PKCS#11 configuration needs to be supplied.

      Note: The security provider used must support PKCS#11 via the KeyStoreSpi interface. The "SunPKCS11" is such a provider.

      Returns:
      additional PKCS#11 configuration