Package eu.europa.esig.dss.pades
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 Summary
Modifier and Type Method Description intgetContentSize()Returns a length of the reserved /Contents attributeDigestAlgorithmgetDigestAlgorithm()Returns a DigestAlgorithm to be used to hash the signed/timestamped dataStringgetFieldId()Returns a signature/timestampFieldIdStringgetFilter()Returns Filter valueSignatureImageParametersgetImageParameters()ReturnsSignatureImageParametersfor field's visual representationStringgetPasswordProtection()Returns a password string used to encrypt a documentDategetSigningDate()Returns a claimed signing timeStringgetSubFilter()Returns SubFilter value
-
Method Details
-
getSigningDate
Date getSigningDate()Returns a claimed signing time- Returns:
Date
-
getFieldId
String getFieldId()Returns a signature/timestampFieldId- Returns:
Stringfield id
-
getFilter
String getFilter()Returns Filter value- Returns:
Stringfilter
-
getSubFilter
String getSubFilter()Returns SubFilter value- Returns:
StringsubFilter
-
getImageParameters
SignatureImageParameters getImageParameters()ReturnsSignatureImageParametersfor 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
String getPasswordProtection()Returns a password string used to encrypt a document- Returns:
Stringpassword
-