Class DOMDigestMethod
- java.lang.Object
-
- org.apache.jcp.xml.dsig.internal.dom.BaseStructure
-
- org.apache.jcp.xml.dsig.internal.dom.DOMDigestMethod
-
- All Implemented Interfaces:
AlgorithmMethod,DigestMethod,XMLStructure
public abstract class DOMDigestMethod extends BaseStructure implements DigestMethod
DOM-based abstract implementation of DigestMethod.- Author:
- Sean Mullan
-
-
Field Summary
-
Fields inherited from interface javax.xml.crypto.dsig.DigestMethod
RIPEMD160, SHA1, SHA256, SHA512
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AlgorithmParameterSpecgetParameterSpec()inthashCode()static voidmarshal(XmlWriter xwriter, DigestMethod digest, String prefix)This method invokes the abstractmarshalParamsmethod to marshal any algorithm-specific parameters.-
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.BaseStructure
isFeatureSupported, textOfNode
-
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 static void marshal(XmlWriter xwriter, DigestMethod digest, String prefix) throws MarshalException
This method invokes the abstractmarshalParamsmethod to marshal any algorithm-specific parameters.- Throws:
MarshalException
-
-