org.jcp.xml.dsig.internal.dom
public abstract class DOMDigestMethod extends DOMStructure implements DigestMethod
RIPEMD160, SHA1, SHA256, SHA512
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.security.spec.AlgorithmParameterSpec |
getParameterSpec()
Returns the algorithm-specific input parameters associated with this
DigestMethod . |
int |
hashCode() |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String prefix,
DOMCryptoContext context)
This method invokes the abstract
marshalParams
method to marshal any algorithm-specific parameters. |
isFeatureSupported
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
getAlgorithm
public final java.security.spec.AlgorithmParameterSpec getParameterSpec()
DigestMethod
DigestMethod
.
The returned parameters can be typecast to a DigestMethodParameterSpec
object.
getParameterSpec
in interface AlgorithmMethod
getParameterSpec
in interface DigestMethod
null
if
not specified)public void marshal(org.w3c.dom.Node parent, java.lang.String prefix, DOMCryptoContext context) throws MarshalException
marshalParams
method to marshal any algorithm-specific parameters.marshal
in class DOMStructure
MarshalException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.