Click or drag to resize

PdfSignatureLockedFieldCollection Class

Represents a set of form fields whose change invalidate the signature.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.PdfPdfCollection
      SautinSoft.PdfPdfCollectionString
        SautinSoft.Pdf.FormsPdfSignatureLockedFieldCollection

Namespace: SautinSoft.Pdf.Forms
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public sealed class PdfSignatureLockedFieldCollection : PdfCollection<string>, 
	IList, ICollection, IEnumerable, IList<string>, 
	ICollection<string>, IEnumerable<string>

The PdfSignatureLockedFieldCollection type exposes the following members.

Properties
 NameDescription
Public propertyAll Gets or sets a value indicating whether the change of any form field in the document invalidate the signature.
Public propertyCount Gets the number of elements contained in the PdfCollection.
(Inherited from PdfCollection)
Public propertyExcluded Gets or sets a value indicating whether the change of any form field NOT contained in this PdfSignatureLockedFieldCollection invalidate the signature.
Public propertyItem Gets or sets the element at the specified index.
(Inherited from PdfCollectionT)
Public propertyMetadata(Optional; PDF 1.4) A metadata stream containing metadata for the component.
(Inherited from PdfObject)
Public propertyPermission

(Optional; PDF 2.0) The access permissions granted for this document. Valid values shall be:

  • None - No changes to the document are permitted; any change to the document shall invalidate the signature.
  • FillForm - Permitted changes shall be filling in forms, instantiating page templates, and signing; other changes shall invalidate the signature.
  • CommentAndFillForm - Permitted changes are the same as for FillForm, as well as annotation creation, deletion, and modification; other changes shall invalidate the signature.

The default value, , shall result in no effect on signature validation rules.

If the Permission is already in effect from an earlier incremental save section or the original part of the document (via AuthorPermission), the value shall specify permission less than or equal to the permission already in effect based on signatures earlier in the document. That is, permission can be denied but not added. If the value specifies greater permission than a value already in effect, the new value is ignored.

If the document does not have an author signature (AuthorPermission is ), the initial permission in effect is those based on the CommentAndFillForm.

The new permission applies to any incremental changes to the document following the signature of which this PdfSignatureLockedFieldCollection is part.

Top
Methods
 NameDescription
Public methodAdd(T) Adds an element to the end of the PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodAdd(PdfField) Adds a Name of the PdfField to the end of the PdfSignatureLockedFieldCollection.
Public methodClear Removes all elements from the PdfCollection.
(Inherited from PdfCollection)
Public methodContains Determines whether an element is in the PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodCopyTo Copies the entire PdfCollectionT to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from PdfCollectionT)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetEnumerator Returns an enumerator that iterates through the PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf Searches for the specified element and returns the zero-based index of the first occurrence within the entire PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodInsert Inserts an element into the PdfCollectionT at the specified index.
(Inherited from PdfCollectionT)
Public methodRemove Removes the first occurrence of a specific element from the PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodRemoveAt Removes the element at the specified index of the PdfCollection.
(Inherited from PdfCollection)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions)
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddArray Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also