Checks a kind 30443 event's mls_proposals tag against the decoded
KeyPackage leaf's capabilities.proposals.
Values are compared as exact strings against the canonical lowercase
0x%04x spelling of each leaf id, with no parsing, so a non-canonical
spelling is a mismatch. An exact match (GREASE included) is what MDK
requires. The grease-stripped mode exists to accept KeyPackages from
older marmot-ts publishers that filtered GREASE out of the tag; because it
removes GREASE from both sides, a tag carrying different GREASE ids than
the leaf still matches in that mode (GREASE ids carry no semantics).
Never throws — malformed input is a typed result, not an exception.
Checks a kind 30443 event's
mls_proposalstag against the decoded KeyPackage leaf'scapabilities.proposals.Values are compared as exact strings against the canonical lowercase
0x%04xspelling of each leaf id, with no parsing, so a non-canonical spelling is a mismatch. An exact match (GREASE included) is what MDK requires. Thegrease-strippedmode exists to accept KeyPackages from older marmot-ts publishers that filtered GREASE out of the tag; because it removes GREASE from both sides, a tag carrying different GREASE ids than the leaf still matches in that mode (GREASE ids carry no semantics).Never throws — malformed input is a typed result, not an exception.