• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class DigitalId

Identifies the signing party via a PFX/PKCS#12 certificate with a private key.

Inheritance
object
DigitalId
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX