VerificationOptionsaddTrustedCertificates Method |
Bulk trust list loading API from P7C.Attempts to decode the input data as binary DERand trust multiple trusted
root certificates from it.Compatible with Acrobat's .P7C format, which is a variation on PKCS #7/CMS that only
contains certificates(i.e.no CRLs, no signature, etc.).If a certificate cannot be decoded, this is ignored
and an attempt is made to decode the next certificate.This overload takes no account of trust - level flags
because none are available in the P7C format.Therefore, when this function is used, all certificates in the
P7C file will be loaded as if trusted for everything, which may lead to false positives when compared to other PDF software.
(Most applications use the FDF Cert Exchange format.) The FDF - trust - list - loading function "LoadTrustList" should be
used instead whenever possible.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void addTrustedCertificates(
byte[] in_P7C_binary_DER_certificates_file_data
)
Public Sub addTrustedCertificates (
in_P7C_binary_DER_certificates_file_data As Byte()
)
public:
virtual void addTrustedCertificates(
[InAttribute] array<unsigned char>^ in_P7C_binary_DER_certificates_file_data
) sealed
function addTrustedCertificates(in_P7C_binary_DER_certificates_file_data);
Parameters
- in_P7C_binary_DER_certificates_file_data
- Type: SystemByte
the P7C-format bulk certificate data, encoded in binary DER (Distinguished Encoding Rules)
See Also