AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Contains information about the certificate subject. The Subject
field in the
certificate identifies the entity that owns or controls the public key in the certificate.
The entity can be a user, computer, device, or service. The Subject
must contain
an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names
(RDNs). The RDNs are separated by commas in the certificate.
Namespace: Amazon.ACMPCA.Model
Assembly: AWSSDK.ACMPCA.dll
Version: 3.x.y.z
public class ASN1Subject
The ASN1Subject type exposes the following members
Name | Description | |
---|---|---|
ASN1Subject() |
Name | Type | Description | |
---|---|---|---|
CommonName | System.String |
Gets and sets the property CommonName. For CA and end-entity certificates in a private PKI, the common name (CN) can be any string within the length limit. Note: In publicly trusted certificates, the common name must be a fully qualified domain name (FQDN) associated with the certificate subject. |
|
Country | System.String |
Gets and sets the property Country. Two-digit code that specifies the country in which the certificate subject located. |
|
CustomAttributes | System.Collections.Generic.List<Amazon.ACMPCA.Model.CustomAttribute> |
Gets and sets the property 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). Custom attributes cannot be used in combination with standard attributes. |
|
DistinguishedNameQualifier | System.String |
Gets and sets the property DistinguishedNameQualifier. Disambiguating information for the certificate subject. |
|
GenerationQualifier | System.String |
Gets and sets the property GenerationQualifier. Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third. |
|
GivenName | System.String |
Gets and sets the property GivenName. First name. |
|
Initials | System.String |
Gets and sets the property 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 | System.String |
Gets and sets the property Locality. The locality (such as a city or town) in which the certificate subject is located. |
|
Organization | System.String |
Gets and sets the property Organization. Legal name of the organization with which the certificate subject is affiliated. |
|
OrganizationalUnit | System.String |
Gets and sets the property OrganizationalUnit. A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated. |
|
Pseudonym | System.String |
Gets and sets the property Pseudonym. Typically a shortened version of a longer GivenName. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza. |
|
SerialNumber | System.String |
Gets and sets the property SerialNumber. The certificate serial number. |
|
State | System.String |
Gets and sets the property State. State in which the subject of the certificate is located. |
|
Surname | System.String |
Gets and sets the property Surname. Family name. In the US and the UK, for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first. |
|
Title | System.String |
Gets and sets the property Title. A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5