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§
Sourcefn certificate_der_rustls(&self) -> CertificateDer<'static>
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.
impl RustlsCertExt for X509Cert
Available on crate feature
x509 only.fn certificate_der_rustls(&self) -> CertificateDer<'static>
Source§impl RustlsCertExt for X509Chain
Available on crate feature x509 only.
impl RustlsCertExt for X509Chain
Available on crate feature
x509 only.