Struct secp256k1::RecoverableSignature [] [src]

pub struct RecoverableSignature(_);

An ECDSA signature with a recovery ID for pubkey recovery

Methods

impl RecoverableSignature
[src]

Converts a compact-encoded byte slice to a signature. This representation is nonstandard and defined by the libsecp256k1 library.

Obtains a raw pointer suitable for use with FFI functions

Serializes the recoverable signature in compact format

Converts a recoverable signature to a non-recoverable one (this is needed for verification

Trait Implementations

impl Copy for RecoverableSignature
[src]

impl Clone for RecoverableSignature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for RecoverableSignature
[src]

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

This method tests for !=.

impl Eq for RecoverableSignature
[src]

impl Debug for RecoverableSignature
[src]

Formats the value using the given formatter.

impl From<RecoverableSignature> for RecoverableSignature
[src]

Creates a new recoverable signature from a FFI one

Performs the conversion.