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 TypeMethodDescriptionboolean
Gets message-digest computed in the prepared PDF revision ByteRangeGets ToBeSigned documentint
hashCode()
void
setMessageDigest
(DSSMessageDigest messageDigest) Sets message-digest of the ByteRangevoid
setToBeSignedDocument
(DSSDocument toBeSignedDocument) Sets ToBeSigned document
-
Constructor Details
-
PdfSignatureCache
public PdfSignatureCache()Default constructor instantiating object with null values
-
-
Method Details
-
getMessageDigest
Gets message-digest computed in the prepared PDF revision ByteRange- Returns:
DSSMessageDigest
-
setMessageDigest
Sets message-digest of the ByteRange- Parameters:
messageDigest
-DSSMessageDigest
representing the message-digest computed on the PDF signature ByteRange
-
getToBeSignedDocument
-
setToBeSignedDocument
Sets ToBeSigned document- Parameters:
toBeSignedDocument
-DSSDocument
-
equals
-
hashCode
-