Expand description
Versioned share envelope — canonical wire format for threshold shares.
Provides:
- Version field for forward/backward compatibility
- Scheme identifier (CMP20, FROST-P256, FROST-ed25519, GG18)
- Quorum association
- Tamper detection via HMAC-SHA256 integrity tag
The envelope wraps scheme-specific share bytes without interpreting them. Each scheme (CMP20, FROST, etc.) serializes its own share type to bytes, then the envelope adds the versioning and integrity layer.
Structs§
- Share
Envelope - A versioned, integrity-protected threshold share envelope.
Enums§
- Envelope
Error - Errors during envelope operations.
Constants§
- ENVELOPE_
VERSION - Current envelope format version.