org.jcp.xml.dsig.internal.dom

Class DOMDigestMethod

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


    public abstract class DOMDigestMethod
    extends DOMStructure
    implements javax.xml.crypto.dsig.DigestMethod
    DOM-based abstract implementation of DigestMethod.
    • Field Summary

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

        RIPEMD160, SHA1, SHA256, SHA512
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o) 
      java.security.spec.AlgorithmParameterSpec getParameterSpec() 
      int hashCode() 
      void marshal(org.w3c.dom.Node parent, java.lang.String prefix, javax.xml.crypto.dom.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
      • Methods inherited from interface javax.xml.crypto.XMLStructure

        isFeatureSupported
      • Methods inherited from interface javax.xml.crypto.AlgorithmMethod

        getAlgorithm
    • 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 void marshal(org.w3c.dom.Node parent,
                   java.lang.String prefix,
                   javax.xml.crypto.dom.DOMCryptoContext context)
                     throws javax.xml.crypto.MarshalException
        This method invokes the abstract marshalParams method to marshal any algorithm-specific parameters.
        Specified by:
        marshal in class DOMStructure
        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

© Portions Copyright 2003, 2014 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2014 Oracle and/or its affiliates. All rights reserved.