[−][src]Trait tink_testing_server::proto::aead_server::Aead
Generated trait containing gRPC methods that should be implemented for use with AeadServer.
Required methods
#[must_use]fn encrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<AeadEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AeadEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<AeadEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AeadEncryptResponse>, 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<AeadDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AeadDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<AeadDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AeadDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Decrypts a ciphertext with the provided keyset
Implementors
impl Aead for AeadServerImpl
[src]
fn encrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<AeadEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AeadEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<AeadEncryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AeadEncryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn decrypt<'life0, 'async_trait>(
&'life0 self,
request: Request<AeadDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AeadDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<AeadDecryptRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AeadDecryptResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,