Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBaseCredentialConfigurationProperties - Class in se.swedenconnect.security.credential.config.properties
-
Implementation of
BaseCredentialConfiguration
. - AbstractBaseCredentialConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.AbstractBaseCredentialConfigurationProperties
- AbstractCredentialMonitoringEvent - Class in se.swedenconnect.security.credential.spring.monitoring.events
-
Abstract base class for credential monitoring events.
- AbstractCredentialMonitoringEvent(String) - Constructor for class se.swedenconnect.security.credential.spring.monitoring.events.AbstractCredentialMonitoringEvent
-
Constructor.
- AbstractKeyPairGeneratorFactory - Class in se.swedenconnect.security.credential.container.keytype
-
Abstract base class for
KeyPairGeneratorFactory
. - AbstractKeyPairGeneratorFactory(String) - Constructor for class se.swedenconnect.security.credential.container.keytype.AbstractKeyPairGeneratorFactory
-
Constructor.
- AbstractKeyStorePkiCredentialContainer - Class in se.swedenconnect.security.credential.container
-
Abstract implementation of the
PkiCredentialContainer
interface for implementations that rely on an underlying Java KeyStore. - AbstractKeyStorePkiCredentialContainer(Provider, String) - Constructor for class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Constructor for the multi credential key store.
- AbstractPkiCredential - Class in se.swedenconnect.security.credential
-
Abstract base class for classes implementing the
PkiCredential
interface. - AbstractPkiCredential() - Constructor for class se.swedenconnect.security.credential.AbstractPkiCredential
-
Default constructor.
- AbstractPkiCredentialContainer - Class in se.swedenconnect.security.credential.container
-
Abstract implementation of the
PkiCredentialContainer
interface. - AbstractPkiCredentialContainer(Provider) - Constructor for class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Constructor.
- AbstractReloadablePkiCredential - Class in se.swedenconnect.security.credential
-
Abstract base class for reloadable credentials.
- AbstractReloadablePkiCredential() - Constructor for class se.swedenconnect.security.credential.AbstractReloadablePkiCredential
-
Default constructor.
- AbstractResourcePropertyConverter<T> - Class in se.swedenconnect.security.credential.spring.converters
-
Abstract base class for converters that convert a resource property value into an object.
- AbstractResourcePropertyConverter() - Constructor for class se.swedenconnect.security.credential.spring.converters.AbstractResourcePropertyConverter
- AbstractSunPkcs11Configuration - Class in se.swedenconnect.security.credential.pkcs11
-
Abstract base class for PKCS#11 configuration.
- AbstractSunPkcs11Configuration() - Constructor for class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
-
Default constructor.
- AbstractSunPkcs11Configuration(String) - Constructor for class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
-
Constructor setting the "base provider name".
- afterPropertiesSet() - Method in class se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
-
Deprecated.
- afterPropertiesSet() - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.
- afterPropertiesSet() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
- afterPropertiesSet() - Method in class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
- afterPropertiesSet() - Method in class se.swedenconnect.security.credential.spring.factory.X509CertificateFactoryBean
- alias() - Method in class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties.KeyConfigurationProperties
-
The alias that identifies the key pair in the key store.
- alias() - Method in interface se.swedenconnect.security.credential.config.StoreCredentialConfiguration.KeyConfiguration
-
The alias that identifies the key pair in the key store.
- apply(PkiCredential) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction
-
Transforms the supplied
PkiCredential
into anJWK
. - apply(PkiCredential) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultAlgorithmFunction
- apply(PkiCredential) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultKeyIdFunction
-
If the credential metadata contains a
key-id
, this is used, otherwise the function attempts to calculate the RFC 7638 thumbprint, and finally the serial number of the certificate is used for key id-calculation. - apply(PkiCredential) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultKeyOpsFunction
-
Returns a
Set
ofKeyOperation
s if the metadata propertykey-ops
is assigned to any of the following: ACollection
ofKeyOperation
objects. A singleKeyOperation
object. An array ofKeyOperation
objects. A comma separated string with key operations (see valid string values inKeyOperation
). - apply(PkiCredential) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultKeyUseFunction
-
Will use the
key-use
property from the metadata, and if not present, use the certificate to calculate the usage. - apply(PkiCredential) - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredentialTransformerFunction
-
Transforms the supplied
PkiCredential
into anX509Credential
. - apply(PkiCredential) - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredentialTransformerFunction.DefaultEntityIdFunction
-
Accesses the
entity-id
metadata property from the supplied credential. - apply(ReloadablePkiCredential) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialTestFunction
- APS_BRAINPOOL_P192R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Brainpool P-192 R1 curve.
- APS_BRAINPOOL_P224R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Brainpool P-224 R1 curve.
- APS_BRAINPOOL_P256R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Brainpool P-256 R1 curve.
- APS_BRAINPOOL_P320R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Brainpool P-320 R1 curve.
- APS_BRAINPOOL_P384R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Brainpool P-384 R1 curve.
- APS_BRAINPOOL_P512R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Brainpool P-512 R1 curve.
- APS_NIST_P192 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Nist P-192 curve.
- APS_NIST_P224 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Nist P-224 curve.
- APS_NIST_P256 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Nist P-256 curve.
- APS_NIST_P384 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Nist P-384 curve.
- APS_NIST_P521 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Algorithm parameter spec Nist P-512 curve.
B
- BaseCredentialConfiguration - Interface in se.swedenconnect.security.credential.config
-
Base configuration interface for creating a
PkiCredential
. - BasicCredential - Class in se.swedenconnect.security.credential
-
A basic implementation of the
PkiCredential
interface. - BasicCredential(X509Certificate, PrivateKey) - Constructor for class se.swedenconnect.security.credential.BasicCredential
-
Constructor setting the certificate and private key.
- BasicCredential(KeyPair) - Constructor for class se.swedenconnect.security.credential.BasicCredential
-
Constructor accepting a
KeyPair
. - BasicCredential(PublicKey, PrivateKey) - Constructor for class se.swedenconnect.security.credential.BasicCredential
-
Constructor setting the public and private keys.
- BasicCredential(List<X509Certificate>, PrivateKey) - Constructor for class se.swedenconnect.security.credential.BasicCredential
-
Constructor assigning a certificate chain and private key.
- build() - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Given the properties assigned, the method loads and unlocks a
KeyStore
. - builder() - Static method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Creates a
KeyStoreBuilder
that uses theDefaultConfigurationResourceLoader
to load resources. - builder(ConfigurationResourceLoader) - Static method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Creates a
KeyStoreBuilder
that uses the suppliedConfigurationResourceLoader
to load resources. - bundle() - Method in interface se.swedenconnect.security.credential.config.PkiCredentialConfiguration
-
Pointer to a
PkiCredential
accessible via theCredentialBundles
bean/interface. - bundle() - Method in class se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationProperties
-
Pointer to a
PkiCredential
accessible via theCredentialBundles
bean/interface. - BundlesReference<T> - Interface in se.swedenconnect.security.credential.spring.config
-
Base interface for references to objects declared in a
CredentialBundles
.
C
- certificates() - Method in interface se.swedenconnect.security.credential.config.PemCredentialConfiguration
-
Location or content of the certificate or certificate chain in PEM format.
- certificates() - Method in class se.swedenconnect.security.credential.config.properties.PemCredentialConfigurationProperties
-
Location or content of the certificate or certificate chain in PEM format.
- certificates() - Method in class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties.KeyConfigurationProperties
-
For some credentials where an underlying
KeyStore
is being used, an external certificate should be used. - certificates() - Method in interface se.swedenconnect.security.credential.config.StoreCredentialConfiguration.KeyConfiguration
-
For some credentials where an underlying
KeyStore
is being used, an external certificate should be used. - CLASSPATH_PREFIX - Static variable in class se.swedenconnect.security.credential.config.DefaultConfigurationResourceLoader
-
Prefix for classpath resources.
- cleanup() - Method in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Traverses through all credentials in the multi credential key store and delets the expired ones.
- cleanup() - Method in interface se.swedenconnect.security.credential.container.PkiCredentialContainer
-
Traverses through all credentials in the multi credential key store and delets the expired ones.
- ConfigurationCredentialBundleRegistrar - Class in se.swedenconnect.security.credential.bundle
-
A
CredentialBundleRegistrar
implementation that registers credentials and key stores based on a configuration object. - ConfigurationCredentialBundleRegistrar(CredentialBundlesConfiguration) - Constructor for class se.swedenconnect.security.credential.bundle.ConfigurationCredentialBundleRegistrar
-
Constructor using a
DefaultConfigurationResourceLoader
to load resources. - ConfigurationCredentialBundleRegistrar(CredentialBundlesConfiguration, ConfigurationResourceLoader) - Constructor for class se.swedenconnect.security.credential.bundle.ConfigurationCredentialBundleRegistrar
-
Constructor.
- configurationFile() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties
-
The complete path of the PKCS#11 configuration file with which the PKCS#11 device is configured.
- configurationFile() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration.Pkcs11Configuration
-
The complete path of the PKCS#11 configuration file with which the PKCS#11 device is configured.
- ConfigurationResourceLoader - Interface in se.swedenconnect.security.credential.config
-
An interface for loading configuration values that are "locations".
- configureTasks(ScheduledTaskRegistrar) - Method in class se.swedenconnect.security.credential.spring.autoconfigure.MonitorSchedulerAutoConfiguration
- convert(InputStream) - Method in class se.swedenconnect.security.credential.spring.converters.AbstractResourcePropertyConverter
-
Converts the input stream to the object supported by the converter.
- convert(InputStream) - Method in class se.swedenconnect.security.credential.spring.converters.PropertyToPrivateKeyConverter
-
Converts the input stream to the object supported by the converter.
- convert(InputStream) - Method in class se.swedenconnect.security.credential.spring.converters.PropertyToPublicKeyConverter
-
Converts the input stream to the object supported by the converter.
- convert(InputStream) - Method in class se.swedenconnect.security.credential.spring.converters.PropertyToX509CertificateConverter
-
Converts the input stream to the object supported by the converter.
- convert(String) - Method in class se.swedenconnect.security.credential.spring.converters.AbstractResourcePropertyConverter
- convert(String) - Method in class se.swedenconnect.security.credential.spring.converters.KeyStoreReferenceConverter
-
Converts a registered key store ID into a supplier to a
KeyStore
object. - convert(String) - Method in class se.swedenconnect.security.credential.spring.converters.PkiCredentialReferenceConverter
-
Converts a registered credential ID into a
PkiCredentialReference
object. - ConvertersAutoConfiguration - Class in se.swedenconnect.security.credential.spring.autoconfigure
-
Autoconfiguration for converters used for configuring credentials.
- ConvertersAutoConfiguration() - Constructor for class se.swedenconnect.security.credential.spring.autoconfigure.ConvertersAutoConfiguration
- createCredential(PemCredentialConfiguration, ConfigurationResourceLoader) - Static method in class se.swedenconnect.security.credential.factory.PkiCredentialFactory
-
Creates a
PkiCredential
based on aPemCredentialConfiguration
. - createCredential(PkiCredentialConfiguration, ConfigurationResourceLoader, Function<String, PkiCredential>, Function<String, KeyStore>, Function<String, KeyStoreReloader>) - Static method in class se.swedenconnect.security.credential.factory.PkiCredentialFactory
-
Creates a
PkiCredential
based on the suppliedPkiCredentialConfiguration
. - createCredential(StoreCredentialConfiguration, ConfigurationResourceLoader, Function<String, KeyStore>, Function<String, KeyStoreReloader>) - Static method in class se.swedenconnect.security.credential.factory.PkiCredentialFactory
-
Creates a
PkiCredential
based on aStoreCredentialConfiguration
. - createInstance() - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.
- createInstance() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
- createInstance() - Method in class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
- createInstance() - Method in class se.swedenconnect.security.credential.spring.factory.X509CertificateFactoryBean
- createKeyStore(Provider, char[]) - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Creates the key store used to store generated keys.
- createKeyStore(Provider, char[]) - Method in class se.swedenconnect.security.credential.container.HsmPkiCredentialContainer
-
Creates the key store used to store generated keys.
- createKeyStore(Provider, char[]) - Method in class se.swedenconnect.security.credential.container.SoftPkiCredentialContainer
-
Creates the key store used to store generated keys.
- CredentialBundleRegistrar - Interface in se.swedenconnect.security.credential.bundle
-
Interface to be implemented for registering
KeyStore
andPkiCredential
objects at aCredentialBundleRegistry
. - CredentialBundleRegistry - Interface in se.swedenconnect.security.credential.bundle
-
Interface for registering
PkiCredential
s andKeyStore
s. - CredentialBundles - Interface in se.swedenconnect.security.credential.bundle
-
An interface for accessing registered credentials and key stores.
- CredentialBundlesConfiguration - Interface in se.swedenconnect.security.credential.config
-
Configuration interface for bundles of credentials and key stores.
- CredentialBundlesConfigurationProperties - Class in se.swedenconnect.security.credential.config.properties
-
Configuration properties for bundles of credentials and key stores.
- CredentialBundlesConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.CredentialBundlesConfigurationProperties
- CredentialMonitorBean - Interface in se.swedenconnect.security.credential.monitoring
-
Interface for a credential monitor bean.
- CredentialMonitorHealthIndicator - Class in se.swedenconnect.security.credential.spring.actuator
-
A
HealthIndicator
for monitoring credentials. - CredentialMonitorHealthIndicator() - Constructor for class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator
-
Credential assuming that monitor events will be published.
- CredentialMonitorHealthIndicator(List<ReloadablePkiCredential>) - Constructor for class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator
-
Constructor setting up a monitor.
- CredentialMonitorHealthIndicator.MonitorStatus - Class in se.swedenconnect.security.credential.spring.actuator
- CredentialMonitoringCallbacks - Class in se.swedenconnect.security.credential.spring.monitoring
-
Callbacks for credential monitoring signalling application events.
- CredentialMonitoringCallbacks(ApplicationEventPublisher) - Constructor for class se.swedenconnect.security.credential.spring.monitoring.CredentialMonitoringCallbacks
-
Constructor.
- CredentialMonitorTask - Class in se.swedenconnect.security.credential.monitoring
-
Monitor task for credentials.
- CredentialMonitorTask(CredentialMonitorBean) - Constructor for class se.swedenconnect.security.credential.monitoring.CredentialMonitorTask
-
Constructor setting up a monitoring task.
- CustomPkcs11Configuration - Class in se.swedenconnect.security.credential.pkcs11
-
A
Pkcs11Configuration
where a PKCS#11 each configuration setting is supplied. - CustomPkcs11Configuration(String, String, String, Integer, String) - Constructor for class se.swedenconnect.security.credential.pkcs11.CustomPkcs11Configuration
-
Constructor setting the library, name, slot and slotListIndex individually.
D
- decodeCertificate(byte[]) - Static method in class se.swedenconnect.security.credential.utils.X509Utils
-
Decodes a
X509Certificate
from its encoding. - decodeCertificate(InputStream) - Static method in class se.swedenconnect.security.credential.utils.X509Utils
-
Decodes a
X509Certificate
from an input stream. - decodeCertificateChain(byte[]) - Static method in class se.swedenconnect.security.credential.utils.X509Utils
-
Given a sequence of PEM or DER encododed certificates or a PKCS#7 certificate chain, the method will return a list of
X509Certificate
objects. - decodeCertificateChain(InputStream) - Static method in class se.swedenconnect.security.credential.utils.X509Utils
-
Given a stream holding a sequence of PEM or DER encododed certificates or a PKCS#7 certificate chain, the method will return a list of
X509Certificate
objects. - decodePrivateKey(byte[]) - Static method in class se.swedenconnect.security.credential.utils.KeyUtils
-
Decodes a private key in DER, PEM, and unencrypted PKCS#8 formats.
- decodePrivateKey(byte[], char[]) - Static method in class se.swedenconnect.security.credential.utils.KeyUtils
-
Decodes an encrypted private key.
- decodePrivateKey(InputStream) - Static method in class se.swedenconnect.security.credential.utils.KeyUtils
-
Decodes a private key in DER, PEM, and unencrypted PKCS#8 formats.
- decodePrivateKey(InputStream, char[]) - Static method in class se.swedenconnect.security.credential.utils.KeyUtils
-
Decodes an encrypted private key.
- decodePublicKey(byte[]) - Static method in class se.swedenconnect.security.credential.utils.KeyUtils
-
Decodes a public key in DER or PEM format.
- decodePublicKey(InputStream) - Static method in class se.swedenconnect.security.credential.utils.KeyUtils
-
Decodes a public key in DER or PEM format.
- DEFAULT_PROVIDER_NAME - Static variable in class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
-
Default provider name.
- DEFAULT_SUPPORTED_KEY_TYPES - Static variable in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
The key gen types (see
KeyGenType
) that are supported by default. - DefaultAlgorithmFunction() - Constructor for class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultAlgorithmFunction
- DefaultConfigurationResourceLoader - Class in se.swedenconnect.security.credential.config
-
An implementation of
ConfigurationResourceLoader
that supportsfile:
,http:
,https:
andclasspath:
prefixes. - DefaultConfigurationResourceLoader() - Constructor for class se.swedenconnect.security.credential.config.DefaultConfigurationResourceLoader
- DefaultCredentialBundleRegistry - Class in se.swedenconnect.security.credential.bundle
-
Default implementation of the
CredentialBundles
andCredentialBundleRegistry
interfaces. - DefaultCredentialBundleRegistry() - Constructor for class se.swedenconnect.security.credential.bundle.DefaultCredentialBundleRegistry
- DefaultCredentialMonitorBean - Class in se.swedenconnect.security.credential.monitoring
-
The default implementation of the
CredentialMonitorBean
interface. - DefaultCredentialMonitorBean(List<ReloadablePkiCredential>) - Constructor for class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Constructor setting up monitoring of the supplied credentials.
- DefaultCredentialMonitorBean(ReloadablePkiCredential) - Constructor for class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Constructor setting up monitoring of a single credential.
- DefaultCredentialMonitorBean(ReloadablePkiCredential, List<ReloadablePkiCredential>) - Constructor for class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Constructor setting up monitoring of a single credential.
- DefaultCredentialTestFunction - Class in se.swedenconnect.security.credential.monitoring
-
A default credential test function that tests a credential by getting a private key reference and signs test data using this key.
- DefaultCredentialTestFunction() - Constructor for class se.swedenconnect.security.credential.monitoring.DefaultCredentialTestFunction
- DefaultEntityIdFunction() - Constructor for class se.swedenconnect.security.credential.opensaml.OpenSamlCredentialTransformerFunction.DefaultEntityIdFunction
- DefaultKeyIdFunction() - Constructor for class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultKeyIdFunction
- DefaultKeyOpsFunction() - Constructor for class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultKeyOpsFunction
- DefaultKeyUseFunction() - Constructor for class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultKeyUseFunction
- deleteCredential(String) - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Deletes the credential specified by the supplied alias.
- deleteCredential(String) - Method in class se.swedenconnect.security.credential.container.InMemoryPkiCredentialContainer
-
Deletes the credential specified by the supplied alias.
- deleteCredential(String) - Method in interface se.swedenconnect.security.credential.container.PkiCredentialContainer
-
Deletes the credential specified by the supplied alias.
- destroy() - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
If not already destroyed, the method will invoke the
PkiCredential.destroy()
method on the managed credential, and then invoke the destroy callback to inform the owning container about that the credential should be removed. - destroy() - Method in class se.swedenconnect.security.credential.KeyStoreCredential
- destroy() - Method in class se.swedenconnect.security.credential.pkcs11.Pkcs11Credential
-
Clears the saved PIN code.
- destroy() - Method in class se.swedenconnect.security.credential.pkcs11.Pkcs11KeyStoreReloader
-
Method that clears the PIN-code.
- destroy() - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Optional destroy method for credentials that need to perform cleaning up.
- destroy() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
E
- EC_BRAINPOOL_192 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve Brainpool P192 R1
- EC_BRAINPOOL_224 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve Brainpool P224 R1
- EC_BRAINPOOL_256 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve Brainpool P256 R1
- EC_BRAINPOOL_320 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve Brainpool P320 R1
- EC_BRAINPOOL_384 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve Brainpool P384 R1
- EC_BRAINPOOL_512 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve Brainpool P512 R1
- EC_P192 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve P-192
- EC_P224 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve P-224
- EC_P256 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve P-256
- EC_P384 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve P-384
- EC_P521 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for elliptic curve keys with curve P-521
- EcKeyPairGeneratorFactory - Class in se.swedenconnect.security.credential.container.keytype
-
Factory for elliptic curve key pair generators.
- EcKeyPairGeneratorFactory(String, AlgorithmParameterSpec) - Constructor for class se.swedenconnect.security.credential.container.keytype.EcKeyPairGeneratorFactory
-
Constructor for the Elliptic curve key pair generator factory.
- ECParameterSpecs - Class in se.swedenconnect.security.credential.container.keytype
-
Various parameter specs for elliptic curves.
- ENTITY_ID_PROPERTY - Static variable in class se.swedenconnect.security.credential.opensaml.OpenSamlMetadataProperties
-
Property name for assigning a SAML entity ID to the credential metadata.
- ERROR - Static variable in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator.MonitorStatus
- EXPIRES_AT_PROPERTY - Static variable in interface se.swedenconnect.security.credential.PkiCredential.Metadata
-
Property name for the expires-at metadata property.
- expiresAt() - Method in interface se.swedenconnect.security.credential.config.BaseCredentialConfiguration
-
Metadata property for expires-at.
- expiresAt() - Method in class se.swedenconnect.security.credential.config.properties.AbstractBaseCredentialConfigurationProperties
-
Metadata property for expires-at.
F
- FailedCredentialReloadEvent - Class in se.swedenconnect.security.credential.spring.monitoring.events
-
Event that is signalled when a credential has been reloaded with an error.
- FailedCredentialReloadEvent(String, String, String) - Constructor for class se.swedenconnect.security.credential.spring.monitoring.events.FailedCredentialReloadEvent
-
Constructor.
- FailedCredentialTestEvent - Class in se.swedenconnect.security.credential.spring.monitoring.events
-
Event that is signalled when a credential has been tested and the test failed.
- FailedCredentialTestEvent(String, String, String) - Constructor for class se.swedenconnect.security.credential.spring.monitoring.events.FailedCredentialTestEvent
-
Constructor.
- FILE_PREFIX - Static variable in class se.swedenconnect.security.credential.config.DefaultConfigurationResourceLoader
-
Prefix for file resources.
- FilePkcs11Configuration - Class in se.swedenconnect.security.credential.pkcs11
-
A
Pkcs11Configuration
where a PKCS#11 configuration file is supplied. - FilePkcs11Configuration(String) - Constructor for class se.swedenconnect.security.credential.pkcs11.FilePkcs11Configuration
-
Constructor assigning the external PKCS#11 configuration file.
- FilePkcs11Configuration(String, String) - Constructor for class se.swedenconnect.security.credential.pkcs11.FilePkcs11Configuration
-
Constructor assigning the external PKCS#11 configuration file and a "base provider name".
G
- generateAlias() - Method in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Overridable function to generate the unique alias for each generated key.
- generateCredential(String) - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Generates a key pair and self-issued certificate for a new credential in the container.
- generateCredential(String) - Method in class se.swedenconnect.security.credential.container.InMemoryPkiCredentialContainer
-
Generates a key pair and self-issued certificate for a new credential in the container.
- generateCredential(String) - Method in interface se.swedenconnect.security.credential.container.PkiCredentialContainer
-
Generates a key pair and self-issued certificate for a new credential in the container.
- get() - Method in interface se.swedenconnect.security.credential.spring.config.BundlesReference
-
Resolves the object by invoking the underlying
CredentialBundles
bean. - get() - Method in interface se.swedenconnect.security.credential.spring.config.KeyStoreReference
-
Resolves a reference to a
KeyStore
using theCredentialBundles
bean. - get() - Method in interface se.swedenconnect.security.credential.spring.config.PkiCredentialReference
-
Resolves a reference to a
PkiCredential
using theCredentialBundles
bean. - get(KeyStore, String) - Method in class se.swedenconnect.security.credential.pkcs11.SunPkcs11CertificatesAccessor
-
Gets the certificates from the PKCS#11 keystore at the given alias/slot.
- get(KeyStore, String, char[]) - Method in class se.swedenconnect.security.credential.pkcs11.SunPkcs11PrivateKeyAccessor
-
Gets the private key from the given entry (identified by
alias
). - get(Provider, String, char[]) - Method in interface se.swedenconnect.security.credential.pkcs11.Pkcs11CertificatesAccessor
-
Gets the certificate chain for the alias.
- get(Provider, String, char[]) - Method in interface se.swedenconnect.security.credential.pkcs11.Pkcs11ObjectAccessor
-
Gets a reference to an object residing on the PKCS#11 device.
- get(Provider, String, char[]) - Method in interface se.swedenconnect.security.credential.pkcs11.Pkcs11PrivateKeyAccessor
-
Gets a reference to the private key from the PKCS#11 device, and throws
SecurityException
if it can not be extracted or is not found. - get(Provider, String, char[]) - Method in class se.swedenconnect.security.credential.pkcs11.SunPkcs11CertificatesAccessor
-
Gets the certificate chain for the alias.
- get(Provider, String, char[]) - Method in class se.swedenconnect.security.credential.pkcs11.SunPkcs11PrivateKeyAccessor
-
Gets a reference to the private key from the PKCS#11 device, and throws
SecurityException
if it can not be extracted or is not found. - getAlgorithmName(KeyPair) - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Overridable method to provide the certificate signing JCA algorithm name of the algorithm used to sign the self-signed certificate associated with a generated key.
- getBaseProviderName() - Method in class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
-
Gets the name of the security provider that we use to create new instances that have names according to
<base-provider-name>-<instance-name>
, where 'instance-name' is gotten from the configuration. - getCertificate() - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Gets the certificate holding the public key of the key pair.
- getCertificateChain() - Method in class se.swedenconnect.security.credential.BasicCredential
-
Gets a certificate chain for the credential, where the first element is the entity certificate (
PkiCredential.getCertificate()
). - getCertificateChain() - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
If a certificate or certificate chain has been added after the creation of the managed credential, this chain will be returned, otherwise the credential's original chain.
- getCertificateChain() - Method in class se.swedenconnect.security.credential.KeyStoreCredential
-
Gets a certificate chain for the credential, where the first element is the entity certificate (
PkiCredential.getCertificate()
). - getCertificateChain() - Method in class se.swedenconnect.security.credential.pkcs11.Pkcs11Credential
-
Gets a certificate chain for the credential, where the first element is the entity certificate (
PkiCredential.getCertificate()
). - getCertificateChain() - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Gets a certificate chain for the credential, where the first element is the entity certificate (
PkiCredential.getCertificate()
). - getConfiguration() - Method in class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
Returns the underlying configuration.
- getConfigurationData() - Method in class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
-
Gets the configuration data for this configuration.
- getConfigurationData() - Method in class se.swedenconnect.security.credential.pkcs11.CustomPkcs11Configuration
-
Gets the configuration data for this configuration.
- getConfigurationData() - Method in class se.swedenconnect.security.credential.pkcs11.FilePkcs11Configuration
-
Returns the configuration file.
- getConfigurationData() - Method in class se.swedenconnect.security.credential.pkcs11.StaticPkcs11Configuration
-
Returns
null
since this configuration represents a static configuration. - getCredential(String) - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundles
-
Gets the
PkiCredential
registered under the given ID. - getCredential(String) - Method in class se.swedenconnect.security.credential.bundle.DefaultCredentialBundleRegistry
-
Gets the
PkiCredential
registered under the given ID. - getCredential(String) - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Gets the credential for a specific alias from the credential container.
- getCredential(String) - Method in class se.swedenconnect.security.credential.container.InMemoryPkiCredentialContainer
-
Gets the credential for a specific alias from the credential container.
- getCredential(String) - Method in interface se.swedenconnect.security.credential.container.PkiCredentialContainer
-
Gets the credential for a specific alias from the credential container.
- getCredentialFromAlias(String) - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Gets the credential for a specific alias from the credential container.
- getCredentialFromAlias(String) - Method in class se.swedenconnect.security.credential.container.HsmPkiCredentialContainer
-
Gets the credential for a specific alias from the credential container.
- getCredentialFromAlias(String) - Method in class se.swedenconnect.security.credential.container.SoftPkiCredentialContainer
-
Gets the credential for a specific alias from the credential container.
- getCredentialId() - Method in exception class se.swedenconnect.security.credential.bundle.NoSuchCredentialException
-
Gets the credential ID.
- getCredentialName() - Method in class se.swedenconnect.security.credential.spring.monitoring.events.AbstractCredentialMonitoringEvent
-
Gets the name of the credential that was monitored.
- getCredentialProvider() - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundles
-
Gets a function that provides a credential based on an identifier.
- getDefaultName() - Method in class se.swedenconnect.security.credential.AbstractPkiCredential
-
If the credential
name
property is not explicitly assigned usingAbstractPkiCredential.setName(String)
a name is calculated based on a credential's properties. - getDefaultName() - Method in class se.swedenconnect.security.credential.BasicCredential
-
Gets the certificate serial number, and if no certificate is available a UUID is used.
- getDefaultName() - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
- getDefaultName() - Method in class se.swedenconnect.security.credential.KeyStoreCredential
-
If the credential
name
property is not explicitly assigned usingAbstractPkiCredential.setName(String)
a name is calculated based on a credential's properties. - getDefaultName() - Method in class se.swedenconnect.security.credential.pkcs11.Pkcs11Credential
-
If the credential
name
property is not explicitly assigned usingAbstractPkiCredential.setName(String)
a name is calculated based on a credential's properties. - getEntityCertificate() - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
- getEntityCertificateChain() - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
- getError() - Method in class se.swedenconnect.security.credential.spring.monitoring.events.FailedCredentialReloadEvent
-
Gets the error message for the test.
- getError() - Method in class se.swedenconnect.security.credential.spring.monitoring.events.FailedCredentialTestEvent
-
Gets the error message for the test.
- getException() - Method in class se.swedenconnect.security.credential.spring.monitoring.events.FailedCredentialReloadEvent
-
Gets the name of the exception that led to the error.
- getException() - Method in class se.swedenconnect.security.credential.spring.monitoring.events.FailedCredentialTestEvent
-
Gets the name of the exception that led to the error.
- getExpiresAt() - Method in interface se.swedenconnect.security.credential.PkiCredential.Metadata
-
The instant for when the key pair/credential "expires".
- getExpiryTime(String) - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Gets the expiry time of the credential specified by alias.
- getExpiryTime(String) - Method in class se.swedenconnect.security.credential.container.InMemoryPkiCredentialContainer
-
Gets the expiry time of the credential specified by alias.
- getExpiryTime(String) - Method in interface se.swedenconnect.security.credential.container.PkiCredentialContainer
-
Gets the expiry time of the credential specified by alias.
- getFactory(String) - Static method in class se.swedenconnect.security.credential.container.keytype.KeyPairGeneratorFactoryRegistry
-
Gets a
KeyPairGeneratorFactory
instance that can be used for creating key pairs corresponding to the suppliedkeyGenType
(seeKeyGenType
). - getIssuedAt() - Method in interface se.swedenconnect.security.credential.PkiCredential.Metadata
-
The instant for when the key pair/credential was issued.
- getKeyGeneratorFactory(String) - Method in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Gets a
KeyPairGeneratorFactory
that can be used to generate key pairs given the suppliedkeyTypeName
. - getKeyId() - Method in interface se.swedenconnect.security.credential.PkiCredential.Metadata
-
An assigned, or calculated, key identifier for the credential.
- getKeyPairGenerator(Provider) - Method in class se.swedenconnect.security.credential.container.keytype.EcKeyPairGeneratorFactory
-
Creates a key pair generator.
- getKeyPairGenerator(Provider) - Method in interface se.swedenconnect.security.credential.container.keytype.KeyPairGeneratorFactory
-
Creates a key pair generator.
- getKeyPairGenerator(Provider) - Method in class se.swedenconnect.security.credential.container.keytype.RsaKeyPairGeneratorFactory
-
Creates a key pair generator.
- getKeyStore() - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Gets the key store instance where all generated keys are stored.
- getKeyStore() - Method in class se.swedenconnect.security.credential.KeyStoreCredential
-
Returns the underlying
KeyStore
. - getKeyStore(String) - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundles
-
Gets the
KeyStore
registered under the given ID. - getKeyStore(String) - Method in class se.swedenconnect.security.credential.bundle.DefaultCredentialBundleRegistry
-
Gets the
KeyStore
registered under the given ID. - getKeyStoreId() - Method in exception class se.swedenconnect.security.credential.bundle.NoSuchKeyStoreException
-
Gets the key store ID.
- getKeyStoreProvider() - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundles
-
Gets a function that provides a key store based on an identifier.
- getKeyValidity() - Method in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Gets the key validity.
- getMetadata() - Method in class se.swedenconnect.security.credential.AbstractPkiCredential
-
Gets the credential metadata.
- getMetadata() - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Gets the credential metadata.
- getName() - Method in class se.swedenconnect.security.credential.AbstractPkiCredential
-
Gets the name of the credential.
- getName() - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
Gets the name of the credential.
- getName() - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Gets the name of the credential.
- getObjectType() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
- getObjectType() - Method in class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
- getObjectType() - Method in class se.swedenconnect.security.credential.spring.factory.X509CertificateFactoryBean
- getPassword() - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Gets the password for accessing the key store keys.
- getPassword() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Gets the password for unlocking the keystore.
- getPin() - Method in class se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
-
Deprecated.Gets the PIN (which is the same as
keyPassword
). - getPkcs11Configuration() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Gets the complete path to the PKCS#11 configuration file to use to configure the provider in the cases the type is "PKCS11".
- getPrivateKey() - Method in class se.swedenconnect.security.credential.BasicCredential
-
Gets the private key.
- getPrivateKey() - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
Returns the
PrivateKey
of the managed credential. - getPrivateKey() - Method in class se.swedenconnect.security.credential.KeyStoreCredential
-
Gets the private key.
- getPrivateKey() - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
- getPrivateKey() - Method in class se.swedenconnect.security.credential.pkcs11.Pkcs11Credential
-
Gets the private key.
- getPrivateKey() - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Gets the private key.
- getProperties() - Method in interface se.swedenconnect.security.credential.PkiCredential.Metadata
-
Gets a live map of the additional metadata properties.
- getProvider() - Method in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Gets the security provider used by the container.
- getProvider() - Method in class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
-
Gets the Java security
Provider
to use when setting up a PKCS#11 credential. - getProvider() - Method in interface se.swedenconnect.security.credential.pkcs11.Pkcs11Configuration
-
Gets the Java security
Provider
to use when setting up a PKCS#11 credential. - getProvider() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
- getPublicKey() - Method in class se.swedenconnect.security.credential.AbstractPkiCredential
-
Gets the public key.
- getPublicKey() - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
Gets the public key.
- getPublicKey() - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
- getPublicKey() - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Gets the public key.
- getRegisteredCredentials() - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundles
-
Gets a list of all ID:s for registered credentials.
- getRegisteredCredentials() - Method in class se.swedenconnect.security.credential.bundle.DefaultCredentialBundleRegistry
-
Gets a list of all ID:s for registered credentials.
- getRegisteredKeyStores() - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundles
-
Gets a list of all ID:s for registered key stores.
- getRegisteredKeyStores() - Method in class se.swedenconnect.security.credential.bundle.DefaultCredentialBundleRegistry
-
Gets a list of all ID:s for registered key stores.
- getReloadFailureCallback() - Method in class se.swedenconnect.security.credential.spring.monitoring.CredentialMonitoringCallbacks
-
Gets a callback for failed credential reloads.
- getReloadSuccessCallback() - Method in class se.swedenconnect.security.credential.spring.monitoring.CredentialMonitoringCallbacks
-
Gets a callback for successful credential reloads.
- getResource() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Gets the resource holding the KeyStore.
- getStandalonePublicKey() - Method in class se.swedenconnect.security.credential.AbstractPkiCredential
-
If a credential without a certificate is created, this method must be overridden and return the installed
PublicKey
. - getStandalonePublicKey() - Method in class se.swedenconnect.security.credential.BasicCredential
- getStatus() - Method in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator.MonitorStatus
- getStream(String) - Method in interface se.swedenconnect.security.credential.config.ConfigurationResourceLoader
-
Gets an
InputStream
for the resource. - getStream(String) - Method in class se.swedenconnect.security.credential.config.DefaultConfigurationResourceLoader
-
Gets an
InputStream
for the resource. - getStream(String) - Method in class se.swedenconnect.security.credential.spring.config.SpringConfigurationResourceLoader
-
Gets an
InputStream
for the resource. - getTestFailureCallback() - Method in class se.swedenconnect.security.credential.spring.monitoring.CredentialMonitoringCallbacks
-
Gets a callback for failed credential tests.
- getTestFunction() - Method in class se.swedenconnect.security.credential.AbstractReloadablePkiCredential
-
A credential may be monitored to ensure that it is functional.
- getTestFunction() - Method in interface se.swedenconnect.security.credential.ReloadablePkiCredential
-
A credential may be monitored to ensure that it is functional.
- getTestSuccessCallback() - Method in class se.swedenconnect.security.credential.spring.monitoring.CredentialMonitoringCallbacks
-
Gets a callback for successful credential tests.
- getType() - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Gets the type of KeyStore.
- getVersion() - Static method in class se.swedenconnect.security.credential.LibraryVersion
-
Gets the version string.
- getX500Name(BigInteger) - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Overridable function to produce the issuer and subject name for the self issued certificate.
H
- hasDeprecatedProperties() - Method in class se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
-
Deprecated.Predicate that tells whether any of the deprecated properties are set.
- health() - Method in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator
-
Tests all configured credentials, and performs reload on those that fail tests.
- HsmPkiCredentialContainer - Class in se.swedenconnect.security.credential.container
-
Implements a
PkiCredentialContainer
based on an HSM. - HsmPkiCredentialContainer(String, String) - Constructor for class se.swedenconnect.security.credential.container.HsmPkiCredentialContainer
-
Constructor accepting a PKCS#11 configuration file for getting the PKCS#11 provider.
- HsmPkiCredentialContainer(Provider, String) - Constructor for class se.swedenconnect.security.credential.container.HsmPkiCredentialContainer
-
Constructor for the default PKCS11 credential container where keys are stored in an HSM slot.
- HsmPkiCredentialContainer(Pkcs11Configuration, String) - Constructor for class se.swedenconnect.security.credential.container.HsmPkiCredentialContainer
-
Constructor accepting a
Pkcs11Configuration
object for getting the PKCS#11 provider. - HTTP_PREFIX - Static variable in class se.swedenconnect.security.credential.config.DefaultConfigurationResourceLoader
-
Prefix for HTTP URL resources.
- HTTPS_PREFIX - Static variable in class se.swedenconnect.security.credential.config.DefaultConfigurationResourceLoader
-
Prefix for HTTPS URL resources.
I
- init() - Method in class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
-
An init method that should be called to fully initialize the configuration object.
- InMemoryPkiCredentialContainer - Class in se.swedenconnect.security.credential.container
-
An in-memory implementation of the
PkiCredentialContainer
interface. - InMemoryPkiCredentialContainer(String) - Constructor for class se.swedenconnect.security.credential.container.InMemoryPkiCredentialContainer
-
Constructor loading the security provider identified by
providerName
. - InMemoryPkiCredentialContainer(Provider) - Constructor for class se.swedenconnect.security.credential.container.InMemoryPkiCredentialContainer
-
Constructor.
- isEmpty() - Method in class se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
-
Deprecated.Predicate that returns
true
if this object is "empty", meaning that no settings have been applied. - isExpired(String) - Method in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Checks if the entry identified with
alias
is expired. - isHardwareCredential() - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
Predicate that tells whether this credential resides in a hardware module.
- isHardwareCredential() - Method in class se.swedenconnect.security.credential.KeyStoreCredential
-
Predicate that tells whether this credential resides in a hardware module.
- isHardwareCredential() - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
-
Predicate that tells whether this credential resides in a hardware module.
- isHardwareCredential() - Method in class se.swedenconnect.security.credential.pkcs11.Pkcs11Credential
-
Returns
true
. - isHardwareCredential() - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Predicate that tells whether this credential resides in a hardware module.
- isInlinedPem(String) - Method in class se.swedenconnect.security.credential.spring.converters.AbstractResourcePropertyConverter
-
Tells whether the property value holds an "inlined" PEM representation of the object.
- isInlinedPem(String) - Method in class se.swedenconnect.security.credential.spring.converters.PropertyToPrivateKeyConverter
-
Tells whether the property value holds an "inlined" PEM representation of the object.
- isInlinedPem(String) - Method in class se.swedenconnect.security.credential.spring.converters.PropertyToPublicKeyConverter
-
Tells whether the property value holds an "inlined" PEM representation of the object.
- isInlinedPem(String) - Method in class se.swedenconnect.security.credential.spring.converters.PropertyToX509CertificateConverter
-
Tells whether the property value holds an "inlined" PEM representation of the object.
- isInlinedPem(String) - Static method in class se.swedenconnect.security.credential.utils.KeyUtils
-
When configuring the use of credentials and when a key is configured, normally, the location of the key file is given.
- isInlinedPem(String) - Static method in class se.swedenconnect.security.credential.utils.X509Utils
-
When configuring the use of credentials and when a certificate is configured, normally, the location of the certificate is given.
- ISSUED_AT_PROPERTY - Static variable in interface se.swedenconnect.security.credential.PkiCredential.Metadata
-
Property name for the issued-at metadata property.
- issuedAt() - Method in interface se.swedenconnect.security.credential.config.BaseCredentialConfiguration
-
Metadata property for issued-at.
- issuedAt() - Method in class se.swedenconnect.security.credential.config.properties.AbstractBaseCredentialConfigurationProperties
-
Metadata property for issued-at.
J
- jks() - Method in interface se.swedenconnect.security.credential.config.CredentialBundlesConfiguration
-
Gets the map of credential ID:s and key store based credential configurations.
- jks() - Method in interface se.swedenconnect.security.credential.config.PkiCredentialConfiguration
-
Configuration for a JKS (Java KeyStore) based credential.
- jks() - Method in class se.swedenconnect.security.credential.config.properties.CredentialBundlesConfigurationProperties
-
Gets the map of credential ID:s and key store based credential configurations.
- jks() - Method in class se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationProperties
-
Configuration for a JKS (Java KeyStore) based credential.
- JOSE_ALGORITHM_PROPERTY - Static variable in class se.swedenconnect.security.credential.nimbus.JwkMetadataProperties
-
Property name for the JOSE algorithm
alg
metadata property. - JwkMetadataProperties - Class in se.swedenconnect.security.credential.nimbus
-
Symbolic constants for storing JWK properties in a
PkiCredential.Metadata
object. - JwkTransformerFunction - Class in se.swedenconnect.security.credential.nimbus
-
A function that transforms a
PkiCredential
into anJWK
. - JwkTransformerFunction() - Constructor for class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction
- JwkTransformerFunction.DefaultAlgorithmFunction - Class in se.swedenconnect.security.credential.nimbus
-
Default implementation of the function that returns the JOSE algorithm (
alg
property). - JwkTransformerFunction.DefaultKeyIdFunction - Class in se.swedenconnect.security.credential.nimbus
-
Default implementation of the function that returns the key id (JWT
kid
property). - JwkTransformerFunction.DefaultKeyOpsFunction - Class in se.swedenconnect.security.credential.nimbus
-
Default implementation of the function that returns a set of
KeyOperation
s for a credential. - JwkTransformerFunction.DefaultKeyUseFunction - Class in se.swedenconnect.security.credential.nimbus
-
Default implementation of the function that returns the
KeyUse
for a credential.
K
- key() - Method in class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties
-
Configuration for the key pair entry of the store.
- key() - Method in interface se.swedenconnect.security.credential.config.StoreCredentialConfiguration
-
Configuration for the key pair entry of the store.
- KEY_ID_PROPERTY - Static variable in interface se.swedenconnect.security.credential.PkiCredential.Metadata
-
Property name for the key identifier metadata property.
- KEY_OPS_PROPERTY - Static variable in class se.swedenconnect.security.credential.nimbus.JwkMetadataProperties
-
Property name for the key operations metadata property.
- KEY_USE_PROPERTY - Static variable in class se.swedenconnect.security.credential.nimbus.JwkMetadataProperties
-
Property name for the key use metadata property.
- KeyConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties.KeyConfigurationProperties
- KeyGenType - Class in se.swedenconnect.security.credential.container.keytype
-
KeyConfiguration generation static constants and resources for use with the
PkiCredentialContainer
key generation functions. - KeyGenType() - Constructor for class se.swedenconnect.security.credential.container.keytype.KeyGenType
- keyId() - Method in interface se.swedenconnect.security.credential.config.BaseCredentialConfiguration
-
Metadata property for key identifier.
- keyId() - Method in class se.swedenconnect.security.credential.config.properties.AbstractBaseCredentialConfigurationProperties
-
Metadata property for key identifier.
- KeyPairGeneratorFactory - Interface in se.swedenconnect.security.credential.container.keytype
-
Intarface for a factory for creating a
KeyPairGenerator
suitable for a specific key type. - KeyPairGeneratorFactoryRegistry - Class in se.swedenconnect.security.credential.container.keytype
-
A registry for getting a
KeyPairGeneratorFactory
based on a key type (seeKeyGenType
). - keyPassword() - Method in interface se.swedenconnect.security.credential.config.PemCredentialConfiguration
-
Password used to decrypt an encrypted private key.
- keyPassword() - Method in class se.swedenconnect.security.credential.config.properties.PemCredentialConfigurationProperties
-
Password used to decrypt an encrypted private key.
- keyPassword() - Method in class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties.KeyConfigurationProperties
-
The password to unlock the key entry identified by the given alias.
- keyPassword() - Method in interface se.swedenconnect.security.credential.config.StoreCredentialConfiguration.KeyConfiguration
-
The password to unlock the key entry identified by the given alias.
- keystore() - Method in interface se.swedenconnect.security.credential.config.CredentialBundlesConfiguration
-
Gets the map of key store ID:s and key store configurations.
- keystore() - Method in class se.swedenconnect.security.credential.config.properties.CredentialBundlesConfigurationProperties
-
Gets the map of key store ID:s and key store configurations.
- KeyStoreBuilder - Class in se.swedenconnect.security.credential.factory
-
A class implementing a builder pattern for setting up a
KeyStore
. - KeyStoreBuilder() - Constructor for class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Default constructor.
- KeyStoreBuilder(ConfigurationResourceLoader) - Constructor for class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Constructor assigning the resource loader to use when loading resources.
- KeyStoreCredential - Class in se.swedenconnect.security.credential
- KeyStoreCredential(KeyStore, String, char[]) - Constructor for class se.swedenconnect.security.credential.KeyStoreCredential
-
Constructor taking a
KeyStore
and the key entry alias and a key password. - KeyStoreCredential(KeyStore, String, char[], List<X509Certificate>) - Constructor for class se.swedenconnect.security.credential.KeyStoreCredential
-
When using a PKCS#11
KeyStore
a variant is to only access the private key from the HSM, and have the corresponding certificate stored outside the HSM. - KeyStoreFactory - Class in se.swedenconnect.security.credential.factory
-
Factory class for loading and unlocking a
KeyStore
. - KeyStoreFactory() - Constructor for class se.swedenconnect.security.credential.factory.KeyStoreFactory
- KeyStoreFactoryBean - Class in se.swedenconnect.security.credential.spring.factory
-
Factory bean for creating and unlocking a
KeyStore
. - KeyStoreFactoryBean() - Constructor for class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Default constructor.
- KeyStoreFactoryBean(Resource, char[]) - Constructor for class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Constructor that accepts a resource reference a keystore and the password to unlock this file.
- KeyStoreFactoryBean(Resource, char[], String) - Constructor for class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Constructor that accepts a resource reference to a keystore, the password to unlock this file and the store type ("JKS", "PKCS12", ...).
- KeyStoreReference - Interface in se.swedenconnect.security.credential.spring.config
-
A
CredentialBundles
reference to aKeyStore
. - KeyStoreReferenceConverter - Class in se.swedenconnect.security.credential.spring.converters
-
A
Converter
that accepts a string that is a reference to a registeredKeyStore
and uses the systemCredentialBundles
bean to create a resolvableKeyStoreReference
. - KeyStoreReferenceConverter() - Constructor for class se.swedenconnect.security.credential.spring.converters.KeyStoreReferenceConverter
- KeyStoreReloader - Interface in se.swedenconnect.security.credential
-
When a
KeyStoreCredential
is used with an underlying PKCS#11KeyStore
the implementation may want to reload theKeyStore
. - KeyUtils - Class in se.swedenconnect.security.credential.utils
-
Utility methods for handling public and private keys.
L
- library() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties
-
The PKCS#11 library path.
- library() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration.Pkcs11Configuration.Pkcs11Settings
-
The PKCS#11 library path.
- LibraryVersion - Class in se.swedenconnect.security.credential
-
Internal class used for serialization across library classes.
- listCredentials() - Method in class se.swedenconnect.security.credential.container.AbstractKeyStorePkiCredentialContainer
-
Gets all available credential aliases from the multi credential key store.
- listCredentials() - Method in class se.swedenconnect.security.credential.container.InMemoryPkiCredentialContainer
-
Gets all available credential aliases from the multi credential key store.
- listCredentials() - Method in interface se.swedenconnect.security.credential.container.PkiCredentialContainer
-
Gets all available credential aliases from the multi credential key store.
- loadConfiguration(CredentialBundlesConfiguration, ConfigurationResourceLoader, CredentialBundleRegistry) - Static method in class se.swedenconnect.security.credential.bundle.ConfigurationCredentialBundleRegistrar
-
Utility method for loading the supplied configuration and registering key stores and credentials at the supplied registry.
- loadKeyStore(InputStream, char[], String, String) - Static method in class se.swedenconnect.security.credential.factory.KeyStoreFactory
-
Loads and unlocks a
KeyStore
. - loadKeyStore(StoreConfiguration, ConfigurationResourceLoader) - Static method in class se.swedenconnect.security.credential.factory.KeyStoreFactory
-
Given a
StoreConfiguration
object, this method loads and unlocks aKeyStore
. - loadPkcs11KeyStore(Pkcs11Configuration, char[]) - Static method in class se.swedenconnect.security.credential.factory.KeyStoreFactory
-
Loads and unlocks a PKCS#11 key store.
- location() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties
-
Location of the resource containing the store content.
- location() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration
-
Location of the resource containing the store content.
- location(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Assigns the location for the
KeyStore
.
M
- ManagedPkiCredential - Class in se.swedenconnect.security.credential.container
-
A managed
PkiCredential
is used when aPkiCredentialContainer
returns credentials. - ManagedPkiCredential(PkiCredential, Consumer<PkiCredential>, Consumer<X509Certificate[]>) - Constructor for class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
Constructor setting the credential to be managed and callbacks to be used by the underlying container.
- metadata() - Method in interface se.swedenconnect.security.credential.config.BaseCredentialConfiguration
-
Additional metadata properties.
- metadata() - Method in class se.swedenconnect.security.credential.config.properties.AbstractBaseCredentialConfigurationProperties
-
Additional metadata properties.
- monitor() - Method in class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties
-
Whether the credential should be prepared for monitoring.
- monitor() - Method in interface se.swedenconnect.security.credential.config.StoreCredentialConfiguration
-
Whether the credential should be prepared for monitoring.
- MonitoringProperties() - Constructor for class se.swedenconnect.security.credential.spring.autoconfigure.SpringCredentialBundlesConfigurationProperties.MonitoringProperties
- MonitorSchedulerAutoConfiguration - Class in se.swedenconnect.security.credential.spring.autoconfigure
-
For configuring scheduling of credential monitors.
- MonitorSchedulerAutoConfiguration(TaskScheduler, CredentialMonitorBean, SpringCredentialBundlesConfigurationProperties) - Constructor for class se.swedenconnect.security.credential.spring.autoconfigure.MonitorSchedulerAutoConfiguration
- MonitorStatus() - Constructor for class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator.MonitorStatus
N
- name() - Method in interface se.swedenconnect.security.credential.config.BaseCredentialConfiguration
-
The name of the credential.
- name() - Method in class se.swedenconnect.security.credential.config.properties.AbstractBaseCredentialConfigurationProperties
-
The name of the credential.
- name() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties
-
The name of the PKCS#11 slot.
- name() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration.Pkcs11Configuration.Pkcs11Settings
-
The name of the PKCS#11 slot.
- NoSuchCredentialException - Exception Class in se.swedenconnect.security.credential.bundle
-
Exception indicating that a
PkiCredential
was referenced with an ID that does not match any registered credential. - NoSuchCredentialException(String, String) - Constructor for exception class se.swedenconnect.security.credential.bundle.NoSuchCredentialException
-
Constructor accepting the credential ID and a message.
- NoSuchCredentialException(String, String, Throwable) - Constructor for exception class se.swedenconnect.security.credential.bundle.NoSuchCredentialException
-
Constructor accepting the credential ID, a message and the cause of the error.
- NoSuchKeyStoreException - Exception Class in se.swedenconnect.security.credential.bundle
-
Exception indicating that a
KeyStore
was referenced with an ID that does not match any registered key store. - NoSuchKeyStoreException(String, String) - Constructor for exception class se.swedenconnect.security.credential.bundle.NoSuchKeyStoreException
-
Constructor accepting the key store ID and a message.
- NoSuchKeyStoreException(String, String, Throwable) - Constructor for exception class se.swedenconnect.security.credential.bundle.NoSuchKeyStoreException
-
Constructor accepting the key store ID, a message and the cause of the error.
O
- OK - Static variable in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator.MonitorStatus
- onFailedCredentialReloadEvent(FailedCredentialReloadEvent) - Method in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator
- onFailedCredentialTestEvent(FailedCredentialTestEvent) - Method in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator
- onSuccessfulCredentialReloadEvent(SuccessfulCredentialReloadEvent) - Method in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator
- onSuccessfulCredentialTestEvent(SuccessfulCredentialTestEvent) - Method in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator
- OpenSamlCredential - Class in se.swedenconnect.security.credential.opensaml
-
A credential that implements OpenSAML's
X509Credential
interface and wraps aPkiCredential
. - OpenSamlCredential(X509Certificate, PrivateKey) - Constructor for class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
-
Constructor setting up the credential by explicitly assigning the certificate and private key.
- OpenSamlCredential(PkiCredential) - Constructor for class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
-
Constructor setting up the OpenSAML credential by assigning a
PkiCredential
instance. - OpenSamlCredentialTransformerFunction - Class in se.swedenconnect.security.credential.opensaml
-
Function that transform a
PkiCredential
into an OpenSAMLX509Credential
. - OpenSamlCredentialTransformerFunction() - Constructor for class se.swedenconnect.security.credential.opensaml.OpenSamlCredentialTransformerFunction
- OpenSamlCredentialTransformerFunction.DefaultEntityIdFunction - Class in se.swedenconnect.security.credential.opensaml
-
Default implementation of the function getting the SAML entityID to assign.
- OpenSamlMetadataProperties - Class in se.swedenconnect.security.credential.opensaml
-
Symbolic constants for storing OpenSAML specific properties in a
PkiCredential.Metadata
object. - OpenSamlMetadataProperties() - Constructor for class se.swedenconnect.security.credential.opensaml.OpenSamlMetadataProperties
P
- password() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties
-
Password used to access the store.
- password() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration
-
Password used to access the store.
- password(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Assigns the key store password.
- pem() - Method in interface se.swedenconnect.security.credential.config.CredentialBundlesConfiguration
-
Gets the map of credential ID:s and PEM based credential configurations.
- pem() - Method in interface se.swedenconnect.security.credential.config.PkiCredentialConfiguration
-
Configuration for a PEM-based credential.
- pem() - Method in class se.swedenconnect.security.credential.config.properties.CredentialBundlesConfigurationProperties
-
Gets the map of credential ID:s and PEM based credential configurations.
- pem() - Method in class se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationProperties
-
Configuration for a PEM-based credential.
- PemCredentialConfiguration - Interface in se.swedenconnect.security.credential.config
-
Configuration interface for creating a
PkiCredential
using PEM-encoded certificate(s)/public keys and private keys. - PemCredentialConfigurationProperties - Class in se.swedenconnect.security.credential.config.properties
-
Configuration properties for creating a
PkiCredential
using PEM-encoded certificate(s) and private keys. - PemCredentialConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.PemCredentialConfigurationProperties
- pin(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Assigns the PIN, which is the same as the key store password.
- pkcs11() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties
-
If the
type
is "PKCS11" and a provider that is not statically configured for PKCS#11, additional PKCS#11 configuration needs to be supplied. - pkcs11() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration
-
If the
type
is "PKCS11" and a provider that is not statically configured for PKCS#11, additional PKCS#11 configuration needs to be supplied. - PKCS11_KEYSTORE_TYPE - Static variable in class se.swedenconnect.security.credential.factory.KeyStoreFactory
-
Symbolic constant for the PKCS11 KeyStore type.
- Pkcs11CertificatesAccessor - Interface in se.swedenconnect.security.credential.pkcs11
-
A functional interface for getting a reference to a certificate chain residing on a PKCS#11 device.
- Pkcs11Configuration - Interface in se.swedenconnect.security.credential.pkcs11
-
Interface for a PKCS#11 configuration.
- Pkcs11ConfigurationException - Exception Class in se.swedenconnect.security.credential.pkcs11
-
Exception class for reporting invalid PKCS#11 configuration or failures to instatiate a PKCS#11 provider.
- Pkcs11ConfigurationException(String) - Constructor for exception class se.swedenconnect.security.credential.pkcs11.Pkcs11ConfigurationException
-
Constructor setting the error message.
- Pkcs11ConfigurationException(String, Throwable) - Constructor for exception class se.swedenconnect.security.credential.pkcs11.Pkcs11ConfigurationException
-
Constructor setting the error message and the cause of the error.
- pkcs11ConfigurationFile(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Assigns the full path to the PKCS#11 configuration file (for PKCS#11 key stores).
- Pkcs11ConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties
- Pkcs11Credential - Class in se.swedenconnect.security.credential.pkcs11
-
A PKCS#11 credential implementation of the
PkiCredential
andReloadablePkiCredential
interfaces. - Pkcs11Credential(Pkcs11Configuration, String, char[], Pkcs11PrivateKeyAccessor, List<X509Certificate>) - Constructor for class se.swedenconnect.security.credential.pkcs11.Pkcs11Credential
-
Constructor that takes a list of X.509 certificates as an argument instead of a
Pkcs11CertificatesAccessor
. - Pkcs11Credential(Pkcs11Configuration, String, char[], Pkcs11PrivateKeyAccessor, Pkcs11CertificatesAccessor) - Constructor for class se.swedenconnect.security.credential.pkcs11.Pkcs11Credential
-
Constructor.
- Pkcs11KeyStoreReloader - Class in se.swedenconnect.security.credential.pkcs11
-
The default implementation of the
KeyStoreReloader
interface. - Pkcs11KeyStoreReloader(char[]) - Constructor for class se.swedenconnect.security.credential.pkcs11.Pkcs11KeyStoreReloader
-
Constructor assigning the PIN code.
- pkcs11Library(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
As an alternative to assigning the PKCS#11 configuration file, each PKCS#11 setting may be supplied separately.
- Pkcs11ObjectAccessor<T> - Interface in se.swedenconnect.security.credential.pkcs11
-
A functional interface for getting a reference to an object residing on a PKCS#11 device.
- Pkcs11PrivateKeyAccessor - Interface in se.swedenconnect.security.credential.pkcs11
-
A functional interface for getting a reference to a private key residing on a PKCS#11 device.
- Pkcs11SettingsProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties
- pkcs11Slot(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
As an alternative to assigning the PKCS#11 configuration file, each PKCS#11 setting may be supplied separately.
- pkcs11SlotListIndex(Integer) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
As an alternative to assigning the PKCS#11 configuration file, each PKCS#11 setting may be supplied separately.
- pkcs11SlotName(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
As an alternative to assigning the PKCS#11 configuration file, each PKCS#11 setting may be supplied separately.
- PkiCredential - Interface in se.swedenconnect.security.credential
-
A representation of a PKI key pair that holds a private key and an X.509 certificate (or just a public key).
- PkiCredential.Metadata - Interface in se.swedenconnect.security.credential
-
Metadata associated with a
PkiCredential
. - PkiCredentialConfiguration - Interface in se.swedenconnect.security.credential.config
-
Configuration interface for configuring a stand-alone
PkiCredential
. - PkiCredentialConfigurationProperties - Class in se.swedenconnect.security.credential.config.properties
-
Configuration properties for configuring a stand-alone
PkiCredential
. - PkiCredentialConfigurationProperties - Class in se.swedenconnect.security.credential.factory
-
Deprecated, for removal: This API element is subject to removal in a future version.
- PkiCredentialConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationProperties
- PkiCredentialConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
-
Deprecated.
- PkiCredentialContainer - Interface in se.swedenconnect.security.credential.container
-
This interface defines the function of a multi credential container with keys that are contained and managed inside the container for its entire lifetime.
- PkiCredentialContainerException - Exception Class in se.swedenconnect.security.credential.container
-
General exception for errors when managing PkiCredentials in a PkiCredentialContainer.
- PkiCredentialContainerException(String) - Constructor for exception class se.swedenconnect.security.credential.container.PkiCredentialContainerException
-
Constructor.
- PkiCredentialContainerException(String, Throwable) - Constructor for exception class se.swedenconnect.security.credential.container.PkiCredentialContainerException
-
Constructor.
- PkiCredentialFactory - Class in se.swedenconnect.security.credential.factory
-
Factory class for creating
PkiCredential
instances. - PkiCredentialFactoryBean - Class in se.swedenconnect.security.credential.factory
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
PkiCredentialFactory
orPkiCredentialFactoryBean
instead. - PkiCredentialFactoryBean - Class in se.swedenconnect.security.credential.spring.factory
-
A
FactoryBean
for creatingPkiCredential
objects. - PkiCredentialFactoryBean() - Constructor for class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Default constructor.
- PkiCredentialFactoryBean(String) - Constructor for class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
Constructor accepting a
String
which is a reference to a registeredPkiCredential
. - PkiCredentialFactoryBean(PemCredentialConfiguration) - Constructor for class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
Constructor aceepting a
PemCredentialConfiguration
. - PkiCredentialFactoryBean(PkiCredentialConfiguration) - Constructor for class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
Constructor aceepting a
PkiCredentialConfiguration
. - PkiCredentialFactoryBean(StoreCredentialConfiguration) - Constructor for class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
Constructor aceepting a
StoreCredentialConfiguration
. - PkiCredentialFactoryBean(PkiCredentialConfigurationProperties) - Constructor for class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Constructor that initializes the factory from the supplied credential configuration properties object.
- PkiCredentialReference - Interface in se.swedenconnect.security.credential.spring.config
-
A
CredentialBundles
reference to aPkiCredential
. - PkiCredentialReferenceConverter - Class in se.swedenconnect.security.credential.spring.converters
-
A
Converter
that accepts a string that is a reference to a registeredPkiCredential
and uses the systemCredentialBundles
bean to create a resolvablePkiCredentialReference
. - PkiCredentialReferenceConverter() - Constructor for class se.swedenconnect.security.credential.spring.converters.PkiCredentialReferenceConverter
- privateKey() - Method in interface se.swedenconnect.security.credential.config.PemCredentialConfiguration
-
Location or content of the private key in PEM format.
- privateKey() - Method in class se.swedenconnect.security.credential.config.properties.PemCredentialConfigurationProperties
-
Location or content of the private key in PEM format.
- PropertyToPrivateKeyConverter - Class in se.swedenconnect.security.credential.spring.converters
-
A
Converter
that gets the property value (e.g.,classpath:signing.key
) and instantiates aPrivateKey
object. - PropertyToPrivateKeyConverter() - Constructor for class se.swedenconnect.security.credential.spring.converters.PropertyToPrivateKeyConverter
- PropertyToPublicKeyConverter - Class in se.swedenconnect.security.credential.spring.converters
- PropertyToPublicKeyConverter() - Constructor for class se.swedenconnect.security.credential.spring.converters.PropertyToPublicKeyConverter
- PropertyToX509CertificateConverter - Class in se.swedenconnect.security.credential.spring.converters
-
A
Converter
that gets the property value (e.g.,classpath:cert.crt
) and instantiates anX509Certificate
object. - PropertyToX509CertificateConverter() - Constructor for class se.swedenconnect.security.credential.spring.converters.PropertyToX509CertificateConverter
- provider() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties
-
Security provider for the store.
- provider() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration
-
Security provider for the store.
- provider(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Assigns the name of the security
Provider
to use. - publicKey() - Method in interface se.swedenconnect.security.credential.config.PemCredentialConfiguration
-
Location or content of the public key in PEM format.
- publicKey() - Method in class se.swedenconnect.security.credential.config.properties.PemCredentialConfigurationProperties
-
Location or content of the public key in PEM format.
R
- register(CredentialBundleRegistry) - Method in class se.swedenconnect.security.credential.bundle.ConfigurationCredentialBundleRegistrar
- register(CredentialBundleRegistry) - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundleRegistrar
- registerCredential(String, PkiCredential) - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundleRegistry
-
Registers a credential.
- registerCredential(String, PkiCredential) - Method in class se.swedenconnect.security.credential.bundle.DefaultCredentialBundleRegistry
-
Registers a credential.
- registerFactory(String, KeyPairGeneratorFactory) - Static method in class se.swedenconnect.security.credential.container.keytype.KeyPairGeneratorFactoryRegistry
-
Registers a factory for the given key gen type.
- registerKeyStore(String, KeyStore) - Method in interface se.swedenconnect.security.credential.bundle.CredentialBundleRegistry
-
Registers a key store.
- registerKeyStore(String, KeyStore) - Method in class se.swedenconnect.security.credential.bundle.DefaultCredentialBundleRegistry
-
Registers a key store.
- reload() - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
If the managed credential implements
ReloadablePkiCredential
, theReloadablePkiCredential.reload()
method will be called on the managed credential. - reload() - Method in class se.swedenconnect.security.credential.KeyStoreCredential
-
If the
KeyStoreCredential
is of PKCS#11 type, and aKeyStoreReloader
has been installed, the method will reload the private key. - reload() - Method in class se.swedenconnect.security.credential.pkcs11.Pkcs11Credential
-
Is called if the connection to the device has been lost.
- reload() - Method in interface se.swedenconnect.security.credential.ReloadablePkiCredential
-
Some implementations of key pairs, such as HSM-based, may need to be reloaded.
- reload(KeyStore) - Method in interface se.swedenconnect.security.credential.KeyStoreReloader
-
Reloads a (PKCS#11)
KeyStore
. - reload(KeyStore) - Method in class se.swedenconnect.security.credential.pkcs11.Pkcs11KeyStoreReloader
-
Reloads a PKCS#11
KeyStore
. - reload(ReloadablePkiCredential) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Performs reloading of the supplied credential.
- ReloadablePkiCredential - Interface in se.swedenconnect.security.credential
-
An interface for credentials are "testable" and "reloadable".
- removeDeprecated() - Method in class se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
-
Deprecated.Moves deprecated properties into the pem or jks properties.
- RSA_2048 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for RSA 2048
- RSA_3072 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for RSA 3072
- RSA_4096 - Static variable in class se.swedenconnect.security.credential.container.keytype.KeyGenType
-
KeyConfiguration type identifier for RSA 4096
- RsaKeyPairGeneratorFactory - Class in se.swedenconnect.security.credential.container.keytype
-
Factory for RSA key pair generators.
- RsaKeyPairGeneratorFactory(String, int) - Constructor for class se.swedenconnect.security.credential.container.keytype.RsaKeyPairGeneratorFactory
-
Constructor for the RSA key pair generator factory
- run() - Method in class se.swedenconnect.security.credential.monitoring.CredentialMonitorTask
S
- se.swedenconnect.security.credential - package se.swedenconnect.security.credential
-
Generic support for X.509 credentials.
- se.swedenconnect.security.credential.bundle - package se.swedenconnect.security.credential.bundle
-
Support for credential "bundles".
- se.swedenconnect.security.credential.config - package se.swedenconnect.security.credential.config
-
Generic configuration support for credentials.
- se.swedenconnect.security.credential.config.properties - package se.swedenconnect.security.credential.config.properties
-
Configuration properties classes for credential configuration.
- se.swedenconnect.security.credential.container - package se.swedenconnect.security.credential.container
-
Support for credential containers.
- se.swedenconnect.security.credential.container.keytype - package se.swedenconnect.security.credential.container.keytype
- se.swedenconnect.security.credential.factory - package se.swedenconnect.security.credential.factory
-
Spring factory beans for creating credential objects.
- se.swedenconnect.security.credential.monitoring - package se.swedenconnect.security.credential.monitoring
-
Some types of credentials may need to be monitored to ensure that they are still in function.
- se.swedenconnect.security.credential.nimbus - package se.swedenconnect.security.credential.nimbus
-
Nimbus add-ons for credentials support.
- se.swedenconnect.security.credential.opensaml - package se.swedenconnect.security.credential.opensaml
-
Credentials defined for use with OpenSAML/Shibboleth.
- se.swedenconnect.security.credential.pkcs11 - package se.swedenconnect.security.credential.pkcs11
-
Interfaces and classes for handling PKCS#11 providers.
- se.swedenconnect.security.credential.spring - package se.swedenconnect.security.credential.spring
-
Spring credentials support classes.
- se.swedenconnect.security.credential.spring.actuator - package se.swedenconnect.security.credential.spring.actuator
-
Spring Boot actuator support for credentials.
- se.swedenconnect.security.credential.spring.autoconfigure - package se.swedenconnect.security.credential.spring.autoconfigure
-
Credentials support autoconfiguration.
- se.swedenconnect.security.credential.spring.config - package se.swedenconnect.security.credential.spring.config
-
Spring support for configuring credentials.
- se.swedenconnect.security.credential.spring.converters - package se.swedenconnect.security.credential.spring.converters
-
Spring converters that are usable when working with credentials.
- se.swedenconnect.security.credential.spring.factory - package se.swedenconnect.security.credential.spring.factory
-
Spring factory classes for credentials.
- se.swedenconnect.security.credential.spring.monitoring - package se.swedenconnect.security.credential.spring.monitoring
-
Spring add-ons for monitoring of credentials.
- se.swedenconnect.security.credential.spring.monitoring.events - package se.swedenconnect.security.credential.spring.monitoring.events
-
Event definitions for monitoring results.
- se.swedenconnect.security.credential.utils - package se.swedenconnect.security.credential.utils
-
Utilities for working with credentials.
- SERIAL_VERSION_UID - Static variable in class se.swedenconnect.security.credential.LibraryVersion
-
Global serialization value for classes.
- setAlgorithmFunction(Function<PkiCredential, Algorithm>) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction
-
Assigns the function that returns the JOSE algorithm.
- setAlias(String) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the keystore alias to the entry holding the key pair.
- setApplicationContext(ApplicationContext) - Method in class se.swedenconnect.security.credential.spring.converters.AbstractResourcePropertyConverter
- setApplicationContext(ApplicationContext) - Method in class se.swedenconnect.security.credential.spring.converters.KeyStoreReferenceConverter
- setApplicationContext(ApplicationContext) - Method in class se.swedenconnect.security.credential.spring.converters.PkiCredentialReferenceConverter
- setCertificate(X509Certificate) - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
Assigns a new certificate for the credential.
- setCertificate(Resource) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the resource holding the certificate part of the credential (optional since the certificate may be part of a keystore).
- setCertificateChain(List<X509Certificate>) - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
Assigns a new certificate chain for the credential.
- setCertificates(List<Resource>) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the list of resources holding the certificate chain that part of the credential (optional since the certificate may be part of a keystore).
- setCredentialBundles(CredentialBundles) - Method in class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
Assigns the
CredentialBundles
bean for resolving references to credentials and key stores. - setCredentialProvider(Function<String, PkiCredential>) - Method in class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
If a configuration is used that has a credential reference, a credential provider is needed.
- setDsaSignatureAlgorithm(String) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialTestFunction
-
Assigns the DSA signature algorithm to use.
- setEcSignatureAlgorithm(String) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialTestFunction
-
Assigns the EC signature algorithm to use.
- setEntityCertificate(X509Certificate) - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
- setEntityCertificateChain(Collection<X509Certificate>) - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
- setEntityIdFunction(Function<PkiCredential, String>) - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredentialTransformerFunction
-
Assigns the function that gets the SAML entity ID to add to the OpenSAML credential.
- setFailureCallback(BiFunction<ReloadablePkiCredential, Exception, Boolean>) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Assigns callback function that is invoked if the test of a credential fails.
- setKeyIdFunction(Function<PkiCredential, String>) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction
-
Assigns the function that returns the key ID property (JWK
kid
property). - setKeyOpsFunction(Function<PkiCredential, Set<KeyOperation>>) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction
-
Assigns the function that returns a set of
KeyOperation
s. - setKeyPassword(char[]) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the password to unlock the private key from the keystore.
- setKeyStoreProvider(Function<String, KeyStore>) - Method in class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
If a store configuration is used that has a store reference, a key store provider is needed.
- setKeyStoreReloaderProvider(Function<String, KeyStoreReloader>) - Method in class se.swedenconnect.security.credential.spring.factory.PkiCredentialFactoryBean
-
If a store configuration is used that has a store reference, and that reference points to a
ReloadablePkiCredential
, a resolver function for getting aKeyStoreReloader
may be needed. - setKeyUseFunction(Function<PkiCredential, KeyUse>) - Method in class se.swedenconnect.security.credential.nimbus.JwkTransformerFunction
-
Assigns the function that returns the key use property (JWK
use
property). - setKeyValidity(Duration) - Method in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Assigns the duration for the validity of generated credentials.
- setKeyValidity(Duration) - Method in interface se.swedenconnect.security.credential.container.PkiCredentialContainer
-
Assigns the duration for the validity of generated credentials.
- setName(String) - Method in class se.swedenconnect.security.credential.AbstractPkiCredential
-
Assigns the credential name.
- setName(String) - Method in class se.swedenconnect.security.credential.container.ManagedPkiCredential
-
Will
- setName(String) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the name of the credential.
- setPassword(char[]) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the keystore password.
- setPassword(char[]) - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Assigns the password for unlocking the keystore.
- setPin(char[]) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialConfigurationProperties
-
Deprecated.Assigns the PIN (which is the same as
keyPassword
). - setPin(char[]) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the PIN.
- setPkcs11Configuration(String) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the PKCS#11 configuration file to use.
- setPkcs11Configuration(String) - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Sets the complete path to the PKCS#11 configuration file to use to configure the provider in the cases the type is "PKCS11".
- setPrivateKey(PrivateKey) - Method in class se.swedenconnect.security.credential.opensaml.OpenSamlCredential
- setPrivateKey(Resource) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the resource holding the private key part of the credential (optional since the key may be part of a keystore).
- setProvider(String) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the name of the security provider to use when creating the KeyStore instance.
- setProvider(String) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialTestFunction
-
The name for a specific security
Provider
to use. - setProvider(String) - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
- setReloader(KeyStoreReloader) - Method in class se.swedenconnect.security.credential.KeyStoreCredential
-
Assigns a
KeyStoreReloader
for supporting reload of a hardware based credential. - setReloadFailureCallback(BiConsumer<ReloadablePkiCredential, Exception>) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Assigns a callback function that is invoked if the reloading of a failed credential fails.
- setReloadSuccessCallback(Consumer<ReloadablePkiCredential>) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Assigns a callback function that is invoked if the reloading of a failed credential was successful.
- setResource(Resource) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the resource to the keystore containing the credential.
- setResource(Resource) - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Assigns the resource holding the KeyStore.
- setResource(Resource) - Method in class se.swedenconnect.security.credential.spring.factory.X509CertificateFactoryBean
-
Assigns the resource holding the certificate.
- setRsaSignatureAlgorithm(String) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialTestFunction
-
Assigns the RSA signature algorithm to use.
- setSupportedKeyTypes(List<String>) - Method in class se.swedenconnect.security.credential.container.AbstractPkiCredentialContainer
-
Assigns the key types that this container supports.
- setSupportedKeyTypes(List<String>) - Method in interface se.swedenconnect.security.credential.container.PkiCredentialContainer
-
Assigns the key types that this container supports.
- setTestFunction(Function<ReloadablePkiCredential, Exception>) - Method in class se.swedenconnect.security.credential.AbstractReloadablePkiCredential
-
Assigns a test function for this credential.
- setTestSuccessCallback(Consumer<ReloadablePkiCredential>) - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Assigns a callback function that is invoked if the credential is successfully tested.
- settings() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties
-
As an alternative to providing the PKCS#11 configuration file, each PKCS#11 setting can be provided separately.
- settings() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration.Pkcs11Configuration
-
As an alternative to providing the PKCS#11 configuration file, each PKCS#11 setting can be provided separately.
- setType(String) - Method in class se.swedenconnect.security.credential.factory.PkiCredentialFactoryBean
-
Deprecated.Assigns the type of keystore.
- setType(String) - Method in class se.swedenconnect.security.credential.spring.factory.KeyStoreFactoryBean
-
Assigns the type of KeyStore.
- slot() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties
-
The slot number/id to use.
- slot() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration.Pkcs11Configuration.Pkcs11Settings
-
The slot number/id to use.
- slotListIndex() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties
-
The slot index to use.
- slotListIndex() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration.Pkcs11Configuration.Pkcs11Settings
-
The slot index to use.
- SoftPkiCredentialContainer - Class in se.swedenconnect.security.credential.container
-
Implements a
PkiCredentialContainer
based on aKeyStore
that is held in memory (i.e. not using an HSM device for key storage). - SoftPkiCredentialContainer(String) - Constructor for class se.swedenconnect.security.credential.container.SoftPkiCredentialContainer
-
Constructor loading the security provider identified by
providerName
. - SoftPkiCredentialContainer(String, String) - Constructor for class se.swedenconnect.security.credential.container.SoftPkiCredentialContainer
-
Constructor loading the security provider identified by
providerName
. - SoftPkiCredentialContainer(Provider) - Constructor for class se.swedenconnect.security.credential.container.SoftPkiCredentialContainer
-
Constructor.
- SoftPkiCredentialContainer(Provider, String) - Constructor for class se.swedenconnect.security.credential.container.SoftPkiCredentialContainer
-
Constructor.
- SPEC_BRAINPOOL_P192R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Parameter spec Brainpool P192R1.
- SPEC_BRAINPOOL_P224R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Parameter spec Brainpool P224 R1.
- SPEC_BRAINPOOL_P256R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Parameter spec Brainpool P256 R1.
- SPEC_BRAINPOOL_P320R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Parameter spec Brainpool P320 R1.
- SPEC_BRAINPOOL_P384R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Parameter spec Brainpool P384 R1.
- SPEC_BRAINPOOL_P512R1 - Static variable in class se.swedenconnect.security.credential.container.keytype.ECParameterSpecs
-
Parameter spec Brainpool P512 R1.
- SpringConfigurationResourceLoader - Class in se.swedenconnect.security.credential.spring.config
-
A Spring-implementation of the
ConfigurationResourceLoader
interface. - SpringConfigurationResourceLoader(ResourceLoader) - Constructor for class se.swedenconnect.security.credential.spring.config.SpringConfigurationResourceLoader
-
Constructor.
- SpringCredentialBundlesAutoConfiguration - Class in se.swedenconnect.security.credential.spring.autoconfigure
-
Autoconfiguration class for setting up credential bundles.
- SpringCredentialBundlesAutoConfiguration(SpringCredentialBundlesConfigurationProperties, ResourceLoader) - Constructor for class se.swedenconnect.security.credential.spring.autoconfigure.SpringCredentialBundlesAutoConfiguration
-
Constructor.
- SpringCredentialBundlesConfigurationProperties - Class in se.swedenconnect.security.credential.spring.autoconfigure
-
Configuration properties for bundles of credentials and key stores.
- SpringCredentialBundlesConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.spring.autoconfigure.SpringCredentialBundlesConfigurationProperties
- SpringCredentialBundlesConfigurationProperties.MonitoringProperties - Class in se.swedenconnect.security.credential.spring.autoconfigure
-
For monitoring.
- StaticPkcs11Configuration - Class in se.swedenconnect.security.credential.pkcs11
-
A
Pkcs11Configuration
where the SunPKCS11 provider is statically configured (see below). - StaticPkcs11Configuration() - Constructor for class se.swedenconnect.security.credential.pkcs11.StaticPkcs11Configuration
-
Default constructor.
- StaticPkcs11Configuration(String) - Constructor for class se.swedenconnect.security.credential.pkcs11.StaticPkcs11Configuration
- store() - Method in class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties
-
Configuration for the
KeyStore
holding the key pair entry. - store() - Method in interface se.swedenconnect.security.credential.config.StoreCredentialConfiguration
-
Configuration for the
KeyStore
holding the key pair entry. - StoreConfiguration - Interface in se.swedenconnect.security.credential.config
-
Configuration interface for creating a Java
KeyStore
. - StoreConfiguration.Pkcs11Configuration - Interface in se.swedenconnect.security.credential.config
-
Additional configuration of PKCS11 keystores.
- StoreConfiguration.Pkcs11Configuration.Pkcs11Settings - Interface in se.swedenconnect.security.credential.config
-
Custom PKCS#11 settings.
- StoreConfigurationProperties - Class in se.swedenconnect.security.credential.config.properties
-
Configuration properties for creating a Java
KeyStore
. - StoreConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties
- StoreConfigurationProperties.Pkcs11ConfigurationProperties - Class in se.swedenconnect.security.credential.config.properties
-
Additional configuration of PKCS11 keystores.
- StoreConfigurationProperties.Pkcs11ConfigurationProperties.Pkcs11SettingsProperties - Class in se.swedenconnect.security.credential.config.properties
-
Custom PKCS#11 settings.
- StoreCredentialConfiguration - Interface in se.swedenconnect.security.credential.config
-
Configuration interface for creating a
PkiCredential
backed by a JavaKeyStore
. - StoreCredentialConfiguration.KeyConfiguration - Interface in se.swedenconnect.security.credential.config
-
Configuration interface for a key pair entry.
- StoreCredentialConfigurationProperties - Class in se.swedenconnect.security.credential.config.properties
-
Configuration properties for creating a
PkiCredential
backed by a JavaKeyStore
. - StoreCredentialConfigurationProperties() - Constructor for class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties
- StoreCredentialConfigurationProperties.KeyConfigurationProperties - Class in se.swedenconnect.security.credential.config.properties
-
Configuration properties for a key pair entry.
- storeReference() - Method in class se.swedenconnect.security.credential.config.properties.StoreCredentialConfigurationProperties
-
As an alternative to giving the key store configuration, a reference to a key store configuration may be given.
- storeReference() - Method in interface se.swedenconnect.security.credential.config.StoreCredentialConfiguration
-
As an alternative to giving the key store configuration, a reference to a key store configuration may be given.
- SuccessfulCredentialReloadEvent - Class in se.swedenconnect.security.credential.spring.monitoring.events
-
An event that is signalled when a credential has been reloaded successfully.
- SuccessfulCredentialReloadEvent(String) - Constructor for class se.swedenconnect.security.credential.spring.monitoring.events.SuccessfulCredentialReloadEvent
-
Constructor.
- SuccessfulCredentialTestEvent - Class in se.swedenconnect.security.credential.spring.monitoring.events
-
An event that is signalled when a credential has been tested and that test succeeded.
- SuccessfulCredentialTestEvent(String) - Constructor for class se.swedenconnect.security.credential.spring.monitoring.events.SuccessfulCredentialTestEvent
-
Constructor.
- SunPkcs11CertificatesAccessor - Class in se.swedenconnect.security.credential.pkcs11
-
An implementation of the
Pkcs11CertificatesAccessor
interface for the SunPKCS11 security provider and other providers that implement the JavaKeyStoreSpi
. - SunPkcs11CertificatesAccessor() - Constructor for class se.swedenconnect.security.credential.pkcs11.SunPkcs11CertificatesAccessor
- SunPkcs11PrivateKeyAccessor - Class in se.swedenconnect.security.credential.pkcs11
-
An implementation of the
Pkcs11PrivateKeyAccessor
interface for the SunPKCS11 security provider and other providers that implement the JavaKeyStoreSpi
. - SunPkcs11PrivateKeyAccessor() - Constructor for class se.swedenconnect.security.credential.pkcs11.SunPkcs11PrivateKeyAccessor
- supports(String) - Method in class se.swedenconnect.security.credential.container.keytype.AbstractKeyPairGeneratorFactory
-
Predicate telling whether this factory instance supports a particular key type (see
KeyGenType
). - supports(String) - Method in interface se.swedenconnect.security.credential.container.keytype.KeyPairGeneratorFactory
-
Predicate telling whether this factory instance supports a particular key type (see
KeyGenType
).
T
- test() - Method in interface se.swedenconnect.security.credential.monitoring.CredentialMonitorBean
-
Performs testing, and possibly reloading, of the credentials that this monitor bean has been configured to monitor.
- test() - Method in class se.swedenconnect.security.credential.monitoring.DefaultCredentialMonitorBean
-
Performs testing, and possibly reloading, of the credentials that this monitor bean has been configured to monitor.
- toLogString(X509Certificate) - Static method in class se.swedenconnect.security.credential.utils.X509Utils
-
The
Certificate.toString()
prints way too much for a normal log entry. - toString() - Method in class se.swedenconnect.security.credential.pkcs11.AbstractSunPkcs11Configuration
- toString() - Method in class se.swedenconnect.security.credential.pkcs11.CustomPkcs11Configuration
- toString() - Method in class se.swedenconnect.security.credential.pkcs11.FilePkcs11Configuration
- transform(Function<PkiCredential, T>) - Method in interface se.swedenconnect.security.credential.PkiCredential
-
Transforms the credential to another format, for example an JWK or a
KeyPair
. - type() - Method in class se.swedenconnect.security.credential.config.properties.StoreConfigurationProperties
-
Type of the store to create, e.g., JKS, PKCS12 or PKCS11.
- type() - Method in interface se.swedenconnect.security.credential.config.StoreConfiguration
-
Type of the store to create, e.g., JKS, PKCS12 or PKCS11.
- type(String) - Method in class se.swedenconnect.security.credential.factory.KeyStoreBuilder
-
Assigns the
KeyStore
type.
U
- updateMetadataValidityProperties() - Method in class se.swedenconnect.security.credential.AbstractPkiCredential
-
Updates the metadata properties issued-at and expires-at based on the entity certificate of the credential.
W
- WARNING - Static variable in class se.swedenconnect.security.credential.spring.actuator.CredentialMonitorHealthIndicator
-
Custom health status for warnings.
X
- X509CertificateFactoryBean - Class in se.swedenconnect.security.credential.spring.factory
-
A factory bean for creating X.509 certificates read from a resource.
- X509CertificateFactoryBean() - Constructor for class se.swedenconnect.security.credential.spring.factory.X509CertificateFactoryBean
-
Default constructor.
- X509CertificateFactoryBean(Resource) - Constructor for class se.swedenconnect.security.credential.spring.factory.X509CertificateFactoryBean
-
Constructor taking a resource/path to a DER- or PEM-encoded certificate.
- X509Utils - Class in se.swedenconnect.security.credential.utils
-
Utility methods for working with X.509 certificates.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
se.swedenconnect.security.credential.config.properties.PkiCredentialConfigurationProperties
class instead.