Expand description
Reading the server’s own did:web document: the parse, the id check,
and the signing key it publishes.
The fetch itself belongs to whoever has a network — didbot-claim over
HTTP, a page over fetch. Everything a caller does with the body it got
back is here, so both read the document the same way and refuse the same
documents.
Enums§
- Signing
KeyError - Why the server’s document does not yield a usable signing key.
Functions§
- did_
json_ url - The URL
hostname’sdid:webdocument is served at. - did_of 🔒
- The
did:weba hostname spells; see [didbot_identity::did::did_web_for_host]. - parse_
did_ document - Parses
bodyasdid’s document, checking itsidagainst what was asked for. - parse_
document - Parses
bodyashostname’s DID document, checking itsidagainst what was asked for. - signing_
key - The document’s
#atprotosigning key, checked to be a public key atproto actually verifies commits with. - usable 🔒
multibase, once it is known to be a public key on a curve atproto verifies with.