Network Working Group S. Kille
Request for Comments: 1779 ISODE Consortium
Obsoletes: 1485 March 1995
Category: Standards Track
A String Representation of Distinguished Names
Kille [Page 1]
RFC 1779 DN Representation March 1995 1. Why a notation is neededMany OSI Applications make use of Distinguished Names (DN) as defined in the OSI Directory, commonly known as X.500 [1]. This specification assumes familiarity with X.500, and the concept of Distinguished Name. It is important to have a common format to be able to unambiguously represent a distinguished name. This might be done to represent a directory name on a business card or in an email message. There is a need for a format to support human to human communication, which must be string based (not ASN.1) and user oriented. This notation is targeted towards a general user oriented system, and in particular to represent the names of humans. Other syntaxes may be more appropriate for other uses of the directory. For example, the OSF Syntax may be more appropriate for some system oriented uses. (The OSF Syntax uses "/" as a separator, and forms names in a manner intended to resemble UNIX filenames).
2. A notation for Distinguished Name 2.1 GoalsThe following goals are laid out:
2.2 Informal definition
This notation is designed to be convenient for common forms of name. Some examples are given. The author's directory distinguished name would be written:
Kille [Page 2]
RFC 1779 DN Representation March 1995
CN=Steve Kille, O=ISODE Consortium, C=GB
Kille [Page 3]
RFC 1779 DN Representation March 1995 2.3 Formal definitionA formal definition can now be given. The structure is specified in a BNF grammar in Figure 1. This BNF uses the grammar defined in RFC 822, with the terminals enclosed in <> [2]. This definition is in an abstract character set, and so may be written in any character set supporting the explicitly defined special characters. The quoting mechanism is used for the following cases:
Kille [Page 4]
RFC 1779 DN Representation March 1995
| <name-component> <spaced-separator> <name><key> ::= 1*( <keychar> ) | "OID." <oid> | "oid." <oid> <keychar> ::= letters, numbers, and space<oid> ::= <digitstring> | <digitstring> "." <oid> <digitstring> ::= 1*<digit> <digit> ::= digits 0-9
<string> ::= *( <stringchar> | <pair> )
| '"' *( <stringchar> | <special> | <pair> ) '"'
| "#" <hex>
<special> ::= "," | "=" | <CR> | "+" | "<" | ">"
| "#" | ";"
<pair> ::= "\" ( <special> | "\" | '"')
<stringchar> ::= any character except <special> or "\" or '"'
<hex> ::= 2*<hexchar> <hexchar> ::= 0-9, a-f, A-F
Kille [Page 5]
RFC 1779 DN Representation March 1995
Key Attribute (X.520 keys)
------------------------------
CN CommonName
L LocalityName ST StateOrProvinceName O OrganizationName OU OrganizationalUnitName C CountryName STREET StreetAddress
3. Examples
This section gives a few examples of distinguished names written using this notation:
Kille [Page 6]
RFC 1779 DN Representation March 1995
O = ISODE Consortium, C=GB
4. Acknowledgements
This work was based on research work done at University College London [4], and evolved by the IETF OSI-DS WG.
5. References
[1] The Directory --- overview of concepts, models and services,
1993. CCITT X.500 Series Recommendations.
[2] Crocker, D., "Standard of the Format of ARPA-Internet Text
Kille [Page 7]
RFC 1779 DN Representation March 1995 6. Security ConsiderationsSecurity issues are not discussed in this memo.
7. Author's Address
Steve Kille ISODE Consortium The Dome The Square Richmond, Surrey TW9 1DT England