CandidatePath
CandidatePath
A signature-verified certification path from leaf to root, before constraint validation.
ts
interface CandidatePath {
readonly leaf: ParsedCertificate;
readonly chain: readonly ParsedCertificate[];
readonly root: ParsedCertificate;
readonly anchorCertificateInChain: boolean;
readonly trustAnchor?: TrustAnchor;
}Properties
readonlyleaf:ParsedCertificate— Parsed end-entity certificate.readonlychain:readonlyParsedCertificate[]— Full chain in leaf-to-root order (includes both leaf and root).readonlyroot:ParsedCertificate— Trusted root that terminates the path.readonlyanchorCertificateInChain:boolean—truewhenCandidatePath.rootis a trusted root certificate included inCandidatePath.chain;falsewhen a bare trust anchor verified the terminal certificate, which stays a path certificate.readonlytrustAnchor?:TrustAnchor— Selected bare trust anchor, when the path terminates without a root certificate.