Class StaticPkcs11Configuration
java.lang.Object
se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
se.swedenconnect.security.credential.pkcs11.StaticPkcs11Configuration
- All Implemented Interfaces:
Pkcs11Configuration
A
Pkcs11Configuration where the SunPKCS11 provider is statically configured (see below).
A SunPKCS11 provider can be statically configured in the java.security file. For example:
... security.provider.13=SunPKCS11 /opt/bar/cfg/pkcs11.cfg ...
- Author:
- Martin Lindström
-
Field Summary
Fields inherited from class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
DEFAULT_PROVIDER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturnsnullsince this configuration represents a static configuration.Methods inherited from class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
getBaseProviderName, getProvider, init, toString
-
Constructor Details
-
StaticPkcs11Configuration
public StaticPkcs11Configuration()Default constructor. -
StaticPkcs11Configuration
- Parameters:
providerName- the security provider name (SunPKCS11 is the default)
-
-
Method Details
-
getConfigurationData
Returnsnullsince this configuration represents a static configuration.- Specified by:
getConfigurationDatain classAbstractSunPkcs11Configuration- Returns:
- configuration data for a PKCS#11 provider, or
nullif no configuration is needed
-