pub fn sign_capsule(
body: CapsuleBody,
ed_sk: &SigningKey,
pq_sk: &MlDsaSigningKey,
) -> Result<Capsule>Expand description
Sign a capsule body with one of its subject keys, producing a fully-signed
Capsule. Self-certifying: the signing keys MUST match some published
body.subject_keys entry (an atomic Ed25519↔ML-DSA-65 pair), not a
positional “primary” — subjectKeys is a set (#1188 / #1183).