Decodes an app_components data payload into a sorted, unique id list.
Rejects duplicate ids and ids that are not in ascending order. The decoder
never sorts on the caller's behalf: non-canonical bytes are invalid
(foundation/canonical-encoding.md), and MDK's decode_components_list
rejects an unsorted list, so accepting one here would let the two
implementations disagree on the same GroupContext, LeafNode, or KeyPackage.
Decodes an
app_componentsdata payload into a sorted, unique id list.Rejects duplicate ids and ids that are not in ascending order. The decoder never sorts on the caller's behalf: non-canonical bytes are invalid (
foundation/canonical-encoding.md), and MDK'sdecode_components_listrejects an unsorted list, so accepting one here would let the two implementations disagree on the same GroupContext, LeafNode, or KeyPackage.