iText 9.0.0 API
iText.Signatures.SignaturePermissions Class Reference

A helper class that tells you more about the type of signature (certification or approval) and the signature's DMP settings. More...

Classes

class   FieldLock
  Class that contains a field lock action and an array of the fields that are involved. More...
 

Public Member Functions

  SignaturePermissions (PdfDictionary sigDict, SignaturePermissions previous)
  Creates an object that can inform you about the type of signature in a signature dictionary as well as some of the permissions defined by the signature. More...
 
virtual bool  IsCertification ()
  Getter to find out if the signature is a certification signature. More...
 
virtual bool  IsFillInAllowed ()
  Getter to find out if filling out fields is allowed after signing. More...
 
virtual bool  IsAnnotationsAllowed ()
  Getter to find out if adding annotations is allowed after signing. More...
 
virtual IList< SignaturePermissions.FieldLock GetFieldLocks ()
  Getter for the field lock actions, and fields that are impacted by the action More...
 

Detailed Description

A helper class that tells you more about the type of signature (certification or approval) and the signature's DMP settings.

Constructor & Destructor Documentation

◆ SignaturePermissions()

iText.Signatures.SignaturePermissions.SignaturePermissions ( PdfDictionary  sigDict,
SignaturePermissions  previous 
)
inline

Creates an object that can inform you about the type of signature in a signature dictionary as well as some of the permissions defined by the signature.

Parameters
sigDict the signature dictionary
previous the signature permissions

Member Function Documentation

◆ GetFieldLocks()

virtual IList<SignaturePermissions.FieldLock> iText.Signatures.SignaturePermissions.GetFieldLocks ( )
inlinevirtual

Getter for the field lock actions, and fields that are impacted by the action

Returns
an Array with field names

◆ IsAnnotationsAllowed()

virtual bool iText.Signatures.SignaturePermissions.IsAnnotationsAllowed ( )
inlinevirtual

Getter to find out if adding annotations is allowed after signing.

Returns
true if adding annotations is allowed

◆ IsCertification()

virtual bool iText.Signatures.SignaturePermissions.IsCertification ( )
inlinevirtual

Getter to find out if the signature is a certification signature.

Returns
true if the signature is a certification signature, false for an approval signature.

◆ IsFillInAllowed()

virtual bool iText.Signatures.SignaturePermissions.IsFillInAllowed ( )
inlinevirtual

Getter to find out if filling out fields is allowed after signing.

Returns
true if filling out fields is allowed