Class StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties
java.lang.Object
se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties
- All Implemented Interfaces:
StoreConfiguration.Pkcs11Configuration.Pkcs11Settings
- Enclosing class:
StoreConfigurationProperties.Pkcs11ConfigurationProperties
public static class StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties
extends Object
implements StoreConfiguration.Pkcs11Configuration.Pkcs11Settings
Custom PKCS#11 settings.
- Author:
- Martin Lindström
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the PKCS#11 library path.getName()Gets the name of the PKCS#11 slot.getSlot()Gets the slot number/id to use.Gets the slot index to use.inthashCode()library()The PKCS#11 library path.name()The name of the PKCS#11 slot.voidsetLibrary(String library) Assigns the PKCS#11 library path.voidAssigns the name of the PKCS#11 slot.voidAssigns the slot number/id to use.voidsetSlotListIndex(Integer slotListIndex) Assigns the slot index to use.slot()The slot number/id to use.The slot index to use.
-
Constructor Details
-
Pkcs11SettingsProperties
public Pkcs11SettingsProperties()
-
-
Method Details
-
getLibrary
-
setLibrary
Assigns the PKCS#11 library path.- Parameters:
library- the library path
-
getName
-
setName
Assigns the name of the PKCS#11 slot.- Parameters:
name- the slot name
-
getSlot
-
setSlot
Assigns the slot number/id to use.- Parameters:
slot- the slot number/id
-
getSlotListIndex
-
setSlotListIndex
Assigns the slot index to use.- Parameters:
slotListIndex- the slot index
-
library
The PKCS#11 library path.- Specified by:
libraryin interfaceStoreConfiguration.Pkcs11Configuration.Pkcs11Settings- Returns:
- the PKCS#11 library path
-
name
The name of the PKCS#11 slot.- Specified by:
namein interfaceStoreConfiguration.Pkcs11Configuration.Pkcs11Settings- Returns:
- the name of the PKCS#11 slot
-
slot
The slot number/id to use.- Specified by:
slotin interfaceStoreConfiguration.Pkcs11Configuration.Pkcs11Settings- Returns:
- slot number/id to use
-
slotListIndex
The slot index to use.- Specified by:
slotListIndexin interfaceStoreConfiguration.Pkcs11Configuration.Pkcs11Settings- Returns:
- the slot index to use
-
equals
-
hashCode
-