[−][src]Struct secp256k1::Signature
An ECDSA signature.
Fields
r: Scalar
s: Scalar
Methods
impl Signature
[src]
impl Signature
pub fn parse(p: &[u8; 64]) -> Signature
[src]
pub fn parse(p: &[u8; 64]) -> Signature
pub fn parse_slice(p: &[u8]) -> Result<Signature, Error>
[src]
pub fn parse_slice(p: &[u8]) -> Result<Signature, Error>
pub fn parse_der(p: &[u8]) -> Result<Signature, Error>
[src]
pub fn parse_der(p: &[u8]) -> Result<Signature, Error>
pub fn serialize(&self) -> [u8; 64]
[src]
pub fn serialize(&self) -> [u8; 64]
pub fn serialize_der(&self) -> SignatureArray
[src]
pub fn serialize_der(&self) -> SignatureArray
Trait Implementations
impl PartialEq<Signature> for Signature
[src]
impl PartialEq<Signature> for Signature
impl Eq for Signature
[src]
impl Eq for Signature
impl Debug for Signature
[src]
impl Debug for Signature
impl Clone for Signature
[src]
impl Clone for Signature
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Same for T
[src]
impl<T> Same for T
type Output = T
Should always be Self