org.apache.jcp.xml.dsig.internal.dom
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.
- Author:
- Sean Mullan
getParameterSpec
public final AlgorithmParameterSpec getParameterSpec()
- Description copied from interface:
AlgorithmMethod
- Returns the algorithm parameters of this
AlgorithmMethod.
- Specified by:
getParameterSpec in interface AlgorithmMethod- Specified by:
getParameterSpec in interface DigestMethod
- Returns:
- the algorithm parameters of this
AlgorithmMethod.
Returns null if this AlgorithmMethod does
not require parameters and they are not specified.
marshal
public void marshal(Node parent,
String prefix,
DOMCryptoContext context)
throws MarshalException
- This method invokes the abstract
marshalParams
method to marshal any algorithm-specific parameters.
- Specified by:
marshal in class DOMStructure
- Throws:
MarshalException
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.