Module org.apache.santuario.xmlsec
Class XMLSignatureFileInput
- java.lang.Object
-
- org.apache.xml.security.signature.XMLSignatureInput
-
- org.apache.xml.security.signature.XMLSignatureStreamInput
-
- org.apache.xml.security.signature.XMLSignatureFileInput
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class XMLSignatureFileInput extends XMLSignatureStreamInput
The XMLSignature Input for processingPathorFile.NOTE: The stream may be closed in the process, but it is not guaranteed.
-
-
Constructor Summary
Constructors Constructor Description XMLSignatureFileInput(java.io.File file)Construct a XMLSignatureInput from a FileXMLSignatureFileInput(java.nio.file.Path file)Construct a XMLSignatureInput from a File
-
Method Summary
-
Methods inherited from class org.apache.xml.security.signature.XMLSignatureStreamInput
close, convertToNode, getUnprocessedInput, hasUnprocessedInput, write
-
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
-
-
-
-
Constructor Detail
-
XMLSignatureFileInput
public XMLSignatureFileInput(java.nio.file.Path file) throws java.io.IOExceptionConstruct a XMLSignatureInput from a FileNOTE: The stream may be closed in the process, but it is not guaranteed.
- Parameters:
file-- Throws:
java.io.IOException
-
XMLSignatureFileInput
public XMLSignatureFileInput(java.io.File file) throws java.io.IOExceptionConstruct a XMLSignatureInput from a FileNOTE: The stream may be closed in the process, but it is not guaranteed.
- Parameters:
file-- Throws:
java.io.IOException
-
-