Enum secp256k1zkp::Error [−][src]
pub enum Error { IncapableContext, IncorrectSignature, InvalidMessage, InvalidPublicKey, InvalidCommit, InvalidSignature, InvalidSecretKey, InvalidRecoveryId, IncorrectCommitSum, InvalidRangeProof, PartialSigFailure, }
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 commit
Bad signature
Bad secret key
Bad recovery id
Summing commitments led to incorrect result
Range proof is invalid
Error creating partial signature
Trait Implementations
impl<'de> Deserialize<'de> for Error
[src]
impl<'de> Deserialize<'de> for Error
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralEq for Error
[src]
impl StructuralEq for Error
[src]impl StructuralPartialEq for Error
[src]
impl StructuralPartialEq for Error
[src]Auto Trait Implementations
impl RefUnwindSafe for Error
impl RefUnwindSafe for Error
impl UnwindSafe for Error
impl UnwindSafe for Error