home *** CD-ROM | disk | FTP | other *** search
/ Internet Core Protocols / Oreilly-InternetCoreProtocols.iso / RFCs / rfc2161.txt < prev    next >
Encoding:
Text File  |  1999-10-14  |  8.1 KB  |  284 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                    H. Alvestrand
  8. Request for Comments: 2161                                     UNINETT
  9. Category: Experimental                                    January 1998
  10.  
  11.  
  12.                         A MIME Body Part for ODA
  13.  
  14. Status of this Memo
  15.  
  16.    This memo defines an Experimental Protocol for the Internet
  17.    community.  It does not specify an Internet standard of any kind.
  18.    Discussion and suggestions for improvement are requested.
  19.    Distribution of this memo is unlimited.
  20.  
  21. Copyright Notice
  22.  
  23.    Copyright (C) The Internet Society (1998).  All Rights Reserved.
  24.  
  25. Table of Contents
  26.  
  27.     Status of this Memo ........................................    1
  28.    1 Introduction ..............................................    1
  29.    1.1 The Application/ODA MIME content-type ...................    1
  30.    1.2 ODA - application/oda ...................................    2
  31.    2 Security Considerations ...................................    3
  32.    3 References ................................................    4
  33.    4 Author's Address ..........................................    4
  34.    5 Full Copyright Statement ..................................    5
  35.  
  36. 1.  Introduction
  37.  
  38.    This document contains the definitions, originally contained in RFC
  39.    1495 and RFC 1341, on how to carry ODA in MIME, and how to translate
  40.    it to its X.400 representation.
  41.  
  42. 1.1.  The Application/ODA MIME content-type
  43.  
  44.    The "ODA" subtype of application is used to indicate that  a body
  45.    contains  information  encoded according to the Office Document
  46.    Architecture  [ODA]   standards,  using  the  ODIF representation
  47.    format.   For  application/oda, the Content-Type line should also
  48.    specify an attribute/value  pair  that indicates  the document
  49.    application profile (DAP), using the key word "profile", and the
  50.    document class, using the keyword "class".
  51.  
  52.    For the keyword "class", the values "formatted", "processable" and
  53.    "formatted-processable" are legal values.
  54.  
  55.  
  56.  
  57.  
  58. Alvestrand                 Experimental                         [Page 1]
  59.  
  60. RFC 2161                A MIME Body Part for ODA            January 1998
  61.  
  62.  
  63.    Thus an appropriate header field  might look like this:
  64.  
  65.    Content-Type:  application/oda; profile=Q112; class=formatted
  66.  
  67.    Consult the ODA standard [T.411] for further information.
  68.  
  69.    The Base64 content-transfer-encoding is appropriate for carrying ODA.
  70.  
  71.  
  72. 1.2.  ODA - application/oda
  73.  
  74.    X.400 Body Part: ODA
  75.    MIME Content-Type: application/oda
  76.    Conversion: None
  77.    Comments:
  78.  
  79.    The ODA body part is defined in the CCITT document T.411 [T.411],
  80.    appendix E, section E.2, "ODA identification in the P2 protocol of
  81.    MHS"
  82.  
  83.    An abbreviated version of its ASN.1 definition is:
  84.  
  85.     oda-body-part EXTENDED-BODY-PART-TYPE
  86.             PARAMETERS      OdaBodyPartParameters
  87.             DATA            OdaData
  88.             ::= id-et-oda
  89.  
  90.     OdaBodyPartParameters ::= SET {
  91.             document-application-profile    [0] OBJECT IDENTIFIER
  92.             document-architecture-class     [1] INTEGER {
  93.                                             formatted (0)
  94.                                             processable (1)
  95.                                             formatted-processable(2)}}
  96.  
  97.     id-et-oda OBJECT IDENTIFIER ::= { 2 8 1 0 1 }
  98.  
  99.    Mapping from X.400 to MIME, the following is done:
  100.  
  101.    The Parameters.document-application-profile is mapped onto the MIME
  102.    parameter "profile" according to the table below.
  103.  
  104.    Profile         OBJECT IDENTIFIER
  105.  
  106.    Q112            { iso (1) identified-organization (3) ewos (16)
  107.                      eg (2) oda (6) profile (0)  q112 (1) }
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. Alvestrand                 Experimental                         [Page 2]
  115.  
  116. RFC 2161                A MIME Body Part for ODA            January 1998
  117.  
  118.  
  119.    The Parameters.document-architecture-class is mapped onto the MIME
  120.    parameter "class" according to the table below.
  121.  
  122.    String                  Integer
  123.  
  124.    formatted               formatted(0)
  125.    processable             processable(1)
  126.    formatted-processable   formatted-processable(2)
  127.  
  128.    NOTE: This parameter is not defined in RFC 1341.
  129.  
  130.    The body of the MIME content-type is the Data part of the ODA body
  131.    part.
  132.  
  133.    When mapping from MIME to X.400, the following steps are done:
  134.  
  135.    The Parameters.document-application-profile and Parameters.document-
  136.    architecture-class are set from the tables above.  If any of the
  137.    parameters are missing, the values for Q112 and formatted-processable
  138.    are used.
  139.  
  140.    It is an option for the gateway implementor to try to access them
  141.    from inside the document, where they are defined as
  142.  
  143.    document-profile.document-characteristics.document-architecture-class
  144.  
  145.    document-profile.document-characteristics.document-application-
  146.    profile
  147.  
  148.    Gateways are NOT required to do this, since the document-
  149.    characteristics are optional parameters.  If a gateway does not, it
  150.    simply uses the defaulting rules defined above.
  151.  
  152.    The OBJECT IDENTIFIERs for the document application profile and for
  153.    ODA {2 8 0 0} must be added to the Encoded Information Types
  154.    parameter of the message envelope.
  155.  
  156. 2.  Security Considerations
  157.  
  158.    ODA body parts have the natural propensity of complex structures that
  159.    it is hard to find out what the parts are capable of.
  160.  
  161.    Moreover, ODA is an extensible architecture, where new content
  162.    portions may be added at any time, so that the threats posed by this
  163.    body part may change over time.
  164.  
  165.    However, no security risks related to ODA are known at this time.
  166.  
  167.  
  168.  
  169.  
  170. Alvestrand                 Experimental                         [Page 3]
  171.  
  172. RFC 2161                A MIME Body Part for ODA            January 1998
  173.  
  174.  
  175. 3.  References
  176.  
  177.    [MIME]
  178.       Freed, N., and N. Borenstein, "Multipurpose
  179.       Internet Mail Extensions (MIME) Part One:  Format of Internet Message
  180.       Bodies", RFC 2045, November 1996.
  181.  
  182.    [T.411]
  183.       CCITT Recommendation T.411 (1988), Open Document Architecture
  184.       (ODA) and Interchange Format, Introduction and General
  185.       Principles.
  186.  
  187. 4.  Author's Address
  188.  
  189.    Harald Tveit Alvestrand
  190.    UNINETT
  191.    Postboks 6883 Elgeseter
  192.    N-7002 TRONDHEIM
  193.  
  194.    Phone: +47 73 59 70 94
  195.    EMail: Harald.T.Alvestrand@uninett.no
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Alvestrand                 Experimental                         [Page 4]
  227.  
  228. RFC 2161                A MIME Body Part for ODA            January 1998
  229.  
  230.  
  231. 5.  Full Copyright Statement
  232.  
  233.    Copyright (C) The Internet Society (1998).  All Rights Reserved.
  234.  
  235.    This document and translations of it may be copied and furnished to
  236.    others, and derivative works that comment on or otherwise explain it
  237.    or assist in its implementation may be prepared, copied, published
  238.    and distributed, in whole or in part, without restriction of any
  239.    kind, provided that the above copyright notice and this paragraph are
  240.    included on all such copies and derivative works.  However, this
  241.    document itself may not be modified in any way, such as by removing
  242.    the copyright notice or references to the Internet Society or other
  243.    Internet organizations, except as needed for the purpose of
  244.    developing Internet standards in which case the procedures for
  245.    copyrights defined in the Internet Standards process must be
  246.    followed, or as required to translate it into languages other than
  247.    English.
  248.  
  249.    The limited permissions granted above are perpetual and will not be
  250.    revoked by the Internet Society or its successors or assigns.
  251.  
  252.    This document and the information contained herein is provided on an
  253.    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  254.    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
  255.    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
  256.    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
  257.    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Alvestrand                 Experimental                         [Page 5]
  283.  
  284.