 | CustomTrustListAddArchive Method |
Add certificates from a PFX (PKCS#12) archive
Add certificates to the trust list.
Namespace: PdfTools.SignatureValidationAssembly: PdfTools (in PdfTools.dll) Version: 1.10.0+8a8a96de3867b60fd3fc0089ea1028db6add63f1
Syntaxpublic void AddArchive(
Stream stream,
string password = null
)
Parameters
- stream Stream
-
The certificates in PKCS#12 format (.p12, .pfx)
- password String (Optional)
-
The password required to decrypt the archive.
Exceptions| Exception | Condition |
|---|
| CorruptException | The PFX (PKCS#12) archive is corrupt and cannot be read. |
| PasswordException | The password is invalid. |
| ArgumentNullException | if stream is . |
See Also