template <>

class WireSyncBufferClientImpl

Defined at line 1622 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_fxfs::CryptManagement::AddWrappingKey> AddWrappingKey (const ::fidl::Array<uint8_t, 16> & wrapping_key_id, ::fidl::VectorView<uint8_t> key)

Adds a new wrapping key to the Crypt service. The new key will immediately be available

for unwrapping keys (Crypt::UnwrapKeys) but won't be used for wrapping keys until

CryptManagement::SetActiveKeys is called.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_fxfs::CryptManagement::SetActiveKey> SetActiveKey (::fuchsia_fxfs::wire::KeyPurpose purpose, const ::fidl::Array<uint8_t, 16> & wrapping_key_id)

Updates the key which will be used for wrapping keys (Crypt::CreateKey). `purpose`

describes which active key to modify.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_fxfs::CryptManagement::ForgetWrappingKey> ForgetWrappingKey (const ::fidl::Array<uint8_t, 16> & wrapping_key_id)

Forgets a wrapping key, preventing its use for future key-unwrapping. All future calls to

Crypt::UnwrapKeys with that wrapping key ID will fail.

If either the data or metadata part of the key is active, an error is returned.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.