« blib/lib/Paws/ACM/UpdateCertificateOptions.pm
↑ Summary
blib/lib/Paws/ACMPCA/AccessDescription.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ACMPCA::ASN1Subject; | ||
| 3 | use Moose; | ||
| 4 | has CommonName => (is => 'ro', isa => 'Str'); | ||
| 5 | has Country => (is => 'ro', isa => 'Str'); | ||
| 6 | has DistinguishedNameQualifier => (is => 'ro', isa => 'Str'); | ||
| 7 | has GenerationQualifier => (is => 'ro', isa => 'Str'); | ||
| 8 | has GivenName => (is => 'ro', isa => 'Str'); | ||
| 9 | has Initials => (is => 'ro', isa => 'Str'); | ||
| 10 | has Locality => (is => 'ro', isa => 'Str'); | ||
| 11 | has Organization => (is => 'ro', isa => 'Str'); | ||
| 12 | has OrganizationalUnit => (is => 'ro', isa => 'Str'); | ||
| 13 | has Pseudonym => (is => 'ro', isa => 'Str'); | ||
| 14 | has SerialNumber => (is => 'ro', isa => 'Str'); | ||
| 15 | has State => (is => 'ro', isa => 'Str'); | ||
| 16 | has Surname => (is => 'ro', isa => 'Str'); | ||
| 17 | has Title => (is => 'ro', isa => 'Str'); | ||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::ACMPCA::ASN1Subject | ||
| 26 | |||
| 27 | =head1 USAGE | ||
| 28 | |||
| 29 | This class represents one of two things: | ||
| 30 | |||
| 31 | =head3 Arguments in a call to a service | ||
| 32 | |||
| 33 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 34 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 35 | |||
| 36 | As an example, if Att1 is expected to be a Paws::ACMPCA::ASN1Subject object: | ||
| 37 | |||
| 38 | $service_obj->Method(Att1 => { CommonName => $value, ..., Title => $value }); | ||
| 39 | |||
| 40 | =head3 Results returned from an API call | ||
| 41 | |||
| 42 | Use accessors for each attribute. If Att1 is expected to be an Paws::ACMPCA::ASN1Subject object: | ||
| 43 | |||
| 44 | $result = $service_obj->Method(...); | ||
| 45 | $result->Att1->CommonName | ||
| 46 | |||
| 47 | =head1 DESCRIPTION | ||
| 48 | |||
| 49 | Contains information about the certificate subject. The C<Subject> | ||
| 50 | field in the certificate identifies the entity that owns or controls | ||
| 51 | the public key in the certificate. The entity can be a user, computer, | ||
| 52 | device, or service. The C<Subject >must contain an X.500 distinguished | ||
| 53 | name (DN). A DN is a sequence of relative distinguished names (RDNs). | ||
| 54 | The RDNs are separated by commas in the certificate. | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 CommonName => Str | ||
| 60 | |||
| 61 | For CA and end-entity certificates in a private PKI, the common name | ||
| 62 | (CN) can be any string within the length limit. | ||
| 63 | |||
| 64 | Note: In publicly trusted certificates, the common name must be a fully | ||
| 65 | qualified domain name (FQDN) associated with the certificate subject. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 Country => Str | ||
| 69 | |||
| 70 | Two-digit code that specifies the country in which the certificate | ||
| 71 | subject located. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 DistinguishedNameQualifier => Str | ||
| 75 | |||
| 76 | Disambiguating information for the certificate subject. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 GenerationQualifier => Str | ||
| 80 | |||
| 81 | Typically a qualifier appended to the name of an individual. Examples | ||
| 82 | include Jr. for junior, Sr. for senior, and III for third. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 GivenName => Str | ||
| 86 | |||
| 87 | First name. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 Initials => Str | ||
| 91 | |||
| 92 | Concatenation that typically contains the first letter of the | ||
| 93 | B<GivenName>, the first letter of the middle name if one exists, and | ||
| 94 | the first letter of the B<Surname>. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 Locality => Str | ||
| 98 | |||
| 99 | The locality (such as a city or town) in which the certificate subject | ||
| 100 | is located. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 Organization => Str | ||
| 104 | |||
| 105 | Legal name of the organization with which the certificate subject is | ||
| 106 | affiliated. | ||
| 107 | |||
| 108 | |||
| 109 | =head2 OrganizationalUnit => Str | ||
| 110 | |||
| 111 | A subdivision or unit of the organization (such as sales or finance) | ||
| 112 | with which the certificate subject is affiliated. | ||
| 113 | |||
| 114 | |||
| 115 | =head2 Pseudonym => Str | ||
| 116 | |||
| 117 | Typically a shortened version of a longer B<GivenName>. For example, | ||
| 118 | Jonathan is often shortened to John. Elizabeth is often shortened to | ||
| 119 | Beth, Liz, or Eliza. | ||
| 120 | |||
| 121 | |||
| 122 | =head2 SerialNumber => Str | ||
| 123 | |||
| 124 | The certificate serial number. | ||
| 125 | |||
| 126 | |||
| 127 | =head2 State => Str | ||
| 128 | |||
| 129 | State in which the subject of the certificate is located. | ||
| 130 | |||
| 131 | |||
| 132 | =head2 Surname => Str | ||
| 133 | |||
| 134 | Family name. In the US and the UK, for example, the surname of an | ||
| 135 | individual is ordered last. In Asian cultures the surname is typically | ||
| 136 | ordered first. | ||
| 137 | |||
| 138 | |||
| 139 | =head2 Title => Str | ||
| 140 | |||
| 141 | A title such as Mr. or Ms., which is pre-pended to the name to refer | ||
| 142 | formally to the certificate subject. | ||
| 143 | |||
| 144 | |||
| 145 | |||
| 146 | =head1 SEE ALSO | ||
| 147 | |||
| 148 | This class forms part of L<Paws>, describing an object used in L<Paws::ACMPCA> | ||
| 149 | |||
| 150 | =head1 BUGS and CONTRIBUTIONS | ||
| 151 | |||
| 152 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 153 | |||
| 154 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 155 | |||
| 156 | =cut | ||
| 157 |