Interface CfnCertificateAuthority.ISubjectProperty
ASN1 subject for the certificate authority.
Namespace: Amazon.CDK.AWS.ACMPCA
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISubjectProperty
Syntax (vb)
Public Interface 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
Properties
Common |
Fully qualified domain name (FQDN) associated with the certificate subject. |
Country | Two-digit code that specifies the country in which the certificate subject located. |
Custom |
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) . |
Distinguished |
Disambiguating information for the certificate subject. |
Generation |
Typically a qualifier appended to the name of an individual. |
Given |
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. |
Organizational |
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. |
Serial |
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. |
Properties
CommonName
Fully qualified domain name (FQDN) associated with the certificate subject.
virtual string CommonName { get; }
Property Value
System.
Remarks
Country
Two-digit code that specifies the country in which the certificate subject located.
virtual string Country { get; }
Property Value
System.
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) .
virtual object CustomAttributes { get; }
Property Value
System.
Remarks
Custom attributes cannot be used in combination with standard attributes.
DistinguishedNameQualifier
Disambiguating information for the certificate subject.
virtual string DistinguishedNameQualifier { get; }
Property Value
System.
Remarks
GenerationQualifier
Typically a qualifier appended to the name of an individual.
virtual string GenerationQualifier { get; }
Property Value
System.
Remarks
Examples include Jr. for junior, Sr. for senior, and III for third.
GivenName
First name.
virtual string GivenName { get; }
Property Value
System.
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.
virtual string Initials { get; }
Property Value
System.
Remarks
Locality
The locality (such as a city or town) in which the certificate subject is located.
virtual string Locality { get; }
Property Value
System.
Remarks
Organization
Legal name of the organization with which the certificate subject is affiliated.
virtual string Organization { get; }
Property Value
System.
Remarks
OrganizationalUnit
A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
virtual string OrganizationalUnit { get; }
Property Value
System.
Remarks
Pseudonym
Typically a shortened version of a longer GivenName.
virtual string Pseudonym { get; }
Property Value
System.
Remarks
For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.
SerialNumber
The certificate serial number.
virtual string SerialNumber { get; }
Property Value
System.
Remarks
State
State in which the subject of the certificate is located.
virtual string State { get; }
Property Value
System.
Remarks
Surname
Family name.
virtual string Surname { get; }
Property Value
System.
Remarks
Title
A personal title such as Mr.
virtual string Title { get; }
Property Value
System.