| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CertificateManagerPCA.Types.ASN1Subject
Description
Synopsis
- data ASN1Subject = ASN1Subject' {
- commonName :: Maybe Text
- country :: Maybe Text
- customAttributes :: Maybe (NonEmpty CustomAttribute)
- distinguishedNameQualifier :: Maybe Text
- generationQualifier :: Maybe Text
- givenName :: Maybe Text
- initials :: Maybe Text
- locality :: Maybe Text
- organization :: Maybe Text
- organizationalUnit :: Maybe Text
- pseudonym :: Maybe Text
- serialNumber :: Maybe Text
- state :: Maybe Text
- surname :: Maybe Text
- title :: Maybe Text
- newASN1Subject :: ASN1Subject
- aSN1Subject_commonName :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_country :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_customAttributes :: Lens' ASN1Subject (Maybe (NonEmpty CustomAttribute))
- aSN1Subject_distinguishedNameQualifier :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_generationQualifier :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_givenName :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_initials :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_locality :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_organization :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_organizationalUnit :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_pseudonym :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_serialNumber :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_state :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_surname :: Lens' ASN1Subject (Maybe Text)
- aSN1Subject_title :: Lens' ASN1Subject (Maybe Text)
Documentation
data ASN1Subject Source #
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.
See: newASN1Subject smart constructor.
Constructors
| ASN1Subject' | |
Fields
| |
Instances
newASN1Subject :: ASN1Subject Source #
Create a value of ASN1Subject with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:commonName:ASN1Subject', aSN1Subject_commonName - 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.
$sel:country:ASN1Subject', aSN1Subject_country - Two-digit code that specifies the country in which the certificate
subject located.
$sel:customAttributes:ASN1Subject', aSN1Subject_customAttributes - 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).
Custom attributes cannot be used in combination with standard attributes.
$sel:distinguishedNameQualifier:ASN1Subject', aSN1Subject_distinguishedNameQualifier - Disambiguating information for the certificate subject.
$sel:generationQualifier:ASN1Subject', aSN1Subject_generationQualifier - Typically a qualifier appended to the name of an individual. Examples
include Jr. for junior, Sr. for senior, and III for third.
$sel:givenName:ASN1Subject', aSN1Subject_givenName - First name.
$sel:initials:ASN1Subject', aSN1Subject_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.
$sel:locality:ASN1Subject', aSN1Subject_locality - The locality (such as a city or town) in which the certificate subject
is located.
$sel:organization:ASN1Subject', aSN1Subject_organization - Legal name of the organization with which the certificate subject is
affiliated.
$sel:organizationalUnit:ASN1Subject', aSN1Subject_organizationalUnit - A subdivision or unit of the organization (such as sales or finance)
with which the certificate subject is affiliated.
$sel:pseudonym:ASN1Subject', aSN1Subject_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.
$sel:serialNumber:ASN1Subject', aSN1Subject_serialNumber - The certificate serial number.
$sel:state:ASN1Subject', aSN1Subject_state - State in which the subject of the certificate is located.
$sel:surname:ASN1Subject', aSN1Subject_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.
$sel:title:ASN1Subject', aSN1Subject_title - A title such as Mr. or Ms., which is pre-pended to the name to refer
formally to the certificate subject.
aSN1Subject_commonName :: Lens' ASN1Subject (Maybe Text) Source #
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.
aSN1Subject_country :: Lens' ASN1Subject (Maybe Text) Source #
Two-digit code that specifies the country in which the certificate subject located.
aSN1Subject_customAttributes :: Lens' ASN1Subject (Maybe (NonEmpty CustomAttribute)) Source #
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).
Custom attributes cannot be used in combination with standard attributes.
aSN1Subject_distinguishedNameQualifier :: Lens' ASN1Subject (Maybe Text) Source #
Disambiguating information for the certificate subject.
aSN1Subject_generationQualifier :: Lens' ASN1Subject (Maybe Text) Source #
Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.
aSN1Subject_givenName :: Lens' ASN1Subject (Maybe Text) Source #
First name.
aSN1Subject_initials :: Lens' ASN1Subject (Maybe Text) Source #
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.
aSN1Subject_locality :: Lens' ASN1Subject (Maybe Text) Source #
The locality (such as a city or town) in which the certificate subject is located.
aSN1Subject_organization :: Lens' ASN1Subject (Maybe Text) Source #
Legal name of the organization with which the certificate subject is affiliated.
aSN1Subject_organizationalUnit :: Lens' ASN1Subject (Maybe Text) Source #
A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
aSN1Subject_pseudonym :: Lens' ASN1Subject (Maybe Text) Source #
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.
aSN1Subject_serialNumber :: Lens' ASN1Subject (Maybe Text) Source #
The certificate serial number.
aSN1Subject_state :: Lens' ASN1Subject (Maybe Text) Source #
State in which the subject of the certificate is located.
aSN1Subject_surname :: Lens' ASN1Subject (Maybe Text) Source #
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.
aSN1Subject_title :: Lens' ASN1Subject (Maybe Text) Source #
A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.