Class CertificateDescription.Types.SubjectDescription (2.3.0)

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.

Inheritance

Object > CertificateDescription.Types.SubjectDescription

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

SubjectDescription()

public SubjectDescription()

SubjectDescription(CertificateDescription.Types.SubjectDescription)

public SubjectDescription(CertificateDescription.Types.SubjectDescription other)
Parameter
NameDescription
otherCertificateDescription.Types.SubjectDescription

Properties

HexSerialNumber

public string HexSerialNumber { get; set; }

The serial number encoded in lowercase hexadecimal.

Property Value
TypeDescription
String

Lifetime

public Duration Lifetime { get; set; }

For convenience, the actual lifetime of an issued certificate.

Property Value
TypeDescription
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
TypeDescription
Timestamp

NotBeforeTime

public Timestamp NotBeforeTime { get; set; }

The time at which the certificate becomes valid.

Property Value
TypeDescription
Timestamp

Subject

public Subject Subject { get; set; }

Contains distinguished name fields such as the common name, location and / organization.

Property Value
TypeDescription
Subject

SubjectAltName

public SubjectAltNames SubjectAltName { get; set; }

The subject alternative name fields.

Property Value
TypeDescription
SubjectAltNames