- GenericPKCS11Provider - Class in se.swedenconnect.opensaml.pkcs11.providerimpl
-
PKCS#11 provider for the general case.
- GenericPKCS11Provider(String, String, String, Integer, Integer, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider
-
Constructor setting up the provider.
- GenericPKCS11Provider(PKCS11ProviderConfiguration, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider
-
Constructor taking a PKCS11ProviderConfiguration
to configure the provider
- getAliasList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
-
Returns the key aliases
- getCert(File) - Static method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
-
- getCertificateMap() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
-
Returns a map of aliases and associated certificates.
- getCertLocation() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
-
Getter for the credential certificate location.
- getConfigLocationList() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProvidedCfgConfiguration
-
Getter for the list of PKCS#11 provider configuration files.
- getCredentialConfigurationList() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
-
Returns the cofniguration data for keys and certificates that should be loaded by the SoftHSM provider.
- getCurrentKeyProvider() - Method in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential
-
Get the provider of the most recently selected private key.
- getKeyLocation() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
-
Getter for the credential key location.
- getLibrary() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Returns the path to the pkcs11 library on the host to use for the provider.
- getName() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Returns the name of the HSM slot.
- getName() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
-
Getter for the name of the credential key.
- getPin() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
-
Returns the PIN needed to write the key.
- getPrivateKey(String, String) - Method in interface se.swedenconnect.opensaml.pkcs11.credential.CustomKeyExtractor
-
- getPrivateKey() - Method in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential
-
Overrides the default method to get the private key and adds a key test before the private key is extracted and
returned.
- getPrivateKey() - Method in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11NoTestCredential
-
Overrides the default method to get an random available private key from any of the configured PKCS#11 providers.
- getProviderInstance(String) - Method in interface se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ProviderInstance
-
Create an instance of a SunPKCS11 provider
- getProviderNameList() - Method in interface se.swedenconnect.opensaml.pkcs11.PKCS11Provider
-
Returns the names of the PKCS#11 security provider.
- getProviderNameList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider
-
Returns the names of the PKCS#11 security provider.
- getProviderNameList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ExternalCfgProvider
-
Returns the names of the PKCS#11 security provider.
- getProviderNameList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11NullProvider
-
Returns the names of the PKCS#11 security provider.
- getProviderNameList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
-
Returns the names of the PKCS#11 security provider.
- getRandomProviderFromPool() - Method in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential
-
- getSlot() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Returns the slot number to use.
- getSlotListIndex() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Returns the slot list index to use.
- getSlotListIndexMaxRange() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Returns the maximum range of slot list indexes to traverse, starting from the active slotListIndex
.
- getTrimmedIfNotNull(String) - Static method in class se.swedenconnect.opensaml.pkcs11.utils.StringUtils
-
Returns the trimmed string if present.
- se.swedenconnect.opensaml.pkcs11 - package se.swedenconnect.opensaml.pkcs11
-
- se.swedenconnect.opensaml.pkcs11.configuration - package se.swedenconnect.opensaml.pkcs11.configuration
-
- se.swedenconnect.opensaml.pkcs11.credential - package se.swedenconnect.opensaml.pkcs11.credential
-
- se.swedenconnect.opensaml.pkcs11.providerimpl - package se.swedenconnect.opensaml.pkcs11.providerimpl
-
- se.swedenconnect.opensaml.pkcs11.utils - package se.swedenconnect.opensaml.pkcs11.utils
-
- setCertLocation(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
-
Setter for the credential certificate location.
- setCredentialConfigurationList(List<SoftHsmCredentialConfiguration>) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
-
Assigns the directory containing the keys and certificates that should be loaded by the SoftHSM provider.
- setKeyLocation(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
-
Setter for credential key location.
- setLibrary(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Assigns the path to the pkcs11 library on the host to use for the provider.
- setName(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Assigns the name of the HSM slot.
- setName(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
-
Setter for the name of the credential key.
- setPin(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
-
Assigns the PIN needed to write the key.
- setSlot(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Assigns the slot number to use.
- setSlotListIndex(Integer) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Assigns the slot list index to use.
- setSlotListIndexMaxRange(Integer) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
Assigns the slot list index max range
- slot - Variable in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
The slot number to use.
- slotListIndex - Variable in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
The slot index to use.
- slotListIndexMaxRange - Variable in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
-
The maximum number och slots to use starting from the slotListIndex
- SoftHsmCredentialConfiguration - Class in se.swedenconnect.opensaml.pkcs11.configuration
-
Configuration Class for setting up key and certificates to be loaded into Soft HSM.
- SoftHsmCredentialConfiguration() - Constructor for class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
-
Constructor for the Soft HSM key credential.
- SoftHsmCredentialConfiguration(String, String, String) - Constructor for class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
-
Constructor for the Soft HSM key credential.
- StringUtils - Class in se.swedenconnect.opensaml.pkcs11.utils
-
This class performs some simple String functions normally provided by the Spring framework.
- StringUtils() - Constructor for class se.swedenconnect.opensaml.pkcs11.utils.StringUtils
-
- SUN_PROVIDER_PREFIX - Static variable in interface se.swedenconnect.opensaml.pkcs11.PKCS11Provider
-