template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_fxfs::CryptManagement>|

and |::fidl::ServerEnd

<

::fuchsia_fxfs::CryptManagement>|).

Public Methods

void AddWrappingKey (::fuchsia_fxfs::wire::CryptManagementAddWrappingKeyRequest * request, AddWrappingKeyCompleter::Sync & completer)

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.

void SetActiveKey (::fuchsia_fxfs::wire::CryptManagementSetActiveKeyRequest * request, SetActiveKeyCompleter::Sync & completer)

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

describes which active key to modify.

void ForgetWrappingKey (::fuchsia_fxfs::wire::CryptManagementForgetWrappingKeyRequest * request, ForgetWrappingKeyCompleter::Sync & completer)

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.

void WireServer ()

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

Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~WireServer ()

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