TPDFlibSignatureQualificationReport
Data types, security and signatures
Description
TPDFlibSignatureQualificationReport classifies a validated signer chain under eIDAS. A trust source fills it; TPDFlibEUTSLTrustSource derives it from signed EU LOTL and national trusted lists.
The report is stored in TPDFlibSignatureChainReport.QualificationReport and leaves every field at its default when no source is attached or the chain did not validate.
Syntax
Delphi
TPDFlibSignatureQualificationReport = Record
Status: TPDFlibSignatureQualificationStatus;
CertificateType: TPDFlibQualifiedCertificateType;
Qualified: Boolean;
QualifiedCreationDevice: Boolean;
Territory: AnsiString;
ServiceName: WideString;
ServiceTypeIdentifier: AnsiString;
ServiceStatus: AnsiString;
StatusStartingTime: TDateTime;
AppliedQualifier: AnsiString;
IssuanceTime: TDateTime;
IssuanceStatus: TPDFlibSignatureQualificationStatus;
End;Fields
| Status | Classification result: not evaluated, not applicable, not qualified, qualified certificate, qualified electronic signature or qualified electronic seal, with the QSCD variants |
|---|---|
| CertificateType | Certified purpose: electronic signature, electronic seal, web authentication or unknown |
| Qualified | True when the service grants qualified status at both the validation time and the certificate issuance time |
| QualifiedCreationDevice | True when the certificate is qualified and the QSCD or SSCD claim holds at both times |
| Territory | Scheme territory of the trusted service that matched |
| ServiceName | Service name in the trusted-list state used for the evaluation |
| ServiceTypeIdentifier | ETSI service type URI of that state; qualification requires the CA/QC service type |
| ServiceStatus | Status URI of that state |
| StatusStartingTime | Time at which the state status started |
| AppliedQualifier | Semicolon-separated trusted-list qualifier URIs that applied during the evaluation |
| IssuanceTime | Leaf certificate notBefore, 0 when it could not be read or is not earlier than the validation time |
| IssuanceStatus | The same classification evaluated at IssuanceTime |
Remarks
Qualification holds only when the service granted it when the certificate was issued and at the validation time (ETSI TS 119 615 4.4); when the two results differ, the weaker one is reported.
A certificate issued before the service was granted, or while it was suspended, is reported as not qualified even when the service qualifies it at validation time.
Only services of type CA/QC whose state is trusted and that list an issuer certificate of the chain are considered.
When the leaf notBefore cannot be read or is not earlier than the validation time, the result is sqsNotQualified and the source reports failure.
See also
TPDFlibEUTSLTrustSource, TPDFlibSignatureVerifier, VerifySignerCertificateChainEx, GetServiceInfo