Click or drag to resize
Pdftools logo

CustomTrustListAddCertificates Method

Add one or more certificates

Add certificates to the trust list.

Namespace: PdfTools.SignatureValidation
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public void AddCertificates(
	Stream certificate
)

Parameters

certificate  Stream
The sequence of certificates in either PEM (.pem, ASCII text) or DER (.cer, binary) form
Exceptions
ExceptionCondition
CorruptExceptionIf the certificate is corrupt and cannot be read
ArgumentNullExceptionif certificate is .
See Also