pub trait LockKeeperRpc: Send + Sync + 'static {
Show 32 associated items type AuthenticateStream: Stream<Item = Result<Message, Status>> + Send + 'static; type CreateStorageKeyStream: Stream<Item = Result<Message, Status>> + Send + 'static; type DeleteKeyStream: Stream<Item = Result<Message, Status>> + Send + 'static; type GenerateSecretStream: Stream<Item = Result<Message, Status>> + Send + 'static; type GetUserIdStream: Stream<Item = Result<Message, Status>> + Send + 'static; type ImportSigningKeyStream: Stream<Item = Result<Message, Status>> + Send + 'static; type LogoutStream: Stream<Item = Result<Message, Status>> + Send + 'static; type StoreServerEncryptedBlobStream: Stream<Item = Result<Message, Status>> + Send + 'static; type RegisterStream: Stream<Item = Result<Message, Status>> + Send + 'static; type RemoteGenerateStream: Stream<Item = Result<Message, Status>> + Send + 'static; type RemoteSignBytesStream: Stream<Item = Result<Message, Status>> + Send + 'static; type RetrieveServerEncryptedBlobStream: Stream<Item = Result<Message, Status>> + Send + 'static; type RetrieveSecretStream: Stream<Item = Result<Message, Status>> + Send + 'static; type RetrieveAuditEventsStream: Stream<Item = Result<Message, Status>> + Send + 'static; type RetrieveStorageKeyStream: Stream<Item = Result<Message, Status>> + Send + 'static; // Required methods fn authenticate<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::AuthenticateStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn check_session<'life0, 'async_trait>( &'life0 self, request: Request<Empty> ) -> Pin<Box<dyn Future<Output = Result<Response<SessionStatus>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_storage_key<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::CreateStorageKeyStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_key<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::DeleteKeyStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn generate_secret<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::GenerateSecretStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_user_id<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::GetUserIdStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn health<'life0, 'async_trait>( &'life0 self, request: Request<Empty> ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn import_signing_key<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::ImportSigningKeyStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn logout<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::LogoutStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn store_server_encrypted_blob<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::StoreServerEncryptedBlobStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn register<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RegisterStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn remote_generate<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RemoteGenerateStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn remote_sign_bytes<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RemoteSignBytesStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn retrieve_server_encrypted_blob<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RetrieveServerEncryptedBlobStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn retrieve_secret<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RetrieveSecretStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn retrieve_audit_events<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RetrieveAuditEventsStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn retrieve_storage_key<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RetrieveStorageKeyStream>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with LockKeeperRpcServer.

Required Associated Types§

source

type AuthenticateStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the Authenticate method.

source

type CreateStorageKeyStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the CreateStorageKey method.

source

type DeleteKeyStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the DeleteKey method.

source

type GenerateSecretStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the GenerateSecret method.

source

type GetUserIdStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the GetUserId method.

source

type ImportSigningKeyStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the ImportSigningKey method.

source

type LogoutStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the Logout method.

source

type StoreServerEncryptedBlobStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the StoreServerEncryptedBlob method.

source

type RegisterStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the Register method.

source

type RemoteGenerateStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the RemoteGenerate method.

source

type RemoteSignBytesStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the RemoteSignBytes method.

source

type RetrieveServerEncryptedBlobStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the RetrieveServerEncryptedBlob method.

source

type RetrieveSecretStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the RetrieveSecret method.

source

type RetrieveAuditEventsStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the RetrieveAuditEvents method.

source

type RetrieveStorageKeyStream: Stream<Item = Result<Message, Status>> + Send + 'static

Server streaming response type for the RetrieveStorageKey method.

Required Methods§

source

fn authenticate<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::AuthenticateStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn check_session<'life0, 'async_trait>( &'life0 self, request: Request<Empty> ) -> Pin<Box<dyn Future<Output = Result<Response<SessionStatus>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn create_storage_key<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::CreateStorageKeyStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_key<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::DeleteKeyStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn generate_secret<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::GenerateSecretStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_user_id<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::GetUserIdStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn health<'life0, 'async_trait>( &'life0 self, request: Request<Empty> ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn import_signing_key<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::ImportSigningKeyStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn logout<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::LogoutStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn store_server_encrypted_blob<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::StoreServerEncryptedBlobStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn register<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RegisterStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn remote_generate<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RemoteGenerateStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn remote_sign_bytes<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RemoteSignBytesStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn retrieve_server_encrypted_blob<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RetrieveServerEncryptedBlobStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn retrieve_secret<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RetrieveSecretStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn retrieve_audit_events<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RetrieveAuditEventsStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn retrieve_storage_key<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<Message>> ) -> Pin<Box<dyn Future<Output = Result<Response<Self::RetrieveStorageKeyStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§