Skip to main content

atproto_verifying_key_from_did_document

Function atproto_verifying_key_from_did_document 

Source
pub fn atproto_verifying_key_from_did_document(
    doc: &Value,
    expected_did: &str,
) -> Result<VerifyingKey>
Expand description

Resolve the active #atproto P-256 verifying key for expected_did.

This compatibility helper intentionally ignores bounded overlap slots. Use PublishedAtprotoKeys::from_did_document for commit verification.