DigitalSignature Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
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 DigitalSignaturePublic Class DigitalSignatureExamples
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);Dim digitalSignature As New DigitalSignature(certificate, Nothing)
Dim saveSettings As New SaveSettings() With { .DigitalSignature = digitalSignature }
textControl.Save("signed-report.pdf", StreamType.AdobePDF, saveSettings)Members
Constructors
| Constructor | Description |
|---|---|
| DigitalSignature | Initializes a new instance of the DigitalSignature class. |