Expand description
§Firmware Package Wrappers
Implementation of RFC 4108 also known as “Using Cryptographic Message Syntax (CMS) to Protect Firmware Packages”. This module is used to protect firmware packages with CMS, as well as use for receipts and error reports for firmware package loading. The protected firmware package can be associated with any particular hardware module.
The firmware package contains object code for one or more programmable components that make up the hardware module. The firmware package, which is treated as an opaque binary object, is digitally signed. Optional encryption and compression are also supported. When all three are used, the firmware package is compressed, then encrypted, and then signed.
As with all rasn core crate implementations, this module does not provide
the actual functionality for signing, encrypting, or compressing data;
instead provides a shared set of data types that can be used with other
crates to sign, encrypt, and compress your own firmware packages.
Structs§
- Current
Firmware Config - Firmware
Package Identifier - Firmware
Package Info - Firmware
Package Load Error - Firmware
Package Load Receipt - Hardware
Module Name - Hardware
Modules - Preferred
Package Identifier
Enums§
- Community
Identifier - Firmware
Package Load Error Code - Hardware
Serial Entry - Preferred
OrLegacy Package Identifier - Preferred
OrLegacy Stale Package Identifier
Constants§
- COMMUNITY_
IDENTIFIERS - COMPRESS_
ALGORITHMS - CRYPTO_
ALGORITHMS - DECRYPT_
KEY_ ID - FIRMWARE_
LOAD_ ERROR - FIRMWARE_
LOAD_ RECEIPT - FIRMWARE_
PACKAGE - FIRMWARE_
PACKAGE_ ID - FIRMWARE_
PACKAGE_ INFO - HARDWARE_
MODULE_ NAME - TARGET_
HARDWARE_ IDS - WRAPPED_
FIRMWARE_ KEY