template <>

class WireWeakSyncClientImpl

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

Public Methods

::fidl::WireResult< ::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.

Allocates 112 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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.

Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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.

Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.