Expand description
Hierarchical path validation with scope enforcement.
Validates a certificate chain from leaf to trusted root. Enforces:
- Time validity at each link
- Signature validity (when verifier is provided)
- Basic constraints (path length, CA flag)
- Confium-specific scope constraints (delegation rules)
Structs§
- Cert
Path - A certificate path: leaf + intermediates + root.
Functions§
- validate_
path - Validate the structural and time-bounds aspects of a path. Does NOT
verify signatures — that requires algorithm-specific verifiers and
is done in
verify_path_signatures. - verify_
path_ signatures - Hook for signature verification — caller provides a verifier function. The verifier receives (parent_pubkey, signed_cert_der) and returns Ok(()) if the signature is valid.