org.apache.jcp.xml.dsig.internal.dom
Class DOMSignatureMethod

java.lang.Object
  extended by org.apache.jcp.xml.dsig.internal.dom.DOMStructure
      extended by org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod
All Implemented Interfaces:
AlgorithmMethod, SignatureMethod, XMLStructure

public abstract class DOMSignatureMethod
extends DOMStructure

DOM-based abstract implementation of SignatureMethod.

Author:
Sean Mullan

Field Summary
 
Fields inherited from interface javax.xml.crypto.dsig.SignatureMethod
DSA_SHA1, HMAC_SHA1, RSA_SHA1
 
Method Summary
 boolean equals(Object o)
           
 AlgorithmParameterSpec getParameterSpec()
          Returns the algorithm parameters of this AlgorithmMethod.
 int hashCode()
           
 void marshal(Node parent, String dsPrefix, DOMCryptoContext context)
          This method invokes the marshalParams 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.XMLStructure
isFeatureSupported
 
Methods inherited from interface javax.xml.crypto.AlgorithmMethod
getAlgorithm
 

Method Detail

getParameterSpec

public final AlgorithmParameterSpec getParameterSpec()
Description copied from interface: AlgorithmMethod
Returns the algorithm parameters of this AlgorithmMethod.

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 dsPrefix,
                    DOMCryptoContext context)
             throws MarshalException
This method invokes the 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.