Class DOMDigestMethod

  • All Implemented Interfaces:
    javax.xml.crypto.AlgorithmMethod, javax.xml.crypto.dsig.DigestMethod, javax.xml.crypto.XMLStructure

    public abstract class DOMDigestMethod
    extends BaseStructure
    implements javax.xml.crypto.dsig.DigestMethod
    DOM-based abstract implementation of DigestMethod.
    Author:
    Sean Mullan
    • Field Summary

      • Fields inherited from interface javax.xml.crypto.dsig.DigestMethod

        RIPEMD160, SHA1, SHA256, SHA512
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.security.spec.AlgorithmParameterSpec getParameterSpec()  
      int hashCode()  
      static void marshal​(XmlWriter xwriter, javax.xml.crypto.dsig.DigestMethod digest, java.lang.String prefix)
      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
      • Methods inherited from interface javax.xml.crypto.AlgorithmMethod

        getAlgorithm
      • Methods inherited from interface javax.xml.crypto.XMLStructure

        isFeatureSupported
    • Method Detail

      • getParameterSpec

        public final java.security.spec.AlgorithmParameterSpec getParameterSpec()
        Specified by:
        getParameterSpec in interface javax.xml.crypto.AlgorithmMethod
        Specified by:
        getParameterSpec in interface javax.xml.crypto.dsig.DigestMethod
      • marshal

        public static void marshal​(XmlWriter xwriter,
                                   javax.xml.crypto.dsig.DigestMethod digest,
                                   java.lang.String prefix)
                            throws javax.xml.crypto.MarshalException
        This method invokes the abstract marshalParams method to marshal any algorithm-specific parameters.
        Throws:
        javax.xml.crypto.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