class ProgramKey

Defined at line 100 of file fidling/gen/sdk/fidl/fuchsia.hardware.inlineencryption/fuchsia.hardware.inlineencryption/cpp/fidl/fuchsia.hardware.inlineencryption/cpp/markers.h

Programs the ephemerally wrapped `wrapped_key` into the inline encryption hardware in the

next available `slot`. All slots programmed via the connection this method is called on

will be evicted once the connection is dropped. It is not possible to evict individual keys

(not for any technical reasons; a need for this has not yet arisen). `wrapped_key` must be

a key wrapped by the inline encryption hardware (in the same session/boot) via a separate

mechanism to this protocol.

Returns

- ZX_ERR_NO_RESOURCES if there are no available key slots.

- ZX_ERR_INVALID_ARGS if `wrapped_key` is not the expected size or if the `wrapped_key`

fails authentication (e.g. wrapped_key is from a previous boot).

- ZX_ERR_TIMED_OUT if the operation times out.

- ZX_ERR_INTERNAL if the operation failed for any other reason.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal