Example Commands
Dump the CoRIM file in JSON format using cocli:
Remove the leading IANA global content tags
dd bs=
1
skip=6
if
=<signed-CoRIM> of=<untagged.corim>Display CoRIM in JSON:
cocli corim display -f <untagged.corim>
Extract CoMIDs from the CoRIM using cocli:
Extract CoMIDs in CBOR format:
cocli corim extract -f <untagged.corim>
Note: This extracts multiple CoMID files.
Dump CoMIDs in JSON format:
cocli comid display -f <extracted-cbor-file>
Verify COSE signature
Reference code can be found in this git repository.