Struct sp_application_crypto::ecdsa::AppPair[][src]

pub struct AppPair(_);
Expand description

A generic AppPublic wrapper type over $pair crypto; this has no specific App.

Trait Implementations

The corresponding type as a generic crypto type.

The corresponding public key type in this application scheme.

The corresponding key pair type in this application scheme.

The corresponding signature type in this application scheme.

An identifier for this application-specific key type.

The identifier of the crypto type of this application-specific key type.

The wrapped type which is just a plain instance of Pair.

Performs the conversion.

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The pair key type of this crypto.

Performs the conversion.

Performs the conversion.

The type which is used to encode a public key.

The type used to (minimally) encode the data required to securely create a new key pair. Read more

The type used to represent a signature. Can be created from a key pair and a message and verified with the message and a public key. Read more

Error returned from the derive function.

Generate new secure (random) key pair and provide the recovery phrase. Read more

Returns the KeyPair from the English BIP39 seed phrase, or None if it’s invalid.

Derive a child key from a series of given junctions.

Generate new key pair from the provided seed. Read more

Make a new key pair from secret seed material. The slice must be the correct size or it will return None. Read more

Sign a message.

Verify a signature on a message. Returns true if the signature is good.

Verify a signature on a message. Returns true if the signature is good.

Get the public key.

Return a vec filled with raw data.

Generate new secure (random) key pair. Read more

Interprets the string s in order to generate a key Pair. Returns both the pair and an optional seed, in the case that the pair can be expressed as a direct derivation from a seed (some cases, such as Sr25519 derivations with path components, cannot). Read more

Interprets the string s in order to generate a key pair. Read more

The inner type it is wrapping.

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

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more

Performs the conversion.

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

Performs the conversion.

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.