 | CustomTrustListAddCertificates Method |
Add one or more certificates
Add certificates to the trust list.
Namespace: PdfTools.SignatureValidationAssembly: PdfTools (in PdfTools.dll) Version: 1.22.0+83ab3912adabdb2fb716a8a3fade804a5df95c7d
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