Crate sn_api[−][src]
Modules
Structs
It represents the authentication response.
Represents an authorisation request.
Represents a Url
Version Hash corresponding to the entry hash where the content is stored
A 256-bit number, viewed as a point in XOR space.
Enums
Address of Bytes data type.
We encode the content type that a XOR-URL is targetting, this allows the consumer/user to treat the content in particular ways when the content requires it.
An address of data on the network
We also encode the native SAFE data type where the content is being stored on the SAFE Network, this allows us to fetch the targetted data using the corresponding API, regardless of the data that is being held which is identified by the ContentType instead.
Error type returned by the API
Error type returned by the API
Authd Ipc errors.
IPC message.
IPC request.
IPC response.
Wrapper for different keypair types.
Wrapper for different public key types.
Address of a Register, different from a ChunkAddress in that it also includes a tag.
Address of a SafeKey.
We also encode the data scope - i.e. accessibility on the SAFE Network.
Wrapper for different secret key types.
An enumeration of possible Url types.
Supported base encoding for XOR URLs
Constants
Default base encoding used for XOR URLs
Type tag to use for the NrsMapContainer stored on Register
Constant byte length of XorName
.
Functions
Perform all derivations and seeding to deterministically obtain location and Keypair from input
Derive Passphrase, Password and Salt (in order).
Generates User’s Identity for the network using supplied credentials in a deterministic way. This is similar to the username in various places.
Type Definitions
The Node configuration for the network we are participating in.
Custom Result type for url crate.
The XOR-URL type