GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfSignatureLock Class

    Namespace:
    GemBox.Pdf.Forms
    Assembly:
    GemBox.Pdf.dll

    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.

    • C#
    • VB.NET
    public sealed class PdfSignatureLock : PdfObject
    Public NotInheritable Class PdfSignatureLock
        Inherits PdfObject
    Inheritance:
    System.Object
    PdfObject
    PdfSignatureLock

    Properties

    AuthorPermission

    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 null, 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 null.

    • C#
    • VB.NET
    public PdfUserAccessPermissions? AuthorPermission { get; }
    Public ReadOnly Property AuthorPermission As PdfUserAccessPermissions?
    Property Value
    System.Nullable<PdfUserAccessPermissions>

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

    See Also
    PDF Specification ISO 32000-1:2008, section '12.8.2.2 DocMDP'

    LockedFields

    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 null, 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.

    • C#
    • VB.NET
    public PdfSignatureLockedFieldCollection LockedFields { get; }
    Public ReadOnly Property LockedFields As PdfSignatureLockedFieldCollection
    Property Value
    PdfSignatureLockedFieldCollection

    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.

    See Also
    PDF Specification ISO 32000-1:2008, section '12.8.2.4 FieldMDP'

    Inherited Properties

    Metadata

    (Optional; PDF 1.4) A metadata stream containing metadata for the component.

    (Inherited from PdfObject)

    Extension Methods

    PdfObjectExtensions.GetDictionary(PdfObject)
    PdfObjectExtensions.GetOrAddDictionary(PdfObject)
    PdfObjectExtensions.GetArray(PdfObject)

    See Also

    PDF Specification ISO 32000-1:2008, section '12.8.2 Transform Methods'
    Adobe Acrobat 9 Digital Signatures, Changes and Improvements
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.