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 boolean
equals(Object o)
AlgorithmParameterSpec
getParameterSpec()
int
hashCode()
void
marshal(Node parent, String prefix, DOMCryptoContext context)
This method invokes the abstractmarshalParams
method to marshal any algorithm-specific parameters.-
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
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:
getParameterSpec
in interfaceAlgorithmMethod
- Specified by:
getParameterSpec
in interfaceDigestMethod
-
marshal
public void marshal(Node parent, String prefix, DOMCryptoContext context) throws MarshalException
This method invokes the abstractmarshalParams
method to marshal any algorithm-specific parameters.- Specified by:
marshal
in classDOMStructure
- Throws:
MarshalException
-
-