[−][src]Trait tink_testing_server::proto::keyset_server::Keyset
Generated trait containing gRPC methods that should be implemented for use with KeysetServer.
Required methods
#[must_use]fn generate<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysetGenerateRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetGenerateResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<KeysetGenerateRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetGenerateResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Generates a new keyset from a template.
#[must_use]fn public<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysetPublicRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetPublicResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<KeysetPublicRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetPublicResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Generates a public-key keyset from a private-key keyset.
#[must_use]fn to_json<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysetToJsonRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetToJsonResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<KeysetToJsonRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetToJsonResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Converts a Keyset from Binary to Json Format
#[must_use]fn from_json<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysetFromJsonRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetFromJsonResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<KeysetFromJsonRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetFromJsonResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Converts a Keyset from Json to Binary Format
Implementors
impl Keyset for KeysetServerImpl
[src]
fn generate<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysetGenerateRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetGenerateResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<KeysetGenerateRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetGenerateResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn public<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysetPublicRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetPublicResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<KeysetPublicRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetPublicResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn to_json<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysetToJsonRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetToJsonResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<KeysetToJsonRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetToJsonResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn from_json<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysetFromJsonRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetFromJsonResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<KeysetFromJsonRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<KeysetFromJsonResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,