Expand description
Matter CASE (Certificate Authenticated Session Establishment) via SIGMA-I.
Implementation lands across phases:
- M4.1 (current): math + Sigma1/2/3 state machines + new-session wire messages.
- M4.2: session resumption (
Sigma2_Resume,Sigma3_Resume). - M4.3: matter.js byte-parity verification + readiness markers.
See Matter Core Specification §4.13 and
docs/superpowers/specs/2026-05-19-matter-crypto-case-design.md.
Structs§
- Case
Credentials - Operational identity for a CASE session.
- Case
Session Keys - Symmetric session keys derived by a completed CASE handshake.
- Case
Session Output - Output of a successful CASE handshake.
- Local
Info - Our own identity on the session (mirror of
PeerInfo, useful for symmetry). - Peer
Info - Identity of the peer we just shook hands with.
- Resumption
Id - 16-byte resumption identifier.
- Resumption
Record - State persisted by the caller after a successful CASE handshake,
allowing a future session to skip the full 3-message handshake via
Sigma2_Resume. Resumption flow lands in M4.2.
Enums§
- Case
Message Kind - Identifies one of the 5 CASE message types. Used by
crate::Error::UnexpectedMessageandexpected_inbound()accessors on the state machines. - Sigma1
Outcome - Outcome of processing a Sigma1 message.