public interface

MessageDigestEngineProvider

xades4j.providers.MessageDigestEngineProvider
Known Indirect Subclasses

Class Overview

Interface for providers of message digest engines. A default implementation is provided.

Summary

Public Methods
abstract MessageDigest getEngine(String digestAlgorithmURI)
Gets a MessageDigest engine for the algorithm identified by the given URI.

Public Methods

public abstract MessageDigest getEngine (String digestAlgorithmURI)

Gets a MessageDigest engine for the algorithm identified by the given URI. The URIs defined in the XML-DSIG specification are used.

Parameters
digestAlgorithmURI the URI of the digest algorithm
Returns
  • the message digest engine
Throws
UnsupportedAlgorithmException if the current provider doesn't support the specified algorithm URI or there is no provider in the platform for the corresponding algorithm name