Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ASN1Subject

import type { ASN1Subject } from "https://aws-api.deno.dev/v0.4/services/acmpca.ts?docs=full";

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.

interface ASN1Subject {
CommonName?: string | null;
Country?: string | null;
CustomAttributes?: CustomAttribute[] | null;
DistinguishedNameQualifier?: string | null;
GenerationQualifier?: string | null;
GivenName?: string | null;
Initials?: string | null;
Locality?: string | null;
Organization?: string | null;
OrganizationalUnit?: string | null;
Pseudonym?: string | null;
SerialNumber?: string | null;
State?: string | null;
Surname?: string | null;
Title?: string | null;
}

§Properties

§
CommonName?: string | null
[src]

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?: string | null
[src]

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

§
CustomAttributes?: CustomAttribute[] | null
[src]

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

Note: Custom attributes cannot be used in combination with standard attributes.

§
DistinguishedNameQualifier?: string | null
[src]

Disambiguating information for the certificate subject.

§
GenerationQualifier?: string | null
[src]

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

§
GivenName?: string | null
[src]

First name.

§
Initials?: string | null
[src]

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?: string | null
[src]

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

§
Organization?: string | null
[src]

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

§
OrganizationalUnit?: string | null
[src]

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

§
Pseudonym?: string | null
[src]

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.

§
SerialNumber?: string | null
[src]

The certificate serial number.

§
State?: string | null
[src]

State in which the subject of the certificate is located.

§
Surname?: string | null
[src]

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?: string | null
[src]

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