public class PKCS11SoftHsmProviderConfiguration extends PKCS11ProviderConfiguration
library, name, slot, slotListIndex, slotListIndexMaxRange
Constructor and Description |
---|
PKCS11SoftHsmProviderConfiguration() |
Modifier and Type | Method and Description |
---|---|
List<SoftHsmCredentialConfiguration> |
getCredentialConfigurationList()
Returns the cofniguration data for keys and certificates that should be loaded by the SoftHSM provider.
|
String |
getPin()
Returns the PIN needed to write the key.
|
void |
setCredentialConfigurationList(List<SoftHsmCredentialConfiguration> credentialConfigurationList)
Assigns the directory containing the keys and certificates that should be loaded by the SoftHSM provider.
|
void |
setPin(String pin)
Assigns the PIN needed to write the key.
|
String |
toString() |
getLibrary, getName, getSlot, getSlotListIndex, getSlotListIndexMaxRange, setLibrary, setName, setSlot, setSlotListIndex, setSlotListIndexMaxRange
public List<SoftHsmCredentialConfiguration> getCredentialConfigurationList()
public void setCredentialConfigurationList(List<SoftHsmCredentialConfiguration> credentialConfigurationList)
credentialConfigurationList
- list of soft HSM credential configurationspublic String getPin()
public void setPin(String pin)
pin
- PIN for writing keypublic String toString()
toString
in class PKCS11ProviderConfiguration
Copyright © 2018 Sweden Connect. All rights reserved.