THPDFCertificateValidationStatus Type

Reports the outcome of building and validating a signer certificate path

Declaration

THPDFCertificateValidationStatus= (
  cvsNotValidated,
  cvsTrusted,
  cvsSignatureInvalid,
  cvsNoTrustAnchor,
  cvsPathBuildingFailed,
  cvsPathValidationFailed,
  cvsRevoked,
  cvsRevocationUnknown,
  cvsMalformedEvidence,
  cvsUnsupportedAlgorithm,
  cvsAlgorithmRejected
  );

Unit

HPDFSignVerify

Values

ValuePurpose
cvsNotValidatedCertificate path validation was not requested or did not run; the default report state
cvsTrustedThe path closed on a configured trust anchor and every check passed
cvsSignatureInvalidA certificate or evidence signature failed cryptographically
cvsNoTrustAnchorNo configured trust anchor matched the top of the built path
cvsPathBuildingFailedThe chain could not be closed with the supplied certificate pool, even after AIA fetching when enabled
cvsPathValidationFailedThe path was built but failed checks such as basic constraints, key usage, or validity periods
cvsRevokedRevocation evidence marks a certificate in the path as revoked
cvsRevocationUnknownThe revocation state could not be determined from the available evidence
cvsMalformedEvidenceSupplied OCSP or CRL evidence could not be parsed, so it proves nothing either way
cvsUnsupportedAlgorithmAn algorithm in the path is not implemented by the library
cvsAlgorithmRejectedAn algorithm in the path is implemented but rejected by the configured algorithm policy

Usage notes

Related APIs