Struct near_crypto::Secp256K1Signature
source · pub struct Secp256K1Signature(/* private fields */);
Implementations§
source§impl Secp256K1Signature
impl Secp256K1Signature
pub fn check_signature_values(&self, reject_upper: bool) -> bool
pub fn recover( &self, msg: [u8; 32] ) -> Result<Secp256K1PublicKey, ParseSignatureError>
Trait Implementations§
source§impl Clone for Secp256K1Signature
impl Clone for Secp256K1Signature
source§fn clone(&self) -> Secp256K1Signature
fn clone(&self) -> Secp256K1Signature
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 moresource§impl Debug for Secp256K1Signature
impl Debug for Secp256K1Signature
source§impl From<Secp256K1Signature> for [u8; 65]
impl From<Secp256K1Signature> for [u8; 65]
source§fn from(original: Secp256K1Signature) -> Self
fn from(original: Secp256K1Signature) -> Self
Converts to this type from the input type.
source§impl Hash for Secp256K1Signature
impl Hash for Secp256K1Signature
source§impl PartialEq for Secp256K1Signature
impl PartialEq for Secp256K1Signature
source§fn eq(&self, other: &Secp256K1Signature) -> bool
fn eq(&self, other: &Secp256K1Signature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&[u8]> for Secp256K1Signature
impl TryFrom<&[u8]> for Secp256K1Signature
impl Eq for Secp256K1Signature
impl StructuralEq for Secp256K1Signature
impl StructuralPartialEq for Secp256K1Signature
Auto Trait Implementations§
impl RefUnwindSafe for Secp256K1Signature
impl Send for Secp256K1Signature
impl Sync for Secp256K1Signature
impl Unpin for Secp256K1Signature
impl UnwindSafe for Secp256K1Signature
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