Struct vault_client::CaChain[][src]

pub struct CaChain { /* fields omitted */ }

The type of a non-empty CA chain. This is useful for validating PEM data.

Note that we don't store these as X509 objects, because those don't implement Send.

Methods

impl CaChain
[src]

Try to create a CaChain from PEM-formatted bytes.

This also validates the PEM.

Get the certificate furthest from the root certificate. Usually, this is the issuer's CA certificate.

Get the root CA certificate.

Trait Implementations

impl PartialEq for CaChain
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for CaChain
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CaChain
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CaChain

impl Sync for CaChain