public sealed class SubjectDescription : IMessage<CertificateDescription.Types.SubjectDescription>, IEquatable<CertificateDescription.Types.SubjectDescription>, IDeepCloneable<CertificateDescription.Types.SubjectDescription>, IBufferMessage, IMessage
These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.
Implements
IMessage<CertificateDescription.Types.SubjectDescription>, IEquatable<CertificateDescription.Types.SubjectDescription>, IDeepCloneable<CertificateDescription.Types.SubjectDescription>, IBufferMessage, IMessageNamespace
Google.Cloud.Security.PrivateCA.V1Assembly
Google.Cloud.Security.PrivateCA.V1.dll
Constructors
SubjectDescription()
public SubjectDescription()
SubjectDescription(CertificateDescription.Types.SubjectDescription)
public SubjectDescription(CertificateDescription.Types.SubjectDescription other)
Parameter | |
---|---|
Name | Description |
other | CertificateDescription.Types.SubjectDescription |
Properties
HexSerialNumber
public string HexSerialNumber { get; set; }
The serial number encoded in lowercase hexadecimal.
Property Value | |
---|---|
Type | Description |
String |
Lifetime
public Duration Lifetime { get; set; }
For convenience, the actual lifetime of an issued certificate.
Property Value | |
---|---|
Type | Description |
Duration |
NotAfterTime
public Timestamp NotAfterTime { get; set; }
The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to 'not_before_time' + 'lifetime' - 1 second.
Property Value | |
---|---|
Type | Description |
Timestamp |
NotBeforeTime
public Timestamp NotBeforeTime { get; set; }
The time at which the certificate becomes valid.
Property Value | |
---|---|
Type | Description |
Timestamp |
Subject
public Subject Subject { get; set; }
Contains distinguished name fields such as the common name, location and / organization.
Property Value | |
---|---|
Type | Description |
Subject |
SubjectAltName
public SubjectAltNames SubjectAltName { get; set; }
The subject alternative name fields.
Property Value | |
---|---|
Type | Description |
SubjectAltNames |