Interface StoreConfiguration
- All Known Implementing Classes:
StoreConfigurationProperties
public interface StoreConfiguration
Configuration interface for creating a Java
KeyStore
.- Author:
- Martin Lindström
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Additional configuration of PKCS11 keystores. -
Method Summary
Modifier and TypeMethodDescriptionlocation()
Location of the resource containing the store content.password()
Password used to access the store.pkcs11()
If thetype
is "PKCS11" and a provider that is not statically configured for PKCS#11, additional PKCS#11 configuration needs to be supplied.provider()
Security provider for the store.type()
Type of the store to create, e.g., JKS, PKCS12 or PKCS11.
-
Method Details
-
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
Type of the store to create, e.g., JKS, PKCS12 or PKCS11.- Returns:
- the type of the store to create
-
provider
Security provider for the store.- Returns:
- the name of the security provider for the store
-
pkcs11
If thetype
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
-