Class DOMXMLSignature.DOMSignatureValue

  • All Implemented Interfaces:
    javax.xml.crypto.dsig.XMLSignature.SignatureValue, javax.xml.crypto.XMLStructure
    Enclosing class:
    DOMXMLSignature

    public class DOMXMLSignature.DOMSignatureValue
    extends DOMStructure
    implements javax.xml.crypto.dsig.XMLSignature.SignatureValue
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getEncodedValue()  
      java.lang.String getId()  
      byte[] getValue()  
      int hashCode()  
      void marshal​(org.w3c.dom.Node parent, java.lang.String dsPrefix, javax.xml.crypto.dom.DOMCryptoContext context)  
      (package private) void setValue​(byte[] value)  
      boolean validate​(javax.xml.crypto.dsig.XMLValidateContext validateContext)  
      • 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
    • Field Detail

      • id

        private java.lang.String id
      • value

        private byte[] value
      • valueBase64

        private java.lang.String valueBase64
      • sigValueElem

        private org.w3c.dom.Element sigValueElem
      • validated

        private boolean validated
      • validationStatus

        private boolean validationStatus
    • Constructor Detail

      • DOMSignatureValue

        DOMSignatureValue​(java.lang.String id)
      • DOMSignatureValue

        DOMSignatureValue​(org.w3c.dom.Element sigValueElem)
                   throws javax.xml.crypto.MarshalException
        Throws:
        javax.xml.crypto.MarshalException
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface javax.xml.crypto.dsig.XMLSignature.SignatureValue
      • getValue

        public byte[] getValue()
        Specified by:
        getValue in interface javax.xml.crypto.dsig.XMLSignature.SignatureValue
      • getEncodedValue

        public java.lang.String getEncodedValue()
      • validate

        public boolean validate​(javax.xml.crypto.dsig.XMLValidateContext validateContext)
                         throws javax.xml.crypto.dsig.XMLSignatureException
        Specified by:
        validate in interface javax.xml.crypto.dsig.XMLSignature.SignatureValue
        Throws:
        javax.xml.crypto.dsig.XMLSignatureException
      • 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
      • marshal

        public void marshal​(org.w3c.dom.Node parent,
                            java.lang.String dsPrefix,
                            javax.xml.crypto.dom.DOMCryptoContext context)
                     throws javax.xml.crypto.MarshalException
        Specified by:
        marshal in class DOMStructure
        Throws:
        javax.xml.crypto.MarshalException
      • setValue

        void setValue​(byte[] value)