pub struct EcdsaSignature<C: PCurve, H: Hasher + EcdsaHash<C>> { /* private fields */ }
Expand description
A DER-encoded ECDSA signature.
Implementations§
Source§impl<C: PCurve, H: Hasher + EcdsaHash<C>> EcdsaSignature<C, H>
impl<C: PCurve, H: Hasher + EcdsaHash<C>> EcdsaSignature<C, H>
Sourcepub fn from_bytes(bytes: &[u8]) -> EcdsaSignature<C, H>
pub fn from_bytes(bytes: &[u8]) -> EcdsaSignature<C, H>
Constructs an EcdsaSignature
from raw bytes.
Trait Implementations§
Auto Trait Implementations§
impl<C, H> Freeze for EcdsaSignature<C, H>
impl<C, H> RefUnwindSafe for EcdsaSignature<C, H>where
C: RefUnwindSafe,
H: RefUnwindSafe,
impl<C, H> Send for EcdsaSignature<C, H>
impl<C, H> Sync for EcdsaSignature<C, H>
impl<C, H> Unpin for EcdsaSignature<C, H>
impl<C, H> UnwindSafe for EcdsaSignature<C, H>where
C: UnwindSafe,
H: UnwindSafe,
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