Class DefaultKeyTransportEncryptionAlgorithmsLookupStrategy

    • Constructor Detail

      • DefaultKeyTransportEncryptionAlgorithmsLookupStrategy

        protected DefaultKeyTransportEncryptionAlgorithmsLookupStrategy​(@Nullable
                                                                        AlgorithmRegistry registry)
        Constructor.
        Parameters:
        registry - the algorithm registry to used when resolving algorithm URIs. Can be null to use the global registry.
    • Method Detail

      • getKeyTransportAlgorithmsFromConfiguration

        @Nonnull
        protected List<String> getKeyTransportAlgorithmsFromConfiguration​(CriteriaSet criteria,
                                                                          Predicate<String> includeExcludePredicate)
        Get the key transport algorithms from the EncryptionConfiguration inside the criteria set.
        Parameters:
        criteria - to pull out the EncryptionConfiguration
        includeExcludePredicate - the include and exclude predicates to filter the credentials with
        Returns:
        the key transport algorithms from the configuration, an empty list otherwise