Class StoreConfigurationProperties.Pkcs11ConfigurationProperties
java.lang.Object
se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties
- All Implemented Interfaces:
StoreConfiguration.Pkcs11Configuration
- Enclosing class:
StoreConfigurationProperties
public static class StoreConfigurationProperties.Pkcs11ConfigurationProperties
extends Object
implements StoreConfiguration.Pkcs11Configuration
Additional configuration of PKCS11 keystores.
- Author:
- Martin Lindström
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCustom PKCS#11 settings.Nested classes/interfaces inherited from interface StoreConfiguration.Pkcs11Configuration
StoreConfiguration.Pkcs11Configuration.Pkcs11Settings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe complete path of the PKCS#11 configuration file with which the PKCS#11 device is configured.booleanGets the complete path of the PKCS#11 configuration file.Gets the detailed PKCS#11 settings (alternative to a configuration file).inthashCode()voidsetConfigurationFile(String configurationFile) Assigns the complete path of the PKCS#11 configuration file.voidsetSettings(StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties settings) Assigns the detailed PKCS#11 settings (alternative to a configuration file).settings()As an alternative to providing the PKCS#11 configuration file, each PKCS#11 setting can be provided separately.
-
Constructor Details
-
Pkcs11ConfigurationProperties
public Pkcs11ConfigurationProperties()
-
-
Method Details
-
getConfigurationFile
Gets the complete path of the PKCS#11 configuration file.- Returns:
- the PKCS#11 configuration file
-
setConfigurationFile
Assigns the complete path of the PKCS#11 configuration file.- Parameters:
configurationFile- the PKCS#11 configuration file
-
getSettings
@Nullable public StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties getSettings()Gets the detailed PKCS#11 settings (alternative to a configuration file).- Returns:
- the PKCS#11 settings
-
setSettings
public void setSettings(@Nullable StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties settings) Assigns the detailed PKCS#11 settings (alternative to a configuration file).- Parameters:
settings- the PKCS#11 settings
-
configurationFile
The complete path of the PKCS#11 configuration file with which the PKCS#11 device is configured.- Specified by:
configurationFilein interfaceStoreConfiguration.Pkcs11Configuration- Returns:
- complete path of the PKCS#11 configuration file with which the PKCS#11 device is configured
-
settings
As an alternative to providing the PKCS#11 configuration file, each PKCS#11 setting can be provided separately. This property holds these detailed settings.- Specified by:
settingsin interfaceStoreConfiguration.Pkcs11Configuration- Returns:
- custom PKCS#11 settings
-
equals
-
hashCode
-