Package eu.europa.esig.dss.pades
Interface PAdESCommonParameters
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
PAdESSignatureParameters
,PAdESTimestampParameters
Defines a list of common PAdES parameters between signature and timestamps
-
Method Summary
Modifier and TypeMethodDescriptionReturns name of an application used to create a signature/timestampint
Returns a length of the reserved /Contents attributeReturns the deterministic identifier to be used to define a documentId on signing/timestamping, when necessaryReturns a DigestAlgorithm to be used to hash the signed/timestamped dataReturns a EncryptionAlgorithm to be used to hash the signed/timestamped dataReturns Filter valueReturnsSignatureImageParameters
for field's visual representationchar[]
Returns a password used to encrypt a documentReturns an internal variable, used to cache data in order to accelerate signing processReturns a claimed signing timeReturns SubFilter valuevoid
reinit()
This method re-inits signature parameters to clean temporary settings
-
Method Details
-
getSigningDate
-
getFilter
-
getSubFilter
-
getImageParameters
SignatureImageParameters getImageParameters()ReturnsSignatureImageParameters
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
-
getEncryptionAlgorithm
EncryptionAlgorithm getEncryptionAlgorithm()Returns a EncryptionAlgorithm to be used to hash the signed/timestamped data- Returns:
EncryptionAlgorithm
-
getPasswordProtection
char[] getPasswordProtection()Returns a password used to encrypt a document- Returns:
- char array representing a password string
-
getAppName
-
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
-