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
ConstructorsConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets the defined actionGets theCertificationPermissionGets a list of field namesvoidsetAction(PdfLockAction action) Sets the actionvoidsetCertificationPermission(CertificationPermission certificationPermission) Sets theCertificationPermissionvoidSets 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
Strings
-
setFields
Sets a list of field names- Parameters:
fields- a list ofStrings
-
getCertificationPermission
Gets theCertificationPermission- Returns:
CertificationPermission
-
setCertificationPermission
Sets theCertificationPermission- Parameters:
certificationPermission-CertificationPermission
-