 | CustomTrustListAddCertificates Method |
Add one or more certificates
Add certificates to the trust list.
Namespace: PdfTools.SignatureValidationAssembly: PdfTools (in PdfTools.dll) Version: 1.10.0+8a8a96de3867b60fd3fc0089ea1028db6add63f1
Syntaxpublic void AddCertificates(
Stream certificate
)
Parameters
- certificate Stream
-
The sequence of certificates in either PEM (.pem, ASCII text) or DER (.cer, binary) form
Exceptions| Exception | Condition |
|---|
| CorruptException | If the certificate is corrupt and cannot be read |
| ArgumentNullException | if certificate is . |
See Also