HIRS/tools/tcg_rim_tool/rim_fields.json
chubtub 1f52dd3c27
[#217] Support reading conf settings from a json file (#218)
* Support reading conf settings from a json file

* Add optional RIM attributes

* Add xml signature element

* New commandline arguments for attributes conf file and privatekey or cert specification

* Add fields to satisfy NIST checks

* Print generated base rim contents to console also
2020-02-21 07:43:40 -05:00

42 lines
968 B
JSON

{
"SoftwareIdentity": {
"name": "TCG RIM example",
"version": "0.1",
"tagId": "hirs.swid.SwidTags.example",
"tagVersion": "1",
"patch": false
},
"Entity": {
"name": "HIRS",
"role": "softwareCreator,tagCreator",
"regid": "www.example.com",
"thumbprint": ""
},
"Link": {
"href": "https://Example.com/support/ProductA/firmware/installfiles",
"rel": "installationmedia"
},
"Meta": {
"colloquialVersion": "",
"edition": "",
"product": "",
"revision": "",
"platformManufacturerStr": "Example.com",
"platformManufacturerId": "00201234",
"platformModel": "ProductA",
"bindingSpec": "IOT RIM",
"bindingSpecVersion": "1.2",
"rimLinkHash": "88f21d8e44d4271149297404df91caf207130bfa116582408abd04ede6db7f51"
},
"Payload": {
"Directory": {
"name": "iotBase",
"File": {
"name": "Example.com.iotBase.bin",
"size": "15400",
"hash": "688e293e3ccb522f6cf8a027c9ade7960f84bd0bf3a0b99812bc1fa498a2db8d"
}
}
}
}