bcx_crypto/error.rs
1/// Verification and signature-envelope validation failures.
2#[derive(Clone, Copy, Debug, Eq, PartialEq)]
3pub enum VerificationError {
4 /// The signature payload was empty.
5 EmptySignature,
6 /// The signature payload exceeded the active profile bound.
7 SignatureTooLarge,
8 /// The key identifier was all zeros.
9 EmptyKeyId,
10 /// The algorithm is not admitted by local policy.
11 AlgorithmNotAdmitted,
12 /// Signature verification failed.
13 InvalidSignature,
14}