Skip to main content

Module signed_manifest

Module signed_manifest 

Source
Expand description

Support for parsing and generating signed manifests.

Structs§

RawManifest
The parsed contents of a SignedManifest.

Enums§

SignedManifestError
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 OtaManifest portion (10 MiB).
MAX_SIGNATURE_SIZE
Maximum allowed payload size for the Signatures portion (1 MiB).
VERSION
Version for the Signed Manifest.

Functions§

generate
Helper function to generate a valid SignedManifest bytes for testing.
parse_and_verify
Parse and verify a SignedManifest.
parse_raw
Parse a SignedManifest without verifying its signatures or parsing its payload.