Package eu.europa.esig.dss.pdf
Class PdfSignatureCache
java.lang.Object
eu.europa.esig.dss.pdf.PdfSignatureCache
- All Implemented Interfaces:
Serializable
This class is used as a DTO containing cached data to be used to accelerate the signature creation process
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Gets digest of the ByteRangeGets ToBeSigned documentvoidsetDigest(byte[] digest) Sets digest of the ByteRangevoidsetToBeSignedDocument(DSSDocument toBeSignedDocument) Sets ToBeSigned document
-
Constructor Details
-
PdfSignatureCache
public PdfSignatureCache()Default constructor instantiating object with null values
-
-
Method Details
-
getDigest
public byte[] getDigest()Gets digest of the ByteRange- Returns:
- byte array representing digest value
-
setDigest
public void setDigest(byte[] digest) Sets digest of the ByteRange- Parameters:
digest- byte array
-
getToBeSignedDocument
Gets ToBeSigned document- Returns:
DSSDocument
-
setToBeSignedDocument
Sets ToBeSigned document- Parameters:
toBeSignedDocument-DSSDocument
-