Enum secp256k1::Error [−][src]
pub enum Error {
IncorrectSignature,
InvalidMessage,
InvalidPublicKey,
InvalidSignature,
InvalidSecretKey,
InvalidRecoveryId,
InvalidTweak,
TweakCheckFailed,
NotEnoughMemory,
}
Expand description
An ECDSA error
Variants
IncorrectSignature
Signature failed verification
InvalidMessage
Badly sized message (“messages” are actually fixed-sized digests; see the MESSAGE_SIZE
constant)
InvalidPublicKey
Bad public key
InvalidSignature
Bad signature
InvalidSecretKey
Bad secret key
InvalidRecoveryId
Bad recovery id
InvalidTweak
Invalid tweak for add_assign or mul_assign
TweakCheckFailed
tweak_add_check
failed on an xonly public key
NotEnoughMemory
Didn’t pass enough memory to context creation with preallocated memory
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more