template <>

class NaturalClientImpl

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

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_fxfs::CryptManagement::AddWrappingKey> AddWrappingKey (const ::fidl::Request< ::fuchsia_fxfs::CryptManagement::AddWrappingKey> & request)

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.

::fidl::internal::NaturalThenable< ::fuchsia_fxfs::CryptManagement::SetActiveKey> SetActiveKey (const ::fidl::Request< ::fuchsia_fxfs::CryptManagement::SetActiveKey> & request)

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

describes which active key to modify.

::fidl::internal::NaturalThenable< ::fuchsia_fxfs::CryptManagement::ForgetWrappingKey> ForgetWrappingKey (const ::fidl::Request< ::fuchsia_fxfs::CryptManagement::ForgetWrappingKey> & request)

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.