public sealed class Subject : IMessage<Subject>, IEquatable<Subject>, IDeepCloneable<Subject>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class Subject.
[Subject][google.cloud.security.privateca.v1.Subject] describes parts of a distinguished name that, in turn, describes the subject of the certificate.
Implements
IMessage<Subject>, IEquatable<Subject>, IDeepCloneable<Subject>, IBufferMessage, IMessageNamespace
Google.Cloud.Security.PrivateCA.V1Assembly
Google.Cloud.Security.PrivateCA.V1.dll
Constructors
Subject()
public Subject()
Subject(Subject)
public Subject(Subject other)
Parameter | |
---|---|
Name | Description |
other | Subject |
Properties
CommonName
public string CommonName { get; set; }
The "common name" of the subject.
Property Value | |
---|---|
Type | Description |
String |
CountryCode
public string CountryCode { get; set; }
The country code of the subject.
Property Value | |
---|---|
Type | Description |
String |
Locality
public string Locality { get; set; }
The locality or city of the subject.
Property Value | |
---|---|
Type | Description |
String |
Organization
public string Organization { get; set; }
The organization of the subject.
Property Value | |
---|---|
Type | Description |
String |
OrganizationalUnit
public string OrganizationalUnit { get; set; }
The organizational_unit of the subject.
Property Value | |
---|---|
Type | Description |
String |
PostalCode
public string PostalCode { get; set; }
The postal code of the subject.
Property Value | |
---|---|
Type | Description |
String |
Province
public string Province { get; set; }
The province, territory, or regional state of the subject.
Property Value | |
---|---|
Type | Description |
String |
StreetAddress
public string StreetAddress { get; set; }
The street address of the subject.
Property Value | |
---|---|
Type | Description |
String |