Uses of Interface
se.swedenconnect.security.algorithms.Algorithm
Packages that use Algorithm
Package
Description
Algorithm registry and representations of differens algorithms
Implementation classes for the algorithm registry support.
-
Uses of Algorithm in se.swedenconnect.security.algorithms
Subinterfaces of Algorithm in se.swedenconnect.security.algorithmsModifier and TypeInterfaceDescriptioninterface
Interface that tells that anAlgorithm
instance also represents an ASN.1AlgorithmIdentifier
.interface
Representation of a block encryption algorithm.interface
Base interface for an encryption algorithm.interface
An extension to theAlgorithm
interface that also gives the JOSE representation of the algorithm.interface
Extends theAlgorithm
interface with information about the key type that is required for the algorithm.interface
Representation of a key transport algorithminterface
Representation of a MAC algorithm.interface
Representation of a message digest algorithm.interface
Representation of a RSA-PSS signature algorithm.interface
Representation of a signature algorithm.Methods in se.swedenconnect.security.algorithms with type parameters of type AlgorithmModifier and TypeMethodDescription<T extends Algorithm>
TAlgorithmRegistry.getAlgorithm
(String algorithmUri, Class<T> clazz) Gets an algorithm based on its URI and type.<T extends Algorithm>
TAlgorithmRegistry.getAlgorithm
(Predicate<Algorithm> predicate, Class<T> clazz) Gets the first algorithm that matches the given type and supplied predicate.<T extends Algorithm>
TAlgorithmRegistrySingleton.getAlgorithm
(String algorithmUri, Class<T> clazz) Gets an algorithm based on its URI and type.<T extends Algorithm>
TAlgorithmRegistrySingleton.getAlgorithm
(Predicate<Algorithm> predicate, Class<T> clazz) Gets the first algorithm that matches the given type and supplied predicate.AlgorithmRegistry.getAlgorithms
(Predicate<Algorithm> predicate, Class<T> clazz) Gets all algorithms that matches the given type and the supplied predicate.AlgorithmRegistrySingleton.getAlgorithms
(Predicate<Algorithm> predicate, Class<T> clazz) Gets all algorithms that matches the given type and the supplied predicate.Methods in se.swedenconnect.security.algorithms that return AlgorithmModifier and TypeMethodDescriptionAlgorithmRegistry.getAlgorithm
(String algorithmUri) Gets the algorithm based on its URI.AlgorithmRegistry.getAlgorithm
(Predicate<Algorithm> predicate) Gets the first algorithm that matches the supplied predicate.AlgorithmRegistrySingleton.getAlgorithm
(String algorithmUri) Gets the algorithm based on its URI.AlgorithmRegistrySingleton.getAlgorithm
(Predicate<Algorithm> predicate) Gets the first algorithm that matches the supplied predicate.Methods in se.swedenconnect.security.algorithms that return types with arguments of type AlgorithmModifier and TypeMethodDescriptionAlgorithmPredicates.fromAlgorithmIdentifier
(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) Predicate for finding an algorithm based on itsAlgorithmIdentifier
.AlgorithmPredicates.fromAlgorithmIdentifierRelaxed
(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) Predicate for finding an algorithm based on itsAlgorithmIdentifier
.AlgorithmPredicates.fromJcaName
(String jcaName) Predicate for finding an algorithm based on its JCA name.AlgorithmPredicates.fromKeyType
(String keyType) Predicate for finding an algorithm based on its key type.AlgorithmPredicates.fromType
(AlgorithmType type) Predicate for finding an algorithm based on its type.AlgorithmRegistry.getAlgorithms
(Predicate<Algorithm> predicate) Gets all algorithms that matches the supplied predicate.AlgorithmRegistrySingleton.getAlgorithms
(Predicate<Algorithm> predicate) Gets all algorithms that matches the supplied predicate.AlgorithmPredicates.notBlacklisted()
A predicate that can be combined with other predicates to ensure that the resultingAlgorithm
is not blacklisted.Method parameters in se.swedenconnect.security.algorithms with type arguments of type AlgorithmModifier and TypeMethodDescriptionAlgorithmRegistry.getAlgorithm
(Predicate<Algorithm> predicate) Gets the first algorithm that matches the supplied predicate.<T extends Algorithm>
TAlgorithmRegistry.getAlgorithm
(Predicate<Algorithm> predicate, Class<T> clazz) Gets the first algorithm that matches the given type and supplied predicate.AlgorithmRegistrySingleton.getAlgorithm
(Predicate<Algorithm> predicate) Gets the first algorithm that matches the supplied predicate.<T extends Algorithm>
TAlgorithmRegistrySingleton.getAlgorithm
(Predicate<Algorithm> predicate, Class<T> clazz) Gets the first algorithm that matches the given type and supplied predicate.AlgorithmRegistry.getAlgorithms
(Predicate<Algorithm> predicate) Gets all algorithms that matches the supplied predicate.AlgorithmRegistry.getAlgorithms
(Predicate<Algorithm> predicate, Class<T> clazz) Gets all algorithms that matches the given type and the supplied predicate.AlgorithmRegistrySingleton.getAlgorithms
(Predicate<Algorithm> predicate) Gets all algorithms that matches the supplied predicate.AlgorithmRegistrySingleton.getAlgorithms
(Predicate<Algorithm> predicate, Class<T> clazz) Gets all algorithms that matches the given type and the supplied predicate. -
Uses of Algorithm in se.swedenconnect.security.algorithms.impl
Classes in se.swedenconnect.security.algorithms.impl with type parameters of type AlgorithmModifier and TypeInterfaceDescriptioninterface
AlgorithmBuilder<T extends Algorithm>
A builder for creating algorithm objects.Classes in se.swedenconnect.security.algorithms.impl that implement AlgorithmModifier and TypeClassDescriptionclass
Abstract implementation of anAlgorithm
.class
Abstract base class for encryption algorithms.class
Abstract implementation of anJoseAlgorithm
.class
Abstract implementation of anKeyBasedAlgorithm
.class
Implementation class forBlockEncryptionAlgorithm
.class
Implementation class forKeyTransportAlgorithm
.class
Implementation class forMacAlgorithm
.class
Implementation class for theMessageDigestAlgorithm
.class
Handles the special case where we represent RSA-PSS without any parameters.class
Implementation class forRSAPSSSignatureAlgorithm
.class
Implementation class forSignatureAlgorithm
.class
Implementation class for symmetric key wrap algorithms.Methods in se.swedenconnect.security.algorithms.impl with type parameters of type AlgorithmModifier and TypeMethodDescription<T extends Algorithm>
TAlgorithmRegistryImpl.getAlgorithm
(String algorithmUri, Class<T> clazz) Gets an algorithm based on its URI and type.<T extends Algorithm>
TAlgorithmRegistryImpl.getAlgorithm
(Predicate<Algorithm> predicate, Class<T> clazz) Gets the first algorithm that matches the given type and supplied predicate.AlgorithmRegistryImpl.getAlgorithms
(Predicate<Algorithm> predicate, Class<T> clazz) Gets all algorithms that matches the given type and the supplied predicate.Methods in se.swedenconnect.security.algorithms.impl that return AlgorithmModifier and TypeMethodDescriptionAlgorithmRegistryImpl.getAlgorithm
(String algorithmUri) Gets the algorithm based on its URI.AlgorithmRegistryImpl.getAlgorithm
(Predicate<Algorithm> predicate) Gets the first algorithm that matches the supplied predicate.static Algorithm[]
StaticAlgorithmRegistry.getDefaultBlockEncryptionAlgorithms()
Gets an array of the block encryption algorithms that the static algorithm registry supports.static Algorithm[]
StaticAlgorithmRegistry.getDefaultDigestAlgorithms()
Gets an array of the digest algorithms that the static algorithm registry supports.static Algorithm[]
StaticAlgorithmRegistry.getDefaultKeyTransportAlgorithms()
Gets an array of the key transport algorithms that the static algorithm registry supports.static Algorithm[]
StaticAlgorithmRegistry.getDefaultMacAlgorithms()
Gets an array of the MAC algorithms that the static algorithm registry supports.static Algorithm[]
StaticAlgorithmRegistry.getDefaultSignatureAlgorithms()
Gets an array of the signature algorithms that the static algorithm registry supports.static Algorithm[]
StaticAlgorithmRegistry.getDefaultSymmetricKeyWrapAlgorithms()
Gets an array of the symmetric key wrap algorithms that the static algorithm registry supports.Methods in se.swedenconnect.security.algorithms.impl that return types with arguments of type AlgorithmModifier and TypeMethodDescriptionAlgorithmRegistryImpl.getAlgorithms
(Predicate<Algorithm> predicate) Gets all algorithms that matches the supplied predicate.Methods in se.swedenconnect.security.algorithms.impl with parameters of type AlgorithmModifier and TypeMethodDescriptionvoid
Registers the given algorithm in the registry.Method parameters in se.swedenconnect.security.algorithms.impl with type arguments of type AlgorithmModifier and TypeMethodDescriptionAlgorithmRegistryImpl.getAlgorithm
(Predicate<Algorithm> predicate) Gets the first algorithm that matches the supplied predicate.<T extends Algorithm>
TAlgorithmRegistryImpl.getAlgorithm
(Predicate<Algorithm> predicate, Class<T> clazz) Gets the first algorithm that matches the given type and supplied predicate.AlgorithmRegistryImpl.getAlgorithms
(Predicate<Algorithm> predicate) Gets all algorithms that matches the supplied predicate.AlgorithmRegistryImpl.getAlgorithms
(Predicate<Algorithm> predicate, Class<T> clazz) Gets all algorithms that matches the given type and the supplied predicate.Constructor parameters in se.swedenconnect.security.algorithms.impl with type arguments of type AlgorithmModifierConstructorDescriptionAlgorithmRegistryImpl
(List<Algorithm> registry) Constructor setting up the registry according to the supplied list.