class EnableVerity
Defined at line 2245 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/markers.h
Enables verification for the file (permanently) which involves computing a merkle tree for
the file. Forces a flush prior to building the merkle tree to ensure cached data is
captured. Future reads will be verified against the computed merkle tree and writes will be
rejected. This method can take some time to complete as it depends on the size of the file.
This method can be aborted by closing the connection that this method was issued on.
This method requires the [`Rights.UPDATE_ATTRIBUTES`] right.
Returns `ZX_ERR_NOT_SUPPORTED` if the filesystem does not support verity.
Returns `ZX_ERR_ALREADY_EXISTS` if the file was already fsverity-enabled.
Also returns any error that might arise from reading the file, or from flushing the file,
such as `ZX_ERR_IO`.
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