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
ConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
Deprecated.since 5.12.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
-
getDigest
Deprecated.since 5.12. Usebyte[] digest = getMessageDigest().getValue()
Gets digest of the ByteRange- Returns:
- byte array representing digest value
-
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
Gets ToBeSigned document- Returns:
DSSDocument
-
setToBeSignedDocument
Sets ToBeSigned document- Parameters:
toBeSignedDocument
-DSSDocument
-
equals
-
hashCode
public int hashCode()
-