org.jcp.xml.dsig.internal.dom
Class DOMSignatureMethod
java.lang.Object
org.jcp.xml.dsig.internal.dom.DOMStructure
org.jcp.xml.dsig.internal.dom.DOMSignatureMethod
- All Implemented Interfaces:
- AlgorithmMethod, SignatureMethod, XMLStructure
- Direct Known Subclasses:
- DOMHMACSignatureMethod
public abstract class DOMSignatureMethod
- extends DOMStructure
- implements SignatureMethod
DOM-based abstract implementation of SignatureMethod.
- Author:
- Sean Mullan
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.security.spec.AlgorithmParameterSpec |
getParameterSpec()
Returns the algorithm-specific input parameters of this
SignatureMethod . |
int |
hashCode()
|
void |
marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
DOMCryptoContext context)
This method invokes the abstract marshalParams
method to marshal any algorithm-specific parameters. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
getParameterSpec
public final java.security.spec.AlgorithmParameterSpec getParameterSpec()
- Description copied from interface:
SignatureMethod
- Returns the algorithm-specific input parameters of this
SignatureMethod
.
The returned parameters can be typecast to a SignatureMethodParameterSpec
object.
- Specified by:
getParameterSpec
in interface AlgorithmMethod
- Specified by:
getParameterSpec
in interface SignatureMethod
- Returns:
- the algorithm-specific input parameters of this
SignatureMethod
(may be null
if not
specified)
marshal
public void marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
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(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.