Expand description
High-level body / publish-request verification — RFC-ACDP-0001 §5.11 (7-step algorithm).
This layer sits above validation, types, crypto, and did: it
recomputes the content_hash, runs structural validation, resolves
the producer DID, and verifies the signature envelope. The byte-level
primitives (acdp_crypto::verify_ed25519 /
acdp_crypto::verify_ecdsa_p256) live in crypto.
Functions§
- verify_
body_ offline - Full offline body verification for
did:keyproducers — works with--no-default-features(no HTTP stack, no resolver, no async). - verify_
did_ key_ envelope - Verify a signature envelope whose key is a
did:key— a pure function available without theclientfeature (no resolver, no network, no async). - verify_
publish_ request_ signature_ offline - Offline counterpart of [
verify_publish_request_signature] fordid:keyproducers — used by registries (and the bindings) to verify a publish request without theclientfeature. Assumes structural validation andcontent_hashrecomputation have already run (e.g. viaPublishValidator::validate_post_schema).