Certificate Authority v1 API - Class Subject (3.2.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