Expand description
Conversion between NDN Certificates and DidDocuments.
An NDN certificate is structurally equivalent to a DID Document: the namespace IS the identifier, and the certificate’s public key is the verification method. This module makes that equivalence explicit and provides a builder for zone-based DID Documents.
Functions§
- build_
zone_ did_ document - Build a W3C DID Document for a self-certifying [
ZoneKey]. - build_
zone_ succession_ document - Build a deactivated zone DID Document expressing zone succession.
- cert_
to_ did_ document - Convert an NDN certificate to a W3C
DidDocument. - did_
document_ to_ trust_ anchor - Attempt to reconstruct a trust anchor
Certificatefrom aDidDocument.