TPDFlibSignatureTrustStatus

Data types, security and signatures

Description

TPDFlibSignatureTrustStatus classifies the signer chain after TPDFlibSignatureChainReport has evaluated trust anchors, validity periods, revocation evidence and key usage.

A chain that cannot be checked completely is reported as unknown or revocation-unknown rather than silently passing.

Syntax

Delphi

TPDFlibSignatureTrustStatus = (stsUnknown, stsTrusted, stsInvalid, stsUntrusted,
  stsExpired, stsRevoked, stsRevocationUnknown, stsInvalidUsage);

Values

stsUnknownTrust was not evaluated
stsTrustedThe chain terminates in a configured anchor and every certificate is valid for the requested time and purpose
stsInvalidA structural or cryptographic chain error prevents a trust decision
stsUntrustedThe chain does not reach a configured trust anchor
stsExpiredA certificate in the chain is outside its validity period at the verification time
stsRevokedRevocation evidence marks a chain certificate as revoked
stsRevocationUnknownRevocation could not be determined within the requested mode and evidence
stsInvalidUsageThe certificate purpose or key usage does not permit the signature role

See also

TPDFlibSignatureChainReport, TPDFlibSignatureRevocationMode, TPDFlibSignatureVerifier