[−][src]Trait tink_testing_server::proto::hybrid_server::Hybrid
Generated trait containing gRPC methods that should be implemented for use with HybridServer.
Required methods
#[must_use]fn encrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<HybridEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<HybridEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<HybridEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<HybridEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Encrypts plaintext binding context_info to the resulting ciphertext
#[must_use]fn decrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<HybridDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<HybridDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<HybridDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<HybridDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Decrypts ciphertext verifying the integrity of context_info