Click or drag to resize

PdfSignature Class

A class that represents a PDF signing certificate (.PFX or .p12) format which can be used to digitally sign a PDF. This protecting it from alteration.

Not implemented in .Net Core

Inheritance Hierarchy
SystemObject
  IronPdfPdfSignature

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 5.1.1.20965 (5.1.1.2)
Syntax
public class PdfSignature

The PdfSignature type exposes the following members.

Constructors
  NameDescription
Public methodPdfSignature(X509Certificate2)
Initializes a new instance of the PdfSignature class.
Public methodPdfSignature(Byte, String)
Initializes a new instance of the PdfSignature class.
Public methodPdfSignature(String, String)
Initializes a new instance of the PdfSignature class using a .pfx or .p12 digital signature file.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoadSignatureImageFromFile
Loads a signature image from an image file. This appends a visual signature in addition to cryptographic signing.
Public methodLoadSignatureImageFromStream
Loads a signature image from a stream. This appends visual signature in addition to cryptographic signing.
Public methodSignPdfFile
Signs an existing PDF file.
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldSignatureDate
The date and time of the digital signature. If left null, the signature will be timestamped at the millisecond that the PdfDocument is saved to Disk or Stream.
Public fieldSignatureImage
A visual image for the sign, often a PNG of a human signature or company stamp (optional).

This appends a visual signature in addition to cryptographic signing.

Public fieldSigningContact
The contact person or email address for signing related inquiries (optional).
Public fieldSigningLocation
The physical location the PDF was signed (optional).
Public fieldSigningReason
The reason the PDF was signed (optional).
Top
See Also