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

StatusClassification result: not evaluated, not applicable, not qualified, qualified certificate, qualified electronic signature or qualified electronic seal, with the QSCD variants
CertificateTypeCertified purpose: electronic signature, electronic seal, web authentication or unknown
QualifiedTrue when the service grants qualified status at both the validation time and the certificate issuance time
QualifiedCreationDeviceTrue when the certificate is qualified and the QSCD or SSCD claim holds at both times
TerritoryScheme territory of the trusted service that matched
ServiceNameService name in the trusted-list state used for the evaluation
ServiceTypeIdentifierETSI service type URI of that state; qualification requires the CA/QC service type
ServiceStatusStatus URI of that state
StatusStartingTimeTime at which the state status started
AppliedQualifierSemicolon-separated trusted-list qualifier URIs that applied during the evaluation
IssuanceTimeLeaf certificate notBefore, 0 when it could not be read or is not earlier than the validation time
IssuanceStatusThe 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