class Aws::ACMPCA::Types::ASN1Subject

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.

@note When making an API call, you may pass ASN1Subject

data as a hash:

    {
      country: "CountryCodeString",
      organization: "String64",
      organizational_unit: "String64",
      distinguished_name_qualifier: "ASN1PrintableString64",
      state: "String128",
      common_name: "String64",
      serial_number: "ASN1PrintableString64",
      locality: "String128",
      title: "String64",
      surname: "String40",
      given_name: "String16",
      initials: "String5",
      pseudonym: "String128",
      generation_qualifier: "String3",
    }

@!attribute [rw] country

Two-digit code that specifies the country in which the certificate
subject located.
@return [String]

@!attribute [rw] organization

Legal name of the organization with which the certificate subject is
affiliated.
@return [String]

@!attribute [rw] organizational_unit

A subdivision or unit of the organization (such as sales or finance)
with which the certificate subject is affiliated.
@return [String]

@!attribute [rw] distinguished_name_qualifier

Disambiguating information for the certificate subject.
@return [String]

@!attribute [rw] state

State in which the subject of the certificate is located.
@return [String]

@!attribute [rw] common_name

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.
@return [String]

@!attribute [rw] serial_number

The certificate serial number.
@return [String]

@!attribute [rw] locality

The locality (such as a city or town) in which the certificate
subject is located.
@return [String]

@!attribute [rw] title

A title such as Mr. or Ms., which is pre-pended to the name to refer
formally to the certificate subject.
@return [String]

@!attribute [rw] 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.
@return [String]

@!attribute [rw] given_name

First name.
@return [String]

@!attribute [rw] 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**.
@return [String]

@!attribute [rw] 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.
@return [String]

@!attribute [rw] generation_qualifier

Typically a qualifier appended to the name of an individual.
Examples include Jr. for junior, Sr. for senior, and III for third.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ASN1Subject AWS API Documentation

Constants

SENSITIVE