Struct ed25519_dalek::errors::SignatureError[][src]

pub struct SignatureError(_);

Errors which may occur while processing signatures and keypairs.

This error may arise due to:

  • Being given bytes with a length different to what was expected.

  • A problem decompressing r, a curve point, in the Signature, or the curve point for a PublicKey.

  • A problem with the format of s, a scalar, in the Signature. This is only raised if the high-bit of the scalar was set. (Scalars must only be constructed from 255-bit integers.)

  • Failure of a signature to satisfy the verification equation.

Trait Implementations

impl Clone for SignatureError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SignatureError
[src]

impl Eq for SignatureError
[src]

impl PartialEq for SignatureError
[src]

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

This method tests for !=.

impl Hash for SignatureError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for SignatureError
[src]

Formats the value using the given formatter. Read more

impl Display for SignatureError
[src]

Formats the value using the given formatter. Read more

impl Fail for SignatureError
[src]

Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more

Returns a reference to the Backtrace carried by this failure, if it carries one. Read more

Provides context for this failure. Read more

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

Auto Trait Implementations