Class StoreCredentialConfigurationProperties.KeyConfigurationProperties
java.lang.Object
se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties.KeyConfigurationProperties
- All Implemented Interfaces:
StoreCredentialConfiguration.KeyConfiguration
- Enclosing class:
StoreCredentialConfigurationProperties
public static class StoreCredentialConfigurationProperties.KeyConfigurationProperties
extends Object
implements StoreCredentialConfiguration.KeyConfiguration
Configuration properties for a key pair entry.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
KeyConfigurationProperties
public KeyConfigurationProperties()
-
-
Method Details
-
alias
The alias that identifies the key pair in the key store.- Specified by:
alias
in interfaceStoreCredentialConfiguration.KeyConfiguration
- Returns:
- the key store alias
-
keyPassword
The password to unlock the key entry identified by the given alias. If not given, the store password will be used (in these cases, using a store reference will not function).- Specified by:
keyPassword
in interfaceStoreCredentialConfiguration.KeyConfiguration
- Returns:
- the password to unlock the key entry
-
certificates
For some credentials where an underlyingKeyStore
is being used, an external certificate should be used. The most typical example would be a PKCS#11 key store where the certificate of the key pair resides outside the HSM device. This setting holds the location or content of the certificate or certificate chain in PEM format.- Specified by:
certificates
in interfaceStoreCredentialConfiguration.KeyConfiguration
- Returns:
- location or content of the certificate or certificate chain in PEM format for externally configured certificates
-