[−][src]Trait tink_testing_server::proto::streaming_aead_server::StreamingAead
Generated trait containing gRPC methods that should be implemented for use with StreamingAeadServer.
Required methods
#[must_use]fn encrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamingAeadEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<StreamingAeadEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<StreamingAeadEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<StreamingAeadEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Encrypts a plaintext with the provided keyset
#[must_use]fn decrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamingAeadDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<StreamingAeadDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<StreamingAeadDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<StreamingAeadDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Decrypts a ciphertext with the provided keyset
Implementors
impl StreamingAead for StreamingAeadServerImpl
[src]
fn encrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamingAeadEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<StreamingAeadEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<StreamingAeadEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<StreamingAeadEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn decrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamingAeadDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<StreamingAeadDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<StreamingAeadDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<StreamingAeadDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,