public class GenericPKCS11Provider extends Object implements PKCS11Provider
SUN_PROVIDER_PREFIX| Constructor and Description |
|---|
GenericPKCS11Provider(PKCS11ProviderConfiguration configuration,
PKCS11ProviderInstance providerInstance)
Constructor taking a
PKCS11ProviderConfiguration to configure the provider |
GenericPKCS11Provider(String name,
String library,
String slot,
Integer slotListIndex,
Integer slotListIndexMaxRange,
PKCS11ProviderInstance providerInstance)
Constructor setting up the provider.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getProviderNameList()
Returns the names of the PKCS#11 security provider.
|
public GenericPKCS11Provider(String name, String library, String slot, Integer slotListIndex, Integer slotListIndexMaxRange, PKCS11ProviderInstance providerInstance)
It is recommended to supply either slot or slotListIndex, but not both, since if the index and slot supplied does not match the device's view an error will occur.
name - name of the HSM slot. The Provider name will be "SunPKCS11-{slotName}"library - the PKCS11 library on the host to useslot - the slot number, or null for default (slotListIndex of 0)slotListIndex - the slotListIndex, or null for default (slotListIndex of 0)slotListIndexMaxRange - the max range for slotsproviderInstance - Provider instantiation implementation (Depending on runtime Java version)public GenericPKCS11Provider(PKCS11ProviderConfiguration configuration, PKCS11ProviderInstance providerInstance)
PKCS11ProviderConfiguration to configure the providerconfiguration - provider configurationproviderInstance - Provider instantiation implementation (Depending on runtime Java version)public List<String> getProviderNameList()
getProviderNameList in interface PKCS11ProviderCopyright © 2018 Sweden Connect. All rights reserved.