template <>
class Server
Defined at line 554 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/natural_messaging.h
Public Methods
void AddWrappingKey (AddWrappingKeyRequest & 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 Server ()
Defined at line 557 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/natural_messaging.h
void SetActiveKey (SetActiveKeyRequest & 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 (ForgetWrappingKeyRequest & 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.
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 ~Server ()
Defined at line 558 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/natural_messaging.h