Class DigestDocumentXMLSignatureInput
java.lang.Object
eu.europa.esig.dss.xades.validation.DSSDocumentXMLSignatureInput
eu.europa.esig.dss.xades.validation.DigestDocumentXMLSignatureInput
This class is use for a
XMLSignatureInput definition from a DigestDocument-
Constructor Summary
ConstructorsConstructorDescriptionDigestDocumentXMLSignatureInput(eu.europa.esig.dss.model.DigestDocument document, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) Constructor for anXMLSignatureInputfrom aDigestDocument -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNodeFilter(org.apache.xml.security.signature.NodeFilter arg0) byte[]getBytes()getHTMLRepresentation(Set<String> arg0) List<org.apache.xml.security.signature.NodeFilter> getNodeSet(boolean arg0) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetExcludeComments(boolean arg0) voidsetExcludeNode(Node arg0) voidsetMIMEType(String arg0) voidsetNeedsToBeExpanded(boolean arg0) voidsetNodeSet(boolean arg0) voidsetOutputStream(OutputStream arg0) voidsetSecureValidation(boolean arg0) voidsetSourceURI(String arg0) toString()voidvoidupdateOutputStream(OutputStream arg0, boolean arg1) Methods inherited from class DSSDocumentXMLSignatureInput
getDocument, getDocumentName, getMIMEType, getPreCalculatedDigest, isPreCalculatedDigest, setPreCalculatedDigest
-
Constructor Details
-
DigestDocumentXMLSignatureInput
public DigestDocumentXMLSignatureInput(eu.europa.esig.dss.model.DigestDocument document, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) Constructor for anXMLSignatureInputfrom aDigestDocument- Parameters:
document-DigestDocumentdigestAlgorithm-DigestAlgorithmused for the corresponding reference digest computation
-
-
Method Details
-
isNeedsToBeExpanded
public boolean isNeedsToBeExpanded() -
setNeedsToBeExpanded
public void setNeedsToBeExpanded(boolean arg0) -
getNodeSet
- Throws:
org.apache.xml.security.parser.XMLParserExceptionIOException
-
getInputNodeSet
-
getNodeSet
public Set<Node> getNodeSet(boolean arg0) throws org.apache.xml.security.parser.XMLParserException, IOException - Throws:
org.apache.xml.security.parser.XMLParserExceptionIOException
-
getOctetStream
- Throws:
IOException
-
getOctetStreamReal
-
getBytes
- Throws:
IOExceptionorg.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
-
getSourceURI
-
setSourceURI
-
toString
-
getHTMLRepresentation
public String getHTMLRepresentation() throws org.apache.xml.security.signature.XMLSignatureException- Throws:
org.apache.xml.security.signature.XMLSignatureException
-
getHTMLRepresentation
-
getExcludeNode
-
setExcludeNode
-
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.CanonicalizationExceptionIOException
-
updateOutputStream
public void updateOutputStream(OutputStream arg0, boolean arg1) throws org.apache.xml.security.c14n.CanonicalizationException, IOException - Throws:
org.apache.xml.security.c14n.CanonicalizationExceptionIOException
-
setOutputStream
-
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.XMLParserExceptionIOException
-
getNodeFilters
-
setNodeSet
public void setNodeSet(boolean arg0) -
isSecureValidation
public boolean isSecureValidation() -
setSecureValidation
public void setSecureValidation(boolean arg0)
-