pub trait ReadCerts {
    type Error;

    // Required method
    fn read_certs(
        &self
    ) -> impl Future<Output = Result<Vec<CertificateDer<'static>>, Self::Error>> + Send;
}
Expand description

Read a list of certificates.

Inteaded for reading a single full certificate chain.

Required Associated Types§

source

type Error

An error that can occur while reading.

Required Methods§

source

fn read_certs( &self ) -> impl Future<Output = Result<Vec<CertificateDer<'static>>, Self::Error>> + Send

Perform the reading.

Object Safety§

This trait is not object safe.

Implementors§