Click or drag to resize

PdfSignatureLock Class

Specifies what changes, made to the document after the signature was applied, invalidate the signature.

The AuthorPermission is specified by a certification signature (also known as an author signature) (PDF 1.5) which shall be the value of the first signed field in the document. It enables the author to specify what changes made to the document invalidate the author's signature.

The LockedFields is specified by either a certification signature or a regular, approval signature (also known as a recipient signature). It enables the signer to specify a set of form fields whose change invalidate the signature.

Other set of changes, such as those that invalidate a usage rights signature or an FDF file signature (the Identity transform method), are currently not exposed because they are deprecated.

Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.Pdf.FormsPdfSignatureLock

Namespace: SautinSoft.Pdf.Forms
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public sealed class PdfSignatureLock : PdfObject

The PdfSignatureLock type exposes the following members.

Properties
 NameDescription
Public propertyAuthorPermission

Gets the permission, specified by a certification signature (also known as an author signature) (PDF 1.5), with which the author specifies what changes made to the document invalidate the author's signature.

If the value is , then the signature does not specify a DocMDP transform method in this PdfSignatureLock, but some other.

To set the AuthorPermission, sign the PdfSignatureField with a PdfSigner whose AuthorPermission is not .

Public propertyLockedFields

Gets the set of form fields, specified by either a certification signature or a regular, approval signature (also known as a recipient signature), whose change invalidate the signature.

If the value is , then the signature does not specify a FieldMDP transform method in this PdfSignatureLock, but some other.

To set the LockedFields, use any SetLockedFields method before signing on a PdfSignatureField that holds the signature.

Public propertyMetadata(Optional; PDF 1.4) A metadata stream containing metadata for the component.
(Inherited from PdfObject)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
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 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 MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also