The parsed share (sskr's parseShare over the bytes); a malformed share is an Sskr failure.
A copy of the share bytes.
The 16-bit identifier (data[0..2]).
The group threshold (data[2] >> 4, plus one).
The group count (data[2] & 0xf, plus one).
The group index (data[3] >> 4).
The member threshold (data[3] & 0xf, plus one).
The member index (data[4] & 0xf).
The share value: the bytes after the five header bytes.
StaticcodecTagged-CBOR codec: the share bytes under tag 40309 (legacy 309).
StaticfromFrom the share's bytes (copied, never parsed: as SSKRShare::from_data)
or from a parsed share of the sskr package, whose bytes are those
shareBytes produces (a malformed parsed share is an Sskr failure).
StaticfromStaticgeneratesskr_generate_using: the groups of shares for secret under spec.
Optionaloptions: RngOptionsStaticcombinesskr_combine: the secret behind a quorum of shares. The bytes go to
sskr's combineShares as they are; its SskrError is not wrapped.
The share bytes in hex.
The identifier's two bytes in hex.
A summary of the header; a share too short for it is an InvalidData failure.
The CBOR tags this type decodes from; the first one is used to encode.
The untagged CBOR: the share bytes.
The tagged CBOR form.
As ur:sskr.
Staticfrom
An SSKR share: the raw share bytes, with a CBOR and UR form.