Google Cloud Key Management Service v1 API - Class Certificate (3.1.0)

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

Reference documentation and code samples for the Google Cloud Key Management Service v1 API class Certificate.

A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.

Inheritance

Object > Certificate

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Constructors

Certificate()

public Certificate()

Certificate(Certificate)

public Certificate(Certificate other)
Parameter
NameDescription
otherCertificate

Properties

Issuer

public string Issuer { get; set; }

Output only. The issuer distinguished name in RFC 2253 format. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

Property Value
TypeDescription
String

NotAfterTime

public Timestamp NotAfterTime { get; set; }

Output only. The certificate is not valid after this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

Property Value
TypeDescription
Timestamp

NotBeforeTime

public Timestamp NotBeforeTime { get; set; }

Output only. The certificate is not valid before this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

Property Value
TypeDescription
Timestamp

Parsed

public bool Parsed { get; set; }

Output only. True if the certificate was parsed successfully.

Property Value
TypeDescription
Boolean

RawDer

public ByteString RawDer { get; set; }

Required. The raw certificate bytes in DER format.

Property Value
TypeDescription
ByteString

SerialNumber

public string SerialNumber { get; set; }

Output only. The certificate serial number as a hex string. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

Property Value
TypeDescription
String

Sha256Fingerprint

public string Sha256Fingerprint { get; set; }

Output only. The SHA-256 certificate fingerprint as a hex string. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

Property Value
TypeDescription
String

Subject

public string Subject { get; set; }

Output only. The subject distinguished name in RFC 2253 format. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

Property Value
TypeDescription
String

SubjectAlternativeDnsNames

public RepeatedField<string> SubjectAlternativeDnsNames { get; }

Output only. The subject Alternative DNS names. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

Property Value
TypeDescription
RepeatedField<String>