EvaluateChainAt
security and signatures
Requires the Enterprise edition — declared in the Enterprise unit PDFlibEUTSL, which other editions do not include
Description
Classifies a certificate chain against the loaded trusted lists at one explicit point in time. The method looks for a qualified certification-authority service trusted at TimeValue whose recorded certificates include one of the chain certificates above the leaf, then derives the result from the leaf qualified-certificate statements and the qualifiers the service captured, honoring any qualification criteria the list attaches to them.
The report carries the service territory, name, type, status and status starting time, the applied qualifier, the certificate purpose, and the qualified and qualified-creation-device status. This is the direct query form; EvaluateCertificateChain is the override the verifier drives and adds the issuance-time cross-check.
Syntax
Delphi
Function TPDFlibEUTSLTrustSource.EvaluateChainAt(Const Certificates: TStructStrArray; TimeValue: TDateTime; Out Report: TPDFlibSignatureQualificationReport): Boolean;Parameters
| Certificates | DER-encoded chain with the leaf first |
|---|---|
| TimeValue | Point in time the service states and qualifiers are selected for |
| Report | Receives the classification; its status is set to not applicable when nothing matched |
Return values
| True | A matching qualified CA service classified the chain at the requested time |
|---|---|
| False | The chain is empty, the lists are expired under the fail-closed rule, or no service matches; the report status is not applicable in the latter cases |
Remarks
Certificate purpose comes from the leaf QC statements when present and otherwise from the service additional information, so a certificate without type statements is still classified when its service declares the purpose.
See also
TPDFlibEUTSLTrustSource, TPDFlibSignatureVerifier, TPDFlibSignatureVerifierResult