Class: Aws::ACMPCA::Types::ASN1Subject
- Inherits:
-
Struct
- Object
- Struct
- Aws::ACMPCA::Types::ASN1Subject
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-acmpca/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#common_name ⇒ String
For CA and end-entity certificates in a private PKI, the common name (CN) can be any string within the length limit.
-
#country ⇒ String
Two-digit code that specifies the country in which the certificate subject located.
-
#custom_attributes ⇒ Array<Types::CustomAttribute>
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.
-
#distinguished_name_qualifier ⇒ String
Disambiguating information for the certificate subject.
-
#generation_qualifier ⇒ String
Typically a qualifier appended to the name of an individual.
-
#given_name ⇒ String
First name.
-
#initials ⇒ String
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 ⇒ String
The locality (such as a city or town) in which the certificate subject is located.
-
#organization ⇒ String
Legal name of the organization with which the certificate subject is affiliated.
-
#organizational_unit ⇒ String
A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
-
#pseudonym ⇒ String
Typically a shortened version of a longer GivenName.
-
#serial_number ⇒ String
The certificate serial number.
-
#state ⇒ String
State in which the subject of the certificate is located.
-
#surname ⇒ String
Family name.
-
#title ⇒ String
A title such as Mr.
Instance Attribute Details
#common_name ⇒ String
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.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#country ⇒ String
Two-digit code that specifies the country in which the certificate subject located.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#custom_attributes ⇒ Array<Types::CustomAttribute>
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)].
<note markdown=“1”> Custom attributes cannot be used in combination with standard attributes.
</note>
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#distinguished_name_qualifier ⇒ String
Disambiguating information for the certificate subject.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#generation_qualifier ⇒ String
Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#given_name ⇒ String
First name.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#initials ⇒ String
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.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#locality ⇒ String
The locality (such as a city or town) in which the certificate subject is located.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#organization ⇒ String
Legal name of the organization with which the certificate subject is affiliated.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#organizational_unit ⇒ String
A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#pseudonym ⇒ String
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.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#serial_number ⇒ String
The certificate serial number.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
State in which the subject of the certificate is located.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#surname ⇒ String
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.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |
#title ⇒ String
A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/aws-sdk-acmpca/types.rb', line 111 class ASN1Subject < Struct.new( :country, :organization, :organizational_unit, :distinguished_name_qualifier, :state, :common_name, :serial_number, :locality, :title, :surname, :given_name, :initials, :pseudonym, :generation_qualifier, :custom_attributes) SENSITIVE = [] include Aws::Structure end |