prf::control::Request struct final

Borrowed decoded management request passed to command handlers.

Public variables

std::span<const RequestArgView> args
Borrowed decoded argument views.
std::span<const uint8_t> bootstrap_key
Borrowed bootstrap key bytes from COSE/auth metadata when present.
bool bootstrap_verified
True when bootstrap install request passed bootstrap-specific validation.
std::span<const uint8_t> nonce
Borrowed request nonce bytes from COSE/auth metadata when present.
bool nonce_valid
True when signed request passed nonce freshness validation.
std::string_view path
Inner command path, for example /system/status.
bool signature_verified
True when request arrived signed and signature verification succeeded.
bool signer_is_admin
True when verified signer has admin role.
std::span<const uint8_t> signer_key_id
Borrowed signer key identifier bytes when request is signed.