pub fn encode_artifact_cose(
artifact: &TrustedArtifact,
) -> SignatifResult<Vec<Vec<u8>>>Expand description
Encode a trusted artifact as a COSE chain: one COSE_Sign1 per co-signature (signing over the canonical payload hash), then a body structure carrying the self-description.
ยงErrors
Encoding errors for unregistered algorithms or CBOR failures.