Certificate Authority v1 API - Class Subject (3.6.0)

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.

Inheritance

object > Subject

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

Subject()

public Subject()

Subject(Subject)

public Subject(Subject other)
Parameter
NameDescription
otherSubject

Properties

CommonName

public string CommonName { get; set; }

The "common name" of the subject.

Property Value
TypeDescription
string

CountryCode

public string CountryCode { get; set; }

The country code of the subject.

Property Value
TypeDescription
string

Locality

public string Locality { get; set; }

The locality or city of the subject.

Property Value
TypeDescription
string

Organization

public string Organization { get; set; }

The organization of the subject.

Property Value
TypeDescription
string

OrganizationalUnit

public string OrganizationalUnit { get; set; }

The organizational_unit of the subject.

Property Value
TypeDescription
string

PostalCode

public string PostalCode { get; set; }

The postal code of the subject.

Property Value
TypeDescription
string

Province

public string Province { get; set; }

The province, territory, or regional state of the subject.

Property Value
TypeDescription
string

StreetAddress

public string StreetAddress { get; set; }

The street address of the subject.

Property Value
TypeDescription
string