THPDFCertificateValidationInfo Record

Collects the certificate path verdict with revocation, trust, policy, and algorithm diagnostics for one signer

Declaration

THPDFCertificateValidationInfo= record
  Status: THPDFCertificateValidationStatus;
  RevocationStatus: THPDFRevocationStatus;
  RevocationSource: THPDFValidationEvidenceSource;
  ChainLength: Integer;
  EvaluationTime: TDateTime;
  TrustAnchorSubjectDN: AnsiString;
  RevokedAt: TDateTime;
  EvidenceThisUpdate: TDateTime;
  EvidenceNextUpdate: TDateTime;
  EvidenceProducedAt: TDateTime;
  OCSPNoncePresent: boolean;
  OCSPNonceMatched: boolean;
  OCSPExtendedRevoke: boolean;
  UsedDelegatedOCSPResponder: boolean;
  UsedDeltaCRL: boolean;
  UsedIndirectCRLSigner: boolean;
  HasBaseCRLNumber: boolean;
  HasDeltaCRLNumber: boolean;
  BaseCRLNumber: Int64;
  DeltaCRLNumber: Int64;
  DeltaCRLSource: THPDFValidationEvidenceSource;
  EffectiveCertificatePolicies: THPDFOIDArray;
  CertificatePolicyMappingApplied: boolean;
  TrustPurpose: THPDFCertificateTrustPurpose;
  TrustPurposeOID: AnsiString;
  WeakestRSAKeyBits: Integer;
  WeakestECDSACurveBits: Integer;
  UsedSHA1CertificateSignature: boolean;
  AlgorithmConstraintIssue: AnsiString;
  Issue: AnsiString;
end;

Unit

HPDFSignVerify

Fields

FieldPurpose
StatusOverall THPDFCertificateValidationStatus verdict for the path evaluation
RevocationStatusRevocation verdict for the evaluated certificate
RevocationSourceWhich evidence source supplied the revocation verdict
ChainLengthNumber of certificates in the validated path
EvaluationTimeTime the validity and revocation checks were evaluated against
TrustAnchorSubjectDNSubject DN of the trust anchor that closed the path
RevokedAtRevocation time reported by the evidence
EvidenceThisUpdateThis-update time taken from the consumed CRL or OCSP response
EvidenceNextUpdateNext-update time taken from the consumed CRL or OCSP response
EvidenceProducedAtProduced-at time of the consumed OCSP response
OCSPNoncePresentTrue when the OCSP response carried a nonce
OCSPNonceMatchedTrue when the response nonce matched the expected request nonce
OCSPExtendedRevokeTrue when the OCSP response used the extended revoked definition
UsedDelegatedOCSPResponderTrue when the response came from a delegated OCSP responder
UsedDeltaCRLTrue when a delta CRL contributed to the revocation verdict
UsedIndirectCRLSignerTrue when the CRL was signed by an indirect CRL signer
HasBaseCRLNumber / BaseCRLNumberPresence and value of the consumed base CRL's CRL number
HasDeltaCRLNumber / DeltaCRLNumberPresence and value of the consumed delta CRL's CRL number
DeltaCRLSourceEvidence source that supplied the delta CRL
EffectiveCertificatePoliciesCertificate policy OIDs in force after policy mapping and qualifier processing
CertificatePolicyMappingAppliedTrue when a certificate policy mapping was applied while walking the path
TrustPurpose / TrustPurposeOIDConfigured trust purpose and its OID form
WeakestRSAKeyBitsSmallest RSA key size encountered in the path
WeakestECDSACurveBitsSmallest ECDSA curve size encountered in the path
UsedSHA1CertificateSignatureTrue when any certificate in the path was signed with SHA-1
AlgorithmConstraintIssueDescription of the algorithm policy violation, empty when none
IssueFree-text diagnostic for the failure, empty for a trusted path

Usage notes

Related APIs