pub struct SecretStoreClient { /* private fields */ }
Expand description

Parity implementation.

Implementations

Creates new SecretStoreClient

Trait Implementations

Generate document key to store in secret store. Arguments: account, password, server_key_public. Read more

Encrypt data with key, received from secret store. Arguments: account, password, key, data. Read more

Decrypt data with key, received from secret store. Arguments: account, password, key, data. Read more

Decrypt data with shadow key, received from secret store. Arguments: account, password, decrypted_secret, common_point, decrypt_shadows, data. Read more

Calculates the hash (keccak256) of servers set for using in ServersSetChange session. Returned hash must be signed later by using secretstore_signRawHash method. Arguments: servers_set. Read more

Generate recoverable ECDSA signature of raw hash. Passed hash is treated as an input to the sign function (no prefixes added, no hash function is applied). Arguments: account, password, raw_hash. Read more

Create an IoDelegate, wiring rpc calls to the trait methods.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.