# Enum crypto::VerifyError

> Verification failed. Callers map every variant to `INVALID_SIGNATURE`; the variants exist for tests and diagnostics only.

`zaun_community_protocol::crypto::VerifyError` · Enum

```rust
pub enum VerifyError { … }
```

Verification failed. Callers map every variant to `INVALID_SIGNATURE`; the variants exist
for tests and diagnostics only.

## Variants

### `SuiteMismatch { key, sig }`

The key's and the signature's suite bytes differ.

### `SuiteBelowMinimum { suite, min_suite }`

The suite is below the community's `min_suite`.

### `ContextTooLong`

The context is longer than 255 bytes.

### `Malformed`

The raw key or signature components have the wrong length.

### `MlDsa`

The ML-DSA-65 component did not verify.

### `Ed25519`

The Ed25519 component did not verify strictly.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Display`, `Eq`, `Error`, `From<VerifyError>`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/crypto/error/enum.VerifyError.html)
