Index
All Classes and Interfaces|All Packages
A
- AbstractAlgorithm - Class in se.swedenconnect.security.algorithms.impl
-
Abstract implementation of an
Algorithm
. - AbstractAlgorithm(String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Protected constructor used by builders.
- AbstractAlgorithm(String, int, String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Constructor.
- AbstractAlgorithm.AbstractAlgorithmBuilder<T,
B> - Class in se.swedenconnect.security.algorithms.impl -
Abstract builder for creating
Algorithm
objects. - AbstractAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Constructor.
- AbstractEncryptionAlgorithm - Class in se.swedenconnect.security.algorithms.impl
-
Abstract base class for encryption algorithms.
- AbstractEncryptionAlgorithm(String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm
-
Protected constructor used by builders.
- AbstractEncryptionAlgorithm(String, int, String, int, String, Algorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm
-
Constructor.
- AbstractEncryptionAlgorithm.AbstractEncryptionAlgorithmBuilder<T,
B> - Class in se.swedenconnect.security.algorithms.impl -
Abstract builder for
EncryptionAlgorithm
objects. - AbstractEncryptionAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm.AbstractEncryptionAlgorithmBuilder
-
Constructor.
- AbstractJoseAlgorithm - Class in se.swedenconnect.security.algorithms.impl
-
Abstract implementation of an
JoseAlgorithm
. - AbstractJoseAlgorithm(String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
-
Protected constructor used by builders.
- AbstractJoseAlgorithm(String, int, String, Algorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
-
Constructor.
- AbstractJoseAlgorithm.AbstractJoseAlgorithmBuilder<T,
B> - Class in se.swedenconnect.security.algorithms.impl -
Abstract builder for
JoseAlgorithm
objects. - AbstractJoseAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm.AbstractJoseAlgorithmBuilder
-
Constructor.
- AbstractKeyBasedAlgorithm - Class in se.swedenconnect.security.algorithms.impl
-
Abstract implementation of an
KeyBasedAlgorithm
. - AbstractKeyBasedAlgorithm(String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
-
Protected constructor used by builders.
- AbstractKeyBasedAlgorithm(String, int, String, String, Algorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
-
Constructor.
- AbstractKeyBasedAlgorithm.AbstractKeyBasedAlgorithmBuilder<T,
B> - Class in se.swedenconnect.security.algorithms.impl -
Abstract builder for
KeyBasedAlgorithm
objects. - AbstractKeyBasedAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm.AbstractKeyBasedAlgorithmBuilder
-
Constructor.
- AbstractSignatureAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl.AbstractSignatureAlgorithmBuilder
-
Constructor.
- Algorithm - Interface in se.swedenconnect.security.algorithms
-
Representation of an algorithm.
- AlgorithmBuilder<T> - Interface in se.swedenconnect.security.algorithms.impl
-
A builder for creating algorithm objects.
- AlgorithmIdentifierAware - Interface in se.swedenconnect.security.algorithms
-
Interface that tells that an
Algorithm
instance also represents an ASN.1AlgorithmIdentifier
. - AlgorithmPredicates - Class in se.swedenconnect.security.algorithms
-
A set of "ready-to-go" predicates to use when searching for algorithms in the
AlgorithmRegistry
. - AlgorithmRegistry - Interface in se.swedenconnect.security.algorithms
-
Interface representing an algorithm registry.
- AlgorithmRegistryImpl - Class in se.swedenconnect.security.algorithms.impl
-
Default implementation of the
AlgorithmRegistry
interface. - AlgorithmRegistryImpl() - Constructor for class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Default constructor.
- AlgorithmRegistryImpl(List<Algorithm>) - Constructor for class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Constructor setting up the registry according to the supplied list.
- AlgorithmRegistrySingleton - Class in se.swedenconnect.security.algorithms
-
A singleton for easy access to the
AlgorithmRegistry
. - AlgorithmType - Enum Class in se.swedenconnect.security.algorithms
-
An enum for all algorithm types.
- assertCorrect() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Asserts that all fields have been assigned.
- assertCorrect() - Method in class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm.AbstractKeyBasedAlgorithmBuilder
-
Asserts that all fields have been assigned.
- assertCorrect() - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl.MacAlgorithmBuilder
-
Asserts that all fields have been assigned.
- assertCorrect() - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilder
-
Asserts that all fields have been assigned.
- assertCorrect() - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl.AbstractSignatureAlgorithmBuilder
-
Asserts that all fields have been assigned.
B
- blacklisted(boolean) - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Sets whether this algorithm is blacklisted.
- BLOCK_ENCRYPTION - Enum constant in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
Block encryption algorithm.
- BlockEncryptionAlgorithm - Interface in se.swedenconnect.security.algorithms
-
Representation of a block encryption algorithm.
- BlockEncryptionAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl.BlockEncryptionAlgorithmBuilder
-
Constructor.
- BlockEncryptionAlgorithmImpl - Class in se.swedenconnect.security.algorithms.impl
-
Implementation class for
BlockEncryptionAlgorithm
. - BlockEncryptionAlgorithmImpl(String) - Constructor for class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl
-
Protected constructor used by builder.
- BlockEncryptionAlgorithmImpl(String, int, String, int, int, String, Algorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl
-
Constructor.
- BlockEncryptionAlgorithmImpl.BlockEncryptionAlgorithmBuilder - Class in se.swedenconnect.security.algorithms.impl
-
Builder for
BlockEncryptionAlgorithm
objects. - build() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Builds the
Algorithm
. - build() - Method in interface se.swedenconnect.security.algorithms.impl.AlgorithmBuilder
-
Builds the
Algorithm
. - builder(String) - Static method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl
-
Creates a builder.
- builder(String) - Static method in class se.swedenconnect.security.algorithms.impl.KeyTransportAlgorithmImpl
-
Creates a builder.
- builder(String) - Static method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl
-
Creates a builder.
- builder(String) - Static method in class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl
-
Creates a builder.
- builder(String) - Static method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
-
Creates a builder.
- builder(String) - Static method in class se.swedenconnect.security.algorithms.impl.SymmetricKeyWrapImpl
-
Creates a builder.
C
- createAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Creates the
Algorithm
instance. - createAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl.BlockEncryptionAlgorithmBuilder
-
Creates the
Algorithm
instance. - createAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.KeyTransportAlgorithmImpl.KeyTransportAlgorithmBuilder
-
Creates the
Algorithm
instance. - createAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl.MacAlgorithmBuilder
-
Creates the
Algorithm
instance. - createAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl.MessageDigestAlgorithmBuilder
-
Creates the
Algorithm
instance. - createAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilder
-
Creates the
Algorithm
instance. - createAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl.SignatureAlgorithmBuilder
-
Creates the
Algorithm
instance. - createAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.SymmetricKeyWrapImpl.SymmetricKeyWrapBuilder
-
Creates the
Algorithm
instance.
D
- defaultCurves - Static variable in class se.swedenconnect.security.algorithms.curves.StaticNamedCurveRegistry
-
The default curves supported by this registry.
E
- EncryptionAlgorithm - Interface in se.swedenconnect.security.algorithms
-
Base interface for an encryption algorithm.
- equals(Object) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurve
- equals(Object) - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
- equals(Object) - Method in class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm
- equals(Object) - Method in class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
- equals(Object) - Method in class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
- equals(Object) - Method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl
- equals(Object) - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl
- equals(Object) - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
- equals(Object) - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
F
- fromAlgorithmIdentifier(AlgorithmIdentifier) - Static method in class se.swedenconnect.security.algorithms.AlgorithmPredicates
-
Predicate for finding an algorithm based on its
AlgorithmIdentifier
. - fromAlgorithmIdentifierRelaxed(AlgorithmIdentifier) - Static method in class se.swedenconnect.security.algorithms.AlgorithmPredicates
-
Predicate for finding an algorithm based on its
AlgorithmIdentifier
. - fromJcaName(String) - Static method in class se.swedenconnect.security.algorithms.AlgorithmPredicates
-
Predicate for finding an algorithm based on its JCA name.
- fromKeyType(String) - Static method in class se.swedenconnect.security.algorithms.AlgorithmPredicates
-
Predicate for finding an algorithm based on its key type.
- fromType(AlgorithmType) - Static method in class se.swedenconnect.security.algorithms.AlgorithmPredicates
-
Predicate for finding an algorithm based on its type.
G
- getAlgorithm() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Gets the algorithm instance that is being built.
- getAlgorithm(String) - Method in interface se.swedenconnect.security.algorithms.AlgorithmRegistry
-
Gets the algorithm based on its URI.
- getAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.AlgorithmRegistrySingleton
-
Gets the algorithm based on its URI.
- getAlgorithm(String) - Method in class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Gets the algorithm based on its URI.
- getAlgorithm(String, Class<T>) - Method in interface se.swedenconnect.security.algorithms.AlgorithmRegistry
-
Gets an algorithm based on its URI and type.
- getAlgorithm(String, Class<T>) - Method in class se.swedenconnect.security.algorithms.AlgorithmRegistrySingleton
-
Gets an algorithm based on its URI and type.
- getAlgorithm(String, Class<T>) - Method in class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Gets an algorithm based on its URI and type.
- getAlgorithm(Predicate<Algorithm>) - Method in interface se.swedenconnect.security.algorithms.AlgorithmRegistry
-
Gets the first algorithm that matches the supplied predicate.
- getAlgorithm(Predicate<Algorithm>) - Method in class se.swedenconnect.security.algorithms.AlgorithmRegistrySingleton
-
Gets the first algorithm that matches the supplied predicate.
- getAlgorithm(Predicate<Algorithm>) - Method in class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Gets the first algorithm that matches the supplied predicate.
- getAlgorithm(Predicate<Algorithm>, Class<T>) - Method in interface se.swedenconnect.security.algorithms.AlgorithmRegistry
-
Gets the first algorithm that matches the given type and supplied predicate.
- getAlgorithm(Predicate<Algorithm>, Class<T>) - Method in class se.swedenconnect.security.algorithms.AlgorithmRegistrySingleton
-
Gets the first algorithm that matches the given type and supplied predicate.
- getAlgorithm(Predicate<Algorithm>, Class<T>) - Method in class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Gets the first algorithm that matches the given type and supplied predicate.
- getAlgorithmIdentifier() - Method in interface se.swedenconnect.security.algorithms.AlgorithmIdentifierAware
-
Gets the ASN.1
AlgorithmIdentifier
for the algorithm. - getAlgorithmIdentifier() - Method in class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl
-
Gets the ASN.1
AlgorithmIdentifier
for the algorithm. - getAlgorithmIdentifier() - Method in class se.swedenconnect.security.algorithms.impl.NoParamsRSAPSSSignatureAlgorithm
-
No AlgorithmIdentifier is valid for this special case.
- getAlgorithmIdentifier() - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
-
Gets the ASN.1
AlgorithmIdentifier
for the algorithm. - getAlgorithms(Predicate<Algorithm>) - Method in interface se.swedenconnect.security.algorithms.AlgorithmRegistry
-
Gets all algorithms that matches the supplied predicate.
- getAlgorithms(Predicate<Algorithm>) - Method in class se.swedenconnect.security.algorithms.AlgorithmRegistrySingleton
-
Gets all algorithms that matches the supplied predicate.
- getAlgorithms(Predicate<Algorithm>) - Method in class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Gets all algorithms that matches the supplied predicate.
- getAlgorithms(Predicate<Algorithm>, Class<T>) - Method in interface se.swedenconnect.security.algorithms.AlgorithmRegistry
-
Gets all algorithms that matches the given type and the supplied predicate.
- getAlgorithms(Predicate<Algorithm>, Class<T>) - Method in class se.swedenconnect.security.algorithms.AlgorithmRegistrySingleton
-
Gets all algorithms that matches the given type and the supplied predicate.
- getAlgorithms(Predicate<Algorithm>, Class<T>) - Method in class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Gets all algorithms that matches the given type and the supplied predicate.
- getBuilder() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Gets the current builder instance.
- getBuilder() - Method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl.BlockEncryptionAlgorithmBuilder
-
Gets the current builder instance.
- getBuilder() - Method in class se.swedenconnect.security.algorithms.impl.KeyTransportAlgorithmImpl.KeyTransportAlgorithmBuilder
-
Gets the current builder instance.
- getBuilder() - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl.MacAlgorithmBuilder
-
Gets the current builder instance.
- getBuilder() - Method in class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl.MessageDigestAlgorithmBuilder
-
Gets the current builder instance.
- getBuilder() - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilder
-
Gets the current builder instance.
- getBuilder() - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl.SignatureAlgorithmBuilder
-
Gets the current builder instance.
- getBuilder() - Method in class se.swedenconnect.security.algorithms.impl.SymmetricKeyWrapImpl.SymmetricKeyWrapBuilder
-
Gets the current builder instance.
- getBuilder(String) - Static method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Creates a builder.
- getCurve(String) - Method in interface se.swedenconnect.security.algorithms.curves.NamedCurveRegistry
-
Gets a
NamedCurve
based on its name. - getCurve(String) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistryImpl
-
Gets a
NamedCurve
based on its name. - getCurve(String) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistrySingleton
-
Gets a
NamedCurve
based on its name. - getCurve(Predicate<NamedCurve>) - Method in interface se.swedenconnect.security.algorithms.curves.NamedCurveRegistry
-
Gets a
NamedCurve
based on the given predicate. - getCurve(Predicate<NamedCurve>) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistryImpl
-
Gets a
NamedCurve
based on the given predicate. - getCurve(Predicate<NamedCurve>) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistrySingleton
-
Gets a
NamedCurve
based on the given predicate. - getCurves(Predicate<NamedCurve>) - Method in interface se.swedenconnect.security.algorithms.curves.NamedCurveRegistry
-
Gets all curves that matches the given predicate.
- getCurves(Predicate<NamedCurve>) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistryImpl
-
Gets all curves that matches the given predicate.
- getCurves(Predicate<NamedCurve>) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistrySingleton
-
Gets all curves that matches the given predicate.
- getDefaultBlockEncryptionAlgorithms() - Static method in class se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
-
Gets an array of the block encryption algorithms that the static algorithm registry supports.
- getDefaultDigestAlgorithms() - Static method in class se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
-
Gets an array of the digest algorithms that the static algorithm registry supports.
- getDefaultKeyTransportAlgorithms() - Static method in class se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
-
Gets an array of the key transport algorithms that the static algorithm registry supports.
- getDefaultMacAlgorithms() - Static method in class se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
-
Gets an array of the MAC algorithms that the static algorithm registry supports.
- getDefaultSignatureAlgorithms() - Static method in class se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
-
Gets an array of the signature algorithms that the static algorithm registry supports.
- getDefaultSymmetricKeyWrapAlgorithms() - Static method in class se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
-
Gets an array of the symmetric key wrap algorithms that the static algorithm registry supports.
- getInstance() - Static method in class se.swedenconnect.security.algorithms.AlgorithmRegistrySingleton
-
Gets the singleton instance.
- getInstance() - Static method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistrySingleton
-
Gets the singleton instance.
- getIvLength() - Method in interface se.swedenconnect.security.algorithms.BlockEncryptionAlgorithm
-
Gets the number of bits for the initialization vector (IV).
- getIvLength() - Method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl
-
Gets the number of bits for the initialization vector (IV).
- getJcaName() - Method in interface se.swedenconnect.security.algorithms.Algorithm
-
Gets the JCA (Java Cryptography Architecture) name.
- getJcaName() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Gets the JCA (Java Cryptography Architecture) name.
- getJoseAlgorithm() - Method in class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
-
Gets the JOSE (Javascript Object Signing and Encryption) algorithm representation.
- getJoseAlgorithm() - Method in interface se.swedenconnect.security.algorithms.JoseAlgorithm
-
Gets the JOSE (Javascript Object Signing and Encryption) algorithm representation.
- getKeyLength() - Method in class se.swedenconnect.security.algorithms.curves.NamedCurve
-
Gets the length, in bits, of a key using this curve.
- getKeyLength() - Method in interface se.swedenconnect.security.algorithms.EncryptionAlgorithm
-
Gets the key length in bits.
- getKeyLength() - Method in class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm
-
Gets the key length in bits.
- getKeyType() - Method in class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
-
Gets the "key type", e.g.
- getKeyType() - Method in interface se.swedenconnect.security.algorithms.KeyBasedAlgorithm
-
Gets the "key type", e.g.
- getKeyType() - Method in interface se.swedenconnect.security.algorithms.RSAPSSSignatureAlgorithm
-
Always returns "RSA".
- getMessageDigestAlgorithm() - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl
-
Gets the message digest algorithm that this MAC algorithm uses.
- getMessageDigestAlgorithm() - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
-
Gets the message digest algorithm that this signature algorithm uses.
- getMessageDigestAlgorithm() - Method in interface se.swedenconnect.security.algorithms.MacAlgorithm
-
Gets the message digest algorithm that this MAC algorithm uses.
- getMessageDigestAlgorithm() - Method in interface se.swedenconnect.security.algorithms.SignatureAlgorithm
-
Gets the message digest algorithm that this signature algorithm uses.
- getMGFDigestAlgorithm() - Method in class se.swedenconnect.security.algorithms.impl.NoParamsRSAPSSSignatureAlgorithm
-
Always returns
null
. - getMGFDigestAlgorithm() - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Gets the MGF digest algorithm.
- getMGFDigestAlgorithm() - Method in interface se.swedenconnect.security.algorithms.RSAPSSSignatureAlgorithm
-
Gets the digest algorithm for the Mask Generation Function (MGF).
- getMGFUri() - Method in class se.swedenconnect.security.algorithms.impl.NoParamsRSAPSSSignatureAlgorithm
-
Always returns
null
. - getMGFUri() - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Gets the MGF URI.
- getMGFUri() - Method in interface se.swedenconnect.security.algorithms.RSAPSSSignatureAlgorithm
-
Gets the Mask Generation Function (MGF) URI.
- getName() - Method in class se.swedenconnect.security.algorithms.curves.NamedCurve
-
Gets the name of the curve.
- getObjectIdentifier() - Method in class se.swedenconnect.security.algorithms.curves.NamedCurve
-
Gets the string representation for the ASN.1 object identifier of the curve.
- getOrder() - Method in interface se.swedenconnect.security.algorithms.Algorithm
-
Gets the order for an algorithm where a lower order is seen as more preferable than an algorithm with a higher ordering.
- getOrder() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Gets the order for an algorithm where a lower order is seen as more preferable than an algorithm with a higher ordering.
- getParameterSpec() - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Gets the parameter spec for the RSA-PSS algorithm.
- getParameterSpec() - Method in interface se.swedenconnect.security.algorithms.RSAPSSSignatureAlgorithm
-
Gets the parameter spec for the RSA-PSS algorithm.
- getType() - Method in interface se.swedenconnect.security.algorithms.Algorithm
-
Gets the algorithm type.
- getType() - Method in interface se.swedenconnect.security.algorithms.BlockEncryptionAlgorithm
-
Gets the algorithm type.
- getType() - Method in class se.swedenconnect.security.algorithms.impl.SymmetricKeyWrapImpl
-
Gets the algorithm type.
- getType() - Method in interface se.swedenconnect.security.algorithms.KeyTransportAlgorithm
-
Gets the algorithm type.
- getType() - Method in interface se.swedenconnect.security.algorithms.MacAlgorithm
-
Gets the algorithm type.
- getType() - Method in interface se.swedenconnect.security.algorithms.MessageDigestAlgorithm
-
Gets the algorithm type.
- getType() - Method in interface se.swedenconnect.security.algorithms.SignatureAlgorithm
-
Gets the algorithm type.
- getUri() - Method in interface se.swedenconnect.security.algorithms.Algorithm
-
Gets the URI representation of the algorithm.
- getUri() - Method in class se.swedenconnect.security.algorithms.curves.NamedCurve
-
Gets the URI for this curve.
- getUri() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Gets the URI representation of the algorithm.
H
- hashCode() - Method in class se.swedenconnect.security.algorithms.curves.NamedCurve
- hashCode() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
- hashCode() - Method in class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm
- hashCode() - Method in class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
- hashCode() - Method in class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
- hashCode() - Method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl
- hashCode() - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl
- hashCode() - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
- hashCode() - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
I
- isBlacklisted() - Method in interface se.swedenconnect.security.algorithms.Algorithm
-
Tells whether this algorithm is black-listed, i.e., configured to not be allowed.
- isBlacklisted() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Tells whether this algorithm is black-listed, i.e., configured to not be allowed.
- ivLength(int) - Method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl.BlockEncryptionAlgorithmBuilder
-
Assigns the IV length.
J
- jcaName(String) - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Assigns the JCA name.
- joseAlgorithm(Algorithm) - Method in class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm.AbstractJoseAlgorithmBuilder
-
Sets the JOSE algorithm representation for the algorithm.
- JoseAlgorithm - Interface in se.swedenconnect.security.algorithms
-
An extension to the
Algorithm
interface that also gives the JOSE representation of the algorithm.
K
- KEY_AGREEMENT - Enum constant in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
Key agreement algorithm.
- KEY_TRANSPORT - Enum constant in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
Key transport algorithm.
- KeyBasedAlgorithm - Interface in se.swedenconnect.security.algorithms
-
Extends the
Algorithm
interface with information about the key type that is required for the algorithm. - keyLength(int) - Method in class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm.AbstractEncryptionAlgorithmBuilder
-
Sets the key length in bits.
- KeyTransportAlgorithm - Interface in se.swedenconnect.security.algorithms
-
Representation of a key transport algorithm
- KeyTransportAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.KeyTransportAlgorithmImpl.KeyTransportAlgorithmBuilder
-
Constructor.
- KeyTransportAlgorithmImpl - Class in se.swedenconnect.security.algorithms.impl
-
Implementation class for
KeyTransportAlgorithm
. - KeyTransportAlgorithmImpl(String) - Constructor for class se.swedenconnect.security.algorithms.impl.KeyTransportAlgorithmImpl
-
Protected constructor used by the builder.
- KeyTransportAlgorithmImpl(String, int, String, String, Algorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.KeyTransportAlgorithmImpl
-
Constructor.
- KeyTransportAlgorithmImpl.KeyTransportAlgorithmBuilder - Class in se.swedenconnect.security.algorithms.impl
-
Builder for
KeyTransportAlgorithm
objects. - keyType(String) - Method in class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm.AbstractKeyBasedAlgorithmBuilder
-
Sets the "key type" for the algorithm.
M
- MAC - Enum constant in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
MAC algorithm.
- MacAlgorithm - Interface in se.swedenconnect.security.algorithms
-
Representation of a MAC algorithm.
- MacAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl.MacAlgorithmBuilder
-
Constructor.
- MacAlgorithmImpl - Class in se.swedenconnect.security.algorithms.impl
-
Implementation class for
MacAlgorithm
. - MacAlgorithmImpl(String) - Constructor for class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl
-
Protected constructor used by builder.
- MacAlgorithmImpl(String, int, String, JWSAlgorithm, MessageDigestAlgorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl
-
Constructor.
- MacAlgorithmImpl.MacAlgorithmBuilder - Class in se.swedenconnect.security.algorithms.impl
-
Builder for
MacAlgorithm
objects. - MESSAGE_DIGEST - Enum constant in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
Message digest algorithm.
- messageDigestAlgorithm(MessageDigestAlgorithm) - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl.MacAlgorithmBuilder
-
Sets the message digest algorithm.
- messageDigestAlgorithm(MessageDigestAlgorithm) - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl.AbstractSignatureAlgorithmBuilder
-
Sets the message digest algorithm.
- MessageDigestAlgorithm - Interface in se.swedenconnect.security.algorithms
-
Representation of a message digest algorithm.
- MessageDigestAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl.MessageDigestAlgorithmBuilder
-
Constructor.
- MessageDigestAlgorithmImpl - Class in se.swedenconnect.security.algorithms.impl
-
Implementation class for the
MessageDigestAlgorithm
. - MessageDigestAlgorithmImpl(String) - Constructor for class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl
-
Protected constructor used by builder.
- MessageDigestAlgorithmImpl(String, int, String) - Constructor for class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl
-
Constructor.
- MessageDigestAlgorithmImpl.MessageDigestAlgorithmBuilder - Class in se.swedenconnect.security.algorithms.impl
-
Builder for
MessageDigestAlgorithm
. - mgfUri(String) - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilder
-
Assigns the MGF URI.
N
- NamedCurve - Class in se.swedenconnect.security.algorithms.curves
-
Representation of a named curve.
- NamedCurve(String, String, int) - Constructor for class se.swedenconnect.security.algorithms.curves.NamedCurve
-
Constructor.
- NamedCurveRegistry - Interface in se.swedenconnect.security.algorithms.curves
-
A registry for named curves.
- NamedCurveRegistryImpl - Class in se.swedenconnect.security.algorithms.curves
-
Implementation of the
NamedCurveRegistry
interface. - NamedCurveRegistryImpl() - Constructor for class se.swedenconnect.security.algorithms.curves.NamedCurveRegistryImpl
-
Default constructor.
- NamedCurveRegistryImpl(List<NamedCurve>) - Constructor for class se.swedenconnect.security.algorithms.curves.NamedCurveRegistryImpl
-
Constructor setting up the registry according to the supplied list.
- NamedCurveRegistrySingleton - Class in se.swedenconnect.security.algorithms.curves
-
A singleton for easy access to the
NamedCurveRegistry
. - NoParamsRSAPSSSignatureAlgorithm - Class in se.swedenconnect.security.algorithms.impl
-
Handles the special case where we represent RSA-PSS without any parameters.
- NoParamsRSAPSSSignatureAlgorithm() - Constructor for class se.swedenconnect.security.algorithms.impl.NoParamsRSAPSSSignatureAlgorithm
-
Constructor.
- notBlacklisted() - Static method in class se.swedenconnect.security.algorithms.AlgorithmPredicates
-
A predicate that can be combined with other predicates to ensure that the resulting
Algorithm
is not blacklisted.
O
- order(int) - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm.AbstractAlgorithmBuilder
-
Assigns the algorithm order.
P
- parameterSpec(PSSParameterSpec) - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilder
-
Assigns the parameter spec.
R
- register(Algorithm) - Method in class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Registers the given algorithm in the registry.
- register(NamedCurve) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistryImpl
-
Registers the given curve in the registry.
- RSAPSSSignatureAlgorithm - Interface in se.swedenconnect.security.algorithms
-
Representation of a RSA-PSS signature algorithm.
- RSAPSSSignatureAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilder
-
Constructor.
- RSAPSSSignatureAlgorithmImpl - Class in se.swedenconnect.security.algorithms.impl
-
Implementation class for
RSAPSSSignatureAlgorithm
. - RSAPSSSignatureAlgorithmImpl(String) - Constructor for class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Protected constructor used by builder.
- RSAPSSSignatureAlgorithmImpl(String, int, String, String, PSSParameterSpec, JWSAlgorithm, MessageDigestAlgorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Constructor.
- RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilder - Class in se.swedenconnect.security.algorithms.impl
-
Abstract builder for
RSAPSSSignatureAlgorithm
.
S
- se.swedenconnect.security.algorithms - package se.swedenconnect.security.algorithms
-
Algorithm registry and representations of differens algorithms
- se.swedenconnect.security.algorithms.curves - package se.swedenconnect.security.algorithms.curves
-
Support for named curves.
- se.swedenconnect.security.algorithms.impl - package se.swedenconnect.security.algorithms.impl
-
Implementation classes for the algorithm registry support.
- setAlgorithmRegistry(AlgorithmRegistry) - Static method in class se.swedenconnect.security.algorithms.AlgorithmRegistrySingleton
-
Assigns the
AlgorithmRegistry
instance to be used by this singleton. - setAlgorithmRegistry(NamedCurveRegistry) - Static method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistrySingleton
-
Assigns the
NamedCurveRegistry
instance to be used by this singleton. - setBlacklisted(boolean) - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Sets whether this algorithm is blacklisted.
- setIvLength(int) - Method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl
-
Assigns the IV length.
- setJcaName(String) - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Assigns the JCA name.
- setJcaName(String) - Method in class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl
-
Assigns the JCA name.
- setJcaName(String) - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
-
Assigns the JCA name.
- setJoseAlgorithm(Algorithm) - Method in class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
-
Sets the JOSE algorithm representation for the algorithm.
- setKeyLength(int) - Method in class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm
-
Assigns the key length in bits.
- setKeyType(String) - Method in class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
-
Sets the "key type" for the algorithm.
- setMessageDigestAlgorithm(MessageDigestAlgorithm) - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl
-
Sets the message digest algorithm.
- setMessageDigestAlgorithm(MessageDigestAlgorithm) - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
-
Sets the message digest algorithm.
- setMGFDigestAlgorithm(MessageDigestAlgorithm) - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilder
-
Assigns the MGF digest algorithm.
- setMGFDigestAlgorithm(MessageDigestAlgorithm) - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Assigns the MGF digest algorithm.
- setMGFUri(String) - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Assigns the MGF URI.
- setOrder(int) - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
-
Assigns the algorithm order.
- setParameterSpec(PSSParameterSpec) - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
-
Assigns the parameter spec.
- SIGNATURE - Enum constant in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
Signature algorithm.
- SignatureAlgorithm - Interface in se.swedenconnect.security.algorithms
-
Representation of a signature algorithm.
- SignatureAlgorithmBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl.SignatureAlgorithmBuilder
-
Constructor.
- SignatureAlgorithmImpl - Class in se.swedenconnect.security.algorithms.impl
-
Implementation class for
SignatureAlgorithm
. - SignatureAlgorithmImpl(String) - Constructor for class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
-
Protected constructor used by builder.
- SignatureAlgorithmImpl(String, int, String, String, JWSAlgorithm, MessageDigestAlgorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
-
Constructor.
- SignatureAlgorithmImpl.AbstractSignatureAlgorithmBuilder<T,
B> - Class in se.swedenconnect.security.algorithms.impl -
Abstract builder for
SignatureAlgorithm
. - SignatureAlgorithmImpl.SignatureAlgorithmBuilder - Class in se.swedenconnect.security.algorithms.impl
-
Abstract builder for
SignatureAlgorithm
. - StaticAlgorithmRegistry - Class in se.swedenconnect.security.algorithms.impl
-
Static implementation of the
AlgorithmRegistry
with fixed defaults. - StaticAlgorithmRegistry() - Constructor for class se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
-
Default constructor.
- StaticNamedCurveRegistry - Class in se.swedenconnect.security.algorithms.curves
-
Static default implementation of the
NamedCurveRegistry
. - StaticNamedCurveRegistry() - Constructor for class se.swedenconnect.security.algorithms.curves.StaticNamedCurveRegistry
-
Constructor.
- SYMMETRIC_KEY_WRAP - Enum constant in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
Symmetric key wrap algorithm.
- SymmetricKeyWrapBuilder(String) - Constructor for class se.swedenconnect.security.algorithms.impl.SymmetricKeyWrapImpl.SymmetricKeyWrapBuilder
-
Constructor.
- SymmetricKeyWrapImpl - Class in se.swedenconnect.security.algorithms.impl
-
Implementation class for symmetric key wrap algorithms.
- SymmetricKeyWrapImpl(String) - Constructor for class se.swedenconnect.security.algorithms.impl.SymmetricKeyWrapImpl
-
Protected constructor used by builder.
- SymmetricKeyWrapImpl(String, int, String, int, String, Algorithm) - Constructor for class se.swedenconnect.security.algorithms.impl.SymmetricKeyWrapImpl
-
Constructor.
- SymmetricKeyWrapImpl.SymmetricKeyWrapBuilder - Class in se.swedenconnect.security.algorithms.impl
-
Builder for creating symmetric key wrap algorithms.
T
- toString() - Method in class se.swedenconnect.security.algorithms.curves.NamedCurve
- toString() - Method in class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
- toString() - Method in class se.swedenconnect.security.algorithms.impl.AbstractEncryptionAlgorithm
- toString() - Method in class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
- toString() - Method in class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
- toString() - Method in class se.swedenconnect.security.algorithms.impl.BlockEncryptionAlgorithmImpl
- toString() - Method in class se.swedenconnect.security.algorithms.impl.MacAlgorithmImpl
- toString() - Method in class se.swedenconnect.security.algorithms.impl.MessageDigestAlgorithmImpl
- toString() - Method in class se.swedenconnect.security.algorithms.impl.NoParamsRSAPSSSignatureAlgorithm
- toString() - Method in class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
- toString() - Method in class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
U
- unregister(String) - Method in class se.swedenconnect.security.algorithms.curves.NamedCurveRegistryImpl
-
Removes the given curve from the registry.
- unregister(String) - Method in class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
Removes the given algorithm from the registry.
V
- valueOf(String) - Static method in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class se.swedenconnect.security.algorithms.AlgorithmType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages