Package eu.europa.esig.dss.pdf
Class SigFieldPermissions
java.lang.Object
eu.europa.esig.dss.pdf.SigFieldPermissions
This class defines a list of restrictions imposed to a PDF document modifications
by the current signature/field
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets the defined actionGets theCertificationPermission
Gets a list of field namesvoid
setAction
(PdfLockAction action) Sets the actionvoid
setCertificationPermission
(CertificationPermission certificationPermission) Sets theCertificationPermission
void
Sets a list of field names
-
Constructor Details
-
SigFieldPermissions
public SigFieldPermissions()Default constructor instantiating object with null values
-
-
Method Details
-
getAction
Gets the defined action- Returns:
PdfLockAction
-
setAction
Sets the action- Parameters:
action
-PdfLockAction
-
getFields
Gets a list of field names- Returns:
- a list of
String
s
-
setFields
Sets a list of field names- Parameters:
fields
- a list ofString
s
-
getCertificationPermission
Gets theCertificationPermission
- Returns:
CertificationPermission
-
setCertificationPermission
Sets theCertificationPermission
- Parameters:
certificationPermission
-CertificationPermission
-