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 TypeMethodDescriptionbooleanbyte[]Deprecated.since 5.12.Gets message-digest computed in the prepared PDF revision ByteRangeGets ToBeSigned documentinthashCode()voidsetMessageDigest(DSSMessageDigest messageDigest) Sets message-digest of the ByteRangevoidsetToBeSignedDocument(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-DSSMessageDigestrepresenting 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()
-