pub trait CertificateRetriever: Sync + Send {
    // Required method
    fn get_certificate_details<'life0, 'life1, 'async_trait>(
        &'life0 self,
        certificate_hash: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Certificate, CertificateRetrieverError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

CertificateRetriever is in charge of retrieving a Certificate given its hash

Required Methods§

source

fn get_certificate_details<'life0, 'life1, 'async_trait>( &'life0 self, certificate_hash: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Certificate, CertificateRetrieverError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get Certificate details

Implementors§