home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_a_c / draft-ietf-asid-mime-direct-04.txt < prev    next >
Text File  |  1997-07-24  |  60KB  |  1,741 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                        Tim Howes
  8. Request for Comments: DRAFT                                 Mark Smith
  9. draft-ietf-asid-mime-direct-04.txt       Netscape Communications Corp.
  10.                                                             July, 1997
  11.  
  12.  
  13.              A MIME Content-Type for Directory Information
  14.                   <draft-ietf-asid-mime-direct-04.txt>
  15.  
  16.  
  17.  
  18. 1.  Status of this Memo
  19.  
  20. This document is an Internet-Draft.  Internet-Drafts are  working  docu-
  21. ments  of the Internet Engineering Task Force (IETF), its areas, and its
  22. working groups.  Note that other  groups  may  also  distribute  working
  23. documents as Internet-Drafts.
  24.  
  25. Internet-Drafts are draft documents valid for a maximum  of  six  months
  26. and  may  be  updated,  replaced, or obsoleted by other documents at any
  27. time.  It is inappropriate to use Internet- Drafts as reference material
  28. or to cite them other than as ``work in progress.''
  29.  
  30. To learn the current status of  any  Internet-Draft,  please  check  the
  31. ``1id-abstracts.txt''  listing  contained in the Internet- Drafts Shadow
  32. Directories   on   ftp.is.co.za   (Africa),   nic.nordu.net    (Europe),
  33. munnari.oz.au   (Pacific  Rim),  ds.internic.net  (US  East  Coast),  or
  34. ftp.isi.edu (US West Coast).
  35.  
  36. 2.  Abstract
  37.  
  38. This document defines a MIME Content-Type for holding directory informa-
  39. tion.  The definition is independent of any particular directory service
  40. or protocol.  The text/directory Content-Type is defined for  holding  a
  41. variety  of  directory information, for example, name, or email address,
  42. or logo. The text/directory Content-Type can also be used  as  the  root
  43. body  part in a multipart/related Content-Type for handling more compli-
  44. cated situations, especially those in which non-textual information that
  45. already  has a natural MIME representation, for example, a photograph or
  46. sound, must be represented.
  47.  
  48. The text/directory Content-Type defines a general framework  and  format
  49. for  holding  directory  information  in  a  simple  "type: value" form.
  50. Mechanisms are defined to specify alternate character  sets,  languages,
  51. encodings  and  other  meta-information.  This document also defines the
  52. procedure by which particular formats,  called  profiles,  for  carrying
  53. application-specific  information  within  a text/directory Content-Type
  54. may be defined and registered, and the  conventions  such  formats  must
  55.  
  56.  
  57.  
  58. Howes & Smith                                                   [Page 1]
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Expires in six months                                     INTERNET DRAFT
  65.  
  66.  
  67. follow. It is expected that other documents will be produced that define
  68. such formats for various applications (e.g., white pages).
  69.  
  70. 3.  Need for a MIME Directory Type
  71.  
  72. For purposes of this document, a directory is a special-purpose database
  73. that  contains typed information. A directory usually supports both read
  74. and search of the information it contains, and may support  modification
  75. of  the  information as well.  Directory information is usually accessed
  76. far more often than it is updated.  Directories may be local  or  global
  77. in  scope.  They may be distributed or centralized. The information they
  78. contain may be replicated, with weak or strong consistency requirements.
  79.  
  80. There are several situations in which users of Internet mail may wish to
  81. exchange  directory  information: the email analogy of a "business card"
  82. exchange; the conveyance of directory information to a user having  only
  83. email access to the Internet; the provision of machine-parseable address
  84. information when purchasing goods or services over the Internet; etc. As
  85. MIME  [RFC-2045,RFC-2046]  is used increasingly by other protocols, most
  86. notably HTTP, it may also be useful for these protocols to  be  able  to
  87. carry  directory information in MIME format. Such a format, for example,
  88. could be used to represent URC (uniform resource characteristics) infor-
  89. mation  about  resources on the World Wide Web, or to provide a rudimen-
  90. tary directory service over HTTP.
  91.  
  92. 4.  Overview
  93.  
  94. The scheme defined here for representing directory information in a MIME
  95. Content-Type  has  two  parts. First, the text/directory Content-Type is
  96. defined for use in holding directory information within  a  single  body
  97. part,  for  example name, title, or email address. In its simplest form,
  98. the format uses a "type: value" approach, which should be  easily  pars-
  99. able  by existing MIME implementations and understandable by users. More
  100. complicated situations can be represented also.  This  document  defines
  101. the  general  form  the information in the Content-Type should have, and
  102. the procedure by which specific types and values (properties)  for  par-
  103. ticular  applications may be defined. The framework is general enough to
  104. handle information from any number of end directory services,  including
  105. LDAP [RFC-1777, RFC-1778], WHOIS++ [RFC-1835], and X.500 [X500].
  106.  
  107. Directory entries can include far more than  just  textual  information.
  108. Some such information (e.g., an image or sound) overlaps with predefined
  109. MIME Content-Types. In these cases it may be desirable  to  include  the
  110. information  in its well-known MIME format. This situation is handled by
  111. using a multipart/related Content-Type as  defined  in  [RFC-1872].  The
  112. root component of this type is a text/directory body part specifying any
  113. in-line information, and for information  contained  in  other  Content-
  114. Types, the Content-IDs (in URI form) of those types.
  115.  
  116.  
  117.  
  118. Howes & Smith                                                   [Page 2]
  119.  
  120.  
  121.  
  122.  
  123.  
  124. Expires in six months                                     INTERNET DRAFT
  125.  
  126.  
  127. In some applications, it may be useful to include a pointer (e.g, a URI)
  128. to  some directory information rather than the information itself.  This
  129. document defines a general mechanism for accomplishing this.
  130.  
  131. 5.  The text/directory Content-Type
  132.  
  133. The text/directory Content-Type is used to hold basic directory informa-
  134. tion,  URIs  referencing  other  information,  including other MIME body
  135. parts holding supplementary or non-textual directory  information,  such
  136. as  an  image  or  sound. It is defined as follows, using the MIME media
  137. type registration template from [RFC-2048].
  138.  
  139. To: ietf-types@uninett.no
  140. Subject: Registration of MIME media type text/directory
  141.  
  142. 5.1.  MIME media type name
  143.  
  144. MIME media type name: text
  145.  
  146. 5.2.  MIME subtype name
  147.  
  148. MIME subtype name: directory
  149.  
  150. 5.3.  Required parameters
  151.  
  152. Required parameters: charset
  153.  
  154. The "charset" parameter is as  defined  in  [RFC-2046]  for  other  body
  155. parts.  It is used to identify the default character set used within the
  156. body part.
  157.  
  158. 5.4.  Optional parameters
  159.  
  160. Optional parameters: profile
  161.  
  162. The "profile" parameter is used to convey the type(s) of entity(ies)  to
  163. which  the directory information pertains and the likely set of informa-
  164. tion associated with the entity(ies). It is intended only as a guide  to
  165. applications  interpreting  the  information  contained  within the body
  166. part. It SHOULD NOT be used to exclude or require particular  pieces  of
  167. information  unless  a  profile  definition  specifically calls for this
  168. behavior. Unless specifically forbidden by a particular profile  defini-
  169. tion,    a   text/directory   content   type   may   contain   arbitrary
  170. attribute/value pairs.
  171.  
  172. The value of the "profile" parameter  is  defined  as  follows.  Profile
  173. names  are case insensitive (i.e., the profile name "Person" is the same
  174. as "PERSON" and "person" and "peRsOn").
  175.  
  176.  
  177.  
  178. Howes & Smith                                                   [Page 3]
  179.  
  180.  
  181.  
  182.  
  183.  
  184. Expires in six months                                     INTERNET DRAFT
  185.  
  186.  
  187.       profile := x-token / iana-token
  188.  
  189.       x-token := <The two characters "X-" or "x-" followed,
  190.                   with no intervening white space, by any atom,
  191.                   where atom is from Section 3.3 of RFC 822>
  192.  
  193.       iana-token := <a publicly-defined extension token, registered
  194.                      with IANA, as specified in Section 9 of this
  195.                      document>
  196.  
  197.  
  198. 5.5.  Encoding considerations
  199.  
  200. The default encoding is 8bit. Otherwise, as specified  by  the  Content-
  201. Transfer-Encoding  header  field.  Note that each value may also have an
  202. inline encoding associated with it. This encoding is independent of  the
  203. encoding  for  the body part as a whole. When encoding, inline per-value
  204. encodings are performed first, then Content-Transfer-Encoding is applied
  205. to  the  entire  body part. When decoding, the Content-Transfer-Encoding
  206. for the entire body part is decoded, then any  value-specific  encodings
  207. are decoded.
  208.  
  209. 5.6.  Security considerations
  210.  
  211. Directory information may be public or it may be  protected  from  unau-
  212. thorized  access by the directory service in which it resides.  Once the
  213. information leaves its native service, there can be  no  guarantee  that
  214. the  same  care  will be taken by all services handling the information.
  215. Furthermore, this specification defines no access control  mechanism  by
  216. which  information may be protected, or by which access control informa-
  217. tion may  be  conveyed.  Note  that  the  integrity  and  privacy  of  a
  218. text/directory  body  part  may  be  protected by enclosing it within an
  219. appropriate MIME-based security mechanism.
  220.  
  221. 5.7.  Interoperability considerations
  222.  
  223. In order to make sense of directory information, applications must share
  224. a  common understanding of the types of information contained within the
  225. Content-Type (the directory schema).  This  schema  information  is  not
  226. defined  in  this  document,  but  rather  in companion documents (e.g.,
  227. [MIME-VCARD]) that follow the requirements specified in  this  document,
  228. or in bilateral agreements between communicating parties.
  229.  
  230. 5.8.  Published specification
  231.  
  232. The text/directory Content-Type contains  directory  information,  typi-
  233. cally pertaining to a single directory entity or group of entities.  The
  234. content consists of one or more lines in the format given below.
  235.  
  236.  
  237.  
  238. Howes & Smith                                                   [Page 4]
  239.  
  240.  
  241.  
  242.  
  243.  
  244. Expires in six months                                     INTERNET DRAFT
  245.  
  246.  
  247. 5.8.1.  Line delimiting and folding
  248.  
  249. Individual lines within the MIME text/directory Content  Type  body  are
  250. delimited  by  the [RFC-822] line break, which is a CRLF sequence (ASCII
  251. decimal 13, followed by ASCII decimal 10). Long logical  lines  of  text
  252. can be split into a multiple-physical-line representation using the fol-
  253. lowing folding technique.
  254.  
  255. A logical line may be continued on the next physical line at  any  point
  256. by inserting a CRLF immediately followed by a single white space charac-
  257. ter (space, ASCII decimal 32, or horizontal tab, ASCII decimal  9).  Any
  258. sequence  of CRLF followed immediately by a single white space character
  259. is ignored (removed) when processing the content type.  For example  the
  260. line:
  261.  
  262. DESCRIPTION:This is a long description that exists on a long line.
  263.  
  264. Can be represented as:
  265.  
  266. DESCRIPTION:This is a long description
  267.  that exists on a long line.
  268.  
  269. The process of moving from this folded multiple-line representation of a
  270. type  definition  to its single line representation is called unfolding.
  271. Unfolding is accomplished by regarding CRLF immediately  followed  by  a
  272. white  space  character as equivalent to no characters at all (i.e., the
  273. CRLF and single white space character are removed).
  274.  
  275. A formatted text line break in an attribute value should also be  speci-
  276. fied by a (RFC 822) line break, which is a CRLF sequence. However, since
  277. the CRLF sequence is used to  delimit  a  content-type  line,  attribute
  278. values with formatted line breaks (i.e., multiple lines) must be encoded
  279. using an alternate encoding of either  Quoted-Printable  or  Base64,  as
  280. defined in [RFC 2046].
  281.  
  282. For example, in the Quoted-Printable encoding the multiple lines of for-
  283. matted  text  are separated with a Quoted-Printable CRLF sequence of =0D
  284. followed by =0A followed by a Quoted-Printable soft line break  sequence
  285. of  =.  Quoted-Printable lines of text must also be limited to less than
  286. 76 characters. The 76 characters does not include  the  CRLF  [RFC  822]
  287. line break sequence. For example a multiple line DESCRIPTION value of:
  288.  
  289. Mythical Manager
  290. Hyjinx Software Division
  291. BabsCo, Inc.
  292.  
  293. Would be represented in a Quoted-Printable encoding as:
  294.  
  295.  
  296.  
  297.  
  298. Howes & Smith                                                   [Page 5]
  299.  
  300.  
  301.  
  302.  
  303.  
  304. Expires in six months                                     INTERNET DRAFT
  305.  
  306.  
  307. DESCRIPTION; encoding=QUOTED-PRINTABLE:Mythical Manager=0D=0A=
  308. Hyjinx Software Division=0D=0A=
  309. BabsCo, Inc.
  310.  
  311. 5.8.2.  BNF content-type definition
  312.  
  313. Using the notation of RFC 822, the syntax for this content is:
  314.  
  315.       contentline := [group.]type [";" parameterlist] ":" valuespec
  316.  
  317.       group := atom     ; as defined in Section 3.3 of RFC 822
  318.  
  319.       type := x-name
  320.             / iana-type
  321.  
  322.       x-name := <the two characters "X-" or "x-" followed, with no
  323.                  intervening white space, by any atom>
  324.  
  325.       iana-type := <a publicly-defined extension token, registered
  326.                     with IANA, as specified in Section 11 of this
  327.                     document>
  328.  
  329.       parameterlist := parameter / parameterlist ";" parameter
  330.  
  331.       parameter := encodingparm
  332.                  / valuetypeparm
  333.                  / languageparm
  334.                  / contextparm
  335.                  / [parmtype "="] parmvalues
  336.  
  337.       encodingparm := "encoding" "=" encodingtype
  338.  
  339.       encodingtype := "base64"            ; from Section 6.8 of RFC 2045
  340.                     / "quoted-printable"  ; from Section 6.7 of RFC 2045
  341.                     / "8bit"
  342.                     / "7bit"
  343.  
  344.       valuetypeparm := "value" "=" valuetype
  345.  
  346.       valuetype := "uri"                  ; generic uri from RFC 1738
  347.                  / "text"
  348.                  / "date"
  349.                  / "time"
  350.                  / "date-time"            ; date time
  351.                  / "integer"
  352.                  / "boolean"
  353.                  / "float"
  354.                  / x-name
  355.  
  356.  
  357.  
  358. Howes & Smith                                                   [Page 6]
  359.  
  360.  
  361.  
  362.  
  363.  
  364. Expires in six months                                     INTERNET DRAFT
  365.  
  366.  
  367.                  / iana-valuetype
  368.  
  369.       iana-valuetype : = <a publicly-defined extension token, registered
  370.                           with IANA, as defined in Section 15 of this
  371.                           document>
  372.  
  373.       languageparm := "language" "=" language ; as defined in RFC 1766
  374.  
  375.       contextparm := "context" "=" context
  376.  
  377.       context := iana-token ; a token registered with IANA
  378.                / x-name
  379.  
  380.       parmtype := x-name
  381.                 / iana-parmtype
  382.  
  383.       iana-parmtype := <a publicly-defined extension token, registered
  384.                         with IANA, as defined in Section 12 of this
  385.                         document>
  386.  
  387.       parmvalues := parmvalue
  388.                   / parmvalues "," parmvalue
  389.  
  390.       parmvalue := x-name
  391.                  / iana-parmvalue
  392.  
  393.       iana-parmvalue := <a publicly-defined extension token, registered
  394.                          with IANA, as defined in Section 13 of this
  395.                          document>
  396.  
  397.       valuespec := *text ; Characters whose syntax depends on type and the
  398.                          ; the encoding parameter. If the value contains
  399.                          ; a CRLF sequence (ASCII 10 followed by 13), it must
  400.                          ; be encoded using either base64 or quoted-printable.
  401.                  / date-spec
  402.                  / time-spec
  403.                  / date-time-spec
  404.                  / boolean
  405.                  / integer
  406.                  / float
  407.                  / iana-valuespec
  408.  
  409.       date-spec := date *[ "," date ]         ; date as defined in [DATETIME]
  410.  
  411.       time-spec := time *[ "," time ]         ; time as defined in [DATETIME]
  412.  
  413.       date-timed-spec := date time            ; as above
  414.  
  415.  
  416.  
  417.  
  418. Howes & Smith                                                   [Page 7]
  419.  
  420.  
  421.  
  422.  
  423.  
  424. Expires in six months                                     INTERNET DRAFT
  425.  
  426.  
  427.       boolean := "TRUE" / "FALSE"
  428.  
  429.       integer := [ sign ] 1*DIGIT *[ "," integer ]    ; DIGIT as defined in RFC 822
  430.  
  431.       float := [sign] 1*DIGIT ["." *DIGIT] *("," float)
  432.  
  433.       sign := "+" / "-"
  434.  
  435.       iana-valuespec := <a publicly-defined valuetype format, registered
  436.                          with IANA, as defined in section 15 of this
  437.                          document>
  438.  
  439. To the left of the beginning of "value", white space characters  (namely
  440. HTABs  and SPACEs, ASCII 9 and 32) may freely surround any symbol.  Note
  441. that this means that if a "value" begins with white space,  it  must  be
  442. encoded using either the base64 or quoted-printable methods.
  443.  
  444. A line that begins with a white space character is a continuation of the
  445. previous  line,  as described above. The white space character and line-
  446. ending CRLF should be discarded when reconstructing the  original  line.
  447. Note  that  this  line-folding convention differs from that found in RFC
  448. 822, in that the sequence <CRLF><whitespacecharacter> found anywhere  in
  449. the content indicates a continued line and should be removed.
  450.  
  451. Since the CRLF sequence is used to separate  lines  within  the  content
  452. type,  if  this  sequence  appears in a value, the value must be encoded
  453. using either base64 or quoted-printable.
  454.  
  455. The meanings of the various type names and the format of the correspond-
  456. ing  values  must be defined as specified in Section 11.  Specifications
  457. may impose ordering on the type constructs within a  body  part,  though
  458. none  is required by default. The various x-name constructs are used for
  459. bilaterally-agreed  upon  type  names,  parameter  names  and  parameter
  460. values.
  461.  
  462. Type names, parameter names, and parameter values (i.e.,  everything  to
  463. the  left  of the ":") are case insensitive (e.g., the type name "cn" is
  464. the same as "CN" and "Cn").
  465.  
  466. The group construct is used to group related attributes  together.   The
  467. group  name  is  a  syntactic  convention used to indicate that all type
  468. names prefaced with the same group name should be grouped together  when
  469. displayed  by an application. It has no other significance.  Implementa-
  470. tions that do not understand or support grouping may  simply  strip  off
  471. any text before a "." and present the types and values as normal.
  472.  
  473. Each attribute defined in the  text/directory  body  may  have  multiple
  474. values,  if  allowed  in  the  definition  of  the  profile in which the
  475.  
  476.  
  477.  
  478. Howes & Smith                                                   [Page 8]
  479.  
  480.  
  481.  
  482.  
  483.  
  484. Expires in six months                                     INTERNET DRAFT
  485.  
  486.  
  487. attribute is used. The general rule for encoding multi-valued  items  is
  488. to  simply  create a new content line for each value (including the type
  489. name).  However, it should be noted that some value  types  may  support
  490. encoding  multiple  values  in  a  single  content  line, for example by
  491. separating the values  with  a  comma  ","  or  other  delimiter.   This
  492. approach  has  been taken for several of the content types defined above
  493. (date, time, integer, float), for space-saving reasons.
  494.  
  495. The "language" type parameter should be used to identify data in  alter-
  496. nate  languages.  There  is  no concept of "default" language, except as
  497. specified by any "Content-Language" MIME header parameter  that  may  be
  498. present. The value of the "language" type parameter is a language tag as
  499. defined in Section 2 of [RFC-1766].
  500.  
  501. The "context" type parameter should be used to identify a context (e.g.,
  502. a  protocol)  used in interpreting the value. This is used, for example,
  503. in the "name" type, defined below.
  504.  
  505. The "encoding" type parameter should be used  to  specify  an  alternate
  506. encoding  for  a  value. If the value contains a CRLF sequence (ASCII 10
  507. followed by 13), it must be encoded using either  "base64"  or  "quoted-
  508. printable",  since  CRLF  is  used to separate lines in the content-type
  509. itself. These encodings can also be useful for binary  values  that  are
  510. mixed  with  other  text  information in the body part (e.g., a certifi-
  511. cate). Using a per-value "base64" or "quoted-printable" encoding in this
  512. case leaves the other information in a more readable form.
  513.  
  514. The Content-Transfer-Encoding header field is used to specify the encod-
  515. ing  used for the body part as a whole. The "encoding" type parameter is
  516. used to specify an encoding for a particular  value  (e.g.,  a  certifi-
  517. cate).  In this case, the Content-Transfer-Encoding header might specify
  518. "8bit", while the one certificate value might  specify  an  encoding  of
  519. base64 via an "encoding=base64" type parameter.
  520.  
  521. Each type has associated with it a default encoding, which shall be used
  522. in  the absence of an overriding "encoding" type parameter. This default
  523. encoding is given in the type definition, as defined in  Section  11  of
  524. this document.
  525.  
  526. The "value" parameter is optional, and may be used to identify the value
  527. type  (data  type) and format of the value.  The use of these predefined
  528. formats is encouraged even if the value parameter is not explicity used.
  529. By  defining  a  standard set of value types and their formats, existing
  530. parsing and processing code may be leveraged.
  531.  
  532. Including the value type explicitly as part of each property provides an
  533. extra  hint to keep parsing simple and support more generalized applica-
  534. tions.  For  example  a  search  engine  would  not  have  to  know  the
  535.  
  536.  
  537.  
  538. Howes & Smith                                                   [Page 9]
  539.  
  540.  
  541.  
  542.  
  543.  
  544. Expires in six months                                     INTERNET DRAFT
  545.  
  546.  
  547. particular  value  types for all of the items for which it is searching.
  548. Because the value type is explicit in the definition, the search  engine
  549. could look for dates in any item type and provide good results.
  550.  
  551. 5.8.3.  Predefined value formats
  552.  
  553. Some specific notes on the value types and formats:
  554.  
  555. "text": The "text" value type should be used  to  identify  values  that
  556. contain human-readable text. The character set and language in which the
  557. text is represented is controlled by the charset content-header and  the
  558. language type parameters and content-header.
  559.  
  560. "uri":  The "uri" value type should be used to identify values that  are
  561. referenced  by  a  URI  (including a Content-ID URI), instead of encoded
  562. in-line. These value references might be used if  the   value   is   too
  563. large,   unavailable,  or otherwise undesirable to include directly. The
  564. format for the URI is as defined in RFC 1738.
  565.  
  566. "date", "time", and "date-time":  Each of these value types is based  on
  567. the  definitions in [DATETIME], which defines an Internet profile of the
  568. ISO 8601 standard. Profiles may place further restrictions on "date" and
  569. "time"  values  than are found in [DATETIME]. Multiple "date" and "time"
  570. values may be specified using the comma-separated notation.
  571.  
  572.     Examples for "date":
  573.                 1985-04-12
  574.                 1996-08-05, 1996-11-11
  575.                 19850412
  576.  
  577.     Examples for "time":
  578.                 10:22:00
  579.                 102200
  580.                 10:22:00.33
  581.                 10:22:00.33Z
  582.                 10:22:33, 11:22:00
  583.                 10:22:00-08:00
  584.  
  585.     Examples for "date-time":
  586.                 1996-10-22T14:00:00Z
  587.                 1996-08-11T12:34:56Z
  588.                 19960811T123456Z
  589.                 1996-10-22T14:00:00Z, 1996-08-11T12:34:56Z
  590.  
  591. "boolean":  The "boolean" value type is used to express  boolen  values.
  592. These values are case insensitive.
  593.  
  594.     Examples: TRUE
  595.  
  596.  
  597.  
  598. Howes & Smith                                                  [Page 10]
  599.  
  600.  
  601.  
  602.  
  603.  
  604. Expires in six months                                     INTERNET DRAFT
  605.  
  606.  
  607.               false
  608.               true
  609.  
  610. "integer":  The "integer" value type is used to  express  32-bit  signed
  611. integers in decimal format.  The valid range for "int" is -2147483648 to
  612. 2147483647.  If sign is not specified, the  value  is  assumed  positive
  613. "+".  Multiple  "integer"  values  may  be  specified  using  the comma-
  614. separated notation.
  615.  
  616.     Examples: 1234567890
  617.               -1234556790
  618.               +1234556790, 432109876
  619.  
  620. "float":  The "float" value type is used to express  real  numbers.   If
  621. sign  is  not  specified,  the  value  is assumed positive "+". Multiple
  622. "float" values may be specified using the comma-separated notation.
  623.  
  624.     Examples: 20.30
  625.               1000000.0000001
  626.               1.333, 3.14
  627.  
  628.  
  629. 5.9.  Applications which use this media type
  630.  
  631. Applications which use this media type: Various
  632.  
  633. 5.10.  Additional information
  634.  
  635. Additional information: None
  636.  
  637. 5.11.  Person & email address to contact for further information
  638.  
  639.    Tim Howes
  640.    Netscape Communications Corp.
  641.    501 East Middlefield Rd.
  642.    Mountain View, CA 94041
  643.    USA
  644.    howes@netscape.com
  645.    +1 415 937 3419
  646.  
  647. 5.12.  Intended usage
  648.  
  649. Intended usage: COMMON
  650.  
  651. 5.13.  Author/Change controller
  652.  
  653.    Tim Howes
  654.    Netscape Communications Corp.
  655.  
  656.  
  657.  
  658. Howes & Smith                                                  [Page 11]
  659.  
  660.  
  661.  
  662.  
  663.  
  664. Expires in six months                                     INTERNET DRAFT
  665.  
  666.  
  667.    501 East Middlefield Rd.
  668.    Mountain View, CA 94041
  669.    USA
  670.    howes@netscape.com
  671.    +1 415 937 3419
  672.  
  673.    Mark Smith
  674.    Netscape Communications Corp.
  675.    501 East Middlefield Rd.
  676.    Mountain View, CA 94041
  677.    USA
  678.    mcs@netscape.com
  679.    +1 415 937 3477
  680.  
  681. 6.  Predefined Types
  682.  
  683. The following types are generally useful regardless of the profile being
  684. carried, and are defined below using the text/directory MIME type regis-
  685. tration template defined in Section 11.1 of this document.  These  types
  686. may  be included in any profile, unless explicitly forbidden in the pro-
  687. file definition.
  688.  
  689. 6.1.  SOURCE Type Definition
  690.  
  691.    To: ietf-mime-direct@imc.org
  692.    Subject: Registration of text/directory MIME type SOURCE
  693.  
  694.    Type name: SOURCE
  695.  
  696.    Type purpose: To identify the source of  directory  information  con-
  697.    tained in the content type.
  698.  
  699.    Type encoding: 8bit
  700.  
  701.    Type valuetype: text containing a URI.
  702.  
  703.    Type special notes:  The SOURCE type is used to provide the means  by
  704.    which applications knowledgable in the given directory service proto-
  705.    col may obtain additional or more  up-to-date  information  from  the
  706.    directory  service.  It  contains  a  URI  as  defined  in [RFC-1738]
  707.    referencing the directory entity or entities to which the information
  708.    pertains.  When directory information is available from more than one
  709.    source, the sending entity may pick what it considers to be the  best
  710.    source, or multiple SOURCE types may be included.
  711.  
  712.    Type example:
  713.            SOURCE: ldap://ldap.host/cn=Babs%20Jensen,%20o=Babsco,%20c=US
  714.  
  715.  
  716.  
  717.  
  718. Howes & Smith                                                  [Page 12]
  719.  
  720.  
  721.  
  722.  
  723.  
  724. Expires in six months                                     INTERNET DRAFT
  725.  
  726.  
  727. 6.2.  NAME Type Definition
  728.  
  729.    To: ietf-mime-direct@imc.org
  730.    Subject: Registration of text/directory MIME type NAME
  731.  
  732.    Type name: NAME
  733.  
  734.    Type purpose: To identify  the  displayable  name  of  the  directory
  735.    entity to which information in the content type pertains.
  736.  
  737.    Type encoding: 8bit
  738.  
  739.    Type valuetype: text
  740.  
  741.    Type special notes:  The NAME type is used to  convey  the  directory
  742.    name  of  the entity to which the directory information pertains. Its
  743.    value depends on the setting of the "CONTEXT" type  parameter,  which
  744.    indicates  the  directory service protocol context in which the value
  745.    of the NAME parameter should be interpreted. Note that this value  is
  746.    protocol-specific  and is intended for applications knowledgable in a
  747.    particular directory service protocol.
  748.  
  749.    Type example:
  750.            NAME;CONTEXT=LDAP: cn=Babs Jensen, o=Babsco, c=US
  751.  
  752. 6.3.  PROFILE Type Definition
  753.  
  754.    To: ietf-mime-direct@imc.org
  755.    Subject: Registration of text/directory MIME type PROFILE
  756.  
  757.    Type name: PROFILE
  758.  
  759.    Type purpose: To identify the  type  of  directory  entity  to  which
  760.    information in the content type pertains.
  761.  
  762.    Type encoding: 8bit
  763.  
  764.    Type valuetype:  text,  containing  a  profile  name,  registered  as
  765.    described in Section 9 of this document or bilaterally-agreed upon as
  766.    described in Section 5.
  767.  
  768.    Type special notes:  The PROFILE type is used to convey the  type  of
  769.    the entity to which the directory information in the rest of the body
  770.    part pertains. It should be the same as the "profile" header  parame-
  771.    ter, if present.
  772.  
  773.    Type example:
  774.            PROFILE: person
  775.  
  776.  
  777.  
  778. Howes & Smith                                                  [Page 13]
  779.  
  780.  
  781.  
  782.  
  783.  
  784. Expires in six months                                     INTERNET DRAFT
  785.  
  786.  
  787. 6.4.  BEGIN Type Definition
  788.  
  789.    To: ietf-mime-direct@imc.org
  790.    Subject: Registration of text/directory MIME type BEGIN
  791.  
  792.    Type name: BEGIN
  793.  
  794.    Type purpose: To delimit the beginning of a syntactic entity within a
  795.    text/directory content-type.
  796.  
  797.    Type encoding: 8bit
  798.  
  799.    Type valuetype:  text,  containing  a  profile  name,  registered  as
  800.    described in Section 9 of this document or bilaterally-agreed upon as
  801.    described in Section 5.
  802.  
  803.    Type special notes:  The BEGIN type is used in conjunction  with  the
  804.    END  type  to delimit a profile containing a related set of directory
  805.    content within an text/directory content-type. This construct may  be
  806.    used  instead of or in addition to wrapping separate sets of informa-
  807.    tion inside additional MIME headers. It is provided for  applications
  808.    that wish to define content that may contain multiple entities within
  809.    the same text/directory content-type or to define content that may be
  810.    identifiable outside of a MIME environment.
  811.  
  812.    Type example:
  813.            BEGIN: vcard
  814.  
  815. 6.5.  END Type Definition
  816.  
  817.    To: ietf-mime-direct@imc.org
  818.    Subject: Registration of text/directory MIME type END
  819.  
  820.    Type name: END
  821.  
  822.    Type purpose: To identify the  type  of  directory  entity  to  which
  823.    information in the content type pertains.
  824.  
  825.    Type encoding: 8bit
  826.  
  827.    Type valuetype:  text,  containing  a  profile  name,  registered  as
  828.    described in Section 9 of this document or bilaterally-agreed upon as
  829.    described in Section 5.
  830.  
  831.    Type special notes:  The END type is used  in  conjunction  with  the
  832.    BEGIN type to delimit a profile containing a related set of directory
  833.    content within an text/directory content-type. This construct may  be
  834.    used  instead  of  or  in  addition  to  wrapping  separate  sets  of
  835.  
  836.  
  837.  
  838. Howes & Smith                                                  [Page 14]
  839.  
  840.  
  841.  
  842.  
  843.  
  844. Expires in six months                                     INTERNET DRAFT
  845.  
  846.  
  847.    information inside additional MIME headers. It is provided for appli-
  848.    cations  that  wish to define content that may contain multiple enti-
  849.    ties within the same text/directory content-type or to define content
  850.    that may be identifiable outside of a MIME environment.
  851.  
  852.    Type example:
  853.            END: vcard
  854.  
  855. 7.  Use of the multipart/related Content-Type
  856.  
  857. The multipart/related Content-Type can be used to hold directory  infor-
  858. mation  comprised  of  both  text  and non-text information or directory
  859. information that already has a natural MIME  representation.   The  root
  860. body part within the multipart/related body part is specified as defined
  861. in [RFC-1872] by a "start" parameter, or it is the first  body  part  in
  862. the  absence  of  such  a  parameter.  The  root  body  part must have a
  863. Content-Type of "text/directory".  This part holds  inline  information,
  864. optionally  defines  the  name  and source of the information, and makes
  865. reference to subsequent body parts holding additional text  or  non-text
  866. directory  information via their Content-ID URIs as explained in Section
  867. 5.
  868.  
  869. The body parts referred to do not have to be in  any  particular  order,
  870. except as noted above for the root body part.
  871.  
  872. 8.  Examples
  873.  
  874. The following examples are for illustrative purposes only  and  are  not
  875. part of the definition.
  876.  
  877. 8.1.  Example 1
  878.  
  879. The first example illustrates simple use of the text/directory  Content-
  880. Type.  Note  that no "profile" parameter is given, so an application may
  881. not know what kind of directory entity the information applies to.  Note
  882. also  the  use of both hypothetical official and bilaterally agreed upon
  883. types.
  884.  
  885.    From: Whomever@wherever.com
  886.    To: Someone@somewhere.com
  887.    Subject: whatever
  888.    MIME-Version: 1.0
  889.    Message-ID: <id1@host.net>
  890.    Content-Type: text/directory
  891.    Content-ID: <id2@host.com>
  892.  
  893.    cn: Babs Jensen
  894.    cn: Barbara J Jensen
  895.  
  896.  
  897.  
  898. Howes & Smith                                                  [Page 15]
  899.  
  900.  
  901.  
  902.  
  903.  
  904. Expires in six months                                     INTERNET DRAFT
  905.  
  906.  
  907.    sn: Jensen
  908.    email: babs@umich.edu
  909.    phone: +1 313 747-4454
  910.    x-id: 1234567890
  911.  
  912. 8.2.  Example 2
  913.  
  914. The next example illustrates the use of  the  Quoted-Printable  encoding
  915. defined  in  [RFC  2045]  to  include non-ASCII character in some of the
  916. information returned, and the use of the optional  "name"  and  "source"
  917. types.  It  also  illustrates the use of an "encoding" type parameter to
  918. encode a certificate value in base64. A "vCard" profile [MIME-VCARD]  is
  919. used for the example.
  920.  
  921.    Content-Type: text/directory;
  922.            charset="iso-8859-1";
  923.            profile="vCard"
  924.    Content-ID: <id3@host.com>
  925.    Content-Transfer-Encoding: Quoted-Printable
  926.  
  927.    begin: vcard
  928.    source: ldap://cn=3Dbjorn%20Jensen, o=3Duniversity%20of%20Michigan, c=3DUS
  929.    name: cn=3Dbjorn Jensen, o=3Duniversity of Michigan, c=3DUS
  930.    fn: Bj=F8rn Jensen
  931.    n: Jensen;Bj=F8rn
  932.    email;type=3Dinternet: bjorn@umich.edu
  933.    tel;type=3Dwork,voice,msg:+1 313 747-4454
  934.    key;type=3Dx509;encoding=3Dbase64: dGhpcyBjb3VsZCBiZSAKbXkgY2VydGlmaWNhdGUK
  935.    end: vcard
  936.  
  937. 8.3.  Example 3
  938.  
  939. The next example illustrates the use of  multi-valued  type  parameters,
  940. the  "language"  type  parameter,  the  "value"  type  parameter, inline
  941. quoted-printable encoding to represent iso-8859-1  characters  and  fold
  942. long lines, and attribute grouping.
  943.  
  944.    Content-Type: text/directory; profile="person"; charset=iso-8859-1
  945.    Content-ID: <id3@host.com>
  946.  
  947.    source: ldap://cn=Meister%20Berger,o=Universitaet%20Goerlitz,c=DE
  948.    name: cn=Meister Berger, o=Universitaet Goerlitz, c=DE
  949.    cn: Meister Berger
  950.    cn: Berger Meister
  951.    sn: Berger
  952.    age;value=integer: 33
  953.    o;encoding=quoted-printable: Universit=E6t G=F6rlitz
  954.    title: Mayor
  955.  
  956.  
  957.  
  958. Howes & Smith                                                  [Page 16]
  959.  
  960.  
  961.  
  962.  
  963.  
  964. Expires in six months                                     INTERNET DRAFT
  965.  
  966.  
  967.    title;language=de;value=text: Burgermeister
  968.    description;encoding=quoted-printable: The Mayor of the great city of=
  969.     Goerlitz in the great country of Germany.
  970.    email: mb@goerlitz.de
  971.    home.phone;fax,voice,msg: +49 3581 123456
  972.    home.addr;encoding=quoted-printable: Hufenshlagel 1234=0A=
  973.     02828 Goerlitz=0A=
  974.     Deutschland
  975.    certificate;encoding=base64: dGhpcyBjb3VsZCBiZSAKbXkgY2VydGlma...
  976.  
  977. 8.4.  Example 4
  978.  
  979. The final example illustrates the use of the multipart/related  Content-
  980. Type  to  include  non-textual  directory data via the "uri" encoding to
  981. refer to other body parts  within  the  same  message,  or  to  external
  982. values.
  983.  
  984.    Content-Type: multipart/related;
  985.            boundary=woof;
  986.            type="text/directory";
  987.            start="<id5@host.com>"
  988.    Content-ID: <id4@host.com>
  989.  
  990.    --woof
  991.    Content-Type: text/directory; charset="iso-8859-1"
  992.    Content-ID: <id5@host.com>
  993.    Content-Transfer-Encoding: Quoted-Printable
  994.  
  995.    source: ldap://cn=3DBjorn%20Jensen,o=3DUniversity%20of%20Michigan,c=3DUS
  996.    cn: Bj=F8rn Jensen
  997.    sn: Jensen
  998.    email: bjorn@umich.edu
  999.    image;encoding=3Duri: cid:id6@host.com
  1000.    image;encoding=3Duri;format=3Djpeg: ftp://some.host/some/path.jpg
  1001.    sound;encoding=3Duri: cid:id7@host.com
  1002.    phone: +1 313 747-4454
  1003.  
  1004.    --woof
  1005.    Content-Type: image/jpeg
  1006.    Content-ID: <id6@host.com>
  1007.  
  1008.    <...image data...>
  1009.  
  1010.    --woof
  1011.    Content-Type: message/external-body;
  1012.            name="myvoice.au";
  1013.            site="myhost.com";
  1014.            access-type=ANON-FTP;
  1015.  
  1016.  
  1017.  
  1018. Howes & Smith                                                  [Page 17]
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024. Expires in six months                                     INTERNET DRAFT
  1025.  
  1026.  
  1027.            directory="pub/myname";
  1028.            mode="image"
  1029.  
  1030.    Content-Type: audio/basic
  1031.    Content-ID: <id7@host.com>
  1032.  
  1033.    --woof--
  1034.  
  1035. 9.  Registration of new profiles
  1036.  
  1037. This section defines procedures by which  new  profiles  are  registered
  1038. with  the  IANA  and made available to the Internet community. Note that
  1039. non-IANA profiles may be used by bilateral agreement, provided the asso-
  1040. ciated profile names follow the "X-" convention defined above.
  1041.  
  1042. The procedures defined here are designed to  allow  public  comment  and
  1043. review  of  new  profiles,  while  posing only a small impediment to the
  1044. definition of new profiles.
  1045.  
  1046. Registration of a new profile is accomplished by the following steps.
  1047.  
  1048. 9.1.  Define the profile
  1049.  
  1050. A profile is defined by completing the following template.
  1051.  
  1052.    To: ietf-mime-direct@imc.org
  1053.    Subject: Registration of text/directory MIME profile XXX
  1054.  
  1055.    Profile name:
  1056.  
  1057.    Profile purpose:
  1058.  
  1059.    Profile types:
  1060.  
  1061.    Profile special notes (optional):
  1062.  
  1063.    Intended usage: (one of COMMON, LIMITED USE or OBSOLETE)
  1064.  
  1065. The explanation of what goes in each field in the template follows.
  1066.  
  1067. Profile name: The  name  of  the  profile  as  it  will  appear  in  the
  1068. text/directory  MIME  Content-Type  "profile"  header  parameter, or the
  1069. predefined "profile" type name.
  1070.  
  1071. Profile purpose: The purpose of the profile (e.g., to represent informa-
  1072. tion  about  people,  printers, documents, etc.). Give a short but clear
  1073. description.
  1074.  
  1075.  
  1076.  
  1077.  
  1078. Howes & Smith                                                  [Page 18]
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084. Expires in six months                                     INTERNET DRAFT
  1085.  
  1086.  
  1087. Profile types: The list of types associated with the profile.  This list
  1088. of  types is to be expected but not required in the profile, unless oth-
  1089. erwise noted in the profile definition.  Other types  not  mentioned  in
  1090. the  profile  definition  may  also be present.  Note that any new types
  1091. referenced by the profile must be defined  separately  as  described  in
  1092. Section 10.
  1093.  
  1094. Profile special notes: Any special notes about the profile, how it is to
  1095. be used, etc. This section of the template may also be used to define an
  1096. ordering on the types that appear in the Content-Type, if such an order-
  1097. ing is required.
  1098.  
  1099. 9.2.  Post the profile definition
  1100.  
  1101. The profile description must be posted to  the  new  profile  discussion
  1102. list, ietf-mime-direct@imc.org
  1103.  
  1104. 9.3.  Allow a comment period
  1105.  
  1106. Discussion on the new profile must be allowed to take place on the  list
  1107. for  a  minimum  of  two weeks. Consensus must be reached on the profile
  1108. before proceeding to step 4.
  1109.  
  1110. 9.4.  Submit the profile for approval
  1111.  
  1112. Once the two-week comment period has elapsed, and the proposer  is  con-
  1113. vinced  consensus  has  been  reached  on  the profile, the registration
  1114. application should be submitted to the Profile  Reviewer  for  approval.
  1115. The  Profile Reviewer is appointed to the Application Area Directors and
  1116. may either accept or reject the profile registration. An accepted regis-
  1117. tration  should  be  passed  on  by the Profile Reviewer to the IANA for
  1118. inclusion in the official IANA profile registry. The registration may be
  1119. rejected  for  any  of  the  following  reasons. 1) Insufficient comment
  1120. period; 2) Consensus not reached; 3) Technical  deficiencies  raised  on
  1121. the  list  or  elsewhere have not been addressed. The Profile Reviewer's
  1122. decision to reject a profile may be appealed  by  the  proposer  to  the
  1123. IESG,  or the objections raised can be addressed by the proposer and the
  1124. profile resubmitted.
  1125.  
  1126. 10.  Profile Change Control
  1127.  
  1128. Existing profiles may be changed using the same process  by  which  they
  1129. were registered.
  1130.  
  1131.      Define the change
  1132.  
  1133.      Post the change
  1134.  
  1135.  
  1136.  
  1137.  
  1138. Howes & Smith                                                  [Page 19]
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144. Expires in six months                                     INTERNET DRAFT
  1145.  
  1146.  
  1147.      Allow a comment period
  1148.  
  1149.      Submit the changed profile for approval
  1150.  
  1151. Note that the original author or any other interested party may  propose
  1152. a  change  to  an existing profile, but that such changes should only be
  1153. proposed when there are serious omissions or  errors  in  the  published
  1154. specification.  The Profile Reviewer may object to a change if it is not
  1155. backwards compatible, but is not required to do so.
  1156.  
  1157. Profile definitions can never be deleted from  the  IANA  registry,  but
  1158. profiles  which  are  no  longer  believed  to be useful can be declared
  1159. OBSOLETE by a change to their "intended use" field.
  1160.  
  1161. 11.  Registration of new types
  1162.  
  1163. This section defines procedures by which new types are  registered  with
  1164. the  IANA.  Note that non-IANA types may be used by bilateral agreement,
  1165. provided the associated types names follow the "X-"  convention  defined
  1166. above.
  1167.  
  1168. The procedures defined here are designed to  allow  public  comment  and
  1169. review of new types, while posing only a small impediment to the defini-
  1170. tion of new types.
  1171.  
  1172. Registration of a new type is accomplished by the following steps.
  1173.  
  1174. 11.1.  Define the type
  1175.  
  1176. A type is defined by completing the following template.
  1177.  
  1178.       To: ietf-mime-direct@imc.org
  1179.       Subject: Registration of text/directory MIME type XXX
  1180.  
  1181.       Type name:
  1182.  
  1183.       Type purpose:
  1184.  
  1185.       Type encoding:
  1186.  
  1187.       Type valuetype:
  1188.  
  1189.       Type special notes (optional):
  1190.  
  1191.       Intended usage: (one of COMMON, LIMITED USE or OBSOLETE)
  1192.  
  1193. The meaning of each field in the template is as follows.
  1194.  
  1195.  
  1196.  
  1197.  
  1198. Howes & Smith                                                  [Page 20]
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204. Expires in six months                                     INTERNET DRAFT
  1205.  
  1206.  
  1207. Type name: The name of the type, as it will appear in  the  body  of  an
  1208. text/directory  MIME  Content-Type "type: value" line to the left of the
  1209. colon ":".
  1210.  
  1211. Type purpose: The purpose of the type (e.g., to represent a name, postal
  1212. address, IP address, etc.). Give a short but clear description.
  1213.  
  1214. Type encoding: The default encoding a value of the type must have in the
  1215. body of a text/directory MIME Content-Type.
  1216.  
  1217. Type valuetype: The format a value of the type must have in the body  of
  1218. a text/directory MIME Content-Type. This description must be precise and
  1219. must not violate the general encoding rules defined in section 5 of this
  1220. document.
  1221.  
  1222. Type special notes: Any special notes about the type, how it  is  to  be
  1223. used, etc.
  1224.  
  1225. 11.2.  Post the type definition
  1226.  
  1227. The type description must be posted to the  new  type  discussion  list,
  1228. ietf-mime-direct@imc.org
  1229.  
  1230. 11.3.  Allow a comment period
  1231.  
  1232. Discussion on the new type must be allowed to take place on the list for
  1233. a  minimum  of  two  weeks. Consensus must be reached on the type before
  1234. proceeding to step 4.
  1235.  
  1236. 11.4.  Submit the type for approval
  1237.  
  1238. Once the two-week comment period has elapsed, and the proposer  is  con-
  1239. vinced consensus has been reached on the type, the registration applica-
  1240. tion should be submitted to the Profile Reviewer for approval.  The Pro-
  1241. file  Reviewer  is  appointed  to the Application Area Directors and may
  1242. either accept or reject the type registration. An accepted  registration
  1243. should be passed on by the Profile Reviewer to the IANA for inclusion in
  1244. the official IANA profile registry. The registration may be rejected for
  1245. any  of  the  following reasons. 1) Insufficient comment period; 2) Con-
  1246. sensus not reached; 3) Technical deficiencies  raised  on  the  list  or
  1247. elsewhere  have  not  been addressed. The Profile Reviewer's decision to
  1248. reject a type may be appealed by the proposer to the IESG, or the objec-
  1249. tions raised can be addressed by the proposer and the type resubmitted.
  1250.  
  1251. 12.  Type Change Control
  1252.  
  1253. Existing types may be changed using the same process by which they  were
  1254. registered.
  1255.  
  1256.  
  1257.  
  1258. Howes & Smith                                                  [Page 21]
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264. Expires in six months                                     INTERNET DRAFT
  1265.  
  1266.  
  1267.      Define the change
  1268.  
  1269.      Post the change
  1270.  
  1271.      Allow a comment period
  1272.  
  1273.      Submit the type for approval
  1274.  
  1275. Note that the original author or any other interested party may  propose
  1276. a  change to an existing type, but that such changes should only be pro-
  1277. posed when there are  serious  omissions  or  errors  in  the  published
  1278. specification.  The Profile Reviewer may object to a change if it is not
  1279. backwards compatible, but is not required to do so.
  1280.  
  1281. Type definitions can never be deleted from the IANA registry, but  types
  1282. which  are  nolonger believed to be useful can be declared OBSOLETE by a
  1283. change to their "intended use" field.
  1284.  
  1285. 13.  Registration of new parameters
  1286.  
  1287. This section defines procedures by which new parameters  are  registered
  1288. with  the  IANA  and made available to the Internet community. Note that
  1289. non-IANA parameters may be used by  bilateral  agreement,  provided  the
  1290. associated parameters names follow the "X-" convention defined above.
  1291.  
  1292. The procedures defined here are designed to  allow  public  comment  and
  1293. review  of  new  parameters, while posing only a small impediment to the
  1294. definition of new parameters.
  1295.  
  1296. Registration of a new parameter is accomplished by the following steps.
  1297.  
  1298. 13.1.  Define the parameter
  1299.  
  1300. A parameter is defined by completing the following template.
  1301.  
  1302.    To: ietf-mime-direct@imc.org
  1303.    Subject: Registration of text/directory MIME type parameter XXX
  1304.  
  1305.    Parameter name:
  1306.  
  1307.    Parameter purpose:
  1308.  
  1309.    Parameter values:
  1310.  
  1311.    Parameter special notes (optional):
  1312.  
  1313.    Intended usage: (one of COMMON, LIMITED USE or OBSOLETE)
  1314.  
  1315.  
  1316.  
  1317.  
  1318. Howes & Smith                                                  [Page 22]
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324. Expires in six months                                     INTERNET DRAFT
  1325.  
  1326.  
  1327. The explanation of what goes in each field in the template follows.
  1328.  
  1329. Parameter name: The name of the parameter  as  it  will  appear  in  the
  1330. text/directory MIME Content-Type.
  1331.  
  1332. Parameter purpose: The purpose of the parameter (e.g., to represent  the
  1333. format  of  an  image,  type  of a phone number, etc.). Give a short but
  1334. clear description. If defining a general  paramemter  like  "format"  or
  1335. "type" keep in mind that other applications may wish to extend its use.
  1336.  
  1337. Parameter values: The list or description of values associated with  the
  1338. parameter.
  1339.  
  1340. Parameter special notes: Any special notes about the parameter,  how  it
  1341. is to be used, etc.
  1342.  
  1343. 13.2.  Post the parameter definition
  1344.  
  1345. The parameter description must be posted to the new parameter discussion
  1346. list, ietf-mime-direct@imc.org
  1347.  
  1348. 13.3.  Allow a comment period
  1349.  
  1350. Discussion on the new parameter must be allowed to  take  place  on  the
  1351. list for a minimum of two weeks. Consensus must be reached on the param-
  1352. eter before proceeding to step 4.
  1353.  
  1354. 13.4.  Submit the parameter for approval
  1355.  
  1356. Once the two-week comment period has elapsed, and the proposer  is  con-
  1357. vinced  consensus  has  been  reached on the parameter, the registration
  1358. application should be submitted to the Profile  Reviewer  for  approval.
  1359. The  Profile Reviewer is appointed to the Application Area Directors and
  1360. may either accept or reject  the  parameter  registration.  An  accepted
  1361. registration should be passed on by the Profile Reviewer to the IANA for
  1362. inclusion in the official IANA parameter registry. The registration  may
  1363. be  rejected  for  any of the following reasons. 1) Insufficient comment
  1364. period; 2) Consensus not reached; 3) Technical  deficiencies  raised  on
  1365. the  list  or  elsewhere have not been addressed. The Profile Reviewer's
  1366. decision to reject a profile may be appealed  by  the  proposer  to  the
  1367. IESG,  or the objections raised can be addressed by the proposer and the
  1368. parameter registration resubmitted.
  1369.  
  1370. 14.  Parameter Change Control
  1371.  
  1372. Existing parameters may be changed using the same process by which  they
  1373. were registered.
  1374.  
  1375.  
  1376.  
  1377.  
  1378. Howes & Smith                                                  [Page 23]
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384. Expires in six months                                     INTERNET DRAFT
  1385.  
  1386.  
  1387.      Define the change
  1388.  
  1389.      Post the change
  1390.  
  1391.      Allow a comment period
  1392.  
  1393.      Submit the parameter for approval
  1394.  
  1395. Note that the original author or any other interested party may  propose
  1396. a  change to an existing parameter, but that such changes should only be
  1397. proposed when there are serious omissions or  errors  in  the  published
  1398. specification.  The Profile Reviewer may object to a change if it is not
  1399. backwards compatible, but is not required to do so.
  1400.  
  1401. Parameter definitions can never be deleted from the IANA  registry,  but
  1402. parameters  which  are  nolonger  believed  to be useful can be declared
  1403. OBSOLETE by a change to their "intended use" field.
  1404.  
  1405. 15.  Registration of new value types
  1406.  
  1407. This section defines procedures by which new value types are  registered
  1408. with  the  IANA  and made available to the Internet community. Note that
  1409. non-IANA value types may be used by  bilateral agreement,  provided  the
  1410. associated value types names follow the "X-" convention defined above.
  1411.  
  1412. The procedures defined here are designed to  allow  public  comment  and
  1413. review  of  new value types, while posing only a small impediment to the
  1414. definition of new value types.
  1415.  
  1416. Registration of a new value  types  is  accomplished  by  the  following
  1417. steps.
  1418.  
  1419.  
  1420. 15.1.  Define the value type
  1421.  
  1422. A value type is defined by completing the following template.
  1423.  
  1424.       To: ietf-mime-direct@imc.org
  1425.       Subject: Registration of text/directory MIME value type XXX
  1426.  
  1427.       value type name:
  1428.  
  1429.       value type purpose:
  1430.  
  1431.       value type format:
  1432.  
  1433.       value type special notes (optional):
  1434.  
  1435.  
  1436.  
  1437.  
  1438. Howes & Smith                                                  [Page 24]
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444. Expires in six months                                     INTERNET DRAFT
  1445.  
  1446.  
  1447.       Intended usage: (one of COMMON, LIMITED USE or OBSOLETE)
  1448.  
  1449. The explanation of what goes in each field in the template follows.
  1450.  
  1451. value type name: The name of the value type as  it  will  appear  in the
  1452. text/directory MIME Content-Type.
  1453.  
  1454. value type purpose: The purpose of the value  type.  Give  a  short  but
  1455. clear description.
  1456.  
  1457. value type format: The definition of the format for the  value,  usually
  1458. using BNF grammar.
  1459.  
  1460. value type special notes: Any special notes about the value  type,   how
  1461. it is to be used, etc.
  1462.  
  1463.  
  1464. 15.2.  Post the value type definition
  1465.  
  1466. The value type description must be posted to the new value type  discus-
  1467. sion list, ietf-mime-direct@imc.org
  1468.  
  1469.  
  1470. 15.3.  Allow a comment period
  1471.  
  1472. Discussion on the new value type must be allowed to  take  place  on the
  1473. list  for  a  minimum  of  two  weeks.  Consensus must be reached before
  1474. proceeding to step 4.
  1475.  
  1476.  
  1477. 15.4.  Submit the value type for approval
  1478.  
  1479. Once the two-week comment period has elapsed, and the proposer  is  con-
  1480. vinced   consensus   has  been  reached on the value type, the registra-
  1481. tion application should  be  submitted  to  the  Profile   Reviewer  for
  1482. approval.   The   Profile  Reviewer is appointed to the Application Area
  1483. Directors and may either accept or reject  the  value type registration.
  1484. An  accepted registration should be passed on by the Profile Reviewer to
  1485. the IANA for inclusion in the official IANA  value  type  registry.  The
  1486. registration  may  be   rejected   for  any of the following reasons. 1)
  1487. Insufficient comment period; 2)  Consensus  not  reached;  3)  Technical
  1488. deficiencies    raised   on  the   list   or  elsewhere  have  not  been
  1489. addressed. The Profile Reviewer's decision to reject a  profile  may  be
  1490. appealed  by  the  proposer  to  the IESG,  or the objections raised can
  1491. be addressed by the proposer and the value type  registration  resubmit-
  1492. ted.
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498. Howes & Smith                                                  [Page 25]
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504. Expires in six months                                     INTERNET DRAFT
  1505.  
  1506.  
  1507. 16.  Security Considerations
  1508.  
  1509. Internet mail is subject to many well known security attacks,  including
  1510. monitoring,  replay,  and forgery. Care should be taken by any directory
  1511. service in allowing information  to  leave  the  scope  of  the  service
  1512. itself, where any access controls can no longer be guaranteed.  Applica-
  1513. tions should also take care  to  display  directory  data  in  a  "safe"
  1514. environment (e.g., PostScript-valued types).
  1515.  
  1516. 17.  Acknowledgements
  1517.  
  1518. The registration procedures defined here were  shamelessly  lifted  from
  1519. the MIME registration RFC.
  1520.  
  1521. The many valuable comments contributed by members of the IETF ASID work-
  1522. ing  group  are gratefully acknowledged, as are the contributions of the
  1523. Versit Consortium..
  1524.  
  1525. 18.  Bibliography
  1526.  
  1527. [RFC-1777] Yeong, W.,  Howes,  T.,  Kille,  S.,  "Lightweight  Directory
  1528.            Access Protocol", Request for Comment (RFC) 1777, March 1995.
  1529.  
  1530. [RFC-1778] Howes, T., Kille, S., Yeong, W., Robbins, C.J.,  "The  String
  1531.            Representation  of  Standard Attribute Syntaxes", Request for
  1532.            Comment (RFC) 1778, March 1995.
  1533.  
  1534. [RFC-822]  Crocker, D., "Standard for the Format of ARPA  Internet  Text
  1535.            Messages", STD 11, RFC 822, August 1982.
  1536.  
  1537. [RFC-1521] Borenstein, N., Freed, N., "Multipurpose Internet Mail Exten-
  1538.            sions  (MIME)  Part  One: Format of Internet Message Bodies",
  1539.            RFC 2045, November 1996.
  1540.  
  1541. [RFC-2046] Moore, K., "Multipurpose Internet Mail Extensions (MIME) Part
  1542.            Two:  Media Types", RFC 2046, November 1996.
  1543.  
  1544. [RFC-2048] Freed, N., Klensin, J., Postel,  J.,  "Multipurpose  Internet
  1545.            Mail  Extensions  (MIME) Part Four: Registration Procedures",
  1546.            RFC 2048, November 1996
  1547.  
  1548. [RFC-1766] Alvestrand, H., "Tags for the Identification  of  Languages",
  1549.            RFC 1766, March 1995.
  1550.  
  1551. [RFC-1872] Levinson, E., "The MIME Multipart/Related Content-type,"  RFC
  1552.            1872, December 1995.
  1553.  
  1554. [X500]     "Information    Processing    Systems    -    Open    Systems
  1555.  
  1556.  
  1557.  
  1558. Howes & Smith                                                  [Page 26]
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564. Expires in six months                                     INTERNET DRAFT
  1565.  
  1566.  
  1567.            Interconnection - The Directory: Overview of Concepts, Models
  1568.            and Services", ISO/IEC  JTC  1/SC21,  International  Standard
  1569.            9594-1, 1988.
  1570.  
  1571. [RFC-1835] Deutsch, P., Schoultz, R., Faltstrom, P., Weider, C., "Archi-
  1572.            tecture of the WHOIS++ service", August 1995.
  1573.  
  1574. [RFC-1738] Berners-Lee,  T.,  Masinter,  L.,  McCahill,   M.,   "Uniform
  1575.            Resource Locators (URL)", RFC 1738, December 1994.
  1576.  
  1577. [DATETIME] Newman, C., "Date and Time on the Internet",  Internet  Draft
  1578.            draft-newman-datetime-01.txt, January 1997.
  1579.  
  1580. [MIME-VCARD]F.  Dawson,  T.  Howes,  "VCard  MIME  Directory   Profile",
  1581.            Internet-Draft    draft-ietf-asid-mime-vcard-02.txt,   March,
  1582.            1997.
  1583.  
  1584. [VCARD]    Versit Consortium, "vCard - The  Electronic  Business  Card",
  1585.            Version  2.1, http://www.imc.com/pdi/vcard-21.txt, September,
  1586.            1996.
  1587.  
  1588. 19.  Author's Address
  1589.  
  1590.    Tim Howes
  1591.    Netscape Communications Corp.
  1592.    501 East Middlefield Rd.
  1593.    Mountain View, CA 94041
  1594.    USA
  1595.    howes@netscape.com
  1596.    +1.415.937.3419
  1597.  
  1598.    Mark Smith
  1599.    Netscape Communications Corp.
  1600.    501 East Middlefield Rd.
  1601.    Mountain View, CA 94041
  1602.    USA
  1603.    mcs@netscape.com
  1604.    +1.415.937.3477
  1605.  
  1606. 20.  Table of Contents
  1607.  
  1608.  
  1609. 1.     Status of this Memo............................................1
  1610. 2.     Abstract.......................................................1
  1611. 3.     Need for a MIME Directory Type.................................2
  1612. 4.     Overview.......................................................2
  1613. 5.     The text/directory Content-Type................................3
  1614.  
  1615.  
  1616.  
  1617. Howes & Smith                                                  [Page 27]
  1618.  
  1619.  
  1620. 5.1.      MIME media type name........................................3
  1621. 5.2.      MIME subtype name...........................................3
  1622. 5.3.      Required parameters.........................................3
  1623. 5.4.      Optional parameters.........................................3
  1624. 5.5.      Encoding considerations.....................................4
  1625. 5.6.      Security considerations.....................................4
  1626. 5.7.      Interoperability considerations.............................4
  1627. 5.8.      Published specification.....................................4
  1628. 5.8.1.       Line delimiting and folding..............................5
  1629. 5.8.2.       BNF content-type definition..............................6
  1630. 5.8.3.       Predefined value formats.................................10
  1631. 5.9.      Applications which use this media type......................11
  1632. 5.10.     Additional information......................................11
  1633. 5.11.     Person & email address to contact for further information...11
  1634. 5.12.     Intended usage..............................................11
  1635. 5.13.     Author/Change controller....................................11
  1636. 6.     Predefined Types...............................................12
  1637. 6.1.      SOURCE Type Definition......................................12
  1638. 6.2.      NAME Type Definition........................................13
  1639. 6.3.      PROFILE Type Definition.....................................13
  1640. 6.4.      BEGIN Type Definition.......................................14
  1641. 6.5.      END Type Definition.........................................14
  1642. 7.     Use of the multipart/related Content-Type......................15
  1643. 8.     Examples.......................................................15
  1644. 8.1.      Example 1...................................................15
  1645. 8.2.      Example 2...................................................16
  1646. 8.3.      Example 3...................................................16
  1647. 8.4.      Example 4...................................................17
  1648. 9.     Registration of new profiles...................................18
  1649. 9.1.      Define the profile..........................................18
  1650. 9.2.      Post the profile definition.................................19
  1651. 9.3.      Allow a comment period......................................19
  1652. 9.4.      Submit the profile for approval.............................19
  1653. 10.    Profile Change Control.........................................19
  1654. 11.    Registration of new types......................................20
  1655. 11.1.     Define the type.............................................20
  1656. 11.2.     Post the type definition....................................21
  1657. 11.3.     Allow a comment period......................................21
  1658. 11.4.     Submit the type for approval................................21
  1659. 12.    Type Change Control............................................21
  1660. 13.    Registration of new parameters.................................22
  1661. 13.1.     Define the parameter........................................22
  1662. 13.2.     Post the parameter definition...............................23
  1663. 13.3.     Allow a comment period......................................23
  1664. 13.4.     Submit the parameter for approval...........................23
  1665. 14.    Parameter Change Control.......................................23
  1666. 15.    Registration of new value types................................24
  1667.  
  1668.  
  1669. Howes & Smith                                                  [Page 28]
  1670.  
  1671.  
  1672. 15.1.     Define the value type.......................................24
  1673. 15.2.     Post the value type definition..............................25
  1674. 15.3.     Allow a comment period......................................25
  1675. 15.4.     Submit the value type for approval..........................25
  1676. 16.    Security Considerations........................................26
  1677. 17.    Acknowledgements...............................................26
  1678. 18.    Bibliography...................................................26
  1679. 19.    Author's Address...............................................27
  1680. 20.    Table of Contents..............................................27
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. Howes & Smith                                                  [Page 27]
  1739.  
  1740.  
  1741.