Class DefaultKeyTransportEncryptionAlgorithmsLookupStrategy
java.lang.Object
net.shibboleth.oidc.security.impl.AbstractEncryptionAlgorithmsLookupStrategy
net.shibboleth.oidc.security.jose.impl.DefaultKeyTransportEncryptionAlgorithmsLookupStrategy
- All Implemented Interfaces:
BiFunction<CriteriaSet,Predicate<String>, List<String>>
- Direct Known Subclasses:
ClientInformationKeyTransportEncryptionAlgorithmsLookupStrategy,ProviderMetadataKeyTransportEncryptionAlgorithmsLookupStrategy
public class DefaultKeyTransportEncryptionAlgorithmsLookupStrategy
extends AbstractEncryptionAlgorithmsLookupStrategy
A BiFunction that retrieves and filters the key transport encryption algorithms from the
EncryptionConfiguration inside the criteria set. Algorithms are removed (filtered) if not supported
by the runtime or are explicitly excluded or not included.- Since:
- 2.2.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptionapply(CriteriaSet criteria, Predicate<String> includeExcludePredicate) getKeyTransportAlgorithmsFromConfiguration(CriteriaSet criteria, Predicate<String> includeExcludePredicate) Get the key transport algorithms from theEncryptionConfigurationinside the criteria set.Methods inherited from class net.shibboleth.oidc.security.impl.AbstractEncryptionAlgorithmsLookupStrategy
findAlgorithmIntersection, getAlgorithmRegistry, getAlgorithmRuntimeSupportedPredicateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
DefaultKeyTransportEncryptionAlgorithmsLookupStrategy
protected DefaultKeyTransportEncryptionAlgorithmsLookupStrategy(@Nullable AlgorithmRegistry registry) Constructor.- Parameters:
registry- the algorithm registry to used when resolving algorithm URIs. Can benullto use the global registry.
-
-
Method Details