Struct native_tls::Certificate [] [src]

pub struct Certificate(_);

An X509 certificate.

Methods

impl Certificate
[src]

[src]

Parses a DER-formatted X509 certificate.

[src]

Parses a PEM-formatted X509 certificate. If the PEM file contains more than one certificate the last one is used and the others are ignored.