Module org.apache.santuario.xmlsec
Class XMLSignatureNodeInput
- java.lang.Object
-
- org.apache.xml.security.signature.XMLSignatureInput
-
- org.apache.xml.security.signature.XMLSignatureNodeInput
-
public class XMLSignatureNodeInput extends XMLSignatureInput
The XMLSignature Input wrapping aNode
-
-
Constructor Summary
Constructors Constructor Description XMLSignatureNodeInput(org.w3c.dom.Node rootNode)Construct a XMLSignatureInput from a subtree rooted by rootNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.NodeconvertToNode()java.io.InputStreamgetUnprocessedInput()booleanhasUnprocessedInput()voidwrite(java.io.OutputStream output, boolean c14n11)Writes the data to the output stream.-
Methods inherited from class org.apache.xml.security.signature.XMLSignatureInput
addNodeFilter, canonicalize, getBytes, getExcludeNode, getInputNodeSet, getMIMEType, getNodeFilters, getNodeSet, getOutputStream, getPreCalculatedDigest, getSourceURI, getSubNode, isElement, isExcludeComments, isNeedsToBeExpanded, isNodeSet, isOutputStreamSet, isSecureValidation, setExcludeComments, setExcludeNode, setMIMEType, setNeedsToBeExpanded, setNodeSet, setOutputStream, setSecureValidation, setSourceURI, toString, write
-
-
-
-
Method Detail
-
hasUnprocessedInput
public boolean hasUnprocessedInput()
- Specified by:
hasUnprocessedInputin classXMLSignatureInput- Returns:
- true if this instance still can provide the unprocessed input
which was specified as the parameter of
XMLSignatureInput
-
getUnprocessedInput
public java.io.InputStream getUnprocessedInput()
- Specified by:
getUnprocessedInputin classXMLSignatureInput- Returns:
- the
InputStreamfrom input which was specified as the parameter ofXMLSignatureInputconstructor
-
convertToNode
protected org.w3c.dom.Node convertToNode() throws XMLParserException, java.io.IOException- Specified by:
convertToNodein classXMLSignatureInput- Returns:
- data given in constructor converted to a
Nodeor null if such conversion is not supported by thisXMLSignatureInput - Throws:
XMLParserExceptionjava.io.IOException
-
write
public void write(java.io.OutputStream output, boolean c14n11) throws CanonicalizationException, java.io.IOExceptionDescription copied from class:XMLSignatureInputWrites the data to the output stream.- Specified by:
writein classXMLSignatureInput- Throws:
CanonicalizationExceptionjava.io.IOException- See Also:
- XmlDSig-Core Reference Generation
-
-