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.
Implements
IMessageCertificate, IEquatableCertificate, IDeepCloneableCertificate, IBufferMessage, IMessageNamespace
Google.Cloud.Kms.V1Assembly
Google.Cloud.Kms.V1.dll
Constructors
Certificate()
public Certificate()
Certificate(Certificate)
public Certificate(Certificate other)
Parameter | |
---|---|
Name | Description |
other | Certificate |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Timestamp |
Parsed
public bool Parsed { get; set; }
Output only. True if the certificate was parsed successfully.
Property Value | |
---|---|
Type | Description |
bool |
RawDer
public ByteString RawDer { get; set; }
Required. The raw certificate bytes in DER format.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldstring |