Struct ppppp_crypto::SignKeypair
source · pub struct SignKeypair { /* private fields */ }
Expand description
A private and public key pair to sign and verify signatures
Implementations§
source§impl SignKeypair
impl SignKeypair
sourcepub fn signing_key(&self) -> &SigningKey
pub fn signing_key(&self) -> &SigningKey
sourcepub fn verifying_key(&self) -> &VerifyingKey
pub fn verifying_key(&self) -> &VerifyingKey
Trait Implementations§
source§impl Clone for SignKeypair
impl Clone for SignKeypair
source§fn clone(&self) -> SignKeypair
fn clone(&self) -> SignKeypair
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SignKeypair
impl Send for SignKeypair
impl Sync for SignKeypair
impl Unpin for SignKeypair
impl UnwindSafe for SignKeypair
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