Skip to main content

assemble_composite_nested

Function assemble_composite_nested 

pub fn assemble_composite_nested(
    ed: (Vec<u8>, Vec<u8>),
    pq: Option<(Vec<u8>, Vec<u8>)>,
) -> Result<Vec<u8>, Error>
Expand description

Assemble the nested WNS composite from out-of-band signatures.

  • ed = (ed_kid, ed_signature) — required; ed_signature is the raw 64-byte Ed25519 signature over inner_tbs.
  • pq = Some((pq_kid, pq_signature)) — Hybrid; pq_signature is the ML-DSA-65 signature over outer_tbs (which was computed using ed_signature).