Module org.apache.santuario.xmlsec
Class DOMDigestMethod
- java.lang.Object
-
- org.apache.jcp.xml.dsig.internal.dom.DOMStructure
-
- org.apache.jcp.xml.dsig.internal.dom.DOMDigestMethod
-
- All Implemented Interfaces:
AlgorithmMethod,DigestMethod,XMLStructure
public abstract class DOMDigestMethod extends DOMStructure implements DigestMethod
DOM-based abstract implementation of DigestMethod.
-
-
Field Summary
-
Fields inherited from interface javax.xml.crypto.dsig.DigestMethod
RIPEMD160, SHA1, SHA256, SHA512
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AlgorithmParameterSpecgetParameterSpec()inthashCode()voidmarshal(Node parent, String prefix, DOMCryptoContext context)This method invokes the abstractmarshalParamsmethod to marshal any algorithm-specific parameters.-
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
equalsContent, isFeatureSupported
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.crypto.AlgorithmMethod
getAlgorithm
-
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
-
-
-
Method Detail
-
getParameterSpec
public final AlgorithmParameterSpec getParameterSpec()
- Specified by:
getParameterSpecin interfaceAlgorithmMethod- Specified by:
getParameterSpecin interfaceDigestMethod
-
marshal
public void marshal(Node parent, String prefix, DOMCryptoContext context) throws MarshalException
This method invokes the abstractmarshalParamsmethod to marshal any algorithm-specific parameters.- Specified by:
marshalin classDOMStructure- Throws:
MarshalException
-
-