Class PdfSignatureCache

java.lang.Object
eu.europa.esig.dss.pdf.PdfSignatureCache
All Implemented Interfaces:
Serializable

public class PdfSignatureCache extends Object implements Serializable
This class is used as a DTO containing cached data to be used to accelerate the signature creation process
See Also:
  • 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

      public DSSDocument getToBeSignedDocument()
      Gets ToBeSigned document
      Returns:
      DSSDocument
    • setToBeSignedDocument

      public void setToBeSignedDocument(DSSDocument toBeSignedDocument)
      Sets ToBeSigned document
      Parameters:
      toBeSignedDocument - DSSDocument