Class CertificateDescription.Types.SubjectDescription
These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.
Inheritance
System.Object
CertificateDescription.Types.SubjectDescription
Implements
System.IEquatable<CertificateDescription.Types.SubjectDescription>
Google.Protobuf.IBufferMessage
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Security.PrivateCA.V1Beta1
Assembly: Google.Cloud.Security.PrivateCA.V1Beta1.dll
Syntax
public sealed class SubjectDescription : IMessage<CertificateDescription.Types.SubjectDescription>, IEquatable<CertificateDescription.Types.SubjectDescription>, IDeepCloneable<CertificateDescription.Types.SubjectDescription>, IBufferMessage, IMessage
Constructors
SubjectDescription()
Declaration
public SubjectDescription()
SubjectDescription(CertificateDescription.Types.SubjectDescription)
Declaration
public SubjectDescription(CertificateDescription.Types.SubjectDescription other)
Parameters
| Type | Name | Description |
|---|---|---|
| CertificateDescription.Types.SubjectDescription | other |
Properties
CommonName
The "common name" of the distinguished name.
Declaration
public string CommonName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HexSerialNumber
The serial number encoded in lowercase hexadecimal.
Declaration
public string HexSerialNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Lifetime
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
Declaration
public Duration Lifetime { get; set; }
Property Value
| Type | Description |
|---|---|
| Duration |
NotAfterTime
The time at which the certificate expires.
Declaration
public Timestamp NotAfterTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
NotBeforeTime
The time at which the certificate becomes valid.
Declaration
public Timestamp NotBeforeTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Subject
Contains distinguished name fields such as the location and organization.
Declaration
public Subject Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| Subject |
SubjectAltName
The subject alternative name fields.
Declaration
public SubjectAltNames SubjectAltName { get; set; }
Property Value
| Type | Description |
|---|---|
| SubjectAltNames |