GetPointerSigningCertificateDER

security and signatures

Requires the Enterprise edition — declared in the Enterprise unit PDFlibEUTSL, which other editions do not include

Description

Returns one of the DER-encoded certificates a LOTL pointer permits to sign its national trusted list. These certificates are the acceptance set for LoadTSLFromString, LoadTSLFromFile and LoadTSLFromURL; the certificate count is available through GetPointerInfo.

Syntax

Delphi

Function TPDFlibEUTSLTrustSource.GetPointerSigningCertificateDER(PointerIndex, CertificateIndex: Integer; Out CertificateDER: AnsiString): Boolean;

Parameters

PointerIndexZero-based LOTL pointer index
CertificateIndexZero-based index into the signing certificates of that pointer
CertificateDERReceives the DER encoding; set to empty before the range checks

Return values

TrueCertificateDER holds the requested certificate
FalseEither index is out of range and CertificateDER is empty

See also

TPDFlibEUTSLTrustSource, TPDFlibSignatureVerifier