pub struct LocalKeystore(_);
Expand description

A local based keystore that is either memory-based or filesystem-based.

Implementations

Create a local keystore from filesystem.

Create a local keystore in memory.

Get a key pair for the given public key.

This function is only available for a local keystore. If your application plans to work with remote keystores, you do not want to depend on it.

Trait Implementations

List all supported keys Read more

Returns all sr25519 public keys for the given key type.

Generate a new sr25519 key pair for the given key type and an optional seed. Read more

Returns all ed25519 public keys for the given key type.

Generate a new ed25519 key pair for the given key type and an optional seed. Read more

Returns all ecdsa public keys for the given key type.

Generate a new ecdsa key pair for the given key type and an optional seed. Read more

Insert a new key. This doesn’t require any known of the crypto; but a public key must be manually provided. Read more

Checks if the private keys for the given public key and key type combinations exist. Read more

Find intersection between provided keys and supported keys Read more

Sign with key Read more

Generate VRF signature for given transcript data. Read more

Sign with any key Read more

Sign with all keys Read more

Performs the conversion.

Performs the conversion.

List all supported keys Read more

Find intersection between provided keys and supported keys Read more

Sign with key Read more

Returns all sr25519 public keys for the given key type.

Generate a new sr25519 key pair for the given key type and an optional seed. Read more

Returns all ed25519 public keys for the given key type.

Generate a new ed25519 key pair for the given key type and an optional seed. Read more

Returns all ecdsa public keys for the given key type.

Generate a new ecdsa key pair for the given key type and an optional seed. Read more

Insert a new key. This doesn’t require any known of the crypto; but a public key must be manually provided. Read more

Checks if the private keys for the given public key and key type combinations exist. Read more

Generate VRF signature for given transcript data. Read more

Sign with any key Read more

Sign with all keys Read more

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

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.

The counterpart to unchecked_from.