pub struct Sep53;Expand description
SEP-53 Signed Data Standard
Implementations§
Auto Trait Implementations§
impl Freeze for Sep53
impl RefUnwindSafe for Sep53
impl Send for Sep53
impl Sync for Sep53
impl Unpin for Sep53
impl UnsafeUnpin for Sep53
impl UnwindSafe for Sep53
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<S> SignerExt for S
impl<S> SignerExt for S
§fn public_key<C>(&self) -> <C as Curve>::PublicKeywhere
C: Curve,
Self: Signer<C>,
fn public_key<C>(&self) -> <C as Curve>::PublicKeywhere
C: Curve,
Self: Signer<C>,
Get the public key of the signer on a curve
C. Read more§fn sign<C>(
&self,
msg: &[u8],
) -> impl Future<Output = Result<<C as Curve>::Signature, Self::Error>> + Sendwhere
C: Curve,
Self: Signer<C>,
fn sign<C>(
&self,
msg: &[u8],
) -> impl Future<Output = Result<<C as Curve>::Signature, Self::Error>> + Sendwhere
C: Curve,
Self: Signer<C>,
Sign a given message and return a signature. Read more
§fn sign_recoverable<C>(
&self,
msg: &[u8],
) -> impl Future<Output = Result<(<C as Curve>::Signature, <C as RecoverableCurve>::RecoveryId), Self::Error>> + Sendwhere
C: RecoverableCurve,
Self: RecoverableSigner<C>,
fn sign_recoverable<C>(
&self,
msg: &[u8],
) -> impl Future<Output = Result<(<C as Curve>::Signature, <C as RecoverableCurve>::RecoveryId), Self::Error>> + Sendwhere
C: RecoverableCurve,
Self: RecoverableSigner<C>,
Sign a given message and return a signature along with recovery id. Read more
§fn cache_public_key<C>(self) -> CachePublicKey<C, Self>where
C: Curve,
Self: Sized + Signer<C>,
fn cache_public_key<C>(self) -> CachePublicKey<C, Self>where
C: Curve,
Self: Sized + Signer<C>,
Calculate
.public_key() and cache its value for
further invocations. Read more