Class DigestDocumentXMLSignatureInput

java.lang.Object
eu.europa.esig.dss.xades.validation.DSSDocumentXMLSignatureInput
eu.europa.esig.dss.xades.validation.DigestDocumentXMLSignatureInput

public class DigestDocumentXMLSignatureInput extends DSSDocumentXMLSignatureInput
This class is use for a XMLSignatureInput definition from a DigestDocument
  • Constructor Details

    • DigestDocumentXMLSignatureInput

      public DigestDocumentXMLSignatureInput(eu.europa.esig.dss.model.DigestDocument document, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm)
      Constructor for an XMLSignatureInput from a DigestDocument
      Parameters:
      document - DigestDocument
      digestAlgorithm - DigestAlgorithm used for the corresponding reference digest computation
  • Method Details

    • isNeedsToBeExpanded

      public boolean isNeedsToBeExpanded()
    • setNeedsToBeExpanded

      public void setNeedsToBeExpanded(boolean arg0)
    • getNodeSet

      public Set<Node> getNodeSet() throws org.apache.xml.security.parser.XMLParserException, IOException
      Throws:
      org.apache.xml.security.parser.XMLParserException
      IOException
    • getInputNodeSet

      public Set<Node> getInputNodeSet()
    • getNodeSet

      public Set<Node> getNodeSet(boolean arg0) throws org.apache.xml.security.parser.XMLParserException, IOException
      Throws:
      org.apache.xml.security.parser.XMLParserException
      IOException
    • getOctetStream

      public InputStream getOctetStream() throws IOException
      Throws:
      IOException
    • getOctetStreamReal

      public InputStream getOctetStreamReal()
    • getBytes

      public byte[] getBytes() throws IOException, org.apache.xml.security.c14n.CanonicalizationException
      Throws:
      IOException
      org.apache.xml.security.c14n.CanonicalizationException
    • isNodeSet

      public boolean isNodeSet()
    • isElement

      public boolean isElement()
    • isOctetStream

      public boolean isOctetStream()
    • isOutputStreamSet

      public boolean isOutputStreamSet()
    • isByteArray

      public boolean isByteArray()
    • isInitialized

      public boolean isInitialized()
    • setMIMEType

      public void setMIMEType(String arg0)
    • getSourceURI

      public String getSourceURI()
    • setSourceURI

      public void setSourceURI(String arg0)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getHTMLRepresentation

      public String getHTMLRepresentation() throws org.apache.xml.security.signature.XMLSignatureException
      Throws:
      org.apache.xml.security.signature.XMLSignatureException
    • getHTMLRepresentation

      public String getHTMLRepresentation(Set<String> arg0) throws org.apache.xml.security.signature.XMLSignatureException
      Throws:
      org.apache.xml.security.signature.XMLSignatureException
    • getExcludeNode

      public Node getExcludeNode()
    • setExcludeNode

      public void setExcludeNode(Node arg0)
    • getSubNode

      public Node getSubNode()
    • isExcludeComments

      public boolean isExcludeComments()
    • setExcludeComments

      public void setExcludeComments(boolean arg0)
    • updateOutputStream

      public void updateOutputStream(OutputStream arg0) throws org.apache.xml.security.c14n.CanonicalizationException, IOException
      Throws:
      org.apache.xml.security.c14n.CanonicalizationException
      IOException
    • updateOutputStream

      public void updateOutputStream(OutputStream arg0, boolean arg1) throws org.apache.xml.security.c14n.CanonicalizationException, IOException
      Throws:
      org.apache.xml.security.c14n.CanonicalizationException
      IOException
    • setOutputStream

      public void setOutputStream(OutputStream arg0)
    • addNodeFilter

      public void addNodeFilter(org.apache.xml.security.signature.NodeFilter arg0) throws org.apache.xml.security.parser.XMLParserException, IOException
      Throws:
      org.apache.xml.security.parser.XMLParserException
      IOException
    • getNodeFilters

      public List<org.apache.xml.security.signature.NodeFilter> getNodeFilters()
    • setNodeSet

      public void setNodeSet(boolean arg0)
    • isSecureValidation

      public boolean isSecureValidation()
    • setSecureValidation

      public void setSecureValidation(boolean arg0)