Protocol Conformance
Protocol Conformance
Interoperability check & compliance
To ensure third-party language SDKs implement the protocol specification accurately, we provide a structured compliance verification suite.
Conformance Checklist
- Big-Endian Ordering: All multi-byte header integers (Payload Length, Stream ID, Sequence Number) must use network byte order (big-endian).
- Signature Format: Verifiers must enforce Ed25519 signatures. Standard X.509 ASN.1 wrappers must not be accepted.
- Replay Window Invalidation: Duplicate sequence values within the current sliding window or those falling behind the 1024 limit must be dropped silently.
Running Compliance Tests
The workspace includes a conformance check runner that initiates standard handshake scenarios and checks boundary parameters:
cargo test --test conformance_suite