class CloseAndGenerateSeal

Defined at line 78 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.verified/fuchsia.hardware.block.verified/cpp/fidl/fuchsia.hardware.block.verified/cpp/markers.h

Requests that the device in `authoring` mode:

* unbind the child device named `mutable`

* regenerate the integrity data necessary to provide the guarantees

expected by `OpenForVerifiedRead`

* flush all writes to the underlying block device

* switch to `closed` mode

* return a `Seal` that can be used to ensure that any data read in the

future from this device matches that which was written prior to this

particular call of `CloseAndGenerateSeal`.

If the device was not in "authoring" mode at the time of the call, this

function will return `ZX_ERR_BAD_STATE` and have no visible side effects.

If the underlying block device returns a failure while regenerating

integrity data or flushing writes, the device will enter the `failed` mode

and this call will propagate that error.

On success, the returned `seal` will contain a hash of the device

superblock that should be stored in tamper-proof storage, so it can be

retrieved and presented in a future `OpenForVerifiedRead` call.

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