Skip to content

Enum crypto::voice::VoiceError

zaun_community_protocol::crypto::voice::VoiceError · Enum

pub enum VoiceError { … }

A voice key or frame operation failed.

The OS CSPRNG failed.

A value breaks an encoding rule.

Bytes are not a canonical encoding.

A member signature does not verify, or signing failed.

The input has the wrong length.

The voice suite is not one this implementation knows.

The X-Wing public key is invalid.

A signed field does not match what the verifier expects.

HPKE failed: the wrapped key was not made for this recipient or was altered.

The wrapped key’s hash is not the one the sender signed for this recipient.

The sender-keys message does not name this recipient.

More recipients than super::MAX_RECIPIENTS, or the same one twice.

An epoch that is not newer than the one in use.

The sender has used every epoch or counter of this voice session; rejoin.

The SFrame header is malformed or not minimally encoded.

No key for the frame’s KID.

The frame’s counter was already seen or is older than the replay window.

The frame does not authenticate.

Two participants’ KIDs collide; the newer one rejoins with a new voice session.

The participant is not known (no verified key package).

No sender key is active yet.

Clone, Copy, Debug, Display, Eq, Error, From<DecodeError>, From<EncodeError>, From<RngError>, From<SignedError>, PartialEq, StructuralPartialEq

Full rustdoc page