public sealed class CertificateDescription.Types.SubjectDescription : IMessage<CertificateDescription.Types.SubjectDescription>, IEquatable<CertificateDescription.Types.SubjectDescription>, IDeepCloneable<CertificateDescription.Types.SubjectDescription>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API 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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eCertificateDescription.Types.SubjectDescription\u003c/code\u003e class in the Google Cloud Security Private CA v1 API is version 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eCertificateDescription.Types.SubjectDescription\u003c/code\u003e, provides details about an issued X.509 certificate, including its distinguished name, subject alternative names, serial number, and lifetime.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSubjectDescription\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003eSubjectDescription\u003c/code\u003e include \u003ccode\u003eHexSerialNumber\u003c/code\u003e, \u003ccode\u003eLifetime\u003c/code\u003e, \u003ccode\u003eNotAfterTime\u003c/code\u003e, \u003ccode\u003eNotBeforeTime\u003c/code\u003e, \u003ccode\u003eSubject\u003c/code\u003e, and \u003ccode\u003eSubjectAltName\u003c/code\u003e, each providing specific information about the certificate.\u003c/p\u003e\n"],["\u003cp\u003eThis class is found within the \u003ccode\u003eGoogle.Cloud.Security.PrivateCA.V1\u003c/code\u003e namespace, part of the \u003ccode\u003eGoogle.Cloud.Security.PrivateCA.V1.dll\u003c/code\u003e assembly, and has constructors that create new instances of this class.\u003c/p\u003e\n"]]],[],null,["# Certificate Authority v1 API - Class CertificateDescription.Types.SubjectDescription (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.9.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.8.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.7.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.6.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.5.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.4.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.3.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.2.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.1.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.0.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.3.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.2.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.1.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.0.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/1.0.0/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription) \n\n public sealed class CertificateDescription.Types.SubjectDescription : IMessage\u003cCertificateDescription.Types.SubjectDescription\u003e, IEquatable\u003cCertificateDescription.Types.SubjectDescription\u003e, IDeepCloneable\u003cCertificateDescription.Types.SubjectDescription\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Authority v1 API class CertificateDescription.Types.SubjectDescription.\n\nThese values describe fields in an issued X.509 certificate such as the\ndistinguished name, subject alternative names, serial number, and lifetime. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CertificateDescription.Types.SubjectDescription \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CertificateDescription](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription)[Types](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types)[SubjectDescription](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CertificateDescription](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription)[Types](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types)[SubjectDescription](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CertificateDescription](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription)[Types](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types)[SubjectDescription](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateDescription.Types.SubjectDescription), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Security.PrivateCA.V1](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Security.PrivateCA.V1.dll\n\nConstructors\n------------\n\n### SubjectDescription()\n\n public SubjectDescription()\n\n### SubjectDescription(SubjectDescription)\n\n public SubjectDescription(CertificateDescription.Types.SubjectDescription other)\n\nProperties\n----------\n\n### HexSerialNumber\n\n public string HexSerialNumber { get; set; }\n\nThe serial number encoded in lowercase hexadecimal.\n\n### Lifetime\n\n public Duration Lifetime { get; set; }\n\nFor convenience, the actual lifetime of an issued certificate.\n\n### NotAfterTime\n\n public Timestamp NotAfterTime { get; set; }\n\nThe time after which the certificate is expired.\nPer RFC 5280, the validity period for a certificate is the period of time\nfrom not_before_time through not_after_time, inclusive.\nCorresponds to 'not_before_time' + 'lifetime' - 1 second.\n\n### NotBeforeTime\n\n public Timestamp NotBeforeTime { get; set; }\n\nThe time at which the certificate becomes valid.\n\n### Subject\n\n public Subject Subject { get; set; }\n\nContains distinguished name fields such as the common name, location and\n/ organization.\n\n### SubjectAltName\n\n public SubjectAltNames SubjectAltName { get; set; }\n\nThe subject alternative name fields."]]