Skip to main content

EncodedCert

Trait EncodedCert 

Source
pub trait EncodedCert {
    // Required methods
    fn cert_type(&self) -> CertType;
    fn encoded(&self) -> &[u8] ;
}
Available on crate feature encode only.
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.

Implementors§