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
| stsUnknown | Trust was not evaluated |
|---|---|
| stsTrusted | The chain terminates in a configured anchor and every certificate is valid for the requested time and purpose |
| stsInvalid | A structural or cryptographic chain error prevents a trust decision |
| stsUntrusted | The chain does not reach a configured trust anchor |
| stsExpired | A certificate in the chain is outside its validity period at the verification time |
| stsRevoked | Revocation evidence marks a chain certificate as revoked |
| stsRevocationUnknown | Revocation could not be determined within the requested mode and evidence |
| stsInvalidUsage | The certificate purpose or key usage does not permit the signature role |
See also
TPDFlibSignatureChainReport, TPDFlibSignatureRevocationMode, TPDFlibSignatureVerifier