Class PdfDigitalId
Identifies the certificate and private key used for a PDF signature.
Inherited Members
Namespace: DRIT.Document.Export.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfDigitalId
Constructors
PdfDigitalId(byte[], string)
Initializes an identity from PFX bytes.
Declaration
public PdfDigitalId(byte[] pfxBytes, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | pfxBytes | The PFX bytes. |
| string | password | The PFX password. |
PdfDigitalId(X509Certificate2)
Initializes an identity from a certificate with a private key.
Declaration
public PdfDigitalId(X509Certificate2 certificate)
Parameters
| Type | Name | Description |
|---|---|---|
| X509Certificate2 | certificate | The certificate and private key. |
PdfDigitalId(string, string)
Initializes an identity from a PFX file.
Declaration
public PdfDigitalId(string pfxPath, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| string | pfxPath | The PFX file path. |
| string | password | The PFX password. |