Class Certificate
A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
Implements
Inherited Members
Namespace: Google.Apis.CertificateAuthorityService.v1.Data
Assembly: Google.Apis.CertificateAuthorityService.v1.dll
Syntax
public class Certificate : IDirectResponseSchema
Properties
CertificateDescription
Output only. A structured description of the issued X.509 certificate.
Declaration
[JsonProperty("certificateDescription")]
public virtual CertificateDescription CertificateDescription { get; set; }
Property Value
Type | Description |
---|---|
CertificateDescription |
CertificateTemplate
Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format
projects/*/locations/*/certificateTemplates/*
. If this is specified, the caller must have the necessary
permission to use this template. If this is omitted, no template will be used. This template must be in the
same location as the Certificate.
Declaration
[JsonProperty("certificateTemplate")]
public virtual string CertificateTemplate { get; set; }
Property Value
Type | Description |
---|---|
string |
Config
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
Declaration
[JsonProperty("config")]
public virtual CertificateConfig Config { get; set; }
Property Value
Type | Description |
---|---|
CertificateConfig |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time at which this Certificate was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IssuerCertificateAuthority
Output only. The resource name of the issuing CertificateAuthority in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*
.
Declaration
[JsonProperty("issuerCertificateAuthority")]
public virtual string IssuerCertificateAuthority { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Optional. Labels with user-defined metadata.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Lifetime
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.
Declaration
[JsonProperty("lifetime")]
public virtual object Lifetime { get; set; }
Property Value
Type | Description |
---|---|
object |
Name
Output only. The resource name for this Certificate in the format
projects/*/locations/*/caPools/*/certificates/*
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PemCertificate
Output only. The pem-encoded, signed X.509 certificate.
Declaration
[JsonProperty("pemCertificate")]
public virtual string PemCertificate { get; set; }
Property Value
Type | Description |
---|---|
string |
PemCertificateChain
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.
Declaration
[JsonProperty("pemCertificateChain")]
public virtual IList<string> PemCertificateChain { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
PemCsr
Immutable. A pem-encoded X.509 certificate signing request (CSR).
Declaration
[JsonProperty("pemCsr")]
public virtual string PemCsr { get; set; }
Property Value
Type | Description |
---|---|
string |
RevocationDetails
Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
Declaration
[JsonProperty("revocationDetails")]
public virtual RevocationDetails RevocationDetails { get; set; }
Property Value
Type | Description |
---|---|
RevocationDetails |
SubjectMode
Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the
DEFAULT
subject mode will be used.
Declaration
[JsonProperty("subjectMode")]
public virtual string SubjectMode { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The time at which this Certificate was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |