public sealed class Subject : IMessage<Subject>, IEquatable<Subject>, IDeepCloneable<Subject>, IBufferMessage, IMessageReference 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.
Namespace
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 |
|
RdnSequence
public RepeatedField<RelativeDistinguishedName> RdnSequence { get; }This field can be used in place of the named subject fields.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldRelativeDistinguishedName |
|
StreetAddress
public string StreetAddress { get; set; }The street address of the subject.
| Property Value | |
|---|---|
| Type | Description |
string |
|