Class: Aws::ACMPCA::Types::GeneralName

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb

Overview

Note:

When making an API call, you may pass GeneralName data as a hash:

{
  other_name: {
    type_id: "CustomObjectIdentifier", # required
    value: "String256", # required
  },
  rfc_822_name: "String256",
  dns_name: "String253",
  directory_name: {
    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",
    custom_attributes: [
      {
        object_identifier: "CustomObjectIdentifier", # required
        value: "String1To256", # required
      },
    ],
  },
  edi_party_name: {
    party_name: "String256", # required
    name_assigner: "String256",
  },
  uniform_resource_identifier: "String253",
  ip_address: "String39",
  registered_id: "CustomObjectIdentifier",
}

Describes an ASN.1 X.400 GeneralName as defined in RFC 5280. Only one of the following naming options should be provided. Providing more than one option results in an InvalidArgsException error.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#directory_nameTypes::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 Subjectmust 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.

Returns:



1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1840

class GeneralName < Struct.new(
  :other_name,
  :rfc_822_name,
  :dns_name,
  :directory_name,
  :edi_party_name,
  :uniform_resource_identifier,
  :ip_address,
  :registered_id)
  SENSITIVE = []
  include Aws::Structure
end

#dns_nameString

Represents GeneralName as a DNS name.

Returns:

  • (String)


1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1840

class GeneralName < Struct.new(
  :other_name,
  :rfc_822_name,
  :dns_name,
  :directory_name,
  :edi_party_name,
  :uniform_resource_identifier,
  :ip_address,
  :registered_id)
  SENSITIVE = []
  include Aws::Structure
end

#edi_party_nameTypes::EdiPartyName

Represents GeneralName as an EdiPartyName object.

Returns:



1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1840

class GeneralName < Struct.new(
  :other_name,
  :rfc_822_name,
  :dns_name,
  :directory_name,
  :edi_party_name,
  :uniform_resource_identifier,
  :ip_address,
  :registered_id)
  SENSITIVE = []
  include Aws::Structure
end

#ip_addressString

Represents GeneralName as an IPv4 or IPv6 address.

Returns:

  • (String)


1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1840

class GeneralName < Struct.new(
  :other_name,
  :rfc_822_name,
  :dns_name,
  :directory_name,
  :edi_party_name,
  :uniform_resource_identifier,
  :ip_address,
  :registered_id)
  SENSITIVE = []
  include Aws::Structure
end

#other_nameTypes::OtherName

Represents GeneralName using an OtherName object.

Returns:



1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1840

class GeneralName < Struct.new(
  :other_name,
  :rfc_822_name,
  :dns_name,
  :directory_name,
  :edi_party_name,
  :uniform_resource_identifier,
  :ip_address,
  :registered_id)
  SENSITIVE = []
  include Aws::Structure
end

#registered_idString

Represents GeneralName as an object identifier (OID).

Returns:

  • (String)


1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1840

class GeneralName < Struct.new(
  :other_name,
  :rfc_822_name,
  :dns_name,
  :directory_name,
  :edi_party_name,
  :uniform_resource_identifier,
  :ip_address,
  :registered_id)
  SENSITIVE = []
  include Aws::Structure
end

#rfc_822_nameString

Represents GeneralName as an RFC 822 email address.

Returns:

  • (String)


1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1840

class GeneralName < Struct.new(
  :other_name,
  :rfc_822_name,
  :dns_name,
  :directory_name,
  :edi_party_name,
  :uniform_resource_identifier,
  :ip_address,
  :registered_id)
  SENSITIVE = []
  include Aws::Structure
end

#uniform_resource_identifierString

Represents GeneralName as a URI.

Returns:

  • (String)


1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1840

class GeneralName < Struct.new(
  :other_name,
  :rfc_822_name,
  :dns_name,
  :directory_name,
  :edi_party_name,
  :uniform_resource_identifier,
  :ip_address,
  :registered_id)
  SENSITIVE = []
  include Aws::Structure
end