All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.difi.asic.MessageDigestAlgorithm Maven / Gradle / Ivy

Go to download

Generic implementation of ASiC-E archives in accordance with ETSI 102 918 v1.3.1.

The newest version!
package no.difi.asic;

enum MessageDigestAlgorithm {
    SHA256("SHA-256", "http://www.w3.org/2001/04/xmlenc#sha256"),
    SHA384("SHA-384", "http://www.w3.org/2001/04/xmlenc#sha384"),
    SHA512("SHA-512", "http://www.w3.org/2001/04/xmlenc#sha512");

    private final String algorithm;
    private final String uri;

    MessageDigestAlgorithm(String algorithm, String uri) {
        this.algorithm = algorithm;
        this.uri = uri;
    }

    public String getAlgorithm() {
        return algorithm;
    }

    public String getUri() {
        return uri;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy