Struct native_tls::Certificate[][src]

pub struct Certificate(_);

An X509 certificate.

Methods

impl Certificate
[src]

Parses a DER-formatted X509 certificate.

Parses a PEM-formatted X509 certificate.

Returns the DER-encoded representation of this certificate.

Trait Implementations

impl Clone for Certificate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Certificate

impl Sync for Certificate