Struct sp_application_crypto::ed25519::AppPublic
source · [−]pub struct AppPublic(_);
Expand description
A generic AppPublic
wrapper type over $public crypto; this has no specific App.
Trait Implementations
type UntypedGeneric = Public
type UntypedGeneric = Public
The corresponding type as a generic crypto type.
The identifier of the crypto type of this application-specific key type.
type Public = Self
type Public = Self
The RuntimeAppPublic
this type is bound to.
Deserialize this value from the given Serde deserializer. Read more
Upper bound, in bytes, of the maximum encoded size of this item.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Return CryptoTypePublicPair
from public key.
Return a Vec<u8>
filled with raw data.
The identifier of the crypto type of this application-specific key type.
The signature that will be generated when signing with the corresponding private key.
Returns all public keys for this application in the keystore.
Generate a public/private pair with an optional seed
and store it in the keystore. Read more
Sign the given message with the corresponding private key of this public key. Read more
Verify that the given signature matches the given message using this public key.
Auto Trait Implementations
impl RefUnwindSafe for Public
impl UnwindSafe for Public
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
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
Some if the string is a properly encoded SS58Check address, optionally with a derivation path following. Read more
Some if the string is a properly encoded SS58Check address, optionally with a derivation path following. Read more
A format filterer, can be used to ensure that from_ss58check
family only decode for
allowed identifiers. By default just refuses the two reserved identifiers. Read more
Some if the string is a properly encoded SS58Check address.
Some if the string is a properly encoded SS58Check address.
Return the ss58-check string for this key.
Return the ss58-check string for this key.
impl<Inner, Outer, T> UncheckedFrom<T> for Outer where
Outer: Wraps<Inner = Inner>,
Inner: IsWrappedBy<Outer> + UncheckedFrom<T>,
impl<Inner, Outer, T> UncheckedFrom<T> for Outer where
Outer: Wraps<Inner = Inner>,
Inner: IsWrappedBy<Outer> + UncheckedFrom<T>,
Convert from an instance of T
to Self. This is not guaranteed to be
whatever counts as a valid instance of T
and it’s up to the caller to
ensure that it makes sense. Read more
The counterpart to unchecked_from
.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more