Enum secp256k1_test::Error [] [src]

pub enum Error {
    IncapableContext,
    IncorrectSignature,
    InvalidMessage,
    InvalidPublicKey,
    InvalidSignature,
    InvalidSecretKey,
    InvalidRecoveryId,
}

An ECDSA error

Variants

A Secp256k1 was used for an operation, but it was not created to support this (so necessary precomputations have not been done)

Signature failed verification

Badly sized message ("messages" are actually fixed-sized digests; see the MESSAGE_SIZE constant)

Bad public key

Bad signature

Bad secret key

Bad recovery id

Trait Implementations

impl Copy for Error
[src]

impl PartialEq for Error
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Error
[src]

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

The lower-level cause of this error, if any. Read more

[src]

A short description of the error. Read more