Expand description
Data Integrity proof creation and verification.
Implements the eddsa-rdfc-2022 cryptosuite for signing and verifying W3C Verifiable Credentials with Data Integrity proofs.
§Canonicalization
This implementation uses RDFC-1.0 (RDF Dataset Canonicalization) via
the baseid-jsonld crate. The document and proof options are expanded
from JSON-LD into N-Quads and then canonicalized per the W3C RDFC-1.0
specification, producing deterministic output for hashing and signing.
§References
Functions§
- sign_
credential_ di - Sign a Verifiable Credential with a Data Integrity proof (eddsa-rdfc-2022).
- verify_
credential_ di - Verify a Data Integrity proof on a Verifiable Credential.