[−][src]Trait tink_testing_server::proto::mac_server::Mac
Generated trait containing gRPC methods that should be implemented for use with MacServer.
Required methods
#[must_use]fn compute_mac<'life0, 'async_trait>(
&'life0 self,
request: Request<ComputeMacRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ComputeMacResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<ComputeMacRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ComputeMacResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Computes a MAC for given data
#[must_use]fn verify_mac<'life0, 'async_trait>(
&'life0 self,
request: Request<VerifyMacRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<VerifyMacResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<VerifyMacRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<VerifyMacResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Verifies the validity of the MAC value, no error means success
Implementors
impl Mac for MacServerImpl
[src]
fn compute_mac<'life0, 'async_trait>(
&'life0 self,
request: Request<ComputeMacRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ComputeMacResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<ComputeMacRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ComputeMacResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn verify_mac<'life0, 'async_trait>(
&'life0 self,
request: Request<VerifyMacRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<VerifyMacResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<VerifyMacRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<VerifyMacResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,