Class DigitalId
Identifies the signing party via a PFX/PKCS#12 certificate with a private key.
Inherited Members
Namespace: DRIT.Pdf.Security
Assembly: DRIT.Pdf.dll
Syntax
public sealed class DigitalId
Constructors
DigitalId(byte[], string)
Creates from in-memory PFX bytes.
Declaration
public DigitalId(byte[] pfxBytes, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | pfxBytes | |
| string | password |
DigitalId(X509Certificate2)
Creates from an existing in-memory certificate (must include private key).
Declaration
public DigitalId(X509Certificate2 certificate)
Parameters
| Type | Name | Description |
|---|---|---|
| X509Certificate2 | certificate |
DigitalId(string, string)
Creates by loading a PFX file from disk.
Declaration
public DigitalId(string pfxPath, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| string | pfxPath | |
| string | password |
Properties
Certificate
Certificate metadata for this identity.
Declaration
public Certificate Certificate { get; }
Property Value
| Type | Description |
|---|---|
| Certificate |