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
| PointerIndex | Zero-based LOTL pointer index |
|---|---|
| CertificateIndex | Zero-based index into the signing certificates of that pointer |
| CertificateDER | Receives the DER encoding; set to empty before the range checks |
Return values
| True | CertificateDER holds the requested certificate |
|---|---|
| False | Either index is out of range and CertificateDER is empty |