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