Skip to main content

verify_anchor_material

Function verify_anchor_material 

Source
pub async fn verify_anchor_material(
    anchors: &DidAnchors,
    document: &Value,
    capsule_source: Arc<dyn CapsuleSource>,
) -> Result<VerifiedAnchorMaterial>
Expand description

Verify an anchor capsule against its did:web document through the production resolution path, without needing the registry credential or authority log the live bootstrap also fetches.

Minting ceremonies call this on their own output: material this rejects is material a node would refuse at boot.