Java library for a central algorithm registry.
This repository contains a simple algorithm registry that can be used for keeping track of supported and blacklisted algorithms in an application.
The algorithm registry can either be configured and instantiated as a bean, or a static singleton can be used, see AlgorithmRegistrySingleton.
A static implementation, StaticAlgorithmRegistry, with defaults borrowed from the Apache xmlsec library is also provided.
The se.swedenconnect.security:algorithm-registry
artifact is published to Maven central. In order to include a dependency to it, include the following in your POM:
<dependency>
<groupId>se.swedenconnect.security</groupId>
<artifactId>algorithm-registry</artifactId>
<version>${alg-reg.version}</version>
</dependency>
Go to https://docs.swedenconnect.se/algorithm-registry for the Java API documentation for the module.
Copyright © 2022-2024, Sweden Connect. Licensed under version 2.0 of the Apache License.