Expand description
Support for parsing and generating signed manifests.
Structs§
- RawManifest
- The parsed contents of a
SignedManifest.
Enums§
- Signed
Manifest Error - An error encountered while parsing or verifying a signed manifest.
Constants§
- MAGIC
- Magic bytes for the Signed Manifest: FuChsIA OTA Format.
- MAX_
MANIFEST_ SIZE - Maximum allowed payload size for the
OtaManifestportion (10 MiB). - MAX_
SIGNATURE_ SIZE - Maximum allowed payload size for the
Signaturesportion (1 MiB). - VERSION
- Version for the Signed Manifest.
Functions§
- generate
- Helper function to generate a valid
SignedManifestbytes for testing. - parse_
and_ verify - Parse and verify a
SignedManifest. - parse_
raw - Parse a
SignedManifestwithout verifying its signatures or parsing its payload.