PdfDigitalSignature Class

This class encapsulates the options used to control the digital signature applied to a PDF document

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public class PdfDigitalSignature
Inheritance
Object    PdfDigitalSignature

Constructors

PdfDigitalSignature(Byte, String) Creates a digital signature object using PFX certificate data
PdfDigitalSignature(String, String) Creates a digital signature object using PFX certificate data read from a file

Properties

Appearance Gets the object that controls the digital signature appearance in the PDF document. You can configure the page where the signature is displayed, the bounds in the PDF page, and the appearance text or image
AppearanceEnabled Gets or sets a value indicating whether the signature appearance is displayed in a PDF page using the configured page number and bounding rectangle
ContactInfo Gets or sets the signer contact information
FieldName Gets or sets the signature field name in the PDF document. By default, it is null and a predefined field name is used
Location Gets or sets the signing location
PfxCertificateData Gets or sets the PFX certificate data provided directly in the constructor or loaded from the file specified in the constructor
PfxCertificatePassword Gets or sets the PFX certificate password provided in the constructor. It can be null if no password is required
Reason Gets or sets the signing reason
TimestampServerPassword Gets or sets the optional password for the timestamp server, used together with TimestampServerUsername
TimestampServerUrl Gets or sets the URL of the timestamp server used when signing the document. Leave empty or null to skip timestamping
TimestampServerUsername Gets or sets the optional username for the timestamp server when it requires HTTP Basic authentication. Most public timestamp servers do not require it
TimestampTokenSizeEstimate Gets or sets the estimated size in bytes reserved in the signature for the timestamp token. The default is 16384 bytes, which works for most timestamp servers

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also