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 TypeInterfaceDescriptioninterfaceInterface that tells that anAlgorithminstance also represents an ASN.1AlgorithmIdentifier.interfaceRepresentation of a block encryption algorithm.interfaceBase interface for an encryption algorithm.interfaceAn extension to theAlgorithminterface that also gives the JOSE representation of the algorithm.interfaceExtends theAlgorithminterface with information about the key type that is required for the algorithm.interfaceRepresentation of a key transport algorithminterfaceRepresentation of a MAC algorithm.interfaceRepresentation of a message digest algorithm.interfaceRepresentation of a RSA-PSS signature algorithm.interfaceRepresentation 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 resultingAlgorithmis 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 TypeInterfaceDescriptioninterfaceAlgorithmBuilder<T extends Algorithm>A builder for creating algorithm objects.Classes in se.swedenconnect.security.algorithms.impl that implement AlgorithmModifier and TypeClassDescriptionclassAbstract implementation of anAlgorithm.classAbstract base class for encryption algorithms.classAbstract implementation of anJoseAlgorithm.classAbstract implementation of anKeyBasedAlgorithm.classImplementation class forBlockEncryptionAlgorithm.classImplementation class forKeyTransportAlgorithm.classImplementation class forMacAlgorithm.classImplementation class for theMessageDigestAlgorithm.classHandles the special case where we represent RSA-PSS without any parameters.classImplementation class forRSAPSSSignatureAlgorithm.classImplementation class forSignatureAlgorithm.classImplementation 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 TypeMethodDescriptionvoidRegisters 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.