public sealed class SubjectAltNames : IMessage<SubjectAltNames>, IEquatable<SubjectAltNames>, IDeepCloneable<SubjectAltNames>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class SubjectAltNames.
[SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames]
corresponds to a more modern way of listing what the asserted identity is in
a certificate (i.e., compared to the "common name" in the distinguished
name).
[[["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 \u003ccode\u003eSubjectAltNames\u003c/code\u003e class in the Google Cloud Security PrivateCA V1 API represents a modern method for defining the asserted identity in a certificate, replacing the older "common name" approach.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports multiple types of subject alternative names, including DNS names, email addresses, IP addresses, URIs, and custom extensions, all of which are stored in their corresponding property fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubjectAltNames\u003c/code\u003e class is immutable, implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, and can be constructed using a default constructor or a copy constructor that takes another \u003ccode\u003eSubjectAltNames\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.9.0 is the latest version of the class, with earlier versions going as far back as 1.0.0, all of which include the same SubjectAltNames class.\u003c/p\u003e\n"],["\u003cp\u003eEach property, \u003ccode\u003eDnsNames\u003c/code\u003e, \u003ccode\u003eEmailAddresses\u003c/code\u003e, \u003ccode\u003eIpAddresses\u003c/code\u003e, \u003ccode\u003eUris\u003c/code\u003e, and \u003ccode\u003eCustomSans\u003c/code\u003e, is of type \u003ccode\u003eRepeatedField\u003c/code\u003e, allowing each to contain a list of values of their relevant type, including \u003ccode\u003estring\u003c/code\u003e and \u003ccode\u003eX509Extension\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]