pub fn validate_delegation_ucan(
ucan: &Ucan,
deployment_domain: &str,
delegated_public_key_b64: &str,
active_keys: &[HybridRotationKey],
now: u64,
) -> Result<ValidatedDelegation>Expand description
Validate one root-authorized delegation UCAN (hyprstream#1562): a single authority-to-signer link (no proofs), signed by an active authority, addressed to the delegated signer, carrying exactly the registry-mint or the registry + service-key-enrollment capability set, and expiring.
Public so the ceremony/mint CLI self-checks freshly minted delegations with the same code the production verifier applies (hyprstream#1562 H3).