[−][src]Trait tink_testing_server::proto::signature_server::Signature
Generated trait containing gRPC methods that should be implemented for use with SignatureServer.
Required methods
#[must_use]fn sign<'life0, 'async_trait>(
&'life0 self,
request: Request<SignatureSignRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<SignatureSignResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<SignatureSignRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<SignatureSignResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Computes the signature for data
#[must_use]fn verify<'life0, 'async_trait>(
&'life0 self,
request: Request<SignatureVerifyRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<SignatureVerifyResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<SignatureVerifyRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<SignatureVerifyResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Verifies that signature is a digital signature for data
Implementors
impl Signature for SignatureServerImpl
[src]
fn sign<'life0, 'async_trait>(
&'life0 self,
request: Request<SignatureSignRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<SignatureSignResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<SignatureSignRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<SignatureSignResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn verify<'life0, 'async_trait>(
&'life0 self,
request: Request<SignatureVerifyRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<SignatureVerifyResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<SignatureVerifyRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<SignatureVerifyResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,