Struct safe_core::Client [] [src]

pub struct Client<T> { /* fields omitted */ }

The main self-authentication client instance that will interface all the request from high level API's to the actual routing layer and manage all interactions with it. This is essentially a non-blocking Client with an asynchronous API using the futures abstraction from the futures-rs crate

Methods

impl<T: 'static> Client<T>
[src]

This is a getter-only Gateway function to the Maidsafe network. It will create an unregistered random client, which can do very limited set of operations - eg., a Network-Get

Calculate sign key from seed

This is one of the Gateway functions to the Maidsafe network, the others being unregistered, registered, and login. This will help create an account given a seed. Everything including both account secrets and all MAID keys will be deterministically derived from the supplied seed, so this seed needs to be strong. For ordinary users, it's recommended to use the normal registered function where the secrets can be what's easy to remember for the user while also being strong.

This is a Gateway function to the Maidsafe network. This will help create a fresh acc for the user in the SAFE-network.

Login using seeded account

This is a Gateway function to the Maidsafe network. This will help login to an already existing account of the user in the SAFE-network.

This is a Gateway function to the Maidsafe network. This will help apps to authorise using an existing pair of keys.

Set request timeout.

Restart the routing client and reconnect to the network.

Get immutable data from the network. If the data exists locally in the cache then it will be immediately be returned without making an actual network request.

Put immutable data onto the network.

Put MutableData onto the network.

Mutates MutableData entries in bulk.

Get entire MutableData from the network.

Get a shell (bare bones) version of MutableData from the network.

Get a current version of MutableData from the network.

Returns a complete list of entries in MutableData.

Returns a list of keys in MutableData stored on the network

Returns a list of keys in MutableData stored on the network

Get a single entry from MutableData

Get data from the network.

Returns a list of permissions in MutableData stored on the network

Returns a list of permissions for a particular User in MutableData

Updates or inserts a permission set for a given user

Deletes a permission set for a given user

Sends an ownership transfer request

Fetches a list of authorised keys and version in MaidManager

Adds a new authorised key to MaidManager

Removes an authorised key from MaidManager

Sets the current status of std/root dirs creation

Returns the current status of std/root dirs creation

Replaces the config root reference in the account packet. Returns false if it wasn't updated. Doesn't actually modify the session packet - you should call update_account_packet afterwards to actually update it on the network.

Get User's Access Container if available in account packet used for current login

Replaces the config root reference in the account packet. Returns false if it wasn't updated. Doesn't actually modify the session packet - you should call update_account_packet afterwards to actually update it on the network.

Get Maidsafe specific configuration's Root Directory ID if available in account packet used for current login

Returns the public encryption key

Returns the Secret encryption key

Returns the public and secret encryption keys.

Returns the Public Signing key

Returns the Secret Signing key

Returns the Symmetric Encryption key

Returns the public and secret signing keys.

Return the owner signing key

Returns the crust::Config associated with the crust::Service (if any).

Updates user's account packet

Trait Implementations

impl<T> Clone for Client<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Debug for Client<T>
[src]

Formats the value using the given formatter.