Click or drag to resize

PdfDigitalId(Object) Constructor

Initializes a new instance of the PdfDigitalId class from the specified source.

The digital ID source is either an instance of a X509Certificate2 with a private key or an instance of a CspParameters.


Namespace: SautinSoft.Pdf.Security
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntax
public PdfDigitalId(
	Object source
)

Parameters

source  Object
The digital ID source that is either an instance of a X509Certificate2 with a private key or an instance of a CspParameters.
Exceptions
ExceptionCondition
ArgumentExceptionThe source parameter is not an instance of a X509Certificate2 or a CspParameters.
InvalidOperationExceptionDigital ID doesn't have a private key.
See Also