Struct vault_client::X509 [−][src]
pub struct X509 { pub common_name: String, pub certificate: String, pub issuing_ca: String, pub ca_chain: Option<Vec<String>>, pub private_key: String, pub private_key_type: String, pub serial_number: String, pub replace_after: Duration, pub lifetime: Duration, }
X509 certificates, as obtained by use of the PKI secret backend. These are most commonly used to secure TLS transports, such as HTTPS.
Fields
common_name: String
The common name used for this certificate.
certificate: String
The actual certificate.
issuing_ca: String
CA that issued this certificate.
ca_chain: Option<Vec<String>>
Chain of certificates from the issued one to the CA.
private_key: String
Private key for the certificate.
private_key_type: String
Type of the private key
serial_number: String
Serial number of this certificate
replace_after: Duration
The amount of time before this token needs to be replaced.
lifetime: Duration
The total lifetime that we request for our certificates.
Trait Implementations
impl Debug for X509
[src]
impl Debug for X509
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for X509
[src]
impl Clone for X509
fn clone(&self) -> X509
[src]
fn clone(&self) -> X509
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for X509
[src]
impl PartialEq for X509