Module noosphere_core::data

source ·

Modules

This module contains a Map with Reset-Remove and Observed-Remove semantics.

Structs

An AddressIpld represents an entry in a user’s pet name address book. It is intended to be associated with a human readable name, and enables the user to resolve the name to a DID. Eventually the DID will be resolved by some mechanism to a UCAN, so this struct also records the last resolved value if one has ever been resolved.
A body chunk is a simplified flexible byte layout used for linking chunks of bytes. This is necessary to support cases when body contents byte size exceeds the IPFS block size (~1MB). This may be replaced with a more sophisticated layout structure in the future.
This delegation represents the sharing of access to resources within a sphere. The name of the delegation is for display purposes only, and helps the user identify the client device or application that the delegation is intended for.
A DID, aka a Decentralized Identifier, is a string that can be parsed and resolved into a so-called DID Document, usually in order to obtain PKI details related to a particular user or process.
A JWT, aka a JSON Web Token, is a specialized string-encoding of a particular format of JSON and an associated signature, commonly used for authorization flows on the web, but notably also used by the UCAN spec.
A basic Memo. A Memo is a history-retaining structure that pairs inline headers with a body CID.
A BIP39-compatible mnemonic phrase that represents the data needed to recover the private half of a cryptographic key pair.
Orswot is an add-biased or-set without tombstones ported from the riak_dt CRDT library.
See https://github.com/ucan-wg/spec#66-revocation TODO(ucan-wg/spec#112): Verify the form of this
The root of the sphere, containing pointers to public details such as names and links, as well as “sealed” (private) data. While public details are accessible to all, sealed data is encrypted at rest and only accessible to the user who owns the sphere.

Enums

Constants

Traits

Type Definitions

The key is the CID of a UCAN JWT, and the value is the JWT itself
The key is the CID of the original UCAN JWT, and the value is the revocation order by the UCAN issuer