Interface PAdESCommonParameters

All Superinterfaces:
Serializable
All Known Implementing Classes:
PAdESSignatureParameters, PAdESTimestampParameters

public interface PAdESCommonParameters extends Serializable
Defines a list of common PAdES parameters between signature and timestamps
  • Method Details

    • getSigningDate

      Date getSigningDate()
      Returns a claimed signing time
      Returns:
      Date
    • getFilter

      String getFilter()
      Returns Filter value
      Returns:
      String filter
    • getSubFilter

      String getSubFilter()
      Returns SubFilter value
      Returns:
      String subFilter
    • getImageParameters

      SignatureImageParameters getImageParameters()
      Returns SignatureImageParameters for field's visual representation
      Returns:
      SignatureImageParameters
    • getContentSize

      int getContentSize()
      Returns a length of the reserved /Contents attribute
      Returns:
      int content size
    • getDigestAlgorithm

      DigestAlgorithm getDigestAlgorithm()
      Returns a DigestAlgorithm to be used to hash the signed/timestamped data
      Returns:
      DigestAlgorithm
    • getPasswordProtection

      char[] getPasswordProtection()
      Returns a password used to encrypt a document
      Returns:
      char array representing a password string
    • getAppName

      String getAppName()
      Returns name of an application used to create a signature/timestamp
      Returns:
      String
    • getDeterministicId

      String getDeterministicId()
      Returns the deterministic identifier to be used to define a documentId on signing/timestamping, when necessary
      Returns:
      the unique ID for the document
    • getPdfSignatureCache

      PdfSignatureCache getPdfSignatureCache()
      Returns an internal variable, used to cache data in order to accelerate signing process
      Returns:
      PdfSignatureCache
    • reinit

      void reinit()
      This method re-inits signature parameters to clean temporary settings