Show / Hide Table of Contents

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
System.Object
Certificate
Implements
IMessage<Certificate>
System.IEquatable<Certificate>
IDeepCloneable<Certificate>
Google.Protobuf.IBufferMessage
IMessage
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Security.PrivateCA.V1Beta1
Assembly: Google.Cloud.Security.PrivateCA.V1Beta1.dll
Syntax
public sealed class Certificate : IMessage<Certificate>, IEquatable<Certificate>, IDeepCloneable<Certificate>, IBufferMessage, IMessage

Constructors

Certificate()

Declaration
public Certificate()

Certificate(Certificate)

Declaration
public Certificate(Certificate other)
Parameters
Type Name Description
Certificate other

Properties

CertificateConfigCase

Declaration
public Certificate.CertificateConfigOneofCase CertificateConfigCase { get; }
Property Value
Type Description
Certificate.CertificateConfigOneofCase

CertificateDescription

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

Declaration
public CertificateDescription CertificateDescription { get; set; }
Property Value
Type Description
CertificateDescription

CertificateName

CertificateName-typed view over the Name resource name property.

Declaration
public CertificateName CertificateName { get; set; }
Property Value
Type Description
CertificateName

Config

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

Declaration
public CertificateConfig Config { get; set; }
Property Value
Type Description
CertificateConfig

CreateTime

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

Declaration
public Timestamp CreateTime { get; set; }
Property Value
Type Description
Timestamp

Labels

Optional. Labels with user-defined metadata.

Declaration
public MapField<string, string> Labels { get; }
Property Value
Type Description
MapField<System.String, System.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
public Duration Lifetime { get; set; }
Property Value
Type Description
Duration

Name

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

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

PemCertificate

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

Declaration
public string PemCertificate { get; set; }
Property Value
Type Description
System.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
public RepeatedField<string> PemCertificateChain { get; }
Property Value
Type Description
RepeatedField<System.String>

PemCsr

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

Declaration
public string PemCsr { get; set; }
Property Value
Type Description
System.String

RevocationDetails

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.

Declaration
public Certificate.Types.RevocationDetails RevocationDetails { get; set; }
Property Value
Type Description
Certificate.Types.RevocationDetails

UpdateTime

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

Declaration
public Timestamp UpdateTime { get; set; }
Property Value
Type Description
Timestamp
Back to top