Skip to main content

Module hosted_did_document

Module hosted_did_document 

Source
Expand description

Canonical DID-document artifact for a hyprstream-hosted account.

The account document is an immutable input to genesis, not a response assembled by an HTTP handler. HostedAccountMint builds it from the mint’s own account DID and generated ES256 key, then SealedHostedDidDocument::cid is signed into the genesis DidOp. Serving code must return SealedHostedDidDocument::as_bytes byte-for-byte.

Structs§

SealedHostedDidDocument
A validated, byte-stable hosted-account DID document and its raw CID.

Constants§

DID_DOCUMENT_MEDIA_TYPE
Media type for the canonical account DID-document bytes.
DID_DOCUMENT_PATH
Relative path at which B3 serves the canonical document.
DID_OPERATION_LOG_PATH
Relative path at which B3 serves the account’s operation log.