Trait CryptoOutputProcessor
Source pub trait CryptoOutputProcessor:
Sync
+ Send
+ 'static {
// Required methods
fn verify_object<'life0, 'async_trait>(
&'life0 self,
req: CryptoVerifyObjectOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<CryptoVerifyObjectOutputResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sign_object<'life0, 'async_trait>(
&'life0 self,
req: CryptoSignObjectOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<CryptoSignObjectOutputResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn encrypt_data<'life0, 'async_trait>(
&'life0 self,
req: CryptoEncryptDataOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<CryptoEncryptDataOutputResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn decrypt_data<'life0, 'async_trait>(
&'life0 self,
req: CryptoDecryptDataOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<CryptoDecryptDataOutputResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}