Interface DSSResourcesHandler
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
AbstractResourcesHandler
,InMemoryResourcesHandler
,TempFileResourcesHandler
This class is used to create objects required for a document signing process
(e.g. temporary OutputStream, returned DSSDocument, etc.).
-
Method Summary
Modifier and TypeMethodDescriptionThis method creates a newOutputStream
to be used as an output for a temporary signature documentThis method creates a newDSSDocument
representing a signed document, based on the createdOutputStream
.
-
Method Details
-
createOutputStream
This method creates a newOutputStream
to be used as an output for a temporary signature document- Returns:
OutputStream
- Throws:
IOException
- if an exception occurs during OutputStream creation
-
writeToDSSDocument
This method creates a newDSSDocument
representing a signed document, based on the createdOutputStream
.- Returns:
DSSDocument
- Throws:
IOException
- if an exception occurs during DSSDocument creation
-