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 int
getContentSize()
Returns a length of the reserved /Contents attributeDigestAlgorithm
getDigestAlgorithm()
Returns a DigestAlgorithm to be used to hash the signed/timestamped dataString
getFieldId()
Returns a signature/timestampFieldIdString
getFilter()
Returns Filter valueSignatureImageParameters
getImageParameters()
ReturnsSignatureImageParameters
for field's visual representationString
getPasswordProtection()
Returns a password string used to encrypt a documentDate
getSigningDate()
Returns a claimed signing timeString
getSubFilter()
Returns SubFilter value
-
Method Details
-
getSigningDate
Date getSigningDate()Returns a claimed signing time- Returns:
Date
-
getFieldId
String getFieldId()Returns a signature/timestampFieldId- Returns:
String
field id
-
getFilter
String getFilter()Returns Filter value- Returns:
String
filter
-
getSubFilter
String getSubFilter()Returns SubFilter value- Returns:
String
subFilter
-
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
-
getPasswordProtection
String getPasswordProtection()Returns a password string used to encrypt a document- Returns:
String
password
-