Module jpms_dss_document
Class InMemoryResourcesHandler
java.lang.Object
eu.europa.esig.dss.signature.resources.AbstractResourcesHandler
eu.europa.esig.dss.signature.resources.InMemoryResourcesHandler
- All Implemented Interfaces:
eu.europa.esig.dss.spi.signature.resources.DSSResourcesHandler,Closeable,AutoCloseable
This class represents an in-memory implementation of
DSSResourcesFactory.
Using this class, all the objects handling during document signing will be stored in memory.
NOTE: this class is used as a default implementation in DSS-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteArrayOutputStreamBuildsOutputStreameu.europa.esig.dss.model.DSSDocumentMethods inherited from class eu.europa.esig.dss.signature.resources.AbstractResourcesHandler
close, createOutputStream, getOutputStream
-
Constructor Details
-
InMemoryResourcesHandler
public InMemoryResourcesHandler()Default constructor
-
-
Method Details
-
buildOutputStream
Description copied from class:AbstractResourcesHandlerBuildsOutputStream- Specified by:
buildOutputStreamin classAbstractResourcesHandler- Returns:
OutputStream
-
writeToDSSDocument
- Throws:
IOException
-