Struct libsecp256k1_rs::secp256k1::signature::Signature[][src]

pub struct Signature {
    pub r: Scalar,
    pub s: Scalar,
}

An ECDSA signature.

Fields

Methods

impl Signature
[src]

Check signature is a valid message signed by public key.

Recover public key from a signed message.

Trait Implementations

impl Debug for Signature
[src]

Formats the value using the given formatter. Read more

impl Clone for Signature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Signature
[src]

impl PartialEq for Signature
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Signature

impl Sync for Signature