Skip to main content

Wire Protocol Message Types

This document describes the various message types used in the Zoe Relay wire protocol.

Core Message Types

PQXDH Messages

Messages for post-quantum key exchange:

Invitation Messages

Messages for group invitation flow:

Content Messages

Messages for encrypted content:

Message Routing

Messages are routed based on their type and destination:

Error Handling

The protocol includes comprehensive error types:

Message Validation

All messages undergo validation before processing:

  • Signature verification
  • Format validation
  • Protocol version checks
  • Size limits

For complete message specifications, see the Rust API documentation.