Struct google_privateca1_beta1::api::Certificate[][src]

pub struct Certificate {
    pub certificate_description: Option<CertificateDescription>,
    pub config: Option<CertificateConfig>,
    pub create_time: Option<String>,
    pub labels: Option<HashMap<String, String>>,
    pub lifetime: Option<String>,
    pub name: Option<String>,
    pub pem_certificate: Option<String>,
    pub pem_certificate_chain: Option<Vec<String>>,
    pub pem_csr: Option<String>,
    pub revocation_details: Option<RevocationDetails>,
    pub update_time: Option<String>,
}

A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

certificate_description: Option<CertificateDescription>

Output only. A structured description of the issued X.509 certificate.

config: Option<CertificateConfig>

Immutable. A description of the certificate and key that does not require X.509 or ASN.1.

create_time: Option<String>

Output only. The time at which this Certificate was created.

labels: Option<HashMap<String, String>>

Optional. Labels with user-defined metadata.

lifetime: Option<String>

Required. Immutable. The desired lifetime of a certificate. Used to create the “not_before_time” and “not_after_time” fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.

name: Option<String>

Output only. The resource path for this Certificate in the format projects/*/locations/*/certificateAuthorities/*/certificates/*.

pem_certificate: Option<String>

Output only. The pem-encoded, signed X.509 certificate.

pem_certificate_chain: Option<Vec<String>>

Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

pem_csr: Option<String>

Immutable. A pem-encoded X.509 certificate signing request (CSR).

revocation_details: Option<RevocationDetails>

Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.

update_time: Option<String>

Output only. The time at which this Certificate was updated.

Trait Implementations

impl Clone for Certificate[src]

impl Debug for Certificate[src]

impl Default for Certificate[src]

impl<'de> Deserialize<'de> for Certificate[src]

impl RequestValue for Certificate[src]

impl ResponseResult for Certificate[src]

impl Serialize for Certificate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.