<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 822</anchor> で定義されている<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">電子メイル</anchor>のメッセージ
(<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">822</anchor>) の頭欄 <dfn><code class="822">Encrypted:</code></dfn>
は、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">メッセージ</anchor>が<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">暗号化</anchor>されているのを示すことを想定していました。</p><section><h1>構文</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 822</anchor> に示された <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">BNF</anchor> の構文を現代風に書き改めると、
次のようになります。</p><ul><li><code class="ABNF"><dfn>Encrypted</dfn> := &quot;Encrypted:&quot; encrypted-body <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CRLF</anchor> / obs-Encrypted</code></li><li><code class="ABNF"><dfn>obs-Encrypted</dfn> := &quot;Encrypted&quot; [ <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">FWS</anchor> ] &quot;:&quot; encrypted-body CRLF</code></li><li><code class="ABNF"><dfn>encrypted-body</dfn> := <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">word</anchor> [&quot;,&quot; word] </code></li></ul><p><code class="ABNF">word</code> は定義上 <code class="ABNF"> [ <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CFWS</anchor> ] &lt;真の word&gt; [CFWS] </code> であることに注意。</p></section><section><h1>関連</h1><p><sw-see xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"> <anchor>S/MIME</anchor>, <anchor>PGP/MIME</anchor> </sw-see></p><p><sw-see xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"> <anchor>Content-Type:</anchor> </sw-see></p></section><section><h1>歴史</h1><section><h1>RFC 822</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 822</anchor> は書式だけを規定し、
実際の暗号化の仕組みは登録制としていました。
しかし、後に電子メイルのメッセージの暗号化の仕組みとして
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">PEM</anchor> や <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">PGP/MIME</anchor> や <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">S/MIME</anchor> が規格化されましたが、
<code class="822">Encrypted:</code> 欄が使われることはありませんでした。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="7" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[7]</anchor-end> 
そうして、ほとんど (まったく?) 使われぬまま、
<code class="822">Encrypted:</code> 欄は RFC 822 の改訂版である
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 2822</anchor> では省かれてしまっています。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="8" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[8]</anchor-end> 
とはいうものの <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Internet Standard</anchor> である RFC 822
で <code class="822">Encrypted:</code> 
欄が規定されていたという事実だけは動かしようがなく、
亡霊のような存在となっています。</p><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end> 4.7.3.  ENCRYPTED</figcaption><blockquote><p>Sometimes,  data  encryption  is  used  to  increase  the
privacy  of  message  contents.   If the body of a message has
been encrypted, to keep its contents private, the  &quot;Encrypted&quot;
field  can be used to note the fact and to indicate the nature
of the encryption.  The first &lt;word&gt; parameter  indicates  the
software  used  to  encrypt the body, and the second, optional
&lt;word&gt; is intended to  aid  the  recipient  in  selecting  the
proper  decryption  key.   This  code word may be viewed as an
index to a table of keys held by the recipient.</p></blockquote><p>時たま、データ暗号化がメッセージの秘密保持のために
使われます。内容を内密に保つため、
メッセージの本体が暗号化されている時、
暗号化されているということを記し、暗号化の性質を示すために、
<code class="822">Encrypted</code>欄を使うことが出来ます。最初の 
<code class="ABNF">word</code> 引数は本体を暗号化するのに使われたソフトウェアを示し、
省略可能な二番目の <code class="ABNF">word</code> は、
受信者が適切な解読鍵を選択するのを助けることを目的にしています。
この符号 <code class="ABNF">word</code> 
は受信者が持っている鍵の表の索引と見なしても構いません。</p><blockquote><p>Note:  Unfortunately, headers must contain envelope,  as  well
as  contents,  information.  Consequently, it is necessary 
that they remain unencrypted, so that  mail  transport   services   
may   access   them.   Since  names,
addresses, and &quot;Subject&quot;  field  contents  may  contain
sensitive  information,  this  requirement limits total
message privacy.</p></blockquote><p>注意: 残念ながら、
頭群は内容たると共に封筒情報にしなければなりません。
ですから、頭群は暗号化されていない状態のままにしておき、
メイル輸送サービスが頭群を読むことができるようにしておく必要があります。
名前, 番地,  <code class="822"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Subject</anchor></code> 
欄は繊細な情報を含むかもしれませんから、
この要件はメッセージの秘密性全体を制限することになります。</p><blockquote><p>Names of encryption software are registered with 
the Network  Information Center, SRI International, 
Menlo Park, California.</p></blockquote><p>暗号化ソフトウェアの名前は the Network  Information Center, 
SRI International, Menlo Park, California で登録されます。</p></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end> 
登録簿は現在 IANA <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.iana.org/">http://www.iana.org/</anchor-external> が管理しています。
<anchor-internal xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">&gt;&gt;3</anchor-internal> 参照。</p></section><section><h1>IANA 登録簿「mail-parameters」より <csection xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">MAIL ENCRYPTION TYPES</csection></h1><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end></figcaption><blockquote><p>[RFC822] specifies that Encryption Types for mail may be assigned.
There are currently no RFC 822 encryption types assigned.  Please use
instead the Mail Privacy procedures defined in 
[RFC1421, RFC1422, RFC1423].</p></blockquote><p>RFC 822 は、メイルに暗号化型を割当てることができると規定しています。
現時点では RFC 822 暗号化型は割当てられていません。
代わりに <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 1421</anchor>, <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 1422</anchor>, <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 1423</anchor>
で定義されているメイル・プライバシー手続きを使ってください。</p></figure></section></section><section><h1>メモ</h1></section></body></html>