Struct oasis_runtime_sdk::crypto::signature::secp256k1::MemorySigner
source · pub struct MemorySigner { /* private fields */ }
Expand description
A memory-backed signer for Secp256k1.
Implementations§
source§impl MemorySigner
impl MemorySigner
Trait Implementations§
source§impl Signer for MemorySigner
impl Signer for MemorySigner
source§fn random(rng: &mut (impl RngCore + CryptoRng)) -> Result<Self, Error>
fn random(rng: &mut (impl RngCore + CryptoRng)) -> Result<Self, Error>
Create a new random signer.
source§fn public_key(&self) -> PublicKey
fn public_key(&self) -> PublicKey
Return the public key counterpart to the signer’s secret key.
Auto Trait Implementations§
impl Freeze for MemorySigner
impl RefUnwindSafe for MemorySigner
impl Send for MemorySigner
impl Sync for MemorySigner
impl Unpin for MemorySigner
impl UnwindSafe for MemorySigner
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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