get Command¶
Retrieves the payload from a signed object and saves the contents to a file.
Note
get is only compatible with signed COSE objects at present. See RIM Types for details.
Usage¶
Parameters¶
| Parameter | Description | Required | Type |
|---|---|---|---|
-r, --rim-type |
Specifies the RIM type. | Yes | String |
-i, --in |
The signed input file to retrieve the payload from. | Yes | File |
-o, --out |
The output file to write the payload to. | Yes | File |
Examples¶
Before Starting
Before running these examples, please ensure that you change into the data directory (requires install):
Retrieve a payload from a signed CoRIM:
Retrieve a payload from a signed CoSWID tag: