Class CfnCertificateAuthority.SubjectProperty
ASN1 subject for the certificate authority.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ACMPCA
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SubjectProperty : Object, CfnCertificateAuthority.ISubjectProperty
Syntax (vb)
Public Class SubjectProperty
Inherits Object
Implements CfnCertificateAuthority.ISubjectProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ACMPCA;
var subjectProperty = new SubjectProperty {
CommonName = "commonName",
Country = "country",
CustomAttributes = new [] { new CustomAttributeProperty {
ObjectIdentifier = "objectIdentifier",
Value = "value"
} },
DistinguishedNameQualifier = "distinguishedNameQualifier",
GenerationQualifier = "generationQualifier",
GivenName = "givenName",
Initials = "initials",
Locality = "locality",
Organization = "organization",
OrganizationalUnit = "organizationalUnit",
Pseudonym = "pseudonym",
SerialNumber = "serialNumber",
State = "state",
Surname = "surname",
Title = "title"
};
Synopsis
Constructors
SubjectProperty() |
Properties
CommonName | Fully qualified domain name (FQDN) associated with the certificate subject. |
Country | Two-digit code that specifies the country in which the certificate subject located. |
CustomAttributes | Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of which consists of an object identifier (OID) and a value. For more information, see NIST’s definition of Object Identifier (OID) . |
DistinguishedNameQualifier | Disambiguating information for the certificate subject. |
GenerationQualifier | Typically a qualifier appended to the name of an individual. |
GivenName | First name. |
Initials | Concatenation that typically contains the first letter of the GivenName, the first letter of the middle name if one exists, and the first letter of the SurName. |
Locality | The locality (such as a city or town) in which the certificate subject is located. |
Organization | Legal name of the organization with which the certificate subject is affiliated. |
OrganizationalUnit | A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated. |
Pseudonym | Typically a shortened version of a longer GivenName. |
SerialNumber | The certificate serial number. |
State | State in which the subject of the certificate is located. |
Surname | Family name. |
Title | A personal title such as Mr. |
Constructors
SubjectProperty()
public SubjectProperty()
Properties
CommonName
Fully qualified domain name (FQDN) associated with the certificate subject.
public string CommonName { get; set; }
Property Value
System.String
Remarks
Country
Two-digit code that specifies the country in which the certificate subject located.
public string Country { get; set; }
Property Value
System.String
Remarks
CustomAttributes
Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of which consists of an object identifier (OID) and a value. For more information, see NIST’s definition of Object Identifier (OID) .
public object CustomAttributes { get; set; }
Property Value
System.Object
Remarks
Custom attributes cannot be used in combination with standard attributes.
DistinguishedNameQualifier
Disambiguating information for the certificate subject.
public string DistinguishedNameQualifier { get; set; }
Property Value
System.String
Remarks
GenerationQualifier
Typically a qualifier appended to the name of an individual.
public string GenerationQualifier { get; set; }
Property Value
System.String
Remarks
Examples include Jr. for junior, Sr. for senior, and III for third.
GivenName
First name.
public string GivenName { get; set; }
Property Value
System.String
Remarks
Initials
Concatenation that typically contains the first letter of the GivenName, the first letter of the middle name if one exists, and the first letter of the SurName.
public string Initials { get; set; }
Property Value
System.String
Remarks
Locality
The locality (such as a city or town) in which the certificate subject is located.
public string Locality { get; set; }
Property Value
System.String
Remarks
Organization
Legal name of the organization with which the certificate subject is affiliated.
public string Organization { get; set; }
Property Value
System.String
Remarks
OrganizationalUnit
A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
public string OrganizationalUnit { get; set; }
Property Value
System.String
Remarks
Pseudonym
Typically a shortened version of a longer GivenName.
public string Pseudonym { get; set; }
Property Value
System.String
Remarks
For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.
SerialNumber
The certificate serial number.
public string SerialNumber { get; set; }
Property Value
System.String
Remarks
State
State in which the subject of the certificate is located.
public string State { get; set; }
Property Value
System.String
Remarks
Surname
Family name.
public string Surname { get; set; }
Property Value
System.String
Remarks
Title
A personal title such as Mr.
public string Title { get; set; }
Property Value
System.String