Certificate Authority v1beta1 API - Class Certificate (2.0.0-beta02)

public sealed class Certificate : IMessage<Certificate>, IEquatable<Certificate>, IDeepCloneable<Certificate>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Authority v1beta1 API class Certificate.

A [Certificate][google.cloud.security.privateca.v1beta1.Certificate] corresponds to a signed X.509 certificate issued by a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].

Inheritance

Object > Certificate

Namespace

Google.Cloud.Security.PrivateCA.V1Beta1

Assembly

Google.Cloud.Security.PrivateCA.V1Beta1.dll

Constructors

Certificate()

public Certificate()

Certificate(Certificate)

public Certificate(Certificate other)
Parameter
NameDescription
otherCertificate

Properties

CertificateConfigCase

public Certificate.CertificateConfigOneofCase CertificateConfigCase { get; }
Property Value
TypeDescription
Certificate.CertificateConfigOneofCase

CertificateDescription

public CertificateDescription CertificateDescription { get; set; }

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

Property Value
TypeDescription
CertificateDescription

CertificateName

public CertificateName CertificateName { get; set; }

CertificateName-typed view over the Name resource name property.

Property Value
TypeDescription
CertificateName

Config

public CertificateConfig Config { get; set; }

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

Property Value
TypeDescription
CertificateConfig

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.

Property Value
TypeDescription
Timestamp

Labels

public MapField<string, string> Labels { get; }

Optional. Labels with user-defined metadata.

Property Value
TypeDescription
MapField<String, String>

Lifetime

public Duration Lifetime { get; set; }

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.

Property Value
TypeDescription
Duration

Name

public string Name { get; set; }

Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format projects/*/locations/*/certificateAuthorities/*/certificates/*.

Property Value
TypeDescription
String

PemCertificate

public string PemCertificate { get; set; }

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

Property Value
TypeDescription
String

PemCertificateChain

public RepeatedField<string> PemCertificateChain { get; }

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.

Property Value
TypeDescription
RepeatedField<String>

PemCsr

public string PemCsr { get; set; }

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

Property Value
TypeDescription
String

RevocationDetails

public Certificate.Types.RevocationDetails RevocationDetails { get; set; }

Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.

Property Value
TypeDescription
Certificate.Types.RevocationDetails

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.

Property Value
TypeDescription
Timestamp