Skip to content

ASN1Subject

Source code in docs_src/capo_acm_pca/types/asn1_subject.py
class ASN1Subject(TypedDict, closed=True):
    country: NotRequired["capo_acm_pca.types.country_code_string.CountryCodeString"]
    """<p>Two-digit code that specifies the country in which the certificate subject located.</p>"""
    organization: NotRequired["capo_acm_pca.types.string64.String64"]
    """<p>Legal name of the organization with which the certificate subject is affiliated. </p>"""
    organizational_unit: NotRequired["capo_acm_pca.types.string64.String64"]
    """<p>A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.</p>"""
    distinguished_name_qualifier: NotRequired[
        "capo_acm_pca.types.asn1_printable_string64.ASN1PrintableString64"
    ]
    """<p>Disambiguating information for the certificate subject.</p>"""
    state: NotRequired["capo_acm_pca.types.string128.String128"]
    """<p>State in which the subject of the certificate is located.</p>"""
    common_name: NotRequired["capo_acm_pca.types.string64.String64"]
    """<p>For CA and end-entity certificates in a private PKI, the common name (CN) can be any string within the length limit. </p> <p>Note: In publicly trusted certificates, the common name must be a fully qualified domain name (FQDN) associated with the certificate subject.</p>"""
    serial_number: NotRequired[
        "capo_acm_pca.types.asn1_printable_string64.ASN1PrintableString64"
    ]
    """<p>The certificate serial number.</p>"""
    locality: NotRequired["capo_acm_pca.types.string128.String128"]
    """<p>The locality (such as a city or town) in which the certificate subject is located.</p>"""
    title: NotRequired["capo_acm_pca.types.string64.String64"]
    """<p>A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.</p>"""
    surname: NotRequired["capo_acm_pca.types.string40.String40"]
    """<p>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.</p>"""
    given_name: NotRequired["capo_acm_pca.types.string16.String16"]
    """<p>First name.</p>"""
    initials: NotRequired["capo_acm_pca.types.string5.String5"]
    """<p>Concatenation that typically contains the first letter of the <b>GivenName</b>, the first letter of the middle name if one exists, and the first letter of the <b>Surname</b>.</p>"""
    pseudonym: NotRequired["capo_acm_pca.types.string128.String128"]
    """<p>Typically a shortened version of a longer <b>GivenName</b>. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.</p>"""
    generation_qualifier: NotRequired["capo_acm_pca.types.string3.String3"]
    """<p>Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.</p>"""
    custom_attributes: NotRequired[
        "capo_acm_pca.types.custom_attribute_list.CustomAttributeList"
    ]
    """<p/> <p>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 <a href="https://csrc.nist.gov/glossary/term/Object_Identifier">Object Identifier (OID)</a>.</p> <note> <p>Custom attributes cannot be used in combination with standard attributes.</p> </note>"""

common_name instance-attribute

common_name: NotRequired[String64]

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.

country instance-attribute

country: NotRequired[CountryCodeString]

Two-digit code that specifies the country in which the certificate subject located.

custom_attributes instance-attribute

custom_attributes: NotRequired[CustomAttributeList]

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.

distinguished_name_qualifier instance-attribute

distinguished_name_qualifier: NotRequired[ASN1PrintableString64]

Disambiguating information for the certificate subject.

generation_qualifier instance-attribute

generation_qualifier: NotRequired[String3]

Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.

given_name instance-attribute

given_name: NotRequired[String16]

First name.

initials instance-attribute

initials: NotRequired[String5]

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 instance-attribute

locality: NotRequired[String128]

The locality (such as a city or town) in which the certificate subject is located.

organization instance-attribute

organization: NotRequired[String64]

Legal name of the organization with which the certificate subject is affiliated.

organizational_unit instance-attribute

organizational_unit: NotRequired[String64]

A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.

pseudonym instance-attribute

pseudonym: NotRequired[String128]

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.

serial_number instance-attribute

serial_number: NotRequired[ASN1PrintableString64]

The certificate serial number.

state instance-attribute

state: NotRequired[String128]

State in which the subject of the certificate is located.

surname instance-attribute

surname: NotRequired[String40]

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.

title instance-attribute

title: NotRequired[String64]

A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.