BootstrapState class final
Bootstrap gate state exposed to control/auth code.
The service owns the boot-time bootstrap code and fixed runtime mode derived from key storage state during application preparation.
Base classes
- class prf::crypto::IBootstrapService
- Bootstrap-mode state published to crypto control commands.
Public functions
- auto bootstrap_required() const -> bool override
- Returns true when device is still waiting for first admin key bootstrap.
- auto current_bootstrap_code(uint8_t* out_code) const -> bool override
- Returns current bootstrap code shown to operator.
- auto prepare(bool bootstrap_required) -> bool
-
void set_random_source(prf::
crypto:: IRandomSource* random_source)