Pdf |
Initializes a new instance of the PdfDigitalId class from a file with the specified file name and the password protecting the private key.
The most common format for such files is a PKCS#12 file, which uses .pfx or .p12 file extension and is a password protected storage container for digital IDs containing the public key (Certificate) and the associated private key.
| Exception | Condition |
|---|---|
| ArgumentNullException | fileName is . |
| InvalidOperationException | Digital ID doesn't have a private key. |