Skip to main content

RustlsCertExt

Trait RustlsCertExt 

Source
pub trait RustlsCertExt {
    // Required method
    fn certificate_der_rustls(&self) -> CertificateDer<'static>;
}
Expand description

Extension trait to convert uselesskey X.509 fixtures into CertificateDer.

Implemented for types that represent a single certificate.

Required Methods§

Source

fn certificate_der_rustls(&self) -> CertificateDer<'static>

Convert the certificate to a CertificateDer<'static>.

Implementations on Foreign Types§

Source§

impl RustlsCertExt for X509Cert

Available on crate feature x509 only.
Source§

impl RustlsCertExt for X509Chain

Available on crate feature x509 only.

Implementors§