Class CertificateDescription.Types.SubjectDescription (1.0.0-beta04)

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.V1Beta1

Assembly

Google.Cloud.Security.PrivateCA.V1Beta1.dll

Constructors

SubjectDescription()

public SubjectDescription()

SubjectDescription(CertificateDescription.Types.SubjectDescription)

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

Properties

CommonName

public string CommonName { get; set; }

The "common name" of the distinguished name.

Property Value
TypeDescription
String

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. Corresponds to 'not_after_time' - 'not_before_time'.

Property Value
TypeDescription
Duration

NotAfterTime

public Timestamp NotAfterTime { get; set; }

The time at which the certificate expires.

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 location and organization.

Property Value
TypeDescription
Subject

SubjectAltName

public SubjectAltNames SubjectAltName { get; set; }

The subject alternative name fields.

Property Value
TypeDescription
SubjectAltNames