The RIM Tool provides the following main commands.
Create Command
Creates a RIM, CoRIM, or CoSWID tag from a given configuration input file, and writes to a specified output file. Can optionally sign as well as create.
Verify Command
Verifies the signature of a RIM, CoRIM, or CoSWID tag.
Print Command
Print the contents of a RIM, CoRIM, or CoSWID tag to the command line.
Sign Command
Signs a file using specific algorithm and formatting options. The signature can either be attached or detached:
- Attached: the signature and payload (content) are contained in the same output file.
- Detached: the signature is output to a separate file, which will not contain the payload.
The resultant signed output will be a CBOR-encoded file.
Get Command
Retrieves the payload from a signed object and saves the contents to a file.