TX Text Control .NET for WPF

DigitalSignature Class

Class|Introduced in 17.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

An instance of the DigitalSignature class represents an X.509 certificate which can be used to digitally sign a PDF or PDF/A document. The DigitalSignature class is used with the SaveSettings.DigitalSignature property.

Syntax

public class DigitalSignature

Examples

The following example creates a PDF signature from an X.509 certificate supplied by secure certificate-loading code.

DigitalSignature digitalSignature = new(certificate, null);
SaveSettings saveSettings = new() { DigitalSignature = digitalSignature };
textControl.Save("signed-report.pdf", StreamType.AdobePDF, saveSettings);

Members

Constructors

ConstructorDescription
DigitalSignatureInitializes a new instance of the DigitalSignature class.

Further Reading

  • Digitally Sign Adobe PDF Documents Using Simple Digital IDs –