Trait cyfs_lib::CryptoOutputProcessor
source · [−]pub trait CryptoOutputProcessor: Sync + Send + 'static {
fn verify_object<'life0, 'async_trait>(
&'life0 self,
req: CryptoVerifyObjectOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<CryptoVerifyObjectOutputResponse>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn sign_object<'life0, 'async_trait>(
&'life0 self,
req: CryptoSignObjectOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<CryptoSignObjectOutputResponse>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Required Methods
sourcefn verify_object<'life0, 'async_trait>(
fn verify_object<'life0, 'async_trait>(
&'life0 self,
req: CryptoVerifyObjectOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<CryptoVerifyObjectOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
sourcefn sign_object<'life0, 'async_trait>(