Skip to main content

EncodedCert

Trait EncodedCert 

Source
pub trait EncodedCert {
    // Required methods
    fn cert_type(&self) -> CertType;
    fn encoded(&self) -> &[u8] ;
}
Expand description

A certificate with an encoded representation.

Required Methods§

Source

fn cert_type(&self) -> CertType

Return the type of this certificate.

Source

fn encoded(&self) -> &[u8]

Return the encoding of this certificate.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§