pub trait CertificateClient: PollClient {
    fn delete_certificate(
        &mut self,
        id: CertId
    ) -> ClientResult<'_, DeleteCertificate, Self> { ... }
fn read_certificate(
        &mut self,
        id: CertId
    ) -> ClientResult<'_, ReadCertificate, Self> { ... }
fn write_certificate(
        &mut self,
        location: Location,
        der: &[u8]
    ) -> ClientResult<'_, WriteCertificate, Self> { ... } }
Expand description

Read/Write + Delete certificates

Provided methods

Currently, this writes the cert (assumed but not verified to be DER) as-is. It might make sense to add attributes (such as “deletable”). (On the other hand, the attn CA certs are not directly accessible to clients, and generated attn certs can be regenerated).

Implementors