Skip to main content

resolve_and_authenticate_did_anchors

Function resolve_and_authenticate_did_anchors 

Source
pub async fn resolve_and_authenticate_did_anchors(
    anchors: &DidAnchors,
) -> Result<(RegistryDeploymentVerifier, TransportConfig)>
Expand description

Resolve the configured DID anchors and authenticate the fetched registry deployment credential against the DID-derived deployment CA. This is the full DID-anchored trust decision — GATE (canon → hash → sig), mutual alsoKnownAs attestation, credential fetch, and the exact credential profile (CA-bound kid/iss/domain, one-hour freshness) — WITHOUT the process-global one-shot seal and resolver install performed by bootstrap_deployment_process. Exposed so integration tests can exercise the trust decision (and its failure modes) more than once per process. Any failure is terminal for the caller; nothing here retries or downgrades.