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

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

Overview

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.

[1]: datatracker.ietf.org/doc/html/rfc5280

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 `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.

Returns:



1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-acmpca/types.rb', line 1268

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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-acmpca/types.rb', line 1268

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:



1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-acmpca/types.rb', line 1268

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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-acmpca/types.rb', line 1268

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:



1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-acmpca/types.rb', line 1268

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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-acmpca/types.rb', line 1268

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.

[1]: datatracker.ietf.org/doc/html/rfc822

Returns:

  • (String)


1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-acmpca/types.rb', line 1268

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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-acmpca/types.rb', line 1268

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