pub fn decode_artifact_cose(
chain: &[Vec<u8>],
) -> SignatifResult<TrustedArtifact>Expand description
Decode a COSE chain back into a trusted artifact. The final structure is the body; every preceding structure is a co-signature block. The canonical payload hash is cross-checked against the payload (self-description integrity).
ยงErrors
Decoding and integrity errors.