JP4584071B2 - Encrypted electronic document processing system, service providing apparatus, and electronic document output apparatus - Google Patents

Encrypted electronic document processing system, service providing apparatus, and electronic document output apparatus Download PDF

Info

Publication number
JP4584071B2
JP4584071B2 JP2005235367A JP2005235367A JP4584071B2 JP 4584071 B2 JP4584071 B2 JP 4584071B2 JP 2005235367 A JP2005235367 A JP 2005235367A JP 2005235367 A JP2005235367 A JP 2005235367A JP 4584071 B2 JP4584071 B2 JP 4584071B2
Authority
JP
Japan
Prior art keywords
electronic document
encrypted
encryption key
output device
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005235367A
Other languages
Japanese (ja)
Other versions
JP2007053434A (en
Inventor
和征 横川
忠秀 柴尾
康二 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2005235367A priority Critical patent/JP4584071B2/en
Publication of JP2007053434A publication Critical patent/JP2007053434A/en
Application granted granted Critical
Publication of JP4584071B2 publication Critical patent/JP4584071B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Description

本発明は、暗号化電子文書処理システム、サービス提供装置、および、電子文書出力装置に関し、特に、電子文書の安全な送信に適した暗号化電子文書処理システム、サービス提供装置、および、電子文書出力装置に関する。   The present invention relates to an encrypted electronic document processing system, a service providing apparatus, and an electronic document output apparatus, and more particularly to an encrypted electronic document processing system, a service providing apparatus, and an electronic document output suitable for secure transmission of an electronic document. Relates to the device.

通信ネットワーク上において電子文書を伝送する際には、通信路や、通信経路上の端末装置などでの盗聴への対策として電子文書を暗号化して送信する手段がとられてきた。   When an electronic document is transmitted on a communication network, means for encrypting and transmitting the electronic document has been taken as a countermeasure against eavesdropping on a communication path or a terminal device on the communication path.

特許文献1は、携帯電話にあらかじめ割り当てられた一意な秘密情報(Bluetoothのアドレス情報)を暗号鍵として利用することによって、外出先で必要な電子文書を安全に印刷するための方法を提供している。すなわち、電子文書を保管している文書サーバに対して、携帯電話から電子文書の暗号化に利用するBluetoothのアドレス情報と、電子文書の転送指示情報とを送信し、文書サーバは電子文書の暗号化と、公共の場所に設置させたプリンタを管理している印刷サーバへの転送とを行なう。次に、携帯電話から印刷サーバに対して、印刷指示を行なうと、文書データがプリンタに転送される。さらに、携帯電話からプリンタに対して、Bluetoothのアドレス情報が送信されることによって、プリンタが暗号化された電子文書を復号し印刷することが可能となる。このように、暗号化された電子文書の安全性および電子文書の出力の利便性がある。
特開2002−366314号公報
Patent Document 1 provides a method for securely printing an electronic document required on the go by using unique secret information (Bluetooth address information) pre-assigned to a mobile phone as an encryption key. Yes. That is, the address information of Bluetooth used for encryption of the electronic document and the transfer instruction information of the electronic document are transmitted from the mobile phone to the document server storing the electronic document, and the document server encrypts the electronic document. And transfer to a print server that manages a printer installed in a public place. Next, when a print instruction is issued from the mobile phone to the print server, the document data is transferred to the printer. Furthermore, by transmitting Bluetooth address information from the mobile phone to the printer, the printer can decrypt and print the encrypted electronic document. As described above, there is the security of the encrypted electronic document and the convenience of outputting the electronic document.
JP 2002-366314 A

しかし、特許文献1においては、携帯電話は、電子文書の転送と印刷の指示を行なうのみであって、実際に印刷する前に電子文書の内容を確認することや、修正することができず、ユーザの利便性が低い。また、文書サーバと携帯電話との間、および、印刷サーバと携帯電話との間の通信には、リアルタイムなインタラクション性(要求に対する応答のためのデータ処理性)が要求されている。すなわち、文書サーバや印刷サーバは常時インターネットに接続し、携帯電話からのリクエストを待ち続け、リクエストがあった場合には即座に対応することが要求されている。これは、システム全体の運用コストの増大につながり問題となる。   However, in Patent Document 1, the mobile phone only gives instructions for transferring and printing an electronic document, and cannot confirm or correct the content of the electronic document before actually printing it. User convenience is low. Further, for communication between the document server and the mobile phone and between the print server and the mobile phone, real-time interaction (data processing for responding to requests) is required. In other words, the document server and the print server are always connected to the Internet, waiting for a request from a mobile phone, and responding to a request immediately is required. This leads to an increase in the operating cost of the entire system, which is a problem.

この発明は上述の問題点を解決するためになされたもので、この発明の目的の1つは、コストを増大させずに、暗号化された電子文書の安全性および電子文書の出力の利便性を向上させることが可能な暗号化電子文書処理システム、サービス提供装置、および、暗号化電子文書出力装置を提供することである。   The present invention has been made to solve the above-described problems, and one of the objects of the present invention is to secure the security of the encrypted electronic document and the convenience of outputting the electronic document without increasing the cost. It is to provide an encrypted electronic document processing system, a service providing apparatus, and an encrypted electronic document output apparatus capable of improving the above.

上述した問題を解決するために、この発明のある局面によれば、暗号化電子文書処理システムは、共有鍵を予め記憶する第1共有鍵記憶部を備えたサービス提供装置と、第1共有鍵記憶部に記憶されている共有鍵と同じ共有鍵を予め記憶する第2共有鍵記憶部を備えた共有鍵保持出力装置と、共有鍵を予め記憶していない共有鍵非保持出力装置とを含む。   In order to solve the above-described problem, according to an aspect of the present invention, an encrypted electronic document processing system includes a service providing apparatus including a first shared key storage unit that stores a shared key in advance, and a first shared key A shared key holding / output device including a second shared key storage unit that stores in advance the same shared key as the shared key stored in the storage unit, and a shared key non-holding output device that does not store the shared key in advance .

サービス提供装置は、無作為抽出文字列生成部と、第1暗号鍵生成部と、電子文書暗号化部と、第1暗号化電子文書送信部と、無作為抽出文字列送信部とを備える。   The service providing apparatus includes a random extraction character string generation unit, a first encryption key generation unit, an electronic document encryption unit, a first encrypted electronic document transmission unit, and a random extraction character string transmission unit.

無作為抽出文字列生成部は、無作為に抽出された文字が並べられた文字列である無作為抽出文字列を生成する。第1暗号鍵生成部は、第1共有鍵記憶部に記憶された共有鍵と、無作為抽出文字列生成部によって生成された無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵を生成する。電子文書暗号化部は、第1暗号鍵生成部によって生成された第1暗号鍵を用いて、電子文書を暗号化電子文書に暗号化する。第1暗号化電子文書送信部は、電子文書暗号化部によって暗号化された暗号化電子文書を、共有鍵保持出力装置または共有鍵非保持出力装置のうちの予め定められた第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する。無作為抽出文字列送信部は、無作為抽出文字列生成部によって生成された無作為抽出文字列を、第1通信媒体を介して、共有鍵保持出力装置に送信する。   The randomly extracted character string generation unit generates a randomly extracted character string that is a character string in which randomly extracted characters are arranged. The first encryption key generation unit uses a predetermined calculation method based on the shared key stored in the first shared key storage unit and the random extraction character string generated by the random extraction character string generation unit, using a predetermined calculation method. One encryption key is generated. The electronic document encryption unit encrypts the electronic document into the encrypted electronic document using the first encryption key generated by the first encryption key generation unit. The first encrypted electronic document transmission unit converts the encrypted electronic document encrypted by the electronic document encryption unit to a predetermined first output device of the shared key holding output device or the shared key non-holding output device. In addition, transmission is performed according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model. The random extraction character string transmission unit transmits the random extraction character string generated by the random extraction character string generation unit to the shared key holding output device via the first communication medium.

第1の出力装置は、暗号化電子文書受信部と、第2暗号化電子文書送信部とを備える。暗号化電子文書受信部は、サービス提供装置から送信された暗号化電子文書を受信する。第2暗号化電子文書送信部は、暗号化電子文書受信部によって受信された暗号化電子文書を、共有鍵保持出力装置または共有鍵非保持出力装置のうちの第1の出力装置と異なる第2の出力装置に、一方向性の通信プロトコルに従って送信する。   The first output device includes an encrypted electronic document reception unit and a second encrypted electronic document transmission unit. The encrypted electronic document receiving unit receives the encrypted electronic document transmitted from the service providing apparatus. The second encrypted electronic document transmission unit transmits the encrypted electronic document received by the encrypted electronic document reception unit to a second different from the first output device of the shared key holding output device or the shared key non-holding output device. To the output device according to the one-way communication protocol.

第2の出力装置は、第1の出力装置から送信された暗号化電子文書を受信する暗号化電子文書受信部を備える。   The second output device includes an encrypted electronic document receiving unit that receives the encrypted electronic document transmitted from the first output device.

共有鍵保持出力装置は、無作為抽出文字列受信部と、第2暗号鍵生成部と、第1電子文書復号部と、第1出力部とを備える。無作為抽出文字列受信部は、サービス提供装置から送信された無作為抽出文字列を受信する。第2暗号鍵生成部は、第2共有鍵記憶部に記憶された共有鍵と、無作為抽出文字列受信部によって受信された無作為抽出文字列とに基づいて、所定の演算方法で、第2暗号鍵を生成する。第1電子文書復号部は、第2暗号鍵生成部によって生成された第2暗号鍵を用いて、暗号化電子文書受信部によって受信された暗号化電子文書を電子文書に復号する。第1出力部は、第1電子文書復号部によって復号された電子文書を出力する。   The shared key holding output device includes a randomly extracted character string reception unit, a second encryption key generation unit, a first electronic document decryption unit, and a first output unit. The randomly extracted character string receiving unit receives the randomly extracted character string transmitted from the service providing apparatus. The second encryption key generation unit uses a predetermined calculation method based on the shared key stored in the second shared key storage unit and the randomly extracted character string received by the randomly extracted character string receiving unit. 2 Generate an encryption key. The first electronic document decryption unit decrypts the encrypted electronic document received by the encrypted electronic document reception unit into an electronic document, using the second encryption key generated by the second encryption key generation unit. The first output unit outputs the electronic document decrypted by the first electronic document decryption unit.

サービス提供装置または共有鍵保持出力装置は、第1暗号鍵生成部によって生成された第1暗号鍵、または、第2暗号鍵生成部によって生成された第2暗号鍵を、第1通信媒体と異なる第2通信媒体を介して、共有鍵非保持出力装置に送信する暗号鍵送信部を備える。   The service providing device or the shared key holding output device differs from the first communication medium in the first encryption key generated by the first encryption key generation unit or the second encryption key generated by the second encryption key generation unit. An encryption key transmission unit is provided that transmits to the shared key non-holding output device via the second communication medium.

共有鍵非保持出力装置は、暗号鍵受信部と、第2電子文書復号部と、第2出力部とを備える。暗号鍵受信部は、サービス提供装置から送信された第1暗号鍵または共有鍵保持出力装置から送信された第2暗号鍵を受信する。第2電子文書復号部は、暗号鍵受信部によって受信された第1暗号鍵または第2暗号鍵を用いて、暗号化電子文書受信部によって受信された暗号化電子文書を電子文書に復号する。第2出力部は、第2電子文書復号部によって復号された電子文書を出力する。   The shared key non-holding output device includes an encryption key receiving unit, a second electronic document decrypting unit, and a second output unit. The encryption key receiving unit receives the first encryption key transmitted from the service providing apparatus or the second encryption key transmitted from the shared key holding output apparatus. The second electronic document decryption unit decrypts the encrypted electronic document received by the encrypted electronic document reception unit into an electronic document using the first encryption key or the second encryption key received by the encryption key reception unit. The second output unit outputs the electronic document decrypted by the second electronic document decryption unit.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、無作為に抽出された文字が並べられた文字列である無作為抽出文字列が生成され、予め記憶された共有鍵と、生成された無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵が生成され、生成された第1暗号鍵が用いられて、電子文書が暗号化電子文書に暗号化され、暗号化された暗号化電子文書が、共有鍵保持出力装置または共有鍵非保持出力装置のうちの予め定められた第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信され、生成された無作為抽出文字列が、第1通信媒体を介して、共有鍵保持出力装置に送信される。   According to this invention, a randomly extracted character string that is a character string in which randomly extracted characters are arranged is generated by the service providing apparatus of the encrypted electronic document processing system, and a pre-stored shared key; Based on the generated randomly extracted character string, the first encryption key is generated by a predetermined calculation method, and the generated first encryption key is used to encrypt the electronic document into the encrypted electronic document. The encrypted encrypted electronic document needs a response to the request in the application layer of the OSI reference model to the predetermined first output device of the shared key holding output device or the shared key non-holding output device. The randomly extracted character string that is transmitted according to the unidirectional communication protocol that is not performed is transmitted to the shared key holding output device via the first communication medium.

また、暗号化電子文書処理システムの第1の出力装置によって、サービス提供装置から送信された暗号化電子文書が受信され、受信された暗号化電子文書が、共有鍵保持出力装置または共有鍵非保持出力装置のうちの第1の出力装置と異なる第2の出力装置に、一方向性の通信プロトコルに従って送信される。   Also, the first output device of the encrypted electronic document processing system receives the encrypted electronic document transmitted from the service providing device, and the received encrypted electronic document is the shared key holding output device or the shared key non-holding It is transmitted to a second output device different from the first output device among the output devices according to a one-way communication protocol.

また、暗号化電子文書処理システムの第2の出力装置によって、第1の出力装置から送信された暗号化電子文書が受信される。   Also, the encrypted output document transmitted from the first output device is received by the second output device of the encrypted electronic document processing system.

また、暗号化電子文書処理システムの共有鍵保持出力装置によって、サービス提供装置から送信された無作為抽出文字列が受信され、予め記憶された共有鍵と、受信された無作為抽出文字列とに基づいて、所定の演算方法で、第2暗号鍵が生成され、生成された第2暗号鍵が用いられて、受信された暗号化電子文書が電子文書に復号され、復号された電子文書が出力される。   In addition, the randomly extracted character string transmitted from the service providing apparatus is received by the shared key holding output device of the encrypted electronic document processing system, and the pre-stored shared key and the received randomly extracted character string are Based on this, a second encryption key is generated by a predetermined calculation method, and the received encrypted electronic document is decrypted into an electronic document using the generated second encryption key, and the decrypted electronic document is output. Is done.

また、暗号化電子文書処理システムのサービス提供装置または共有鍵保持出力装置によって、生成された第1暗号鍵、または、生成された第2暗号鍵が、第1通信媒体と異なる第2通信媒体を介して、共有鍵非保持出力装置に送信される。   In addition, the first communication key generated by the service providing apparatus or the shared key holding / outputting apparatus of the encrypted electronic document processing system or the second communication medium generated is different from the first communication medium. Via the shared key non-holding output device.

また、暗号化電子文書処理システムの共有鍵非保持出力装置によって、サービス提供装置から送信された第1暗号鍵または共有鍵保持出力装置から送信された第2暗号鍵が受信され、受信された第1暗号鍵または第2暗号鍵が用いられて、受信された暗号化電子文書が電子文書に復号され、復号された電子文書が出力される。   In addition, the first encryption key transmitted from the service providing apparatus or the second encryption key transmitted from the shared key holding output apparatus is received and received by the shared key non-holding output apparatus of the encrypted electronic document processing system. Using the one encryption key or the second encryption key, the received encrypted electronic document is decrypted into an electronic document, and the decrypted electronic document is output.

このため、一方向性の通信プロトコルに従って暗号化された暗号化電子文書が送信されるので、双方向性の通信プロトコルに従って送信される場合と比較して、送受信のための構成が簡単になり、運用費用や保守費用などのコストを削減することができる。   For this reason, since the encrypted electronic document encrypted according to the unidirectional communication protocol is transmitted, the configuration for transmission / reception is simplified compared to the case of being transmitted according to the bidirectional communication protocol, Costs such as operation costs and maintenance costs can be reduced.

また、共有鍵保持出力装置は、サービス提供装置によって生成された無作為抽出文字列を受信しない限り、暗号化電子文書を復号することができず、共有鍵非保持出力装置は、無作為抽出文字列が送信される第1通信媒体と異なる第2通信媒体を介して暗号鍵を受信しない限り、暗号化電子文書を復号することができないので、暗号化電子文書の安全性を向上させることができる。   Further, the shared key holding output device cannot decrypt the encrypted electronic document unless it receives the randomly extracted character string generated by the service providing device, and the shared key non-holding output device Since the encrypted electronic document cannot be decrypted unless the encryption key is received via a second communication medium different from the first communication medium to which the sequence is transmitted, the security of the encrypted electronic document can be improved. .

また、共有鍵保持出力装置および共有鍵非保持出力装置で暗号化電子文書を復号して出力することができるので、電子文書の出力の利便性を向上させることができる。   Further, since the encrypted electronic document can be decrypted and output by the shared key holding output device and the shared key non-holding output device, the convenience of outputting the electronic document can be improved.

その結果、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性を向上させることが可能な暗号化電子文書処理システムを提供することができる。   As a result, it is possible to provide an encrypted electronic document processing system capable of improving the safety of the encrypted electronic document and the convenience of outputting the electronic document without increasing the cost.

さらに、無作為抽出文字列は第1通信媒体を介して送信され、暗号鍵は第2通信媒体を介して送信されるので、無作為抽出文字列および暗号鍵の両方を窃取されにくくなり、無作為抽出文字列および暗号鍵から共有鍵を推定されにくくすることができる。   Furthermore, since the randomly extracted character string is transmitted via the first communication medium and the encryption key is transmitted via the second communication medium, it is difficult to steal both the randomly extracted character string and the encryption key. It is possible to make it difficult to estimate the shared key from the randomly extracted character string and the encryption key.

さらに、第1の出力装置によって、暗号化電子文書が再暗号化されずにそのまま第2の出力装置に送信されるので、サービス提供装置から第1の出力装置を介して第2の出力装置に暗号化電子文書が送信される効率を向上させることができる。   Further, since the encrypted electronic document is transmitted as it is to the second output device without being re-encrypted by the first output device, the service providing device sends it to the second output device via the first output device. The efficiency with which the encrypted electronic document is transmitted can be improved.

好ましくは、第1の出力装置は、共有鍵保持出力装置であり、第2の出力装置は、共有鍵非保持出力装置である。また、第1出力部は、電子文書を表示することによって出力し、第2出力部は、電子文書を印刷することによって出力する。   Preferably, the first output device is a shared key holding output device, and the second output device is a shared key non-holding output device. The first output unit outputs the electronic document by displaying it, and the second output unit outputs the electronic document by printing it.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、無作為に抽出された文字が並べられた文字列である無作為抽出文字列が生成され、予め記憶された共有鍵と、生成された無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵が生成され、生成された第1暗号鍵が用いられて、電子文書が暗号化電子文書に暗号化され、暗号化された暗号化電子文書が、第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信され、生成された無作為抽出文字列が、第1通信媒体を介して、第1の出力装置に送信される。   According to this invention, a randomly extracted character string that is a character string in which randomly extracted characters are arranged is generated by the service providing apparatus of the encrypted electronic document processing system, and a pre-stored shared key; Based on the generated randomly extracted character string, the first encryption key is generated by a predetermined calculation method, and the generated first encryption key is used to encrypt the electronic document into the encrypted electronic document. The randomized character string generated by transmitting the encrypted encrypted electronic document to the first output device according to the one-way communication protocol that does not require a response to the request in the application layer of the OSI reference model Is transmitted to the first output device via the first communication medium.

また、暗号化電子文書処理システムの第1の出力装置によって、サービス提供装置から送信された暗号化電子文書が受信され、受信された暗号化電子文書が、第2の出力装置に、一方向性の通信プロトコルに従って送信され、サービス提供装置から送信された無作為抽出文字列が受信され、予め記憶された共有鍵と、受信された無作為抽出文字列とに基づいて、所定の演算方法で、第2暗号鍵が生成され、生成された第2暗号鍵が、第1通信媒体と異なる第2通信媒体を介して、第2の出力装置に送信され、生成された第2暗号鍵が用いられて、受信された暗号化電子文書が電子文書に復号され、復号された電子文書が表示されることによって出力される。   In addition, the first output device of the encrypted electronic document processing system receives the encrypted electronic document transmitted from the service providing device, and the received encrypted electronic document is transmitted to the second output device in one direction. Randomly extracted character string transmitted from the service providing apparatus is received according to the communication protocol, and based on the shared key stored in advance and the received randomly extracted character string, in a predetermined calculation method, A second encryption key is generated, the generated second encryption key is transmitted to the second output device via a second communication medium different from the first communication medium, and the generated second encryption key is used. The received encrypted electronic document is decrypted into an electronic document, and the decrypted electronic document is displayed and output.

また、暗号化電子文書処理システムの第2の出力装置によって、第1の出力装置から送信された暗号化電子文書が受信され、第1の出力装置から送信された第2暗号鍵が受信され、受信された第2暗号鍵が用いられて、受信された暗号化電子文書が電子文書に復号され、復号された電子文書が印刷されることによって出力される。   Further, the second output device of the encrypted electronic document processing system receives the encrypted electronic document transmitted from the first output device, receives the second encryption key transmitted from the first output device, Using the received second encryption key, the received encrypted electronic document is decrypted into an electronic document, and the decrypted electronic document is printed and output.

このため、一方向性の通信プロトコルに従って暗号化された暗号化電子文書が送信されるので、双方向性の通信プロトコルに従って送信される場合と比較して、送受信のための構成が簡単になり、運用費用や保守費用などのコストを削減することができる。   For this reason, since the encrypted electronic document encrypted according to the unidirectional communication protocol is transmitted, the configuration for transmission / reception is simplified compared to the case of being transmitted according to the bidirectional communication protocol. Costs such as operation costs and maintenance costs can be reduced.

また、第1の出力装置は、サービス提供装置によって生成された無作為抽出文字列を受信しない限り、暗号化電子文書を復号することができず、第2の出力装置は、無作為抽出文字列が送信される第1通信媒体と異なる第2通信媒体を介して暗号鍵を受信しない限り、暗号化電子文書を復号することができないので、暗号化電子文書の安全性を向上させることができる。   In addition, the first output device cannot decrypt the encrypted electronic document unless it receives the randomly extracted character string generated by the service providing device, and the second output device does not receive the randomly extracted character string. Since the encrypted electronic document cannot be decrypted unless the encryption key is received via a second communication medium different from the first communication medium to which is transmitted, the security of the encrypted electronic document can be improved.

また、第1の出力装置によって表示された電子文書を確認して、第2の出力装置によって電子文書を印刷することができるので、さらに電子文書の出力の利便性を向上させることができる。   In addition, since the electronic document displayed by the first output device can be confirmed and the electronic document can be printed by the second output device, the convenience of outputting the electronic document can be further improved.

その結果、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性をさらに向上させることができる。   As a result, the security of the encrypted electronic document and the convenience of outputting the electronic document can be further improved without increasing the cost.

さらに好ましくは、サービス提供装置は、付加情報暗号化部と、第1暗号化付加情報送信部とをさらに備える。付加情報暗号化部は、第1暗号鍵生成部によって生成された第1暗号鍵を用いて、第1出力部および第2出力部によって電子文書が出力されるときの条件である付加情報を暗号化付加情報に暗号化する。第1暗号化付加情報送信部は、付加情報暗号化部によって暗号化された暗号化付加情報を第1の出力装置に送信する。   More preferably, the service providing apparatus further includes an additional information encryption unit and a first encrypted additional information transmission unit. The additional information encryption unit encrypts additional information, which is a condition when the electronic document is output by the first output unit and the second output unit, using the first encryption key generated by the first encryption key generation unit. Encrypts into additional information. The first encrypted additional information transmission unit transmits the encrypted additional information encrypted by the additional information encryption unit to the first output device.

第1の出力装置は、第1暗号化付加情報受信部と、第1付加情報復号部と、第2暗号化付加情報送信部とをさらに備える。第1暗号化付加情報受信部は、サービス提供装置から送信された暗号化付加情報を受信する。第1付加情報復号部は、第2暗号鍵生成部によって生成された第2暗号鍵を用いて、第1暗号化付加情報受信部によって受信された暗号化付加情報を付加情報に復号する。第2暗号化付加情報送信部は、第1暗号化付加情報受信部によって受信された暗号化付加情報を第2の出力装置に送信する。第1出力部は、第1付加情報復号部によって復号された付加情報に従って、電子文書を出力する。   The first output device further includes a first encrypted additional information receiving unit, a first additional information decrypting unit, and a second encrypted additional information transmitting unit. The first encrypted additional information receiving unit receives the encrypted additional information transmitted from the service providing apparatus. The first additional information decrypting unit decrypts the encrypted additional information received by the first encrypted additional information receiving unit into additional information using the second encryption key generated by the second encryption key generating unit. The second encrypted additional information transmitting unit transmits the encrypted additional information received by the first encrypted additional information receiving unit to the second output device. The first output unit outputs the electronic document according to the additional information decoded by the first additional information decoding unit.

第2の出力装置は、第2暗号化付加情報受信部と、第2付加情報復号部とをさらに備える。第2暗号化付加情報受信部は、第1の出力装置から送信された暗号化付加情報を受信する。第2付加情報復号部は、暗号鍵受信部によって受信された第2暗号鍵を用いて、第2暗号化付加情報受信部によって受信された暗号化付加情報を付加情報に復号する。第2出力部は、第2付加情報復号部によって復号された付加情報に従って、電子文書を出力する。   The second output device further includes a second encrypted additional information receiving unit and a second additional information decrypting unit. The second encrypted additional information receiving unit receives the encrypted additional information transmitted from the first output device. The second additional information decrypting unit decrypts the encrypted additional information received by the second encrypted additional information receiving unit into additional information using the second encryption key received by the encryption key receiving unit. The second output unit outputs the electronic document according to the additional information decoded by the second additional information decoding unit.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、生成された第1暗号鍵が用いられて、電子文書が出力されるときの条件である付加情報が暗号化付加情報に暗号化され、暗号化された暗号化付加情報が第1の出力装置に送信される。   According to the present invention, the additional information, which is a condition when the electronic document is output, is encrypted into the encrypted additional information by using the first encryption key generated by the service providing apparatus of the encrypted electronic document processing system. The encrypted additional information that has been encrypted is transmitted to the first output device.

また、暗号化電子文書処理システムの第1の出力装置によって、サービス提供装置から送信された暗号化付加情報が受信され、生成された第2暗号鍵が用いられて、受信された暗号化付加情報が付加情報に復号され、受信された暗号化付加情報が第2の出力装置に送信され、復号された付加情報に従って、電子文書が出力される。   In addition, the encrypted additional information transmitted from the service providing apparatus is received by the first output device of the encrypted electronic document processing system, and the received encrypted additional information is received using the generated second encryption key. Is decrypted into additional information, and the received encrypted additional information is transmitted to the second output device, and an electronic document is output in accordance with the decrypted additional information.

また、暗号化電子文書処理システムの第2の出力装置によって、第1の出力装置から送信された暗号化付加情報が受信され、受信された第2暗号鍵が用いられて、受信された暗号化付加情報が付加情報に復号され、復号された付加情報に従って、電子文書が出力される。   Further, the second output device of the encrypted electronic document processing system receives the encrypted additional information transmitted from the first output device and uses the received second encryption key to receive the received encryption. The additional information is decoded into the additional information, and the electronic document is output according to the decoded additional information.

このため、付加情報が暗号化されて第1の出力装置および第2の出力装置に送信されるので、付加情報の安全性を向上させることができる。   For this reason, since the additional information is encrypted and transmitted to the first output device and the second output device, the safety of the additional information can be improved.

また、付加情報に従って電子文書が出力されるので、電子文書が出力されるときの条件をサービス提供装置側から制御することができる。   Also, since the electronic document is output according to the additional information, the conditions when the electronic document is output can be controlled from the service providing apparatus side.

さらに好ましくは、サービス提供装置は、電子文書が出力される第1の出力装置および第2の出力装置に応じて、付加情報の電子文書が出力されるときの条件としてのセキュリティのレベルを設定する付加情報設定部をさらに備える。付加情報暗号化部は、付加情報設定部によってセキュリティのレベルが設定された付加情報を暗号化する。   More preferably, the service providing apparatus sets a security level as a condition when the electronic document of the additional information is output in accordance with the first output apparatus and the second output apparatus from which the electronic document is output. An additional information setting unit is further provided. The additional information encryption unit encrypts the additional information whose security level is set by the additional information setting unit.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、電子文書が出力される第1の出力装置および第2の出力装置に応じて、付加情報の電子文書が出力されるときの条件としてセキュリティのレベルが設定され、セキュリティのレベルが設定された付加情報が暗号化される。   According to this invention, when the electronic document of the additional information is output by the service providing apparatus of the encrypted electronic document processing system according to the first output apparatus and the second output apparatus from which the electronic document is output. A security level is set as a condition, and the additional information with the security level set is encrypted.

このため、サービス提供装置によって第1の出力装置および第2の出力装置に応じて電子文書が出力されるときのセキュリティのレベルが設定された付加情報に従って電子文書が出力されるので、第1の出力装置および第2の出力装置に応じたセキュリティのレベルで電子文書を出力するようにサービス提供装置側から制御することができる。   For this reason, since the electronic document is output according to the additional information in which the security level is set when the electronic document is output according to the first output device and the second output device by the service providing device. The service providing apparatus can control the electronic document to be output at a security level corresponding to the output apparatus and the second output apparatus.

さらに好ましくは、無作為抽出文字列送信部は、第1共有鍵記憶部に記憶された共有鍵を用いて、無作為抽出文字列生成部によって生成された無作為抽出文字列を暗号化無作為抽出文字列に暗号化する無作為抽出文字列暗号化部を含み、無作為抽出文字列暗号化部によって暗号化された暗号化無作為抽出文字列を送信する。   More preferably, the random extraction character string transmission unit encrypts the random extraction character string generated by the random extraction character string generation unit using the shared key stored in the first shared key storage unit. A random extraction character string encryption unit that encrypts the extracted character string is included, and the encrypted random extraction character string encrypted by the random extraction character string encryption unit is transmitted.

無作為抽出文字列受信部は、サービス提供装置から送信された暗号化無作為抽出文字列を受信する。第2暗号鍵生成部は、第2共有鍵記憶部に記憶された共有鍵を用いて、無作為抽出文字列受信部によって受信された暗号化無作為抽出文字列を無作為抽出文字列に復号する無作為抽出文字列復号部を含み、第2共有鍵記憶部に記憶された共有鍵と、無作為抽出文字列復号部によって復号された無作為抽出文字列とに基づいて、第2暗号鍵を生成する。   The random extraction character string receiving unit receives the encrypted random extraction character string transmitted from the service providing apparatus. The second encryption key generation unit decrypts the encrypted randomly extracted character string received by the randomly extracted character string receiving unit into a randomly extracted character string using the shared key stored in the second shared key storage unit And a second encryption key based on the shared key stored in the second shared key storage unit and the randomly extracted character string decrypted by the randomly extracted character string decryption unit. Is generated.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置装置によって、予め記憶された共有鍵が用いられて、生成された無作為抽出文字列が暗号化無作為抽出文字列に暗号化され、暗号化された暗号化無作為抽出文字列が第1の出力装置に送信される。   According to the present invention, the generated random extracted character string is encrypted into the encrypted random extracted character string by using the shared key stored in advance by the service providing apparatus of the encrypted electronic document processing system. The encrypted encrypted random extracted character string is transmitted to the first output device.

また、暗号化電子文書処理システムの第1の出力装置によって、サービス提供装置から送信された暗号化無作為抽出文字列が受信され、予め記憶された共有鍵が用いられて、受信された暗号化無作為抽出文字列が無作為抽出文字列に復号され、予め記憶された共有鍵と、復号された無作為抽出文字列とに基づいて、第2暗号鍵が生成される。   The first output device of the encrypted electronic document processing system receives the encrypted random sampled character string transmitted from the service providing device, and uses the pre-stored shared key to receive the received encrypted The randomly extracted character string is decrypted into a randomly extracted character string, and a second encryption key is generated based on the shared key stored in advance and the decrypted randomly extracted character string.

このため、無作為抽出文字列が暗号化されて第1の出力装置に出力されるので、無作為抽出文字列の安全性を向上させることができる。   For this reason, since the randomly extracted character string is encrypted and output to the first output device, the safety of the randomly extracted character string can be improved.

好ましくは、第2の出力装置は、共有鍵保持出力装置であり、第1の出力装置は、共有鍵非保持出力装置である。無作為抽出文字列送信部は、第1共有鍵記憶部に記憶された共有鍵を用いて、無作為抽出文字列生成部によって生成された無作為抽出文字列を暗号化無作為抽出文字列に暗号化する無作為抽出文字列暗号化部を含み、無作為抽出文字列暗号化部によって暗号化された暗号化無作為抽出文字列を、共有鍵非保持出力装置を介して共有鍵保持出力装置に送信する。   Preferably, the second output device is a shared key holding output device, and the first output device is a shared key non-holding output device. The random extraction character string transmission unit converts the random extraction character string generated by the random extraction character string generation unit into an encrypted random extraction character string using the shared key stored in the first shared key storage unit. A random key extraction unit that encrypts a random extracted character string encrypted by the random extraction character string encryption unit and encrypts the random extracted character string encrypted by the common key non-output device Send to.

無作為抽出文字列受信部は、サービス提供装置から共有鍵非保持出力装置を介して送信された暗号化無作為抽出文字列を受信する。第2暗号鍵生成部は、第2共有鍵記憶部に記憶された共有鍵を用いて、無作為抽出文字列受信部によって受信された暗号化無作為抽出文字列を無作為抽出文字列に復号する無作為抽出文字列復号部を含み、第2共有鍵記憶部に記憶された共有鍵と、無作為抽出文字列復号部によって復号された無作為抽出文字列とに基づいて、第2暗号鍵を生成する。   The randomly extracted character string receiving unit receives the encrypted randomly extracted character string transmitted from the service providing device via the shared key non-holding output device. The second encryption key generation unit decrypts the encrypted randomly extracted character string received by the randomly extracted character string receiving unit into a randomly extracted character string using the shared key stored in the second shared key storage unit And a second encryption key based on the shared key stored in the second shared key storage unit and the randomly extracted character string decrypted by the randomly extracted character string decryption unit. Is generated.

第1出力部は、電子文書を印刷することによって出力する。第2出力部は、電子文書を表示することによって出力する。   The first output unit outputs the electronic document by printing it. The second output unit outputs the electronic document by displaying it.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、無作為に抽出された文字が並べられた文字列である無作為抽出文字列が生成され、予め記憶された共有鍵と、生成された無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵が生成され、生成された第1暗号鍵が用いられて、電子文書が暗号化電子文書に暗号化され、暗号化された暗号化電子文書が、第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信され、予め記憶された共有鍵が用いられて、生成された無作為抽出文字列が暗号化無作為抽出文字列に暗号化され、暗号化された暗号化無作為抽出文字列が、第1の出力装置から第1通信媒体を介して、第2の出力装置に送信され、生成された第1暗号鍵が、第1通信媒体と異なる第2通信媒体を介して、第1の出力装置に送信される。   According to this invention, a randomly extracted character string that is a character string in which randomly extracted characters are arranged is generated by the service providing apparatus of the encrypted electronic document processing system, and a pre-stored shared key; Based on the generated randomly extracted character string, the first encryption key is generated by a predetermined calculation method, and the generated first encryption key is used to encrypt the electronic document into the encrypted electronic document. The encrypted encrypted electronic document is transmitted to the first output device according to a one-way communication protocol that does not require a response to the request in the application layer of the OSI reference model, and a pre-stored shared key is used. The generated random extracted character string is encrypted into an encrypted random extracted character string, and the encrypted random extracted character string is transmitted from the first output device via the first communication medium. The second Is sent to the output device, a first encryption key is generated, via the second communication medium different from the first communication medium, it is transmitted to the first output device.

また、暗号化電子文書処理システムの第1の出力装置によって、サービス提供装置から送信された暗号化電子文書が受信され、受信された暗号化電子文書が、共有鍵保持出力装置または共有鍵非保持出力装置のうちの第1の出力装置と異なる第2の出力装置に、一方向性の通信プロトコルに従って送信され、サービス提供装置から送信された第1暗号鍵が受信され、受信された第1暗号鍵が用いられて、受信された暗号化電子文書が電子文書に復号され、復号された電子文書が表示されることによって出力される。   Also, the first output device of the encrypted electronic document processing system receives the encrypted electronic document transmitted from the service providing device, and the received encrypted electronic document is the shared key holding output device or the shared key non-holding The first encryption key transmitted to the second output device different from the first output device of the output devices according to the one-way communication protocol and received from the service providing device is received, and the received first encryption key is received. Using the key, the received encrypted electronic document is decrypted into an electronic document, and the decrypted electronic document is displayed and output.

また、暗号化電子文書処理システムの第2の出力装置によって、第1の出力装置から送信された暗号化電子文書が受信され、サービス提供装置から第1の出力装置を介して送信された暗号化無作為抽出文字列が受信され、予め記憶された共有鍵が用いられて、受信された暗号化無作為抽出文字列が無作為抽出文字列に復号され、予め記憶された共有鍵と、復号された無作為抽出文字列とに基づいて、所定の演算方法で、第2暗号鍵が生成され、生成された第2暗号鍵が用いられて、受信された暗号化電子文書が電子文書に復号され、復号された電子文書が印刷されることによって出力される。   The encrypted electronic document transmitted from the first output device is received by the second output device of the encrypted electronic document processing system, and the encrypted data is transmitted from the service providing device via the first output device. Randomly extracted character string is received and a pre-stored shared key is used, and the received encrypted random extracted character string is decrypted into a randomly extracted character string and decrypted with a pre-stored shared key A second encryption key is generated based on the randomly extracted character string by a predetermined calculation method, and the received encrypted electronic document is decrypted into an electronic document using the generated second encryption key. The decrypted electronic document is output by printing.

このため、一方向性の通信プロトコルに従って暗号化された暗号化電子文書が送信されるので、双方向性の通信プロトコルに従って送信される場合と比較して、送受信のための構成が簡単になり、運用費用や保守費用などのコストを削減することができる。   For this reason, since the encrypted electronic document encrypted according to the unidirectional communication protocol is transmitted, the configuration for transmission / reception is simplified compared to the case of being transmitted according to the bidirectional communication protocol. Costs such as operation costs and maintenance costs can be reduced.

また、第1の出力装置は、無作為抽出文字列が送信される第1通信媒体と異なる第2通信媒体を介して暗号鍵を受信しない限り、暗号化電子文書を復号することができず、第2の出力装置は、サービス提供装置によって生成された無作為抽出文字列を受信しない限り、暗号化電子文書を復号することができないので、暗号化電子文書の安全性を向上させることができる。   In addition, the first output device cannot decrypt the encrypted electronic document unless the encryption key is received via the second communication medium different from the first communication medium to which the randomly extracted character string is transmitted. Since the second output device cannot decrypt the encrypted electronic document unless it receives the randomly extracted character string generated by the service providing device, the security of the encrypted electronic document can be improved.

また、第1の出力装置によって表示された電子文書を確認して、第2の出力装置によって電子文書を印刷することができるので、さらに電子文書の出力の利便性を向上させることができる。   In addition, since the electronic document displayed by the first output device can be confirmed and the electronic document can be printed by the second output device, the convenience of outputting the electronic document can be further improved.

その結果、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性をさらに向上させることができる。   As a result, the security of the encrypted electronic document and the convenience of outputting the electronic document can be further improved without increasing the cost.

さらに好ましくは、サービス提供装置は、付加情報暗号化部と、第1暗号化付加情報送信部とをさらに備える。付加情報暗号化部は、第1暗号鍵生成部によって生成された第1暗号鍵を用いて、第1出力部および第2出力部によって電子文書が出力されるときの条件である付加情報を暗号化付加情報に暗号化する。第1暗号化付加情報送信部は、付加情報暗号化部によって暗号化された暗号化付加情報を第1の出力装置に送信する。   More preferably, the service providing apparatus further includes an additional information encryption unit and a first encrypted additional information transmission unit. The additional information encryption unit encrypts additional information, which is a condition when the electronic document is output by the first output unit and the second output unit, using the first encryption key generated by the first encryption key generation unit. Encrypts into additional information. The first encrypted additional information transmission unit transmits the encrypted additional information encrypted by the additional information encryption unit to the first output device.

第1の出力装置は、第1暗号化付加情報受信部と、第1付加情報復号部と、第2暗号化付加情報送信部とをさらに備える。第1暗号化付加情報受信部は、サービス提供装置から送信された暗号化付加情報を受信する。第1付加情報復号部は、第1暗号鍵受信部によって受信された第1暗号鍵を用いて、第1暗号化付加情報受信部によって受信された暗号化付加情報を付加情報に復号する。第2暗号化付加情報送信部は、第1暗号化付加情報受信部によって受信された暗号化付加情報を第2の出力装置に送信する。第2出力部は、第1付加情報復号部によって復号された付加情報に従って、電子文書を出力する。   The first output device further includes a first encrypted additional information receiving unit, a first additional information decrypting unit, and a second encrypted additional information transmitting unit. The first encrypted additional information receiving unit receives the encrypted additional information transmitted from the service providing apparatus. The first additional information decrypting unit decrypts the encrypted additional information received by the first encrypted additional information receiving unit into additional information using the first encryption key received by the first encryption key receiving unit. The second encrypted additional information transmitting unit transmits the encrypted additional information received by the first encrypted additional information receiving unit to the second output device. The second output unit outputs the electronic document according to the additional information decoded by the first additional information decoding unit.

第2の出力装置は、第2暗号化付加情報受信部と、第2付加情報復号部とをさらに備える。第2暗号化付加情報受信部は、第1の出力装置から送信された暗号化付加情報を受信する。第2付加情報復号部は、第2暗号鍵生成部によって生成された第2暗号鍵を用いて、第2暗号化付加情報受信部によって受信された暗号化付加情報を付加情報に復号する。第1出力部は、第2付加情報復号部によって復号された付加情報に従って、電子文書を出力する。   The second output device further includes a second encrypted additional information receiving unit and a second additional information decrypting unit. The second encrypted additional information receiving unit receives the encrypted additional information transmitted from the first output device. The second additional information decrypting unit decrypts the encrypted additional information received by the second encrypted additional information receiving unit into additional information using the second encryption key generated by the second encryption key generating unit. The first output unit outputs the electronic document according to the additional information decoded by the second additional information decoding unit.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、生成された第1暗号鍵が用いられて、電子文書が出力されるときの条件である付加情報が暗号化付加情報に暗号化され、暗号化された暗号化付加情報が第1の出力装置に送信される。   According to the present invention, the additional information, which is a condition when the electronic document is output, is encrypted into the encrypted additional information by using the first encryption key generated by the service providing apparatus of the encrypted electronic document processing system. The encrypted additional information that has been encrypted is transmitted to the first output device.

また、暗号化電子文書処理システムの第1の出力装置によって、サービス提供装置から送信された暗号化付加情報が受信され、受信された第1暗号鍵が用いられて、受信された暗号化付加情報が付加情報に復号され、受信された暗号化付加情報が第2の出力装置に送信され、復号された付加情報に従って、電子文書が出力される。   In addition, the first output device of the encrypted electronic document processing system receives the encrypted additional information transmitted from the service providing device, and the received encrypted additional information is received using the received first encryption key. Is decrypted into additional information, and the received encrypted additional information is transmitted to the second output device, and an electronic document is output in accordance with the decrypted additional information.

また、暗号化電子文書処理システムの第2の出力装置によって、第1の出力装置から送信された暗号化付加情報が受信され、生成された第2暗号鍵が用いられて、受信された暗号化付加情報が付加情報に復号され、復号された付加情報に従って、電子文書が出力される。   Further, the second output device of the encrypted electronic document processing system receives the encrypted additional information transmitted from the first output device, and uses the generated second encryption key to receive the received encryption. The additional information is decoded into the additional information, and the electronic document is output according to the decoded additional information.

このため、付加情報が暗号化されて第1の出力装置および第2の出力装置に送信されるので、付加情報の安全性を向上させることができる。   For this reason, since the additional information is encrypted and transmitted to the first output device and the second output device, the safety of the additional information can be improved.

また、付加情報に従って電子文書が出力されるので、電子文書が出力されるときの条件をサービス提供装置側から制御することができる。   Also, since the electronic document is output according to the additional information, the conditions when the electronic document is output can be controlled from the service providing apparatus side.

さらに好ましくは、第1の出力装置は、第1の出力装置で第2暗号鍵が生成されたか否かを示す生成情報を記憶する生成情報記憶部をさらに備える。第1出力部または第2出力部のうちの第1の出力装置に備えられる出力部は、生成情報記憶部に記憶された生成情報に応じて、付加情報に従って、電子文書を出力する。   More preferably, the first output device further includes a generation information storage unit that stores generation information indicating whether or not the second encryption key has been generated by the first output device. The output unit provided in the first output unit of the first output unit or the second output unit outputs the electronic document according to the additional information according to the generation information stored in the generation information storage unit.

この発明に従えば、暗号化電子文書処理システムの第1の出力装置によって、第1の出力装置で第2暗号鍵が生成されたか否かを示す生成情報が記憶され、記憶された生成情報に応じて、付加情報に従って、電子文書が出力される。   According to this invention, the first output device of the encrypted electronic document processing system stores the generation information indicating whether or not the second output key has been generated by the first output device, and the generated generation information is stored in the stored generation information. In response, an electronic document is output according to the additional information.

このため、第1の出力装置で第2暗号鍵が生成されたか否かに応じて異なる条件で電子文書を出力することができる。   Therefore, the electronic document can be output under different conditions depending on whether or not the second encryption key has been generated by the first output device.

さらに好ましくは、第2の出力装置は、第2の出力装置で第2暗号鍵が生成されたか否かを示す生成情報を記憶する生成情報記憶部をさらに備える。第1出力部または第2出力部のうちの第2の出力装置に備えられる出力部は、生成情報記憶部に記憶された生成情報に応じて、付加情報に従って、電子文書を出力する。   More preferably, the second output device further includes a generation information storage unit that stores generation information indicating whether or not the second encryption key has been generated by the second output device. The output unit provided in the second output device of the first output unit or the second output unit outputs the electronic document according to the additional information according to the generation information stored in the generation information storage unit.

この発明に従えば、暗号化電子文書処理システムの第2の出力装置によって、第2の出力装置で第2暗号鍵が生成されたか否かを示す生成情報が記憶され、記憶された生成情報に応じて、付加情報に従って、電子文書が出力される。   According to this invention, the second output device of the encrypted electronic document processing system stores the generation information indicating whether or not the second encryption key has been generated by the second output device, and the generated generation information is stored in the stored generation information. In response, an electronic document is output according to the additional information.

このため、第2の出力装置で第2暗号鍵が生成されたか否かに応じて異なる条件で電子文書を出力することができる。   Therefore, the electronic document can be output under different conditions depending on whether or not the second encryption key has been generated by the second output device.

さらに好ましくは、付加情報は、電子文書のメタデータを含む。第1の出力装置は、第1出力部または第2出力部のうちの第1の出力装置に備えられる出力部によって電子文書が出力される前に、付加情報に含まれるメタデータに基づいて、電子文書の出力の前処理を行なう第1出力前処理部をさらに備える。第2の出力装置は、第1出力部または第2出力部のうちの第2の出力装置に備えられる出力部によって電子文書が出力される前に、付加情報に含まれるメタデータに基づいて、電子文書の出力の前処理を行なう第2出力前処理部をさらに備える。   More preferably, the additional information includes electronic document metadata. Before the electronic document is output by the output unit included in the first output unit of the first output unit or the second output unit, the first output device is based on the metadata included in the additional information, A first output pre-processing unit that performs pre-processing of output of the electronic document is further provided. Before the electronic document is output by the output unit provided in the second output device of the first output unit or the second output unit, the second output device is based on the metadata included in the additional information, A second output pre-processing unit that performs pre-processing of output of the electronic document is further provided.

この発明に従えば、暗号化電子文書処理システムの第1の出力装置によって、電子文書が出力される前に、付加情報に含まれるメタデータに基づいて、電子文書の出力の前処理が行なわれる。また、暗号化電子文書処理システムの第2の出力装置によって、電子文書が出力される前に、付加情報に含まれるメタデータに基づいて、電子文書の出力の前処理が行なわれる。   According to the present invention, before the electronic document is output by the first output device of the encrypted electronic document processing system, preprocessing of output of the electronic document is performed based on the metadata included in the additional information. . Further, before the electronic document is output, the second output device of the encrypted electronic document processing system performs preprocessing of output of the electronic document based on the metadata included in the additional information.

このため、出力装置で電子文書からメタデータを抽出しなくても、電子文書のメタデータに基づいた出力の前処理を行なうことができる。その結果、出力装置にメタデータを抽出するための構成を設けるためのコストを削減することができる。   Therefore, output preprocessing based on the metadata of the electronic document can be performed without extracting metadata from the electronic document by the output device. As a result, the cost for providing a configuration for extracting metadata in the output device can be reduced.

さらに好ましくは、サービス提供装置は、所定情報暗号化部と、第1暗号化所定情報送信部とをさらに備える。所定情報暗号化部は、第1共有鍵記憶部に記憶された共有鍵を用いて、所定情報を暗号化所定情報に暗号化する。第1暗号化所定情報送信部は、所定情報暗号化部によって暗号化された暗号化所定情報を第1の出力装置に送信する。   More preferably, the service providing apparatus further includes a predetermined information encryption unit and a first encrypted predetermined information transmission unit. The predetermined information encryption unit encrypts the predetermined information into encrypted predetermined information using the shared key stored in the first shared key storage unit. The first encrypted predetermined information transmission unit transmits the encrypted predetermined information encrypted by the predetermined information encryption unit to the first output device.

第1の出力装置は、第1暗号化所定情報受信部と、第2暗号化所定情報送信部とをさらに備える。第1暗号化所定情報受信部は、サービス提供装置から送信された暗号化所定情報を受信する。第2暗号化所定情報送信部は、第1暗号化所定情報受信部によって受信された暗号化所定情報を第2の出力装置に送信する。   The first output device further includes a first encrypted predetermined information receiving unit and a second encrypted predetermined information transmitting unit. The first encrypted predetermined information receiving unit receives the encrypted predetermined information transmitted from the service providing apparatus. The second encrypted predetermined information transmitting unit transmits the encrypted predetermined information received by the first encrypted predetermined information receiving unit to the second output device.

第2の出力装置は、第2暗号化所定情報受信部と、所定情報復号部とをさらに備える。第2暗号化所定情報受信部は、第1の出力装置から送信された暗号化所定情報を受信する。所定情報復号部は、第2共有鍵記憶部に記憶された共有鍵を用いて、第2暗号化所定情報受信部によって受信された暗号化所定情報を所定情報に復号する。   The second output device further includes a second encrypted predetermined information receiving unit and a predetermined information decrypting unit. The second encrypted predetermined information receiving unit receives the encrypted predetermined information transmitted from the first output device. The predetermined information decrypting unit decrypts the encrypted predetermined information received by the second encrypted predetermined information receiving unit into predetermined information using the shared key stored in the second shared key storage unit.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、予め記憶された共有鍵が用いられて、所定情報が暗号化所定情報に暗号化され、暗号化された暗号化所定情報が第1の出力装置に送信される。   According to the present invention, the service providing apparatus of the encrypted electronic document processing system uses the shared key stored in advance, the predetermined information is encrypted into the encrypted predetermined information, and the encrypted predetermined information is stored. Sent to the first output device.

また、暗号化電子文書処理システムの第1の出力装置によって、サービス提供装置から送信された暗号化所定情報が受信され、受信された暗号化所定情報が第2の出力装置に送信される。   Further, the first output device of the encrypted electronic document processing system receives the encrypted predetermined information transmitted from the service providing device, and transmits the received encrypted predetermined information to the second output device.

また、暗号化電子文書処理システムの第2の出力装置によって、第1の出力装置から送信された暗号化所定情報が受信され、予め記憶された共有鍵が用いられて、受信された暗号化所定情報が所定情報に復号される。   The second output device of the encrypted electronic document processing system receives the encrypted predetermined information transmitted from the first output device and uses the pre-stored shared key to receive the encrypted predetermined information. Information is decoded into predetermined information.

このため、第1の出力装置では所定情報を参照できないようににすることができ、第2の出力装置では所定情報を参照できるようにすることができる。   For this reason, it is possible to prevent the first output device from referring to the predetermined information, and it is possible to refer to the predetermined information from the second output device.

さらに好ましくは、所定情報は、電子文書の改ざんを検証するための電子署名である。第2の出力装置は、所定情報復号部によって復号された所定情報を用いて電子文書の改ざんを検証する電子文書検証部をさらに備える。   More preferably, the predetermined information is an electronic signature for verifying falsification of the electronic document. The second output device further includes an electronic document verification unit that verifies the falsification of the electronic document using the predetermined information decoded by the predetermined information decoding unit.

この発明に従えば、暗号化電子文書処理システムの第2の出力装置によって、復号された所定情報である電子文書の改ざんを検証するための電子署名が用いられて、電子文書の改ざんが検証される。このため、サービス提供装置から第2の出力装置に送信される所定情報である電子署名に基づいて第2の出力装置で印刷される電子文書の改ざんを検証することができる。   According to the present invention, the second output device of the encrypted electronic document processing system uses the electronic signature for verifying the falsification of the electronic document, which is the decrypted predetermined information, to verify the falsification of the electronic document. The Therefore, it is possible to verify the falsification of the electronic document printed by the second output device based on the electronic signature that is the predetermined information transmitted from the service providing device to the second output device.

さらに好ましくは、所定情報は、第2の出力装置における電子文書の出力に対する課金に関する情報である。第2の出力装置は、所定情報復号部によって復号された所定情報に基づいて、第1出力部による電子文書の出力に対して課金をする課金部をさらに備える。   More preferably, the predetermined information is information relating to billing for the output of the electronic document in the second output device. The second output device further includes a charging unit that charges the output of the electronic document by the first output unit based on the predetermined information decoded by the predetermined information decoding unit.

この発明に従えば、暗号化電子文書処理システムの第2の出力装置によって、復号された所定情報である第2の出力装置における電子文書の出力に対する課金に関する情報に基づいて、電子文書の印刷に対して課金がされる。このため、サービス提供装置から第2の出力装置に送信される所定情報である課金に関する情報に基づいた電子文書の印刷に対する課金を行なうことができる。   According to the present invention, the second output device of the encrypted electronic document processing system prints the electronic document based on the information relating to the charging for the output of the electronic document in the second output device, which is the predetermined information decrypted. You will be charged for this. For this reason, it is possible to charge for printing an electronic document based on information related to charging, which is predetermined information transmitted from the service providing apparatus to the second output apparatus.

好ましくは、第1暗号化電子文書送信部、および、第2暗号化電子文書送信部は、それぞれ、一方向性の通信プロトコルである電子メールプロトコルに従って、電子メールの添付ファイルとして暗号化電子文書を送信する。   Preferably, each of the first encrypted electronic document transmission unit and the second encrypted electronic document transmission unit transmits the encrypted electronic document as an attachment file of an e-mail according to an e-mail protocol that is a one-way communication protocol. Send.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置および第1の出力装置によって、それぞれ、一方向性の通信プロトコルである電子メールプロトコルに従って、電子メールの添付ファイルとして暗号化電子文書が送信される。このため、暗号化電子文書の送信に既存の電子メールプロトコルが用いられるので、暗号化電子文書の送信のために特別な構成を設ける必要がなく、暗号化電子文書処理システムを構成するためのコストを削減することができる。   According to the present invention, an encrypted electronic document is attached as an attached file of an e-mail according to an e-mail protocol, which is a one-way communication protocol, by the service providing apparatus and the first output apparatus of the encrypted electronic document processing system. Sent. For this reason, since the existing electronic mail protocol is used for transmitting the encrypted electronic document, it is not necessary to provide a special configuration for transmitting the encrypted electronic document, and the cost for configuring the encrypted electronic document processing system Can be reduced.

好ましくは、暗号鍵送信部は、第1暗号鍵または第2暗号鍵を送信する共有鍵非保持出力装置が、第1暗号化電子文書送信部または第2暗号化電子文書送信部によって暗号化電子文書を送信した共有鍵非保持出力装置であるか否かを認証する送信先認証部を含み、送信先認証部によって暗号化電子文書を送信した共有鍵非保持出力装置であると認証された場合に、第1暗号鍵または第2暗号鍵を送信する。   Preferably, the encryption key transmission unit is configured such that the shared key non-holding output device that transmits the first encryption key or the second encryption key is encrypted by the first encrypted electronic document transmission unit or the second encrypted electronic document transmission unit. When it is authenticated as a shared key non-holding output device that has transmitted the encrypted electronic document by the transmission destination authentication unit, including a transmission destination authentication unit that authenticates whether or not the shared key non-holding output device has transmitted the document In addition, the first encryption key or the second encryption key is transmitted.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置または共有鍵保持出力装置によって、第1暗号鍵または第2暗号鍵が送信される共有鍵非保持出力装置が、暗号化電子文書を送信した共有鍵非保持出力装置であるか否かが認証され、暗号化電子文書を送信した共有鍵非保持出力装置であると認証された場合に、第1暗号鍵または第2暗号鍵が送信される。このため、暗号化電子文書を送信していない共有鍵非保持出力装置に、第1暗号鍵または第2暗号鍵が送信されないようにすることができる。その結果、暗号化電子文書を受信していないのに第1暗号鍵または第2暗号鍵を受信しようとする不正を防止することができる。   According to the present invention, the shared key non-holding output device to which the first encryption key or the second encryption key is transmitted by the service providing device or the shared key holding output device of the encrypted electronic document processing system, When it is authenticated whether the output device is a shared key non-holding output device and is authenticated as a shared key non-holding output device that has transmitted an encrypted electronic document, the first encryption key or the second encryption key is transmitted Is done. Therefore, it is possible to prevent the first encryption key or the second encryption key from being transmitted to the shared key non-holding output device that has not transmitted the encrypted electronic document. As a result, it is possible to prevent an injustice to receive the first encryption key or the second encryption key even though the encrypted electronic document has not been received.

好ましくは、サービス提供装置、共有鍵保持出力装置、および、共有鍵非保持出力装置は、それぞれ、第1暗号鍵または第2暗号鍵を暗号化および復号するために用いられる秘密情報を予め記憶する秘密情報記憶部をさらに備える。   Preferably, the service providing device, the shared key holding output device, and the shared key non-holding output device each store in advance secret information used for encrypting and decrypting the first encryption key or the second encryption key, respectively. A secret information storage unit is further provided.

電子文書暗号化部は、秘密情報記憶部に記憶された秘密情報と、第1暗号鍵生成部によって生成された第1暗号鍵とに基づいて、第3暗号鍵を生成する第3暗号鍵生成部を含み、第3暗号鍵生成部によって生成された第3暗号鍵を用いて、電子文書を暗号化電子文書に暗号化する。   The electronic document encryption unit generates a third encryption key based on the secret information stored in the secret information storage unit and the first encryption key generated by the first encryption key generation unit. And encrypting the electronic document into the encrypted electronic document using the third encryption key generated by the third encryption key generation unit.

第1電子文書復号部は、秘密情報記憶部に記憶された秘密情報と、第2暗号鍵生成部によって生成された第2暗号鍵とに基づいて、第4暗号鍵を生成する第4暗号鍵生成部を含み、第4暗号鍵生成部によって生成された第4暗号鍵を用いて、暗号化電子文書を電子文書に復号する。   The first electronic document decryption unit generates a fourth encryption key based on the secret information stored in the secret information storage unit and the second encryption key generated by the second encryption key generation unit. An encrypted electronic document is decrypted into an electronic document using the fourth encryption key generated by the fourth encryption key generation unit, including a generation unit.

第2電子文書復号部は、秘密情報記憶部に記憶された秘密情報と、暗号鍵受信部によって受信された第1暗号鍵または第2暗号鍵とに基づいて、第5暗号鍵を生成する第5暗号鍵生成部を含み、第5暗号鍵生成部によって生成された第5暗号鍵を用いて、暗号化電子文書を電子文書に復号する。   The second electronic document decryption unit generates a fifth encryption key based on the secret information stored in the secret information storage unit and the first encryption key or the second encryption key received by the encryption key reception unit. An encrypted electronic document is decrypted into an electronic document using the fifth encryption key generated by the fifth encryption key generation unit.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、予め記憶された秘密情報と、生成された第1暗号鍵とに基づいて、第3暗号鍵が生成され、生成された第3暗号鍵が用いられて、電子文書が暗号化電子文書に暗号化される。   According to the present invention, the third encryption key is generated by the service providing apparatus of the encrypted electronic document processing system based on the secret information stored in advance and the generated first encryption key. 3 Using the encryption key, the electronic document is encrypted into the encrypted electronic document.

また、暗号化電子文書処理システムの共有鍵保持出力装置によって、予め記憶された秘密情報と、生成された第2暗号鍵とに基づいて、第4暗号鍵が生成され、生成された第4暗号鍵が用いられて、暗号化電子文書が電子文書に復号される。   Further, the fourth encryption key is generated by the shared key holding output device of the encrypted electronic document processing system based on the secret information stored in advance and the generated second encryption key, and the generated fourth encryption key is generated. Using the key, the encrypted electronic document is decrypted into an electronic document.

また、暗号化電子文書処理システムの共有鍵非保持出力装置によって、予め記憶された秘密情報と、受信された第1暗号鍵または第2暗号鍵とに基づいて、第5暗号鍵が生成され、生成された第5暗号鍵が用いられて、暗号化電子文書が電子文書に復号される。   A fifth encryption key is generated by the shared key non-holding output device of the encrypted electronic document processing system based on the secret information stored in advance and the received first encryption key or second encryption key, Using the generated fifth encryption key, the encrypted electronic document is decrypted into the electronic document.

このため、第1暗号鍵および第2暗号鍵と秘密情報とに基づいてそれぞれ第3暗号鍵、第4暗号鍵および第5暗号鍵が生成され、第3暗号鍵、第4暗号鍵および第5暗号鍵がそれぞれ電子文書の暗号化および復号に用いられるので、電子文書の安全性をさらに向上させることができる。   Therefore, a third encryption key, a fourth encryption key, and a fifth encryption key are generated based on the first encryption key, the second encryption key, and the secret information, respectively, and the third encryption key, the fourth encryption key, and the fifth encryption key are generated. Since the encryption key is used for encryption and decryption of the electronic document, the security of the electronic document can be further improved.

好ましくは、共有鍵保持出力装置は、第1電子文書復号部によって暗号化電子文書が電子文書に復号された後に、復号に用いられた第2暗号鍵と対応する無作為抽出文字列を削除する無作為抽出文字列削除部をさらに備える。   Preferably, the shared key holding / outputting device deletes the randomly extracted character string corresponding to the second encryption key used for decryption after the encrypted electronic document is decrypted into the electronic document by the first electronic document decryption unit. A random extraction character string deletion unit is further provided.

この発明に従えば、暗号化電子文書処理システムの共有鍵保持出力装置によって、暗号化電子文書が電子文書に復号された後に、復号に用いられた第2暗号鍵と対応する無作為抽出文字列が削除される。このため、無作為抽出文字列が再度用いられて第2暗号鍵が生成されて、生成された第2暗号鍵で暗号化電子文書が復号されることを防止することができる。   According to this invention, after the encrypted electronic document is decrypted into the electronic document by the shared key holding output device of the encrypted electronic document processing system, the randomly extracted character string corresponding to the second encryption key used for the decryption Is deleted. For this reason, it is possible to prevent the randomly extracted character string from being used again to generate the second encryption key and to decrypt the encrypted electronic document with the generated second encryption key.

好ましくは、暗号化電子文書処理システムは、共有鍵保持出力装置を複数含む。第1共有鍵記憶部は、共有鍵を複数の共有鍵保持出力装置ごとに予め記憶する。第1暗号鍵生成部は、暗号化電子文書が送信される共有鍵保持出力装置に応じて第1共有鍵記憶部に記憶されている共有鍵と、無作為抽出文字列とに基づいて、第1暗号鍵を生成する。   Preferably, the encrypted electronic document processing system includes a plurality of shared key holding output devices. The first shared key storage unit stores the shared key in advance for each of the plurality of shared key holding output devices. The first encryption key generation unit is configured to execute the first encryption key based on the shared key stored in the first shared key storage unit according to the shared key holding output device to which the encrypted electronic document is transmitted and the randomly extracted character string. One encryption key is generated.

この発明に従えば、暗号化電子文書処理システムのサービス提供装置によって、共有鍵が複数の共有鍵保持出力装置ごとに予め記憶され、暗号化電子文書が送信される共有鍵保持出力装置に応じて記憶されている共有鍵と、無作為抽出文字列とに基づいて、第1暗号鍵が生成される。このため、共有鍵保持出力装置ごとに共有鍵を異ならせるようにすることができるので、暗号化電子文書の安全性をさらに向上させることができる。   According to this invention, the service providing apparatus of the encrypted electronic document processing system stores the shared key in advance for each of the plurality of shared key holding output apparatuses, and according to the shared key holding output apparatus to which the encrypted electronic document is transmitted. A first encryption key is generated based on the stored shared key and a randomly extracted character string. For this reason, since the shared key can be made different for each shared key holding output device, the security of the encrypted electronic document can be further improved.

好ましくは、第1の出力装置は、第2暗号化電子文書送信部によって暗号化電子文書が送信された後、暗号化電子文書を、暗号化電子文書をサービス提供装置から受信するためのリンク情報に置換する電子文書置換部をさらに備える。暗号化電子文書受信部は、電子文書置換部によって置換されたリンク情報に基づいて、サービス提供装置に暗号化電子文書の送信を要求して、当該要求に応じてサービス提供装置から送信された暗号化電子文書を再度受信する。   Preferably, the first output device receives the encrypted electronic document and the link information for receiving the encrypted electronic document from the service providing device after the encrypted electronic document is transmitted by the second encrypted electronic document transmission unit. And an electronic document replacement unit for replacing. The encrypted electronic document receiving unit requests the service providing device to transmit the encrypted electronic document based on the link information replaced by the electronic document replacing unit, and transmits the encrypted electronic document transmitted from the service providing device in response to the request. Receive the digitized electronic document again.

この発明に従えば、暗号化電子文書処理システムの第1の出力装置によって、暗号化電子文書が第2の出力装置に送信された後、暗号化電子文書が、暗号化電子文書をサービス提供装置から受信するためのリンク情報に置換され、置換されたリンク情報に基づいて、サービス提供装置に暗号化電子文書の送信が要求され、当該要求に応じてサービス提供装置から送信された暗号化電子文書が再度受信される。このため、第1の出力装置のユーザが、暗号化電子文書を再度受信するための手続きをしなくても、リンク情報に基づいて暗号化電子文書を受信することができるようになるので、繰返し暗号化電子文書を受信するユーザを増加させることができる。   According to this invention, after the encrypted electronic document is transmitted to the second output device by the first output device of the encrypted electronic document processing system, the encrypted electronic document provides the encrypted electronic document as a service providing device. The encrypted electronic document is replaced with the link information to be received from the service, the transmission of the encrypted electronic document is requested from the service providing apparatus based on the replaced link information, and the encrypted electronic document transmitted from the service providing apparatus in response to the request Is received again. Therefore, the user of the first output device can receive the encrypted electronic document based on the link information without performing the procedure for receiving the encrypted electronic document again. The number of users who receive the encrypted electronic document can be increased.

好ましくは、サービス提供装置は、コンピュータであり、第1の出力装置は、携帯電話であり、第2の出力装置は、プリンタである。   Preferably, the service providing device is a computer, the first output device is a mobile phone, and the second output device is a printer.

この発明に従えば、暗号化電子文書処理システムのコンピュータによって、無作為に抽出された文字が並べられた文字列である無作為抽出文字列が生成され、予め記憶された共有鍵と、生成された無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵が生成され、生成された第1暗号鍵が用いられて、電子文書が暗号化電子文書に暗号化され、暗号化された暗号化電子文書が、携帯電話に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信され、生成された無作為抽出文字列が、第1通信媒体を介して、携帯電話またはプリンタのうちの共有鍵を予め記憶している共有鍵保持出力装置に送信される。   According to the present invention, the computer of the encrypted electronic document processing system generates a randomly extracted character string that is a character string in which randomly extracted characters are arranged, and generates a pre-stored shared key. Based on the randomly extracted character string, a first encryption key is generated by a predetermined calculation method, and the generated first encryption key is used to encrypt the electronic document into an encrypted electronic document. The encrypted encrypted electronic document is transmitted to the mobile phone in accordance with the one-way communication protocol that does not require a response to the request in the application layer of the OSI reference model, and the generated random extracted character string is the first communication It is transmitted via a medium to a shared key holding / outputting device that stores a shared key in advance in the mobile phone or printer.

また、暗号化電子文書処理システムの携帯電話によって、コンピュータから送信された暗号化電子文書が受信され、受信された暗号化電子文書が、プリンタに、一方向性の通信プロトコルに従って送信される。   In addition, an encrypted electronic document transmitted from a computer is received by the mobile phone of the encrypted electronic document processing system, and the received encrypted electronic document is transmitted to the printer according to a one-way communication protocol.

また、暗号化電子文書処理システムのプリンタによって、携帯電話から送信された暗号化電子文書が受信される。   Also, the encrypted electronic document transmitted from the mobile phone is received by the printer of the encrypted electronic document processing system.

また、暗号化電子文書処理システムの携帯電話またはプリンタのうちの共有鍵を予め記憶している共有鍵保持出力装置によって、コンピュータから送信された無作為抽出文字列が受信され、予め記憶された共有鍵と、受信された無作為抽出文字列とに基づいて、所定の演算方法で、第2暗号鍵が生成され、生成された第2暗号鍵が用いられて、受信された暗号化電子文書が電子文書に復号され、復号された電子文書が出力される。   In addition, a randomly extracted character string transmitted from a computer is received by a shared key holding / outputting device storing a shared key in advance in a mobile phone or a printer of the encrypted electronic document processing system, and stored in advance. Based on the key and the received randomly extracted character string, a second encryption key is generated by a predetermined calculation method, and the received encrypted electronic document is generated using the generated second encryption key. The electronic document is decrypted and the decrypted electronic document is output.

また、暗号化電子文書処理システムのコンピュータ、または、携帯電話もしくはプリンタのうちの共有鍵を予め記憶している共有鍵保持出力装置によって、生成された第1暗号鍵、または、生成された第2暗号鍵が、第1通信媒体と異なる第2通信媒体を介して、携帯電話またはプリンタのうちの共有鍵を予め記憶していない共有鍵非保持出力装置に送信される。   Also, the first encryption key generated by the computer of the encrypted electronic document processing system or the shared key holding / outputting device storing the shared key of the mobile phone or printer in advance or the generated second encryption key. The encryption key is transmitted via a second communication medium different from the first communication medium to a shared key non-holding output device that does not store the shared key in advance in the mobile phone or the printer.

また、暗号化電子文書処理システムの携帯電話またはプリンタのうちの共有鍵を予め記憶していない共有鍵非保持出力装置によって、コンピュータから送信された第1暗号鍵、または、携帯電話もしくはプリンタのうちの共有鍵を予め記憶している共有鍵保持出力装置から送信された第2暗号鍵が受信され、受信された第1暗号鍵または第2暗号鍵が用いられて、受信された暗号化電子文書が電子文書に復号され、復号された電子文書が出力される。   Further, the first encryption key transmitted from the computer by the shared key non-holding output device that does not store the shared key of the mobile phone or printer of the encrypted electronic document processing system in advance, or the mobile phone or printer The second encryption key transmitted from the shared key holding output device that stores the shared key in advance is received, and the received encrypted electronic document is received using the received first encryption key or second encryption key Is decrypted into an electronic document, and the decrypted electronic document is output.

このため、一方向性の通信プロトコルに従って暗号化された暗号化電子文書が送信されるので、双方向性の通信プロトコルに従って送信される場合と比較して、送受信のための構成が簡単になり、運用費用や保守費用などのコストを削減することができる。   For this reason, since the encrypted electronic document encrypted according to the unidirectional communication protocol is transmitted, the configuration for transmission / reception is simplified compared to the case of being transmitted according to the bidirectional communication protocol. Costs such as operation costs and maintenance costs can be reduced.

また、携帯電話またはプリンタのうちの共有鍵を予め記憶している共有鍵保持出力装置は、コンピュータによって生成された無作為抽出文字列を受信しない限り、暗号化電子文書を復号することができず、携帯電話またはプリンタのうちの共有鍵を予め記憶していない共有鍵非保持出力装置は、無作為抽出文字列が送信される第1通信媒体と異なる第2通信媒体を介して暗号鍵を受信しない限り、暗号化電子文書を復号することができないので、暗号化電子文書の安全性を向上させることができる。   In addition, a shared key holding output device that stores a shared key in advance in a mobile phone or a printer cannot decrypt an encrypted electronic document unless it receives a randomly extracted character string generated by a computer. The shared key non-holding output device that does not store the shared key in advance in the mobile phone or the printer receives the encryption key via the second communication medium different from the first communication medium to which the randomly extracted character string is transmitted. Unless this is done, the encrypted electronic document cannot be decrypted, so the security of the encrypted electronic document can be improved.

また、携帯電話およびプリンタで暗号化電子文書を復号して出力することができるので、電子文書の出力の利便性を向上させることができる。   Further, since the encrypted electronic document can be decrypted and output by the mobile phone and the printer, the convenience of outputting the electronic document can be improved.

その結果、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性を向上させることができる。   As a result, the security of the encrypted electronic document and the convenience of outputting the electronic document can be improved without increasing the cost.

さらに、無作為抽出文字列は第1通信媒体を介して送信され、暗号鍵は第2通信媒体を介して送信されるので、無作為抽出文字列および暗号鍵の両方を窃取されにくくなり、無作為抽出文字列および暗号鍵から共有鍵を推定されにくくすることができる。   Furthermore, since the randomly extracted character string is transmitted via the first communication medium and the encryption key is transmitted via the second communication medium, it is difficult to steal both the randomly extracted character string and the encryption key. It is possible to make it difficult to estimate the shared key from the randomly extracted character string and the encryption key.

さらに、携帯電話によって、暗号化電子文書が再暗号化されずにそのままプリンタに送信されるので、コンピュータから携帯電話を介してプリンタに暗号化電子文書が送信される効率を向上させることができる。   Furthermore, since the encrypted electronic document is transmitted to the printer as it is without being re-encrypted by the mobile phone, the efficiency of transmitting the encrypted electronic document from the computer to the printer via the mobile phone can be improved.

この発明の他の局面に従えば、サービス提供装置は、共有鍵記憶部と、暗号鍵生成部と、電子文書暗号化部と、暗号化電子文書送信部と、無作為抽出文字列送信部とを備える。   According to another aspect of the present invention, a service providing apparatus includes a shared key storage unit, an encryption key generation unit, an electronic document encryption unit, an encrypted electronic document transmission unit, a random extraction character string transmission unit, Is provided.

共有鍵記憶部は、共有鍵を予め記憶する。無作為抽出文字列生成部は、無作為に抽出された文字が並べられた文字列である無作為抽出文字列を生成する。暗号鍵生成部は、共有鍵記憶部に記憶された共有鍵と、無作為抽出文字列生成部によって生成された無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵を生成する。電子文書暗号化部は、暗号鍵生成部によって生成された第1暗号鍵を用いて、電子文書を暗号化電子文書に暗号化する。暗号化電子文書送信部は、電子文書暗号化部によって暗号化された暗号化電子文書を、第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する。無作為抽出文字列送信部は、無作為抽出文字列生成部によって生成された無作為抽出文字列を第1の出力装置に送信する。   The shared key storage unit stores the shared key in advance. The randomly extracted character string generation unit generates a randomly extracted character string that is a character string in which randomly extracted characters are arranged. The encryption key generation unit obtains the first encryption key by a predetermined calculation method based on the shared key stored in the shared key storage unit and the randomly extracted character string generated by the randomly extracted character string generation unit. Generate. The electronic document encryption unit encrypts the electronic document into the encrypted electronic document using the first encryption key generated by the encryption key generation unit. The encrypted electronic document transmission unit transmits the encrypted electronic document encrypted by the electronic document encryption unit to the first output device so that a response to the request is not required in the application layer of the OSI reference model. Send according to protocol. The random extraction character string transmission unit transmits the random extraction character string generated by the random extraction character string generation unit to the first output device.

暗号化電子文書送信部によって第1の出力装置に送信された暗号化電子文書は、第1の出力装置に予め記憶された共有鍵記憶部に記憶された共有鍵と同じ共有鍵と無作為抽出文字列送信部によって第1の出力装置に送信された無作為抽出文字列とに基づいて所定の演算方法で生成された第2暗号鍵を用いて、電子文書に復号されて出力される。   The encrypted electronic document transmitted to the first output device by the encrypted electronic document transmission unit is randomly extracted with the same shared key as the shared key stored in the shared key storage unit stored in advance in the first output device. The electronic document is decrypted and output using the second encryption key generated by a predetermined calculation method based on the randomly extracted character string transmitted to the first output device by the character string transmission unit.

暗号化電子文書送信部によって第1の出力装置に送信され第2の出力装置に転送された暗号化電子文書は、第1の出力装置で生成され第2の出力装置に送信された第2暗号鍵を用いて、電子文書に復号されて出力される。   The encrypted electronic document transmitted to the first output device and transferred to the second output device by the encrypted electronic document transmission unit is generated by the first output device and transmitted to the second output device. Using the key, the electronic document is decrypted and output.

この発明に従えば、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性を向上させることが可能なサービス提供装置を提供することができる。   According to the present invention, it is possible to provide a service providing apparatus capable of improving the safety of an encrypted electronic document and the convenience of outputting an electronic document without increasing costs.

この発明のさらに他の局面に従えば、サービス提供装置は、共有鍵記憶部と、無作為抽出文字列生成部と、暗号鍵生成部と、電子文書暗号化部と、暗号化電子文書送信部と、無作為抽出文字列送信部と、暗号鍵送信部とを備える。   According to still another aspect of the present invention, a service providing apparatus includes a shared key storage unit, a randomly extracted character string generation unit, an encryption key generation unit, an electronic document encryption unit, and an encrypted electronic document transmission unit. And a randomly extracted character string transmission unit and an encryption key transmission unit.

共有鍵記憶部は、共有鍵を予め記憶する。無作為抽出文字列生成部は、無作為に抽出された文字が並べられた文字列である無作為抽出文字列を生成する。暗号鍵生成部は、共有鍵記憶部に記憶された共有鍵と、無作為抽出文字列生成部によって生成された無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵を生成する。電子文書暗号化部は、暗号鍵生成部によって生成された第1暗号鍵を用いて、電子文書を暗号化電子文書に暗号化する。暗号化電子文書送信部は、電子文書暗号化部によって暗号化された暗号化電子文書を、第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する。無作為抽出文字列送信部は、無作為抽出文字列生成部によって生成された無作為抽出文字列を、第1通信媒体を介して、第1の出力装置に送信する。暗号鍵送信部は、暗号鍵生成部によって生成された第1暗号鍵を、第1通信媒体と異なる第2通信媒体を介して、第2の出力装置に送信する。   The shared key storage unit stores the shared key in advance. The randomly extracted character string generation unit generates a randomly extracted character string that is a character string in which randomly extracted characters are arranged. The encryption key generation unit obtains the first encryption key by a predetermined calculation method based on the shared key stored in the shared key storage unit and the randomly extracted character string generated by the randomly extracted character string generation unit. Generate. The electronic document encryption unit encrypts the electronic document into the encrypted electronic document using the first encryption key generated by the encryption key generation unit. The encrypted electronic document transmission unit transmits the encrypted electronic document encrypted by the electronic document encryption unit to the first output device so that a response to the request is not required in the application layer of the OSI reference model. Send according to protocol. The random extraction character string transmission unit transmits the random extraction character string generated by the random extraction character string generation unit to the first output device via the first communication medium. The encryption key transmission unit transmits the first encryption key generated by the encryption key generation unit to the second output device via a second communication medium different from the first communication medium.

暗号化電子文書送信部によって第1の出力装置に送信された暗号化電子文書は、暗号鍵送信部によって第1の出力装置に送信された第1暗号鍵を用いて、電子文書に復号されて出力される。   The encrypted electronic document transmitted to the first output device by the encrypted electronic document transmission unit is decrypted into an electronic document using the first encryption key transmitted to the first output device by the encryption key transmission unit. Is output.

暗号化電子文書送信部によって第1の出力装置に送信され第2の出力装置に転送された暗号化電子文書は、第2の出力装置に予め記憶された共有鍵記憶部に記憶された共有鍵と同じ共有鍵と無作為抽出文字列送信部によって第2の出力装置に送信された無作為抽出文字列とに基づいて所定の演算方法で生成された第2暗号鍵を用いて、電子文書に復号されて出力される。   The encrypted electronic document transmitted to the first output device by the encrypted electronic document transmission unit and transferred to the second output device is the shared key stored in the shared key storage unit stored in advance in the second output device. To the electronic document using the second encryption key generated by a predetermined calculation method based on the same shared key and the randomly extracted character string transmitted to the second output device by the randomly extracted character string transmitting unit Decoded and output.

この発明に従えば、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性を向上させることが可能なサービス提供装置を提供することができる。   According to the present invention, it is possible to provide a service providing apparatus capable of improving the safety of an encrypted electronic document and the convenience of outputting an electronic document without increasing costs.

この発明のさらに他の局面に従えば、暗号化電子文書出力装置は、無作為抽出文字列受信部と、暗号化電子文書受信部と、暗号化電子文書送信部と、共有鍵記憶部と、暗号鍵生成部と、電子文書復号部と、出力部と、暗号鍵送信部とを備える。   According to still another aspect of the present invention, an encrypted electronic document output device includes a random extraction character string receiving unit, an encrypted electronic document receiving unit, an encrypted electronic document transmitting unit, a shared key storage unit, An encryption key generation unit, an electronic document decryption unit, an output unit, and an encryption key transmission unit are provided.

無作為抽出文字列受信部は、共有鍵を予め記憶するサービス提供装置によって生成されサービス提供装置から第1通信媒体を介して送信された無作為抽出文字列を受信する。暗号化電子文書受信部は、サービス提供装置に記憶された共有鍵とサービス提供装置によって生成された無作為抽出文字列とに基づいてサービス提供装置によって所定の演算方法で生成された、第1暗号鍵を用いてサービス提供装置によって電子文書が暗号化された暗号化電子文書を受信する。暗号化電子文書送信部は、暗号化電子文書受信部によって受信された暗号化電子文書を他の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する。共有鍵記憶部は、サービス提供装置に記憶された共有鍵と同じ共有鍵を予め記憶する。暗号鍵生成部は、共有鍵記憶部に記憶された共有鍵と、無作為抽出文字列受信部によって受信された無作為抽出文字列とに基づいて、所定の演算方法で、第2暗号鍵を生成する。電子文書復号部は、第2暗号鍵生成部によって生成された第2暗号鍵を用いて、暗号化電子文書受信部によって受信された暗号化電子文書を電子文書に復号する。出力部は、電子文書復号部によって復号された電子文書を出力する。暗号鍵送信部は、暗号鍵生成部によって生成された第2暗号鍵を、第1通信媒体と異なる第2通信媒体を介して、他の出力装置に送信する。   The randomly extracted character string receiving unit receives the randomly extracted character string generated by the service providing apparatus that stores the shared key in advance and transmitted from the service providing apparatus via the first communication medium. The encrypted electronic document receiving unit is configured to generate a first cipher generated by the service providing apparatus using a predetermined calculation method based on the shared key stored in the service providing apparatus and the randomly extracted character string generated by the service providing apparatus. An encrypted electronic document obtained by encrypting the electronic document by the service providing apparatus is received using the key. The encrypted electronic document transmission unit sends the encrypted electronic document received by the encrypted electronic document reception unit to another output device according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model. Send. The shared key storage unit stores in advance the same shared key as the shared key stored in the service providing apparatus. The encryption key generation unit obtains the second encryption key by a predetermined calculation method based on the shared key stored in the shared key storage unit and the randomly extracted character string received by the randomly extracted character string receiving unit. Generate. The electronic document decryption unit decrypts the encrypted electronic document received by the encrypted electronic document reception unit into an electronic document, using the second encryption key generated by the second encryption key generation unit. The output unit outputs the electronic document decrypted by the electronic document decryption unit. The encryption key transmission unit transmits the second encryption key generated by the encryption key generation unit to another output device via a second communication medium different from the first communication medium.

暗号化電子文書送信部によって他の出力装置に送信された暗号化電子文書は、暗号鍵送信部によって他の出力装置に送信された第2暗号鍵を用いて、他の出力装置によって電子文書に復号されて出力される。   The encrypted electronic document transmitted to the other output device by the encrypted electronic document transmission unit is converted into an electronic document by the other output device using the second encryption key transmitted to the other output device by the encryption key transmission unit. Decoded and output.

この発明に従えば、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性を向上させることが可能な暗号化電子文書出力装置を提供することができる。   According to the present invention, it is possible to provide an encrypted electronic document output device capable of improving the safety of an encrypted electronic document and the convenience of outputting an electronic document without increasing costs.

この発明のさらに他の局面に従えば、暗号化電子文書出力装置は、暗号化電子文書受信部と、暗号化電子文書送信部と、暗号鍵受信部と、電子文書復号部と、出力部とを備える。   According to still another aspect of the present invention, an encrypted electronic document output device includes an encrypted electronic document reception unit, an encrypted electronic document transmission unit, an encryption key reception unit, an electronic document decryption unit, an output unit, Is provided.

暗号化電子文書受信部は、サービス提供装置に予め記憶された共有鍵とサービス提供装置によって生成された無作為抽出文字列とに基づいてサービス提供装置によって所定の演算方法で生成された第1暗号鍵を用いてサービス提供装置によって電子文書が暗号化された暗号化電子文書を受信する。暗号化電子文書送信部は、暗号化電子文書受信部によって受信された暗号化電子文書を他の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する。暗号鍵受信部は、サービス提供装置によって生成された第1暗号鍵を受信する。電子文書復号部は、暗号鍵受信部によって受信された第1暗号鍵を用いて、暗号化電子文書受信部によって受信された暗号化電子文書を電子文書に復号する。出力部は、電子文書復号部によって復号された電子文書を出力する。   The encrypted electronic document receiving unit includes a first encryption generated by the service providing apparatus using a predetermined calculation method based on the shared key stored in advance in the service providing apparatus and the randomly extracted character string generated by the service providing apparatus. An encrypted electronic document obtained by encrypting the electronic document by the service providing apparatus is received using the key. The encrypted electronic document transmission unit sends the encrypted electronic document received by the encrypted electronic document reception unit to another output device according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model. Send. The encryption key receiving unit receives the first encryption key generated by the service providing apparatus. The electronic document decryption unit decrypts the encrypted electronic document received by the encrypted electronic document reception unit into an electronic document using the first encryption key received by the encryption key reception unit. The output unit outputs the electronic document decrypted by the electronic document decryption unit.

暗号化電子文書送信部によって他の出力装置に送信された暗号化電子文書は、他の出力装置に記憶されたサービス提供装置に記憶された共有鍵と同じ共有鍵とサービス提供装置から送信された無作為抽出文字列とに基づいて所定の演算方法で生成された第2暗号鍵を用いて、他の出力装置によって電子文書に復号されて出力される。   The encrypted electronic document transmitted to the other output device by the encrypted electronic document transmission unit is transmitted from the service providing device with the same shared key as the shared key stored in the service providing device stored in the other output device. Using the second encryption key generated by a predetermined calculation method based on the randomly extracted character string, the electronic document is decrypted and output by another output device.

この発明に従えば、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性を向上させることが可能な暗号化電子文書出力装置を提供することができる。   According to the present invention, it is possible to provide an encrypted electronic document output device capable of improving the safety of an encrypted electronic document and the convenience of outputting an electronic document without increasing costs.

この発明のさらに他の局面に従えば、暗号化電子文書出力装置は、暗号化電子文書受信部と、暗号鍵受信部と、電子文書復号部と、出力部とを備える。   According to still another aspect of the present invention, an encrypted electronic document output device includes an encrypted electronic document reception unit, an encryption key reception unit, an electronic document decryption unit, and an output unit.

暗号化電子文書受信部は、サービス提供装置に予め記憶された共有鍵とサービス提供装置によって生成された無作為抽出文字列とに基づいてサービス提供装置によって所定の演算方法で生成された第1暗号鍵を用いてサービス提供装置によって電子文書が暗号化されサービス提供装置から他の出力装置を介してOSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信された暗号化電子文書を受信する。暗号鍵受信部は、他の出力装置に予め記憶されたサービス提供装置に記憶された共有鍵と同じ共有鍵とサービス提供装置から送信された無作為抽出文字列とに基づいて所定の演算方法で他の出力装置によって生成された第2暗号鍵を受信する。電子文書復号部は、暗号鍵受信部によって受信された第2暗号鍵を用いて、暗号化電子文書受信部によって受信された暗号化電子文書を電子文書に復号する。出力部は、電子文書復号部によって復号された電子文書を出力する。   The encrypted electronic document receiving unit includes a first encryption generated by the service providing apparatus using a predetermined calculation method based on the shared key stored in advance in the service providing apparatus and the randomly extracted character string generated by the service providing apparatus. A cipher that is encrypted by a service providing device using a key and transmitted according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model from the service providing device via another output device. Receive a digitized electronic document. The encryption key receiving unit uses a predetermined calculation method based on the same shared key as the shared key stored in the service providing apparatus stored in advance in another output device and the randomly extracted character string transmitted from the service providing apparatus. A second encryption key generated by another output device is received. The electronic document decryption unit decrypts the encrypted electronic document received by the encrypted electronic document reception unit into an electronic document using the second encryption key received by the encryption key reception unit. The output unit outputs the electronic document decrypted by the electronic document decryption unit.

他の出力装置に送信された暗号化電子文書は、他の出力装置によって生成された前期第2暗号鍵を用いて、他の出力装置によって電子文書に復号されて出力される。   The encrypted electronic document transmitted to the other output device is decrypted and output to the electronic document by the other output device using the previous second encryption key generated by the other output device.

この発明に従えば、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性を向上させることが可能な暗号化電子文書出力装置を提供することができる。   According to the present invention, it is possible to provide an encrypted electronic document output device capable of improving the safety of an encrypted electronic document and the convenience of outputting an electronic document without increasing costs.

この発明のさらに他の局面に従えば、暗号化電子文書出力装置は、暗号化電子文書受信部と、無作為抽出文字列受信部と、共有鍵記憶部と、暗号鍵生成部と、電子文書復号部と、出力部とを備える。   According to still another aspect of the present invention, an encrypted electronic document output device includes an encrypted electronic document reception unit, a randomly extracted character string reception unit, a shared key storage unit, an encryption key generation unit, and an electronic document A decoding unit and an output unit are provided.

暗号化電子文書受信部は、サービス提供装置に予め記憶された共有鍵とサービス提供装置によって生成された無作為抽出文字列とに基づいてサービス提供装置によって所定の演算方法で生成された第1暗号鍵を用いてサービス提供装置によって電子文書が暗号化されサービス提供装置から他の出力装置を介してOSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信された暗号化電子文書を受信する。無作為抽出文字列受信部は、サービス提供装置から送信された無作為抽出文字列を受信する。共有鍵記憶部は、サービス提供装置に記憶された共有鍵と同じ共有鍵を予め記憶する。暗号鍵生成部は、共有鍵記憶部に記憶された共有鍵と、無作為抽出文字列受信部によって受信された無作為抽出文字列とに基づいて、所定の演算方法で、第2暗号鍵を生成する。電子文書復号部は、暗号鍵生成部によって生成された第2暗号鍵を用いて、暗号化電子文書受信部によって受信された暗号化電子文書を電子文書に復号する。出力部は、電子文書復号部によって復号された電子文書を出力する。   The encrypted electronic document receiving unit includes a first encryption generated by the service providing apparatus using a predetermined calculation method based on the shared key stored in advance in the service providing apparatus and the randomly extracted character string generated by the service providing apparatus. A cipher that is encrypted by a service providing device using a key and transmitted according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model from the service providing device via another output device. Receive a digitized electronic document. The randomly extracted character string receiving unit receives the randomly extracted character string transmitted from the service providing apparatus. The shared key storage unit stores in advance the same shared key as the shared key stored in the service providing apparatus. The encryption key generation unit obtains the second encryption key by a predetermined calculation method based on the shared key stored in the shared key storage unit and the randomly extracted character string received by the randomly extracted character string receiving unit. Generate. The electronic document decryption unit decrypts the encrypted electronic document received by the encrypted electronic document reception unit into an electronic document using the second encryption key generated by the encryption key generation unit. The output unit outputs the electronic document decrypted by the electronic document decryption unit.

他の出力装置に送信された暗号化電子文書は、サービス提供装置から他の出力装置に送信された第1暗号鍵を用いて、他の出力装置によって電子文書に復号されて出力される。   The encrypted electronic document transmitted to the other output device is decrypted and output to the electronic document by the other output device using the first encryption key transmitted from the service providing device to the other output device.

この発明に従えば、コストを増大させずに、暗号化電子文書の安全性および電子文書の出力の利便性を向上させることが可能な暗号化電子文書出力装置を提供することができる。   According to the present invention, it is possible to provide an encrypted electronic document output device capable of improving the safety of an encrypted electronic document and the convenience of outputting an electronic document without increasing costs.

以下、図面を参照しつつ本発明の実施の形態について説明する。なお、以下の説明に用いる図面では、同一の部品に同一の符号を付してある。それらの名称及び機能も同一である。したがって、それらについての詳細な説明は繰返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings used for the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

(第1の実施の形態)出先で印刷
本実施例に係る暗号化電子文書処理システム10では、携帯電話2を保有する利用者が出張先などで電子文書を安全に閲覧し、必要に応じてプリンタで印刷する例を説明する。
(First embodiment) Printing at a destination In the encrypted electronic document processing system 10 according to the present embodiment, a user holding a mobile phone 2 browses an electronic document safely at a business trip destination or the like, and if necessary An example of printing with a printer will be described.

図1は、第1の実施の形態に係る暗号化電子文書処理システム10全体の構成図である。図1を参照して、この暗号化電子文書処理システム10には、サービス提供装置と、第1の出力装置と、第2の出力装置とが存在している。また、それぞれの装置は通信ネットワーク100によって接続され、電子メールによって情報の受け渡しが可能となっている。電子メールは一般的なものであり、ファイルを添付して送受信することが可能である。第1の出力装置は、通信ネットワーク100とは別に、赤外線通信やBluetooth通信などの近距離無線通信によって、第2の出力装置と通信する。なお、以下では、これまで説明してきたサービス提供装置をパーソナルコンピュータ(以下、「パソコン」という)であるコンピュータ1と、第1の出力装置を携帯電話2と、第2の出力装置をプリンタ3として記すが、それぞれ、他の装置であってもよい。   FIG. 1 is a configuration diagram of the entire encrypted electronic document processing system 10 according to the first embodiment. Referring to FIG. 1, the encrypted electronic document processing system 10 includes a service providing device, a first output device, and a second output device. In addition, each device is connected by a communication network 100, and information can be exchanged by electronic mail. E-mails are common and can be sent and received with files attached. In addition to the communication network 100, the first output device communicates with the second output device by short-range wireless communication such as infrared communication or Bluetooth communication. In the following, the service providing apparatus described so far is referred to as a computer 1 which is a personal computer (hereinafter referred to as a “personal computer”), a first output device as a mobile phone 2, and a second output device as a printer 3. Although described, other devices may be used.

コンピュータ1から携帯電話2に対して暗号化された電子文書をメール送信する。この際、電子文書はこの携帯電話2で復号され閲覧可能となる。さらに、必要があれば公共施設に設置されているプリンタ3で安全に印刷するため、携帯電話2から電子文書が添付された電子メールをプリンタ3に転送する。一方で、暗号化電子文書を復号するための鍵情報を赤外線通信などの方法でプリンタ3に転送することによって、プリンタ3においても電子文書の復号と印刷処理が実行される。コンピュータ1において暗号化された電子文書を、携帯電話2でも、プリンタ3でもそれぞれ復号するが、復号に必要な鍵情報の入手方法によって、各出力装置における電子文書の処理権限を変更する。   The computer 1 sends the encrypted electronic document to the mobile phone 2 by mail. At this time, the electronic document can be decrypted and browsed by the mobile phone 2. Further, if necessary, an e-mail attached with an electronic document is transferred from the mobile phone 2 to the printer 3 for safe printing with the printer 3 installed in the public facility. On the other hand, by transferring key information for decrypting the encrypted electronic document to the printer 3 by a method such as infrared communication, the electronic document is decrypted and printed by the printer 3 as well. The electronic document encrypted in the computer 1 is decrypted by the mobile phone 2 and the printer 3 respectively, but the processing authority of the electronic document in each output device is changed depending on the method for obtaining key information necessary for decryption.

電子文書の暗号化に用いる第2の暗号鍵は、盗聴に対するリスク軽減の目的から、文書ごとに毎回異なる使い捨ての暗号鍵とすることが好ましい。この暗号鍵を使い捨て暗号鍵と呼ぶ。使い捨て暗号鍵は、ランダムな文字列(以下、「無作為抽出文字列」という)を毎回生成し、その無作為抽出文字列と特定の情報である第1の暗号鍵とを、適当な演算手段で処理することにより生成することができる。特定の情報とは、コンピュータ1と携帯電話2とで共通のものを持つこととし、共有鍵と呼ぶ。共有鍵は、コンピュータ1以外および携帯電話2以外の装置に対して秘密にする情報である。使い捨て暗号鍵で暗号化された電子文書は、同じ使い捨て暗号鍵を用いてでしか復号することはできない。   The second encryption key used for encrypting the electronic document is preferably a disposable encryption key that is different for each document for the purpose of reducing the risk of eavesdropping. This encryption key is called a disposable encryption key. The disposable encryption key generates a random character string (hereinafter referred to as “randomly extracted character string”) every time, and uses the randomly extracted character string and the first encryption key as specific information as an appropriate computing means. Can be generated by processing. The specific information is shared by the computer 1 and the mobile phone 2 and is called a shared key. The shared key is information kept secret from devices other than the computer 1 and devices other than the mobile phone 2. An electronic document encrypted with a disposable encryption key can only be decrypted using the same disposable encryption key.

なお、コンピュータ1の利用者および携帯電話2の利用者は、同一であっても異なっていてもよい。同一の場合は、利用者は出張でコンピュータ1を持たずに携帯電話2だけで電子文書を参照する。このため、事前にコンピュータ1から携帯電話2に、出張時に必要な電子文書を暗号化して送信することになる。利用者が異なっている場合は、たとえば、コンピュータ1を上司が操作し、携帯電話2を外回り営業の部下が操作し、上司から部下への作業指示や製品資料などを送信する場合などがこれにあたる。また、コンピュータ1は特定の人間によって操作するものなく、自動的に処理が実行されるサーバコンピュータでもよく、一定条件のイベントが発生した場合、そのイベントに関する情報を暗号化した電子文書として自動的に携帯電話2に転送するサーバシステムでもよい。   Note that the user of the computer 1 and the user of the mobile phone 2 may be the same or different. In the same case, the user refers to the electronic document only on the mobile phone 2 without having the computer 1 on a business trip. For this reason, an electronic document necessary for a business trip is encrypted and transmitted from the computer 1 to the mobile phone 2 in advance. When the users are different, for example, when the supervisor operates the computer 1, the subordinate of the sales staff operates the mobile phone 2, and the supervisor sends his / her work instructions or product materials. . In addition, the computer 1 may be a server computer that is not operated by a specific person and is automatically executed. When an event of a certain condition occurs, information regarding the event is automatically encrypted as an electronic document. A server system for transferring to the mobile phone 2 may be used.

コンピュータ1から携帯電話2に電子文書を暗号化した上で送信する際、電子文書に加え付加情報を暗号化して送付する。この付加情報は、暗号化された電子文書が、共有鍵を共有するコンピュータ1以外および携帯電話2以外の装置、つまり、プリンタ3で電子文書を処理する際に参照されるべき情報である。第1の実施の形態では、付加情報は、プリンタ3で電子文書を印刷することの許可を与えること、および、電子文書をファイルとしてプリンタ3内部の記憶装置に保存することを制限することを実現するためのセキュリティ関連の情報を記述および定義したものである。   When the electronic document is encrypted and transmitted from the computer 1 to the mobile phone 2, the additional information is encrypted and sent in addition to the electronic document. This additional information is information to be referred to when the encrypted electronic document is processed by an apparatus other than the computer 1 and the mobile phone 2 other than the computer 1 sharing the shared key, that is, the printer 3. In the first embodiment, the additional information realizes permission to print the electronic document by the printer 3 and restricts saving the electronic document as a file in a storage device inside the printer 3. This is a description and definition of security related information.

各装置の間では電子メールによって暗号化された電子文書を一方的に転送するだけである。このため、一般的なサーバ/クライアントのシステムで見られる、データ要求と要求に対応するレスポンスというリアルタイムのインタラクション(要求に対する応答のためのデータ処理)が発生しない。なお、インタラクションがないということは、ネットワーク的に常時オンラインでサービスを提供する必要がないということを意味する。たとえば、プリンタ3とコンピュータ1の間がインターネットなどの公共のネットワークで接続されていた場合には、別途VPN(Virtual Private Network)などのセキュアな回線設備や、サーバ設備、運用のための人件費や保守費用などが必要となり、コスト的に問題となる。しかし、各装置間で電子メールによって暗号化された電子文書を一方的に転送するだけであれば、これを回避できるというメリットがある。   An electronic document encrypted by electronic mail is only transferred unilaterally between the devices. For this reason, real-time interaction (data processing for response to a request) of a data request and a response corresponding to the request, which is seen in a general server / client system, does not occur. Note that the absence of interaction means that it is not necessary to always provide a service online on a network basis. For example, if the printer 3 and the computer 1 are connected via a public network such as the Internet, a separate secure line facility such as a VPN (Virtual Private Network), a server facility, labor costs for operation, Maintenance costs are required, which is a problem in terms of cost. However, there is an advantage that this can be avoided if the electronic document encrypted by electronic mail is transferred unilaterally between the devices.

図2は、第1の実施の形態に係るコンピュータ1のハードウェアの内部構成である。図2を参照して、第1の実施の形態に係るコンピュータ1は、コンピュータハードウェアと、そのコンピュータハードウェアにより実行されるプログラムと、コンピュータハードウェアに格納されるデータとにより実現される。コンピュータ1は、相互にバスで接続されたCPU(Central Processing Unit)11と、固定ディスク16と、ローカルエリアネットワーク(Local Area Network、以下「LAN」という)等への接続を提供する通信IF(Interface)15と、モニタ14と、マウス13Bと、キーボード13Aと、メモリ12と、フロッピー(登録商標)ディスク(以下「FD(Floppy(登録商標) Disk)」という)駆動装置17Aと、CD−ROM(Compact Disk Read Only Memory)駆動装置17Bとを含む。さらに、上記したFD駆動装置17AおよびCD−ROM駆動装置17Bに加えて、FD駆動装置17AにはFD171Aが記録媒体として装着される。CD−ROM駆動装置17Bには、CD−ROM171Bが記録媒体として装着される。このコンピュータ1における処理は、コンピュータハードウェアおよびCPU11により実行されるソフトウェアにより実現される。そのソフトウェアは、固定ディスク16からメモリ12に読出されて、CPU11により実行される。図2に示したコンピュータのハードウェア自体は、一般的なものである。   FIG. 2 is an internal configuration of hardware of the computer 1 according to the first embodiment. Referring to FIG. 2, the computer 1 according to the first embodiment is realized by computer hardware, a program executed by the computer hardware, and data stored in the computer hardware. The computer 1 includes a communication IF (Interface) that provides connection to a CPU (Central Processing Unit) 11, a fixed disk 16, a local area network (hereinafter referred to as “LAN”), etc. ) 15, monitor 14, mouse 13B, keyboard 13A, memory 12, floppy (registered trademark) disk (hereinafter referred to as "FD (Floppy (registered trademark) Disk)") drive 17A, CD-ROM ( Compact Disk Read Only Memory) drive unit 17B. Further, in addition to the FD driving device 17A and the CD-ROM driving device 17B described above, an FD 171A is mounted as a recording medium on the FD driving device 17A. A CD-ROM 171B is mounted as a recording medium in the CD-ROM drive device 17B. The processing in the computer 1 is realized by computer hardware and software executed by the CPU 11. The software is read from the fixed disk 16 to the memory 12 and executed by the CPU 11. The computer hardware itself shown in FIG. 2 is general.

図3は、第1の実施の形態に係る携帯電話2の制御ブロック図である。図3を参照して、第1の実施の形態に係る携帯電話2は、コンピュータを搭載したハードウェア、当該ハードウェアにより実行されるプログラム、及び当該ハードウェアに格納されるデータにより実現される。携帯電話2は、通信IF25A、およびCPU21を含む。携帯電話2はさらに、モニタ24Aと、マイク23Cと、スピーカ24Bと、カメラ23Bと、テンキー23Aと、外部メモリカードスロット27と、赤外線通信ユニット25Bと、CPU21に接続されたバスとを含む。携帯情報の各機能を実現させるためのコンピュータプログラムは、携帯電話2本体のメモリ22の固定的領域に記憶されるか、または、外部メモリカードスロット27に挿入される記録媒体である外部メモリカード271に記憶され、さらにメモリ22に転送される。または、プログラムはネットワークから通信IF25Aを介して携帯電話2に送信されメモリ22に記憶されてもよい。図3に示した携帯電話2のハードウェア自体は、一般的なものである。なお、携帯電話2の入力装置は、上記のものに限られない。たとえば、テンキー23Aの代わりに、外部接続のキーボードや、タッチパネルや、入力ペンや、バーコードリーダなど、情報の入力部として利用者による情報の入力が可能なものであればよい。   FIG. 3 is a control block diagram of the mobile phone 2 according to the first embodiment. With reference to FIG. 3, the mobile phone 2 according to the first embodiment is realized by hardware equipped with a computer, a program executed by the hardware, and data stored in the hardware. The mobile phone 2 includes a communication IF 25A and a CPU 21. The cellular phone 2 further includes a monitor 24A, a microphone 23C, a speaker 24B, a camera 23B, a numeric keypad 23A, an external memory card slot 27, an infrared communication unit 25B, and a bus connected to the CPU 21. A computer program for realizing each function of the portable information is stored in a fixed area of the memory 22 of the mobile phone 2 or an external memory card 271 that is a recording medium inserted into the external memory card slot 27. And further transferred to the memory 22. Alternatively, the program may be transmitted from the network to the mobile phone 2 via the communication IF 25 </ b> A and stored in the memory 22. The hardware itself of the mobile phone 2 shown in FIG. 3 is general. Note that the input device of the mobile phone 2 is not limited to the above. For example, instead of the numeric keypad 23A, an externally connected keyboard, a touch panel, an input pen, a barcode reader, or the like that can input information by the user as an information input unit may be used.

図4は、第1の実施の形態に係るプリンタ3のハードウェア構成である。図4を参照して、第1の実施の形態に係るプリンタ3は、コンピュータを搭載したハードウェア、当該ハードウェアにより実行されるプログラム、及び当該ハードウェアに格納されるデータにより実現される。プリンタ3は、LCD等からなるモニタ34A、タッチパネル33Aと、操作ボタン33Bと、スキャナ33Cと、印刷部34Bを含む。プリンタ3はさらに、通信IF35Aと、赤外線通信モジュール35Bとを含む。プリンタ3はさらに、相互にバスで接続されたCPU31と、メモリ32と、固定ディスク36とを含む。なお、第1の実施の形態においては、固定ディスク36を含むこととするが、これに限定されず、プログラムを格納するための記憶装置であれば、フラッシュメモリ、外部メモリカード、FDまたはCD−ROMなど他の記憶装置であってもよい。このプリンタ3における処理は、プリンタハードウェアおよびCPU31により実行されるソフトウェアにより実現される。プリンタ3の各機能を実現させるためのコンピュータプログラムは、固定ディスク36に記憶される。プログラムは実行の際にメモリ32にロードされる。   FIG. 4 is a hardware configuration of the printer 3 according to the first embodiment. With reference to FIG. 4, the printer 3 according to the first embodiment is realized by hardware mounted with a computer, a program executed by the hardware, and data stored in the hardware. The printer 3 includes a monitor 34A composed of an LCD or the like, a touch panel 33A, operation buttons 33B, a scanner 33C, and a printing unit 34B. The printer 3 further includes a communication IF 35A and an infrared communication module 35B. The printer 3 further includes a CPU 31, a memory 32, and a fixed disk 36 that are connected to each other via a bus. In the first embodiment, the fixed disk 36 is included. However, the present invention is not limited to this, and any flash memory, external memory card, FD, or CD- can be used as long as it is a storage device for storing a program. Other storage devices such as a ROM may be used. The processing in the printer 3 is realized by printer hardware and software executed by the CPU 31. Computer programs for realizing each function of the printer 3 are stored in the fixed disk 36. The program is loaded into the memory 32 when executed.

図5は、第1の実施の形態に係るコンピュータ1、携帯電話2およびプリンタ3の間の共有鍵と無作為抽出文字列と使い捨て暗号鍵との流通を示すシーケンス図である。   FIG. 5 is a sequence diagram showing the distribution of the shared key, the randomly extracted character string, and the disposable encryption key among the computer 1, the mobile phone 2, and the printer 3 according to the first embodiment.

ステップS1301において、コンピュータ1および携帯電話2では、共有鍵4A,4Bが、それぞれの共有鍵を管理する部分において予め保持される。   In step S1301, in the computer 1 and the mobile phone 2, the shared keys 4A and 4B are held in advance in a part for managing the shared keys.

ステップS1302において、コンピュータ1で無作為抽出文字列5が新規に生成され、共有鍵4Aと無作為抽出文字列5とが利用されて、使い捨て暗号鍵6Aを生成する演算が行なわれる。   In step S1302, a randomly extracted character string 5 is newly generated by the computer 1, and an operation for generating the disposable encryption key 6A is performed using the shared key 4A and the randomly extracted character string 5.

ステップS1303において、ステップS1302の演算の結果、使い捨て暗号鍵6Aが得られる。使い捨て暗号鍵6Aは、電子文書と付加情報との暗号化に利用される。   In step S1303, the disposable encryption key 6A is obtained as a result of the calculation in step S1302. The disposable encryption key 6A is used for encrypting the electronic document and the additional information.

ステップS1304において、ステップS1303のコンピュータ1で生成された無作為抽出文字列5は、電子メールによって携帯電話2に転送される。さらに、共有鍵4Bと無作為抽出文字列5とが利用されて使い捨て暗号鍵6Bの演算が行なわれる。   In step S1304, the randomly extracted character string 5 generated by the computer 1 in step S1303 is transferred to the mobile phone 2 by electronic mail. Further, the disposable key 6B is calculated using the shared key 4B and the randomly extracted character string 5.

ステップS1305において、ステップS1304の演算の結果、使い捨て暗号鍵6Bが得られる。使い捨て暗号鍵6Bは、携帯電話2での電子文書と付加情報との復号に利用される。   In step S1305, the disposable encryption key 6B is obtained as a result of the calculation in step S1304. The disposable encryption key 6B is used for decrypting the electronic document and the additional information on the mobile phone 2.

ステップS1306において、ステップS1305の使い捨て暗号鍵6Bが赤外線通信で携帯電話2からプリンタ3に送信される。プリンタ3では使い捨て暗号鍵6Bが利用されて、電子文書と付加情報とが復号される。   In step S1306, the disposable encryption key 6B in step S1305 is transmitted from the mobile phone 2 to the printer 3 by infrared communication. In the printer 3, the electronic document and the additional information are decrypted using the disposable encryption key 6B.

図5のように、使い捨て暗号鍵6A,6Bが各端末に流通させることにより、それぞれの端末において使い捨て暗号鍵6A,6Bの生成方法に応じて、複数の権限を実現することが可能となる。   As shown in FIG. 5, when the disposable encryption keys 6A and 6B are distributed to each terminal, a plurality of authorities can be realized in each terminal according to the generation method of the disposable encryption keys 6A and 6B.

図6は、第1の実施の形態に係るコンピュータ1の機能的構成を示すブロック図である。図6によると、コンピュータ1は、携帯電話2に送るべき電子文書を固定ディスク16に保管する文書データベース部161と、プリンタ3で電子文書を処理する際の制限事項を記述した付加情報を固定ディスク16で管理する付加情報管理部162と、携帯電話2とコンピュータ1とで共有する共有鍵情報を固定ディスク16で管理する共有鍵情報管理部163と、毎回異なる使い捨て暗号鍵6Aを演算するための無作為抽出文字列5を生成するための無作為抽出文字列生成部111と、共有鍵4Aおよび無作為抽出文字列5より使い捨て暗号鍵6Aを演算する使い捨て鍵演算部112と、使い捨て暗号鍵6Aで電子文書および付加情報の暗号化を行なう暗号化部113とを含む。さらに、コンピュータ1は、暗号化された電子文書および付加情報、ならびに無作為抽出文字列5を添付ファイルとする電子メールを作成するメール処理部114と、通信IF15を制御して通信ネットワーク100に接続された他の装置との通信を行ない、作成した電子メールを送信する通信制御部115とを含む。   FIG. 6 is a block diagram illustrating a functional configuration of the computer 1 according to the first embodiment. According to FIG. 6, the computer 1 stores a document database unit 161 that stores an electronic document to be sent to the mobile phone 2 on a fixed disk 16 and additional information that describes restrictions when the electronic document is processed by the printer 3. 16, an additional information management unit 162 managed by the mobile phone 2, a shared key information management unit 163 that manages the shared key information shared by the mobile phone 2 and the computer 1 by the fixed disk 16, and a different disposable encryption key 6A each time. Randomly extracted character string generator 111 for generating randomly extracted character string 5, disposable key calculator 112 for calculating disposable encryption key 6A from shared key 4A and randomly extracted character string 5, and disposable encryption key 6A And an encryption unit 113 for encrypting the electronic document and the additional information. Furthermore, the computer 1 connects to the communication network 100 by controlling the communication IF 15 and the mail processing unit 114 that creates an electronic mail having the encrypted electronic document and the additional information and the randomly extracted character string 5 as an attached file. A communication control unit 115 that communicates with the other devices and transmits the created electronic mail.

図7は、第1の実施の形態に係る携帯電話2の機能的構成を示すブロック図である。図7によると、携帯電話2は、通信ネットワーク100に接続された他の装置との通信を行ない、電子メールを受信する通信制御部215と、受信した電子メールに含まれる添付ファイルの処理を行ない、また電子メールを他の電子メールアドレス宛に転送するメール処理部214と、携帯電話2とコンピュータ1とで共有される共有鍵4Bを管理する共有鍵情報管理部263と、共有鍵4Bおよび無作為抽出文字列5より使い捨て暗号鍵6Bを演算する使い捨て鍵演算部212と、使い捨て暗号鍵6Bによって暗号化された電子文書を復号する復号部213と、モニタ24Aを制御して復号した電子文書を表示する表示部216とを含む。第1の実施の形態では、使い捨て暗号鍵6Bを入手した方法を認証状態と呼ぶ。すなわち、携帯電話2とコンピュータ1で共有する共有鍵4Bと無作為抽出文字列5に基づく演算によって使い捨て暗号鍵6Bを生成したのか、外部の装置から直接、使い捨て暗号鍵6Bを受信することによって得られたものなのかのいずれかの状態を認証状態が示す。携帯電話2には、この認証状態と使い捨て暗号鍵6Bとをメモリ22に記憶させる認証状態記憶部221を含む。この認証状態記憶部221によって、復号して平文にもどした電子文書の処理の権限を制御することができる。さらに、携帯電話2は、赤外線通信ユニット25Bを制御して、使い捨て鍵6Bの情報をプリンタ3に送信する使い捨て鍵送信部217を含む。   FIG. 7 is a block diagram showing a functional configuration of the mobile phone 2 according to the first embodiment. According to FIG. 7, the mobile phone 2 communicates with other devices connected to the communication network 100, and receives a communication control unit 215 that receives an e-mail, and processes an attached file included in the received e-mail. Also, a mail processing unit 214 that forwards an e-mail to another e-mail address, a shared key information management unit 263 that manages a shared key 4B shared between the mobile phone 2 and the computer 1, a shared key 4B, The disposable key calculation unit 212 for calculating the disposable encryption key 6B from the randomly extracted character string 5, the decryption unit 213 for decrypting the electronic document encrypted by the disposable encryption key 6B, and the electronic document decrypted by controlling the monitor 24A. And a display unit 216 for displaying. In the first embodiment, the method of obtaining the disposable encryption key 6B is called an authentication state. In other words, whether the disposable encryption key 6B is generated by the calculation based on the shared key 4B shared by the mobile phone 2 and the computer 1 and the randomly extracted character string 5, or obtained by receiving the disposable encryption key 6B directly from an external device. The authentication status indicates one of the received statuses. The mobile phone 2 includes an authentication state storage unit 221 that stores the authentication state and the disposable encryption key 6 </ b> B in the memory 22. The authentication status storage unit 221 can control the authority to process an electronic document that has been decrypted and returned to plain text. Furthermore, the cellular phone 2 includes a disposable key transmission unit 217 that controls the infrared communication unit 25B to transmit information on the disposable key 6B to the printer 3.

図8は、第1の実施の形態に係るプリンタ3の機能的構成を示すブロック図である。図8によると、プリンタ3は、通信ネットワーク100に接続された他の装置と通信を行ない、電子メールを受信する通信制御部315と、受信した電子メールに含まれる添付ファイルの処理を行なうメール処理部314と、電子メールの添付ファイルを一時的に保留するジョブ保留部319と、携帯電話2から送信される使い捨て暗号鍵6Bを赤外線通信ユニット35Bにより受信する使い捨て暗号鍵取得部312と、使い捨て暗号鍵6Bによって暗号化された電子文書を復号する復号部313と、印刷部34Bを制御して復号した電子文書を印刷する印刷部316と、認証状態と使い捨て暗号鍵6Bとをメモリ32に記憶させる認証状態記憶部321と、付加情報に従ってプリンタ3上での電子文書の処理方法に制限を加える付加情報処理部318とを含む。   FIG. 8 is a block diagram illustrating a functional configuration of the printer 3 according to the first embodiment. According to FIG. 8, the printer 3 communicates with other devices connected to the communication network 100, receives a communication control unit 315 that receives an email, and mail processing that processes an attached file included in the received email. Unit 314, a job holding unit 319 that temporarily holds an attached file of an e-mail, a disposable encryption key obtaining unit 312 that receives the disposable encryption key 6B transmitted from the mobile phone 2 by the infrared communication unit 35B, and a disposable encryption key The memory 32 stores the decryption unit 313 for decrypting the electronic document encrypted by the key 6B, the print unit 316 for printing the decrypted electronic document by controlling the printing unit 34B, and the authentication state and the disposable encryption key 6B. An authentication information storage unit 321 and additional information processing that restricts the processing method of the electronic document on the printer 3 according to the additional information. And a part 318.

Figure 0004584071
Figure 0004584071

Figure 0004584071
Figure 0004584071

表1および表2に、それぞれ、図6の共有鍵情報管理部163および図7の共有鍵情報管理部263で管理される共有鍵の一例を示す。表1を参照して、コンピュータ1の共有鍵情報管理部163では、携帯電話2の利用者を特定するための利用者IDごとにエントリ構成される。各エントリは、利用者IDと、共有鍵4Aと、電子メールアドレスとを含む。表2を参照して、携帯電話2の共有鍵情報管理部263では、携帯電話2の利用者に割り当てられた利用者IDと、共有鍵4Bとを含む。コンピュータ1と携帯電話2との共有鍵4A,4Bをそれぞれ共有する方法として、コンピュータ1と携帯電話2とをUSB接続ケーブルで接続し、コンピュータ1でランダムに生成した共有鍵4Aを携帯電話2に接続ケーブル経由で転送して、携帯電話2の共有鍵4Bとしてもよい。   Tables 1 and 2 show examples of shared keys managed by the shared key information management unit 163 in FIG. 6 and the shared key information management unit 263 in FIG. 7, respectively. Referring to Table 1, in shared key information management unit 163 of computer 1, an entry is configured for each user ID for specifying the user of mobile phone 2. Each entry includes a user ID, a shared key 4A, and an e-mail address. Referring to Table 2, the shared key information management unit 263 of the mobile phone 2 includes the user ID assigned to the user of the mobile phone 2 and the shared key 4B. As a method of sharing the shared keys 4A and 4B between the computer 1 and the mobile phone 2, the computer 1 and the mobile phone 2 are connected by a USB connection cable, and the shared key 4A randomly generated by the computer 1 is connected to the mobile phone 2. It is good also as a shared key 4B of the mobile telephone 2 by transferring via a connection cable.

Figure 0004584071
Figure 0004584071

表3に、付加情報の一例を示す。本実施例では、付加情報によってプリンタ3で電子文書を処理する際の制限事項を記述している。表3を参照して、付加情報は複数のエントリ項目から構成され、プリンタ3における電子文書に対する処理の項目それぞれに許可か不可かを定義している。たとえば、電子文書をプリンタ3の記憶装置に保存する「保存」は「不可」、電子文書を印刷する「印刷」は「許可」、電子文書をプリンタ3以外の端末に電子メールなどの通信手段によって転送する「転送」は「不可」、電子文書をプリンタ3のモニタで表示する「表示」は「許可」となっている。さらに、項目の設定値として、プリンタ3のソフトウェアの動作を直接指定することもできる。たとえば、電子文書をプリンタ3で印刷した後の電子文書に対する処理である「印刷後の処理」として「直ちに削除」としている。プリンタ3のソフトウェアの動作指定の方法としては、プリンタ3のソフトウェアが直接処理可能なスクリプト言語を用いてもよい。   Table 3 shows an example of additional information. In the present embodiment, the restriction items when the electronic document is processed by the printer 3 are described by the additional information. Referring to Table 3, the additional information is composed of a plurality of entry items, and defines whether each item of processing for the electronic document in the printer 3 is permitted or not permitted. For example, “save” for storing the electronic document in the storage device of the printer 3 is “impossible”, “print” for printing the electronic document is “permitted”, and the electronic document is sent to a terminal other than the printer 3 by communication means such as e-mail. “Transfer” to be transferred is “impossible”, and “display” for displaying the electronic document on the monitor of the printer 3 is “permitted”. Furthermore, the software operation of the printer 3 can be directly designated as the setting value of the item. For example, “immediately delete” is set as “processing after printing” which is processing for the electronic document after the electronic document is printed by the printer 3. As a method for specifying the operation of the software of the printer 3, a script language that can be directly processed by the software of the printer 3 may be used.

表3の示した付加情報は一例であって、付加情報に含まれる各エントリ項目の条件の組み合わせや、印刷後の処理内容の記述は自由に設定してよい。そのことにより、コンピュータ1から送信する電子文書の内容によってプリンタ3における電子文書の処理の許可可能なレベルを制御することができる。したがって、電子文書に関するセキュリティポリシーのコントロールを、情報の送り手、すなわちコンピュータ1の利用者の側で適切に行なうことができるというメリットがある。たとえば、第3者に内容を知られるべきではない重要な電子文書については、表3の付加情報の例が適当である。一方、電子文書の内容がパブリックなものの場合、転送の項目を許可にすることによって、別のプリンタ3にジョブを転送して同時進行で分担印刷することによって高速に印刷を完了することも可能となる。コンピュータ1におけるより具体的な付加情報の各エントリ項目の設定方法としては、典型的な各エントリ項目の条件組み合わせを数パターン用意しておき、コンピュータ1で電子文書を暗号化する際に、電子文書の内容に応じてコンピュータ1の利用者が、いくつかあるパターンの付加情報から選択するという方法がある。プリンタ3における電子文書の処理の許可可能なレベルの例としては、他にも、コピー禁止のウォーターマーク付きでのみ印刷を許可することや、低い解像度でしか印刷できないなどの制限付き権限を設定してもよい。この制限例では、印刷後の電子文書の扱われ方までも、ある程度制御することが可能となる。   The additional information shown in Table 3 is an example, and a combination of conditions of each entry item included in the additional information and a description of processing contents after printing may be freely set. As a result, the permissible level of electronic document processing in the printer 3 can be controlled according to the contents of the electronic document transmitted from the computer 1. Therefore, there is a merit that the security policy regarding the electronic document can be appropriately controlled by the information sender, that is, the user of the computer 1. For example, for an important electronic document whose contents should not be known to a third party, the example of additional information in Table 3 is appropriate. On the other hand, if the contents of the electronic document are public, by enabling the transfer item, it is possible to complete the printing at high speed by transferring the job to another printer 3 and performing shared printing simultaneously. Become. As a more specific setting method of each entry item of additional information in the computer 1, several patterns of typical condition combinations of each entry item are prepared, and the electronic document is encrypted when the computer 1 encrypts the electronic document. There is a method in which the user of the computer 1 selects from some additional information of a certain pattern in accordance with the contents of. Other examples of acceptable levels of electronic document processing in the printer 3 include setting a limited authority such as permitting printing only with a copy-prohibited watermark or printing only at a low resolution. May be. In this restriction example, it is possible to control to some extent even how the electronic document after printing is handled.

図9は、第1の実施の形態に係る電子メールに添付される各種情報のフォーマットを示す図である。図9を参照して、電子文書7および付加情報8が、使い捨て暗号鍵6Aで暗号化されており、さらに無作為抽出文字列5が、暗号化された電子文書7および付加情報8に追加されている。電子文書7および付加情報8が暗号化された暗号化情報9、ならびに、無作為抽出文字列5のそれぞれの情報は個別ファイルとなっていてもよいし、1つのファイルとしてまとめられてから添付されてもよい。1つのファイルとしてまとめられる場合には、それぞれの情報の区切りを判別するための、区切り文字列など特定の情報を別途挿入する必要がある。ここで盗聴に対するリスクを評価すると、電子文書7については、その内容が参照されないという意味で、通信路上での盗聴に効果がある。付加情報8については、通信路上での盗聴に対して、プリンタ3で適用されるセキュリティ条件を参照されないようにする効果がある。無作為抽出文字列5については、通信路上で盗聴されても、コンピュータ1の共有鍵4Aまたは携帯電話2の共有鍵4Bを保有していない限り、使い捨て暗号鍵6A,6Bを演算できない。よって、ここでは無作為抽出文字列5に暗号化を実施しない。また、暗号化を実施しないことは、携帯電話2などハードウェアスペックの低い出力装置の負担を軽減する効果もあり、ひいては携帯電話2の利用者の作業効率の向上する効果につながる。   FIG. 9 is a diagram showing a format of various information attached to the electronic mail according to the first embodiment. Referring to FIG. 9, electronic document 7 and additional information 8 are encrypted with disposable encryption key 6 </ b> A, and further randomly extracted character string 5 is added to encrypted electronic document 7 and additional information 8. ing. Each information of the encrypted information 9 obtained by encrypting the electronic document 7 and the additional information 8 and the randomly extracted character string 5 may be an individual file, or may be attached after being collected as one file. May be. When the files are collected as one file, it is necessary to insert specific information such as a delimiter character string for determining the delimiter of each information. If the risk of eavesdropping is evaluated here, the electronic document 7 is effective in eavesdropping on the communication path in the sense that the content is not referred to. The additional information 8 has an effect of preventing the security conditions applied by the printer 3 from being referred to for eavesdropping on the communication path. Even if the random extracted character string 5 is wiretapped on the communication path, the disposable encryption keys 6A and 6B cannot be calculated unless the shared key 4A of the computer 1 or the shared key 4B of the mobile phone 2 is held. Therefore, encryption is not performed on the randomly extracted character string 5 here. Further, not performing encryption also has an effect of reducing the burden on an output device having a low hardware specification such as the mobile phone 2, which in turn leads to an effect of improving the work efficiency of the user of the mobile phone 2.

なお、図9において、電子文書7と付加情報8を併せて暗号化すると記したが、付加情報8がなくとも、使い捨て暗号鍵6Bの入手経路に基づいて、ある程度の制御を可能としてもよい。たとえば、暗号化された電子文書7を処理する各端末において、使い捨て暗号鍵6Bを無作為抽出文字列5と共有鍵4Bに基づく演算で生成した場合には、電子文書7を処理する際に限定する権限がない様にあらかじめ割り当てられており、一方、使い捨て暗号鍵6Bを別の端末から受信した場合には、電子文書7を表示や印刷は可能であるが、内部記憶領域に保存するこができないという限定的な処理権限があらかじめ割り当てられているケースがこれに該当する。   In FIG. 9, it is described that the electronic document 7 and the additional information 8 are encrypted together. However, even if there is no additional information 8, some control may be possible based on the acquisition path of the disposable encryption key 6B. For example, in each terminal that processes the encrypted electronic document 7, when the disposable encryption key 6B is generated by an operation based on the randomly extracted character string 5 and the shared key 4B, it is limited to processing the electronic document 7. On the other hand, when the disposable encryption key 6B is received from another terminal, the electronic document 7 can be displayed and printed, but can be stored in the internal storage area. This case corresponds to a case where a limited processing authority that cannot be performed is assigned in advance.

図10は、第1の実施の形態に係るコンピュータ1および携帯電話2の処理シーケンス図である。図10を参照して、ステップS1101において、コンピュータ1のCPU11は、電子メールを送信する相手先の携帯電話2を指定する。具体的には、相手先として電子メールアドレスが指定される。   FIG. 10 is a processing sequence diagram of the computer 1 and the mobile phone 2 according to the first embodiment. Referring to FIG. 10, in step S <b> 1101, CPU 11 of computer 1 designates destination mobile phone 2 to which an electronic mail is transmitted. Specifically, an e-mail address is designated as the other party.

ステップS1102において、CPU11は、コンピュータ1から携帯電話2に送る電子文書を選択する。同時に、電子文書7が携帯電話2からプリンタ3に転送され印刷されることを想定して、プリンタ3においてこの電子文書7を処理する際の制限事項を記述した付加情報8を適当に選択する。   In step S1102, the CPU 11 selects an electronic document to be sent from the computer 1 to the mobile phone 2. At the same time, assuming that the electronic document 7 is transferred from the mobile phone 2 to the printer 3 and printed, the additional information 8 describing restrictions on processing of the electronic document 7 in the printer 3 is appropriately selected.

ステップS1103では、CPU11は、無作為抽出文字列生成部111において無作為抽出文字列5を生成する。   In step S <b> 1103, the CPU 11 generates a random extraction character string 5 in the random extraction character string generation unit 111.

ステップS1104では、CPU11は、ステップS1103で生成した無作為抽出文字列5と、共有鍵情報管理部163で管理されている共有鍵4Aの中から、ステップS1101で指定された電子メールアドレスを条件として選択された共有鍵4Aを利用して、使い捨て暗号鍵6Aの演算を行なう。   In step S1104, the CPU 11 uses the randomly extracted character string 5 generated in step S1103 and the shared key 4A managed by the shared key information management unit 163 as a condition based on the e-mail address specified in step S1101. Calculation of the disposable encryption key 6A is performed using the selected shared key 4A.

ステップS1105では、CPU11は、使い捨て暗号鍵6Aを用いて、ステップS1102で選択した電子文書7と付加情報8との暗号化処理を行なう。ここで暗号化方式はブロック暗号化方式とするが、具体的には特に規定しない。使い捨て暗号鍵6Aの長さが不足する場合には適当にパディングを行ない、逆に長い場合にはハッシュを計算しそれを使い捨て暗号鍵6Aとしてもよい。   In step S1105, the CPU 11 performs encryption processing of the electronic document 7 selected in step S1102 and the additional information 8 using the disposable encryption key 6A. Here, the encryption method is a block encryption method, but is not specifically defined. If the length of the disposable encryption key 6A is insufficient, padding is performed appropriately, and if it is long, a hash may be calculated and used as the disposable encryption key 6A.

ステップS1106では、CPU11は、暗号化された暗号化情報9(電子文書7と付加情報8)と無作為抽出文字列5とを添付ファイルとして電子メールを作成し、宛先をステップS1101で指定した相手先の携帯電話2とし、電子メールを送信する。   In step S1106, the CPU 11 creates an e-mail with the encrypted encrypted information 9 (electronic document 7 and additional information 8) and the randomly extracted character string 5 as an attached file, and the destination specified in step S1101 The mobile phone 2 is used to send an e-mail.

ステップS1107では、携帯電話2のCPU21は、コンピュータ1から送信された電子メールを受信する。   In step S <b> 1107, the CPU 21 of the mobile phone 2 receives the email transmitted from the computer 1.

ステップS1108では、CPU21は、電子メールの添付ファイルから、無作為抽出文字列5と暗号化された暗号化情報9とをそれぞれ抽出する。   In step S1108, the CPU 21 extracts the randomly extracted character string 5 and the encrypted encrypted information 9 from the attached file of the e-mail.

ステップS1109では、他の装置から使い捨て暗号鍵6Bを受信していない場合には、CPU21は、無作為抽出文字列5と、携帯電話2の共有鍵情報管理部263に管理されている共有鍵4Bを利用して、使い捨て暗号鍵6Bを演算する。   In step S1109, when the disposable encryption key 6B has not been received from another device, the CPU 21 manages the randomly extracted character string 5 and the shared key 4B managed by the shared key information management unit 263 of the mobile phone 2. Is used to calculate the disposable encryption key 6B.

ステップS1110では、CPU21は、演算された使い捨て暗号鍵6Bを一時的に認証状態記憶部221に記憶させる。このとき、CPU21は、使い捨て暗号鍵6Bが無作為抽出文字列5と共有鍵4Bとを元に携帯電話2内で演算されて生成されたことを示す使い捨て暗号鍵生成フラグをONにする。さらに、CPU21は、メール処理部214で電子メールのヘッダ情報に含まれるメッセージIDと、電子メールのSubjectとを読出し、読出されたメッセージIDとSubjectとを認証状態記憶部221に、使い捨て暗号鍵6Bおよび使い捨て暗号鍵生成フラグと紐付けされる形で記憶させる。   In step S1110, the CPU 21 temporarily stores the calculated disposable encryption key 6B in the authentication state storage unit 221. At this time, the CPU 21 turns ON a disposable encryption key generation flag indicating that the disposable encryption key 6B is calculated and generated in the mobile phone 2 based on the randomly extracted character string 5 and the shared key 4B. Further, the CPU 21 reads out the message ID included in the header information of the e-mail and the e-mail subject in the e-mail processing unit 214, and reads the read message ID and the subject in the authentication state storage unit 221, and the disposable encryption key 6B. And stored in a form associated with the disposable encryption key generation flag.

ステップS1111では、CPU21は、使い捨て暗号鍵6Bを使用して、暗号化された暗号化情報9から電子文書7と付加情報8とを復号する。   In step S1111, the CPU 21 decrypts the electronic document 7 and the additional information 8 from the encrypted encrypted information 9 using the disposable encryption key 6B.

ステップS1113では、CPU21は、使い捨て暗号鍵生成フラグがONの場合には、実行する処理をステップS1112へ進める。OFFの場合には、CPU21は、実行する処理をステップS1114へ進める。   In step S1113, if the disposable encryption key generation flag is ON, the CPU 21 advances the process to be executed to step S1112. If it is OFF, the CPU 21 advances the process to be executed to step S1114.

ステップS1112では、CPU21は、復号された電子文書7を閲覧可能なように表示する。   In step S1112, the CPU 21 displays the decrypted electronic document 7 so that it can be browsed.

ステップS1114では、CPU21は、付加情報8に記述された情報に従って復号された電子文書7を処理する。   In step S1114, the CPU 21 processes the decrypted electronic document 7 in accordance with the information described in the additional information 8.

次に、携帯電話2の利用者が復号した電子文書7を閲覧した後、紙に印刷したいと思った場合、この電子文書を公共施設に設置してあるプリンタ3において印刷する処理を説明する。   Next, when the user of the mobile phone 2 browses the decrypted electronic document 7 and wants to print it on paper, a process for printing the electronic document on the printer 3 installed in the public facility will be described.

図11は、第1の実施の形態に係る携帯電話2およびプリンタ3の処理シーケンス図である。図11を参照して、ステップS1201では、携帯電話2のCPU21は、コンピュータ1から受信した電子メールをプリンタ3に転送する。このとき電子メールの添付ファイル(電子文書7と付加情報8とを暗号化した暗号化情報9および無作為抽出文字列5)は添付されたまま電子メールが転送される。   FIG. 11 is a processing sequence diagram of the mobile phone 2 and the printer 3 according to the first embodiment. Referring to FIG. 11, in step S <b> 1201, CPU 21 of mobile phone 2 transfers the e-mail received from computer 1 to printer 3. At this time, the e-mail is transferred while the attached file of the e-mail (encrypted information 9 obtained by encrypting the electronic document 7 and the additional information 8 and the randomly extracted character string 5) is attached.

なお、一般的に行なわれているように、PDF(Portable Document Format)ファイルやJPEG(Joint Photographic Experts Group)ファイルなど一般的なファイルフォーマットについては、コンピュータ1のプリンタドライバなしでファイルを印刷する機能を実現するために、プリンタ3は、コンピュータ1のプリンタドライバに相当する機能を実装する。そして、プリンタ3それぞれに電子メールアドレスが割り当てられ、プリンタ3に実装されたメールクライアント機能によって電子メールが受信され、添付ファイルとして受信されたPDFファイルやJPEGファイルの内容が印刷される。   Note that, as is commonly done, a general file format such as a PDF (Portable Document Format) file or a JPEG (Joint Photographic Experts Group) file has a function of printing a file without the printer driver of the computer 1. To achieve this, the printer 3 has a function corresponding to the printer driver of the computer 1. Then, an e-mail address is assigned to each printer 3, an e-mail is received by a mail client function installed in the printer 3, and the contents of the PDF file or JPEG file received as an attached file are printed.

ステップS1202では、プリンタ3のCPU31は、携帯電話2から転送された電子メールを受信する。   In step S <b> 1202, the CPU 31 of the printer 3 receives the email transferred from the mobile phone 2.

ステップS1203では、CPU31は、電子メールの添付ファイルから、暗号化された暗号化情報9を抽出する。さらに、CPU31は、ジョブ保留部319に印刷待ちジョブとして保存する。このとき、電子メールのヘッダ情報に含まれるメッセージIDをインデックス情報とする。つまり、ジョブ保留部319に保留されるジョブは、メッセージIDをキーとして検索することができるように管理される。   In step S1203, the CPU 31 extracts the encrypted encryption information 9 from the attached file of the e-mail. Further, the CPU 31 stores the job holding unit 319 as a print waiting job. At this time, the message ID included in the header information of the electronic mail is used as index information. That is, the job held in the job holding unit 319 is managed so that it can be searched using the message ID as a key.

ステップS1204では、携帯電話2の利用者がプリンタ3の前まで移動を完了した段階で、携帯電話2のCPU21は、まず赤外線通信を利用して、ステップS1201で転送した電子メールのメッセージIDをプリンタ3に転送する。プリンタ3のCPU31は、このメッセージIDに該当するジョブが保留中であることを確認し、その旨を携帯電話2に返答する。CPU21は、通信中のプリンタ3が、転送した電子メールの宛先のプリンタ3であることを確認し、プリンタ3を認証する。   In step S1204, when the user of the mobile phone 2 completes the movement to the front of the printer 3, the CPU 21 of the mobile phone 2 first uses the infrared communication to set the message ID of the e-mail transferred in step S1201 to the printer. Forward to 3. The CPU 31 of the printer 3 confirms that the job corresponding to this message ID is on hold and returns a message to that effect to the mobile phone 2. The CPU 21 confirms that the printer 3 in communication is the destination printer 3 of the transferred e-mail, and authenticates the printer 3.

プリンタ3を認証した場合、CPU21は、携帯電話2の認証状態記憶部221に一時記憶されている使い捨て暗号鍵6Bを赤外線通信を利用してプリンタ3に送信する。プリンタ3で該当するジョブが保留中でなかった場合には、携帯電話2の画面上にメール転送が未到着であるので、CPU21は、その旨表示する。メール転送先のプリンタ3とは別のプリンタ3に対してプリンタ認証を実施した場合はこのような状態になる。なお、携帯電話2によるプリンタ3の認証は、プリンタ3の電子メールアドレスを確認するなど、別の方法を併用してもよく、それによってより認証に関するセキュリティを高くする効果がある。   When the printer 3 is authenticated, the CPU 21 transmits the disposable encryption key 6B temporarily stored in the authentication state storage unit 221 of the mobile phone 2 to the printer 3 using infrared communication. If the corresponding job is not on hold in the printer 3, the mail transfer has not arrived on the screen of the mobile phone 2, so the CPU 21 displays that fact. This is the case when printer authentication is performed for a printer 3 other than the mail transfer destination printer 3. For the authentication of the printer 3 by the mobile phone 2, another method such as confirmation of the e-mail address of the printer 3 may be used in combination, which has the effect of increasing the security related to the authentication.

ステップS1205では、CPU31は、使い捨て鍵取得部312で使い捨て暗号鍵6Bを受信し、認証状態記憶部321に一時的に記憶させる。このとき、CPU31は、使い捨て暗号鍵6Bを無作為抽出文字列5と共有鍵4Bとから演算して生成していないので、CPU31は、使い捨て暗号鍵6Bが無作為抽出文字列5と共有鍵4Bとを元にプリンタ3内で演算されて生成されたことを示す使い捨て暗号鍵生成フラグをOFFにする。   In step S <b> 1205, the CPU 31 receives the disposable encryption key 6 </ b> B at the disposable key acquisition unit 312 and temporarily stores it in the authentication state storage unit 321. At this time, since the CPU 31 does not generate the disposable encryption key 6B from the randomly extracted character string 5 and the shared key 4B, the CPU 31 determines that the disposable encryption key 6B is the randomly extracted character string 5 and the shared key 4B. Based on the above, the disposable encryption key generation flag indicating that it has been calculated and generated in the printer 3 is turned OFF.

ステップS1206では、CPU31は、ステップS1204のメッセージIDでジョブ保留部319内に保存された印刷待ちジョブを検索して得られた暗号化情報9を使い捨て暗号鍵6Bで復号し、電子文書7と付加情報8を得る。   In step S1206, the CPU 31 decrypts the encrypted information 9 obtained by searching for the job waiting for printing stored in the job holding unit 319 with the message ID in step S1204 using the disposable encryption key 6B, and adds it to the electronic document 7. Information 8 is obtained.

ステップS1209では、使い捨て暗号鍵生成フラグがONの場合には、CPU31は、実行する処理をステップS1210へ進める。OFFの場合には、CPU31は、実行する処理をステップS1207へ進める。なお、ステップS1205で使い捨て暗号鍵生成フラグをOFFにするため、通常はステップS1210への分岐は行なわれない。しかし、プリンタ3が電子文書を復号するための鍵を共有鍵と無作為抽出文字列とから演算して生成するようにした場合には、実行する処理がステップS1210へ進められる。   If the disposable encryption key generation flag is ON in step S1209, the CPU 31 advances the process to be executed to step S1210. If it is OFF, the CPU 31 advances the process to be executed to step S1207. Since the disposable encryption key generation flag is turned off in step S1205, the branch to step S1210 is not normally performed. However, if the printer 3 generates and generates a key for decrypting the electronic document from the shared key and the randomly extracted character string, the process to be executed proceeds to step S1210.

ステップS1207では、認証状態記憶部321の使い捨て暗号鍵生成フラグがOFFであるので、CPU31は、付加情報8を参照し、印刷が可能である場合には、電子文書7を印刷する。   In step S1207, since the disposable encryption key generation flag of the authentication status storage unit 321 is OFF, the CPU 31 refers to the additional information 8 and prints the electronic document 7 when printing is possible.

ステップS1208では、認証状態記憶部の使い捨て暗号鍵生成ラグがOFFであるので、CPU31は、付加情報8を参照し、電子文書7の印刷が終わったら直ちに電子メールの添付ファイル、使い捨て暗号鍵6B、および、復号した電子文書7と付加情報8の電子文書7に関するすべてのデータを削除する。   In step S1208, since the disposable encryption key generation lag in the authentication status storage unit is OFF, the CPU 31 refers to the additional information 8 and immediately after printing the electronic document 7, the attached file of the email, the disposable encryption key 6B, And all the data regarding the decrypted electronic document 7 and the electronic document 7 of the additional information 8 are deleted.

ステップS1210では、CPU31は、電子文書7の印刷を行なう。この場合は、電子文書7の処理は特に制限されていない。   In step S1210, the CPU 31 prints the electronic document 7. In this case, the processing of the electronic document 7 is not particularly limited.

以上では、サービス提供装置はコンピュータ1、第1の出力装置を携帯電話2、第2の出力装置をプリンタ3として第1の実施の形態を説明した。しかし、これに限定されず、サービス提供装置をコンピュータ1と異なるコンピュータとしてもよいし、第1の出力装置を携帯電話2と異なる出力装置であるPDA(Personal Digital Assistance)やノートPC(Personal Computer)としてもよいし、第2の出力装置をプリンタ3と異なる出力装置であるテレビ、プロジェクタ装置、PCなどとしてもよい。   In the above, the first embodiment has been described in which the service providing device is the computer 1, the first output device is the mobile phone 2, and the second output device is the printer 3. However, the present invention is not limited to this, and the service providing device may be a computer different from the computer 1, and the first output device is a PDA (Personal Digital Assistance) or notebook PC (Personal Computer) which is an output device different from the mobile phone 2. Alternatively, the second output device may be a TV, a projector device, a PC, or the like, which is an output device different from the printer 3.

(第1の実施の形態の第1の変形例)付加情報に印刷メタ情報
第1の実施の形態では、付加情報8としてプリンタ3における電子文書7の処理に関する制限事項を記述した。本第1の変形例では、付加情報8として印刷する際に利便性の高い情報である電子文書7のメタデータを付加する場合を記載する。このような付加情報8により、これまでプリンタ3での印刷処理時間を短縮し利便性が向上し、プリンタ3のコストダウンにつながる。
(First Modification of First Embodiment) Print Meta Information as Additional Information In the first embodiment, the additional information 8 describes restrictions on processing of the electronic document 7 in the printer 3. In the first modification, a case will be described in which metadata of the electronic document 7 that is highly convenient information is added when printing as the additional information 8. Such additional information 8 shortens the printing processing time in the printer 3 so far, improves convenience, and leads to cost reduction of the printer 3.

Figure 0004584071
Figure 0004584071

表4に付加情報8の一例を示す。本変形例では、付加情報8によってプリンタ3で電子文書7を処理する際に利便性の高い情報を記述している。表4を参照して、付加情報8は、ページ数として、電子文書に含まれる総ページ数の情報を含む。プリンタ3では、電子文書7を印刷するために、電子文書7全体を解析し、印刷するためのイメージを生成するリッピング処理を行なう。電子文書の総ページ数は、プリンタ3においてこのリッピング処理がすべて完了して初めて明らかになる情報である。プリンタ3でこのリッピング処理行なう前に電子文書のページ数が分かれば、プリンタ3において印刷ページ数に応じて課金される場合、時間かかるリッピング処理が完了する前に、印刷に掛かる料金が確認できる。このため、利用者の利便性が向上する。   Table 4 shows an example of the additional information 8. In this modification, highly convenient information is described when the electronic document 7 is processed by the printer 3 using the additional information 8. Referring to Table 4, the additional information 8 includes information on the total number of pages included in the electronic document as the number of pages. In order to print the electronic document 7, the printer 3 analyzes the entire electronic document 7 and performs a ripping process for generating an image for printing. The total number of pages of the electronic document is information that becomes apparent only after the ripping process is completed in the printer 3. If the number of pages of the electronic document is known before the ripping process is performed by the printer 3, if the printer 3 is charged according to the number of printed pages, the charge for printing can be confirmed before the time-consuming ripping process is completed. For this reason, user convenience is improved.

また、付加情報8は、カラー/白黒の情報として、電子文書7に含まれる内容がカラーか白黒かを示す情報を含む。このカラー/白黒の情報も、ページ数の情報と同様に、印刷前の課金のための情報として利用可能である。このため、時間の掛かるリッピング処理が完了する前に、印刷に掛かる料金が確認できるという利用者メリットがある。   The additional information 8 includes information indicating whether the content included in the electronic document 7 is color or monochrome as color / monochrome information. This color / monochrome information can also be used as information for billing before printing, like the information on the number of pages. For this reason, there is a user merit that the charge for printing can be confirmed before the time-consuming ripping process is completed.

さらに、付加情報8は、サムネイルの情報として、電子文書7の各ページのサムネイル画像のデータを含む。このサムネイルの情報によって、時間の掛かるリッピング処理が完了する前に、利用者は印刷する電子文書7のプレビューを確認することができる。このため、利用者のメリットがある。   Further, the additional information 8 includes thumbnail image data of each page of the electronic document 7 as thumbnail information. With this thumbnail information, the user can confirm the preview of the electronic document 7 to be printed before the time-consuming ripping process is completed. For this reason, there is a merit for the user.

電子文書の総ページ数やカラー情報はコンピュータ1によって容易に取得できる情報であるので、コンピュータ1は、総ページ数およびカラー情報を付加情報として容易に追加することができる。また、サムネイル画像についても同様で、JPEGやTIFF(Tagged Image File Format)などの画像フォーマットをコンピュータ1で処理できるのであれば、コンピュータ1は、その画像フォーマットで電子文書の各ページのサムネイルを生成して、生成されたサムネイルを付加情報8として容易に追加することができる。   Since the total page number and color information of the electronic document are information that can be easily obtained by the computer 1, the computer 1 can easily add the total page number and color information as additional information. The same applies to thumbnail images. If the computer 1 can process an image format such as JPEG or TIFF (Tagged Image File Format), the computer 1 generates a thumbnail for each page of the electronic document in that image format. Thus, the generated thumbnail can be easily added as the additional information 8.

このように、本来はプリンタ3で行なう印刷の前処理である、ページ数のカウントや、カラーの判定、サムネイルの構成をコンピュータ1で予め行なう。これによって、開発コストの高いプリンタ組み込みソフトウェアの代わりに、より汎用的なコンピュータ1のソフトウェアを用いることができる。このため、プリンタ組み込みソフトウェアを開発しなくてよい。その結果、プリンタ3自体のコストダウンが可能となる。   As described above, the computer 1 performs in advance the count of pages, the determination of color, and the configuration of thumbnails, which are the pre-processing of printing originally performed by the printer 3. Accordingly, more general-purpose software of the computer 1 can be used instead of the printer-embedded software having a high development cost. For this reason, it is not necessary to develop printer embedded software. As a result, the cost of the printer 3 itself can be reduced.

また、第1の実施の形態では、付加情報8は携帯電話2では用いなかった。しかし、携帯電話2での電子文書7の閲覧のために利用可能な情報、たとえば、各ページのサムネイル画像などは当然利用するようにしてもよい。   In the first embodiment, the additional information 8 is not used in the mobile phone 2. However, information that can be used for browsing the electronic document 7 on the mobile phone 2, for example, thumbnail images of each page may be used.

(第1の実施の形態の第2の変形例)ソルト
第1の実施の形態では、電子文書7と付加情報8とが暗号化された暗号化情報9と無作為抽出文字列5とを電子メールの添付ファイルとして、コンピュータ1から携帯電話2に送信していた。電子文書7および付加情報8は暗号化されていたが、無作為抽出文字列5については暗号化されていなかった。これにより、携帯電話2での復号にかかる処理を軽減する効果がある。
(Second Modification of the First Embodiment) Salt In the first embodiment, the encrypted information 9 obtained by encrypting the electronic document 7 and the additional information 8 and the randomly extracted character string 5 are converted into electronic data. It was transmitted from the computer 1 to the mobile phone 2 as an email attachment. The electronic document 7 and the additional information 8 were encrypted, but the randomly extracted character string 5 was not encrypted. As a result, there is an effect of reducing processing related to decryption in the mobile phone 2.

一方、この添付ファイル付きの電子メールは、携帯電話2からプリンタ3にメール転送される。電子メールに添付されている無作為抽出文字列5は平文のままプリンタ3で参照されることになる。さらに、携帯電話2は使い捨て暗号鍵6Bをプリンタ3に送信する。このため、プリンタ3は無作為抽出文字列5と使い捨て暗号鍵6Bとを参照できる。通常であれば、無作為抽出文字列5は共有鍵4Bとともに、適当な演算を通じて使い捨て暗号鍵6Bを生成するために利用される。このため、共有鍵4Bを保有していないプリンタ3は受信した無作為抽出文字列5を利用しないで、赤外線通信で得られた使い捨て暗号鍵6Bをそのまま利用する。   On the other hand, the e-mail with the attached file is transferred from the mobile phone 2 to the printer 3. The randomly extracted character string 5 attached to the e-mail is referred to by the printer 3 in plain text. Further, the mobile phone 2 transmits the disposable encryption key 6B to the printer 3. For this reason, the printer 3 can refer to the randomly extracted character string 5 and the disposable encryption key 6B. Normally, the randomly extracted character string 5 is used together with the shared key 4B to generate the disposable encryption key 6B through an appropriate calculation. For this reason, the printer 3 that does not have the shared key 4B does not use the received randomly extracted character string 5, but uses the disposable encryption key 6B obtained by infrared communication as it is.

しかし、悪意ある第3者によって、プリンタ3のソフトウェアが改造されることや、別のプリンタ3に置き換えられることにより、本来のプリンタ3に成りすまされた場合、無作為抽出文字列5と使い捨て暗号鍵6Bを盗聴されることになる。このため、結局総当り解析で共有鍵4Bを推定されるリスクが生まれる。共有鍵4Bを解析された場合、今後はコンピュータ1と携帯電話2との間の通信を解読することが可能となる。その結果として、システム全体のセキュリティが消滅する。   However, if a malicious third party modifies the software of the printer 3 or replaces it with another printer 3 to impersonate the original printer 3, the random extracted character string 5 and the disposable encryption The key 6B is wiretapped. For this reason, there is a risk that the shared key 4B is estimated by brute force analysis. If the shared key 4B is analyzed, communication between the computer 1 and the mobile phone 2 can be decrypted in the future. As a result, the security of the entire system is lost.

このようなプリンタ3や携帯電話2などの出力装置の成りすまし対策としては、出力装置のソフトウェアに予めハードコーディングされた秘密情報(ソルト)を設定し、電子文書7の暗号化には使い捨て暗号鍵6Bとソルトを演算した結果新たに得られる第2の使い捨て暗号鍵を利用する方法がある。出力装置における電子文書7の復号処理は第1の使い捨て暗号鍵6Bとソルトとを演算した結果得られる第2の使い捨て暗号鍵を利用する。携帯電話2からプリンタ3に赤外線通信で送信されるのは第1の使い捨て暗号鍵6Bである。   As a countermeasure against impersonation of the output device such as the printer 3 or the mobile phone 2, secret information (salt) hard-coded in advance is set in the software of the output device, and the disposable encryption key 6B is used to encrypt the electronic document 7. There is a method of using the second disposable encryption key newly obtained as a result of calculating the salt. The decryption process of the electronic document 7 in the output device uses the second disposable encryption key obtained as a result of calculating the first disposable encryption key 6B and the salt. The first disposable encryption key 6B is transmitted from the cellular phone 2 to the printer 3 by infrared communication.

この方法によると、暗号化電子文書処理システム10を構成するコンピュータ1、携帯電話2およびプリンタ3は、それぞれ共有の秘密情報(ソルト)をもつため、電子文書7を復号化することができる。一方、成りすましを試みる端末は秘密情報を持たないため、電子文書7を復号化することができない。その結果、システム全体のセキュリティを向上させることができる。   According to this method, the computer 1, the mobile phone 2, and the printer 3 constituting the encrypted electronic document processing system 10 each have shared secret information (salt), so that the electronic document 7 can be decrypted. On the other hand, since the terminal trying to impersonate does not have secret information, the electronic document 7 cannot be decrypted. As a result, the security of the entire system can be improved.

(第1の実施の形態の第3の変形例)無作為抽出文字列5を共有鍵4Aで暗号化
第1の実施の形態では、電子文書7と付加情報8とを暗号化された暗号化情報9と無作為抽出文字列5とを電子メールの添付ファイルとして、コンピュータ1から携帯電話2に送信するようにした。電子文書7および付加情報8は暗号化されていたが、無作為抽出文字列5については暗号化されていなかった。これは、携帯電話2での復号にかかる処理を少しでも軽減することを目的としたものである。上記、第1の実施の形態の第2の変形例で示したように、悪意のある第3者がプリンタ3への成りすましを行なうことによって、コンピュータ1および携帯電話2のそれぞれの共有鍵4A,4Bを推定されるリスクが発生する。
(Third Modification of First Embodiment) Randomly Extracted Character String 5 is Encrypted with Shared Key 4A In the first embodiment, encrypted electronic document 7 and additional information 8 are encrypted. The information 9 and the randomly extracted character string 5 are transmitted from the computer 1 to the mobile phone 2 as an email attachment. The electronic document 7 and the additional information 8 were encrypted, but the randomly extracted character string 5 was not encrypted. This is intended to alleviate the process of decryption by the mobile phone 2 as much as possible. As shown in the second modification of the first embodiment, when a malicious third party impersonates the printer 3, the shared keys 4A, 4A, There is a risk that 4B is estimated.

これに対して、無作為抽出文字列5を共有鍵4Aで暗号化する方法がある。図12は、第1の実施の形態の第3の変形例に係る電子メールに添付される各種情報のフォーマットを示す図である。第3の変形例においては、電子文書7と付加情報8を使い捨て暗号鍵6Aで暗号化した暗号化情報9、および、無作為抽出文字列5を共有鍵4Aによって暗号化した暗号化情報9Aが、それぞれ、添付ファイルとして電子メールに添付されるようにする。   On the other hand, there is a method of encrypting the randomly extracted character string 5 with the shared key 4A. FIG. 12 is a diagram illustrating a format of various types of information attached to an e-mail according to a third modification of the first embodiment. In the third modified example, there are encrypted information 9 obtained by encrypting the electronic document 7 and the additional information 8 with the disposable encryption key 6A, and encrypted information 9A obtained by encrypting the randomly extracted character string 5 with the shared key 4A. Each is attached to an e-mail as an attached file.

図13は、第1の実施の形態の第3の変形例に係るコンピュータ1の機能的構成を示すブロック図である。図6との相違部分のみを説明すると、第1暗号化部113Aは、使い捨て暗号鍵6Aで電子文書7および付加情報8の暗号化を行ない、メール処理部114に出力する。第2暗号化部113Bは、共有鍵4Aで無作為抽出文字列5の暗号化処理を行ない、メール処理部114に出力する。   FIG. 13 is a block diagram illustrating a functional configuration of the computer 1 according to the third modification example of the first embodiment. Explaining only the difference from FIG. 6, the first encryption unit 113A encrypts the electronic document 7 and the additional information 8 with the disposable encryption key 6A, and outputs it to the mail processing unit 114. The second encryption unit 113B performs encryption processing of the randomly extracted character string 5 using the shared key 4A, and outputs it to the mail processing unit 114.

図14は、第1の実施の形態の第3の変形例に係る携帯電話2の機能的構成を示すブロック図である。図7との相違部分のみを説明すると、第1復号部213Aは、暗号化された電子文書7を使い捨て暗号鍵6Bで復号する。第2復号部213Bは、暗号化された無作為抽出文字列5を共有鍵4Bで復号処理する。第2復号部213Bは、復号された無作為抽出文字列5を使い捨て鍵演算部212に出力する。   FIG. 14 is a block diagram illustrating a functional configuration of the mobile phone 2 according to a third modification of the first embodiment. Explaining only the difference from FIG. 7, the first decryption unit 213A decrypts the encrypted electronic document 7 with the disposable encryption key 6B. The second decryption unit 213B decrypts the encrypted randomly extracted character string 5 with the shared key 4B. The second decryption unit 213B outputs the decrypted randomly extracted character string 5 to the disposable key computation unit 212.

プリンタ3では、無作為抽出文字列5についてはいっさい処理しないため、プリンタ3のモジュール構成は第1の実施の形態と同じものをそのまま利用できる。   Since the printer 3 does not process any randomly extracted character string 5, the same module configuration as that of the first embodiment can be used as it is.

なお、無作為抽出文字列5を共有鍵4Aで暗号化する方法とは別に、プリンタ3の成りすまし対策としては、携帯電話2からプリンタ3に暗号化された電子文書7を転送する際に、電子メールに含まれる無作為抽出文字列5を削除してから転送するという方法もある。この場合図13および図14の共有鍵4A,4Bによる無作為抽出文字列5の暗号化処理および復号処理がそれぞれ不要になる。しかし、携帯電話2において、電子メールに添付される情報から無作為抽出文字列5を削除するという加工処理が必要になる。   In addition to the method of encrypting the randomly extracted character string 5 with the shared key 4A, as a countermeasure against impersonation of the printer 3, when transferring the encrypted electronic document 7 from the mobile phone 2 to the printer 3, There is also a method of transferring after deleting the randomly extracted character string 5 included in the mail. In this case, encryption processing and decryption processing of the randomly extracted character string 5 using the shared keys 4A and 4B in FIGS. 13 and 14 are not required. However, the mobile phone 2 requires a processing process of deleting the randomly extracted character string 5 from the information attached to the e-mail.

(第2の実施の形態)クーポン印刷
第1の実施の形態では、携帯電話2を保有する利用者が出張先などで電子文書7を安全に閲覧できるようにするため、コンピュータ1から携帯電話2に対して暗号化された電子文書7をメール送信し、さらに必要があれば、公共施設に設置されているプリンタ3で印刷するために、携帯電話2でコンピュータ1から受信した電子メールをプリンタ3に転送する例を示した。コンピュータ1から携帯電話2に電子文書7が送られる場合には、互いに共有鍵4A,4Bを共有するので暗号化された電子文書7と同時に配信される無作為抽出文字列5をもとに演算可能な使い捨て暗号鍵6Bを用いて、携帯電話2では暗号化された電子文書7を復号する。一方、携帯電話2とプリンタ3とに送られる場合には、プリンタ3において、上記の共有鍵4A,4Bのような共有秘密情報がないため、暗号化された電子文書7の復号に必要な使い捨て暗号鍵6Bが直接必要となるため、携帯電話2からプリンタ3に対して使い捨て暗号鍵6Bを赤外線通信で送信する。
(Second Embodiment) Coupon Printing In the first embodiment, the user who owns the mobile phone 2 can safely browse the electronic document 7 at a business trip destination or the like from the computer 1 to the mobile phone 2. The electronic document 7 encrypted with respect to the electronic mail 7 is sent by e-mail, and if necessary, the e-mail received from the computer 1 by the mobile phone 2 is printed by the printer 3 for printing by the printer 3 installed in the public facility. An example of forwarding to was shown. When the electronic document 7 is sent from the computer 1 to the mobile phone 2, since the shared keys 4A and 4B are shared with each other, the calculation is based on the randomly extracted character string 5 distributed simultaneously with the encrypted electronic document 7. The cellular phone 2 decrypts the encrypted electronic document 7 using the possible disposable encryption key 6B. On the other hand, when sent to the mobile phone 2 and the printer 3, the printer 3 does not have the shared secret information such as the shared keys 4A and 4B, and is therefore a disposable that is necessary for decrypting the encrypted electronic document 7. Since the encryption key 6B is required directly, the disposable encryption key 6B is transmitted from the mobile phone 2 to the printer 3 by infrared communication.

以下に示す第2の実施の形態に係る暗号化電子文書処理システム10では、携帯電話2を保有する一般利用者が電子クーポンをサービス提供サーバであるコンピュータ1から入手して、コンビニエンスストアなどの店舗で印刷する例を説明する。以下では電子文書7とは電子クーポンのことを示す。したがって、第2の実施の形態の電子クーポンは、第1の実施の形態での電子文書7と利用目的が異なる。   In the encrypted electronic document processing system 10 according to the second embodiment described below, a general user who owns the mobile phone 2 obtains an electronic coupon from the computer 1 which is a service providing server, and stores such as a convenience store An example of printing will be described. Hereinafter, the electronic document 7 indicates an electronic coupon. Therefore, the electronic coupon of the second embodiment has a different purpose of use from the electronic document 7 of the first embodiment.

携帯電話2を保有する一般利用者が、インターネットを介して電子文書7としての電子クーポンの配布サービスを実施するサービス提供サーバであるコンピュータ1から電子クーポンを電子メールで受信する。電子クーポンは、たとえばコンビニエンスストアや飲食店などの店舗で割引を適用するための券である。さらに、サービス提供サーバが提携する店舗のプリンタ3で、電子クーポンを無料で印刷するため、携帯電話2の利用者はコンピュータ1から受信した電子メールをプリンタ3に転送する。本実施例では、暗号化される電子文書7である電子クーポンが、一般利用者の携帯電話2において処理する際には制限がもうけられ、サーバと提携関係にある店舗のプリンタ3においてはその制限がない。さらに、プリンタ3において無料で印刷を行なうための特別な情報を、携帯電話2では不正に利用することを不可能にするための仕組みも含む。なお、本実施の形態に係るコンピュータ1、携帯電話2およびプリンタ3のハードウェアの内部構成は第1の実施の形態と同様であるので、説明はくりかえさない。   A general user who owns the mobile phone 2 receives the electronic coupon by e-mail from the computer 1 which is a service providing server that performs an electronic coupon distribution service as the electronic document 7 via the Internet. The electronic coupon is a ticket for applying a discount at a store such as a convenience store or a restaurant. Furthermore, the user of the mobile phone 2 transfers the e-mail received from the computer 1 to the printer 3 in order to print the electronic coupon free of charge at the printer 3 of the store with which the service providing server is affiliated. In the present embodiment, an electronic coupon, which is the electronic document 7 to be encrypted, is restricted when it is processed by the mobile phone 2 of a general user, and the restriction is imposed on the printer 3 of the store that is affiliated with the server. There is no. Furthermore, a mechanism for making it impossible for the mobile phone 2 to illegally use special information for performing free printing in the printer 3 is also included. Note that the internal configuration of the hardware of the computer 1, the mobile phone 2, and the printer 3 according to the present embodiment is the same as that of the first embodiment, and therefore description thereof will not be repeated.

図15は、第2の実施の形態に係る暗号化電子文書処理システム10A全体の構成図である。図15を参照して、この暗号化電子文書処理システム10Aには、サービス提供装置であるコンピュータ1Aと、第1の出力装置である携帯電話2Aと、公共の施設に設置された第2の出力装置であるプリンタ3Aとが存在している。また、それぞれの装置は通信ネットワーク100によって接続され、電子メールとWebとによって情報の受け渡しが可能となっている。電子メールは一般的なものであり、ファイルを添付して送受信することが可能である。   FIG. 15 is a configuration diagram of the entire encrypted electronic document processing system 10A according to the second embodiment. Referring to FIG. 15, this encrypted electronic document processing system 10A includes a computer 1A that is a service providing device, a mobile phone 2A that is a first output device, and a second output installed in a public facility. There is a printer 3A as a device. In addition, each device is connected by a communication network 100, and information can be exchanged by electronic mail and Web. E-mails are common and can be sent and received with files attached.

コンピュータ1Aは、第1の実施の形態のコンピュータ1の構成と同様である。第1の実施の形態ではコンピュータ1がパソコンであることとしていたが、第2の実施の形態ではコンピュータ1Aがサーバであることとする。なお、パソコンおよびサーバはそれぞれ同様のハードウェアで実現可能である。また、携帯電話2Aおよびプリンタ3Aは、第1の実施の形態の携帯電話2およびプリンタ3と同様の構成要素である。また、電子文書の暗号化に利用する使い捨て暗号鍵、無作為抽出文字列、共有鍵などの適用方法は、第1の実施の形態と同様である。一方、第2の実施の形態では、コンピュータ1Aおよびプリンタ3Aが、共有鍵を共有し、無作為抽出文字列を元に使い捨て暗号鍵を生成可能である。また、携帯電話2Aは、使い捨て暗号鍵を直接ダウンロードして入手する。   The computer 1A has the same configuration as that of the computer 1 according to the first embodiment. In the first embodiment, the computer 1 is a personal computer, but in the second embodiment, the computer 1A is a server. The personal computer and the server can be realized by similar hardware. Further, the mobile phone 2A and the printer 3A are the same components as the mobile phone 2 and the printer 3 of the first embodiment. In addition, the application method of the disposable encryption key, the randomly extracted character string, the shared key, etc. used for encrypting the electronic document is the same as that of the first embodiment. On the other hand, in the second embodiment, the computer 1A and the printer 3A can share a shared key and generate a disposable encryption key based on a randomly extracted character string. Further, the mobile phone 2A directly downloads and obtains the disposable encryption key.

図16は、第2の実施の形態に係るコンピュータ1A、携帯電話2Aおよびプリンタ3Aの間の共有鍵と無作為抽出文字列と使い捨て暗号鍵との流通を示すシーケンス図である。   FIG. 16 is a sequence diagram showing distribution of a shared key, a randomly extracted character string, and a disposable encryption key among the computer 1A, the mobile phone 2A, and the printer 3A according to the second embodiment.

ステップS2601において、コンピュータ1Aおよびプリンタ3Aでは、共有鍵4C,4Dが、それぞれの共有鍵情報管理部において予め保持される。   In step S2601, in the computer 1A and the printer 3A, the shared keys 4C and 4D are held in advance in the respective shared key information management units.

ステップS2602において、コンピュータ1Aで無作為抽出文字列5Aが新規に生成され、共有鍵4Cと無作為抽出文字列5Aとが利用されて、使い捨て暗号鍵6Cを生成する演算が行なわれる。   In step S2602, a randomly extracted character string 5A is newly generated by the computer 1A, and an operation for generating a disposable encryption key 6C is performed using the shared key 4C and the randomly extracted character string 5A.

ステップS2603において、ステップS2603の演算の結果、使い捨て暗号鍵6Cが得られる。使い捨て暗号鍵6Cは、電子クーポンと付加情報との暗号化に利用される。   In step S2603, the disposable encryption key 6C is obtained as a result of the calculation in step S2603. The disposable encryption key 6C is used for encryption of the electronic coupon and the additional information.

ステップS2604において、ステップS2602のコンピュータ1Aで生成された無作為抽出文字列5Aは、共有鍵4Cで暗号化された後、電子メールによって携帯電話2Aに送信される。   In step S2604, the randomly extracted character string 5A generated by the computer 1A in step S2602 is encrypted with the shared key 4C and then transmitted to the mobile phone 2A by electronic mail.

ステップS2605において、ステップS2603のコンピュータ1Aで生成された使い捨て暗号鍵6Cは、Webによって携帯電話2Aにダウンロードされ、暗号化された電子クーポンの復号に利用される。   In step S2605, the disposable encryption key 6C generated by the computer 1A in step S2603 is downloaded to the mobile phone 2A via the Web and used for decrypting the encrypted electronic coupon.

ステップS2606において、携帯電話2Aにおいて共有鍵4Cで暗号化された状態で保持されていた無作為抽出文字列5Bは、電子メールによってプリンタ3Aで受信される。無作為抽出文字列5Bは、共有鍵4Dで復号されて、平文の無作為抽出文字列5Aが得られる。さらに、共有鍵4Dと無作為抽出文字列5Aとが利用されて、使い捨て暗号鍵6Dの演算が行なわれる。   In step S2606, the randomly extracted character string 5B held in the state encrypted with the shared key 4C in the mobile phone 2A is received by the printer 3A by e-mail. The randomly extracted character string 5B is decrypted with the shared key 4D, and a plaintext randomly extracted character string 5A is obtained. Further, the disposable key 6D is calculated using the shared key 4D and the randomly extracted character string 5A.

ステップS2607において、ステップS2606の演算の結果、使い捨て暗号鍵6Dが得られる。使い捨て暗号鍵6Dはプリンタ3Aでの電子クーポンの復号に利用される。   In step S2607, the disposable encryption key 6D is obtained as a result of the calculation in step S2606. The disposable encryption key 6D is used for decrypting the electronic coupon by the printer 3A.

携帯電話2Aでは、ステップS2605に示すように、コンピュータ1Aから直接、使い捨て暗号鍵6Cが取得されるので、認証状態記憶部の使い捨て暗号鍵生成フラグがOFFにされ、さらに付加情報処理部はこのフラグ状態を参照して、電子クーポンの処理に付加情報が適用される。一方、プリンタ3Aでは、ステップS2607に示すように、無作為抽出文字列5Aと共有鍵4Dとを元に使い捨て暗号鍵6Dが生成されるので、認証状態記憶部の使い捨て暗号鍵生成フラグがONにされる。   In the mobile phone 2A, as shown in step S2605, the disposable encryption key 6C is acquired directly from the computer 1A, so the disposable encryption key generation flag in the authentication status storage unit is turned OFF, and the additional information processing unit With reference to the state, the additional information is applied to the processing of the electronic coupon. On the other hand, in the printer 3A, as shown in step S2607, the disposable encryption key 6D is generated based on the randomly extracted character string 5A and the shared key 4D. Therefore, the disposable encryption key generation flag in the authentication status storage unit is set to ON. Is done.

図17は、第2の実施の形態に係るコンピュータ1Aの機能的構成を示すブロック図である。図17によると、コンピュータ1Aは、携帯電話2Aに送るべき電子クーポンを固定ディスク16に保管する文書データベース部161と、携帯電話2Aで電子クーポンを処理する際の制限事項を記述した第1付加情報を固定ディスク16で管理する第1付加情報管理部162Aと、プリンタ3Aとコンピュータ1Aとで共有する共有鍵情報を固定ディスク16で管理する共有鍵情報管理部163Aと、毎回異なる使い捨て暗号鍵を生成するための無作為抽出文字列5Aを生成するための無作為抽出文字列生成部111と、共有鍵4Cと無作為抽出文字列5Aより使い捨て暗号鍵6Cを演算する使い捨て鍵演算部112と、使い捨て暗号鍵6Cで電子クーポンおよび第1付加情報の暗号化を行なう第1暗号化部113Cと、プリンタ3Aで電子クーポンを処理する際の第2付加情報を管理する第2付加情報管理部162Bと、共有鍵4Cで無作為抽出文字列5Aおよび第2付加情報の暗号化を行なう第2暗号化部113Dとを含む。さらに、電子メールを作成するメール処理部114と、通信IF15を制御して通信ネットワーク100に接続された他の装置との通信を行なう通信制御部115と、使い捨て暗号鍵6Cを配信するWeb処理部116を含む。なお、Web処理部116はSSL(Secure Socket Layer)など通信路上の暗号化処理機能をサポートするものであるものが望ましい。   FIG. 17 is a block diagram illustrating a functional configuration of a computer 1A according to the second embodiment. According to FIG. 17, the computer 1A includes a document database unit 161 for storing an electronic coupon to be sent to the mobile phone 2A on the fixed disk 16, and first additional information describing restrictions when the electronic coupon is processed by the mobile phone 2A. The first additional information management unit 162A that manages the fixed disk 16 and the shared key information management unit 163A that manages the shared key information shared by the printer 3A and the computer 1A using the fixed disk 16, and generates different disposable encryption keys each time A randomly extracted character string generating unit 111 for generating a randomly extracted character string 5A, a disposable key calculating unit 112 for calculating the disposable encryption key 6C from the shared key 4C and the randomly extracted character string 5A, and a disposable The first encryption unit 113C that encrypts the electronic coupon and the first additional information with the encryption key 6C, and the printer 3A A second additional information management unit 162B that manages the second additional information when processing the coupon, and a second encryption unit 113D that encrypts the randomly extracted character string 5A and the second additional information with the shared key 4C. Including. Furthermore, a mail processing unit 114 that creates an e-mail, a communication control unit 115 that controls the communication IF 15 to communicate with other devices connected to the communication network 100, and a Web processing unit that distributes the disposable encryption key 6C 116 is included. The Web processing unit 116 desirably supports an encryption processing function on a communication path such as SSL (Secure Socket Layer).

図18は、第2の実施の形態に係る携帯電話2Aの機能的構成を示すブロック図である。図18によると、携帯電話2Aは、通信ネットワーク100に接続された他の装置との通信を行なう通信制御部215と、コンピュータ1Aから送られた電子メールを受信し電子メールに含まれる添付ファイルの処理を行ない、また電子メールを他の電子メールアドレス宛に転送するメール処理部214と、コンピュータ1Aから使い捨て暗号鍵をダウンロードするブラウザ処理部218と、使い捨て暗号鍵6Cによって暗号化された電子クーポンを復号する復号部213と、モニタ24Aを制御して復号した電子クーポンを表示する表示部216と、使い捨て暗号鍵6Cを入手した方法を示す認証状態をメモリ22に記憶させる認証状態記憶部221とを含む。なお、ブラウザ処理部218はSSLなど通信路上の暗号化処理機能をサポートするものであるものが望ましい。   FIG. 18 is a block diagram showing a functional configuration of a mobile phone 2A according to the second embodiment. According to FIG. 18, the mobile phone 2A receives a communication control unit 215 that performs communication with other devices connected to the communication network 100, and an electronic mail sent from the computer 1A, and transmits an attached file included in the electronic mail. A mail processing unit 214 that performs processing and forwards an e-mail to another e-mail address, a browser processing unit 218 that downloads a disposable encryption key from the computer 1A, and an electronic coupon encrypted by the disposable encryption key 6C A decryption unit 213 for decrypting, a display unit 216 for controlling the monitor 24A to display the decrypted electronic coupon, and an authentication state storage unit 221 for storing an authentication state indicating a method for obtaining the disposable encryption key 6C in the memory 22. Including. The browser processing unit 218 preferably supports an encryption processing function on a communication path such as SSL.

図19は、第2の実施の形態に係るプリンタ3Aの機能的構成を示すブロック図である。図19によると、プリンタ3Aは、通信ネットワーク100に接続された他の装置と通信を行ない、電子メールを受信する通信制御部315と、受信した電子メールに含まれる添付ファイルの処理を行なうメール処理部314と、電子メールの添付ファイルを一時的に保留するジョブ保留部319と、コンピュータ1Aとプリンタ3Aとで共有される共有鍵4Dを管理する共有鍵情報管理部363と、共有鍵4Cによって暗号化された無作為抽出文字列5Bおよび第2付加情報を復号する第2復号部313Bと、共有鍵4Dと無作為抽出文字列5Aにより使い捨て暗号鍵6Dを演算する使い捨て鍵演算部312Aと、使い捨て暗号鍵6Dの入手方法を記憶する認証状態記憶部321と、使い捨て暗号鍵6Dによって暗号化された電子クーポンを復号する第1復号部313Aと、印刷部34Bを制御して復号した電子クーポンを印刷する印刷部316と、第1付加情報に従ってプリンタ3A上での電子クーポンの処理方法に制限を加える第1付加情報処理部318Aと、第2付加情報に従ってプリンタ3A上での電子クーポンの処理方法に制限を加える第2付加情報処理部318Bとを含む。   FIG. 19 is a block diagram illustrating a functional configuration of the printer 3A according to the second embodiment. According to FIG. 19, the printer 3A communicates with other devices connected to the communication network 100 to receive an e-mail, and a mail process for processing an attached file included in the received e-mail. Encrypted by the shared key 4C, the shared key information management unit 363 that manages the shared key 4D that is shared by the computer 1A and the printer 3A, the job holding unit 319 that temporarily holds the attachment file of the e-mail, and the shared key 4C A second decryption unit 313B that decrypts the randomized extracted character string 5B and the second additional information, a disposable key computation unit 312A that computes the disposable encryption key 6D using the shared key 4D and the randomly extracted character string 5A, and a disposable An authentication state storage unit 321 for storing a method for obtaining the encryption key 6D, and an electronic coupon encrypted with the disposable encryption key 6D First decoding unit 313A for decoding, printing unit 316 for printing the electronic coupon decoded by controlling the printing unit 34B, and first addition for limiting the processing method of the electronic coupon on the printer 3A according to the first additional information It includes an information processing unit 318A and a second additional information processing unit 318B that limits the electronic coupon processing method on the printer 3A according to the second additional information.

なお、コンピュータ1Aとプリンタ3Aとの共有鍵4C,4Dは、プリンタ3Aが複数存在する場合であっても、たとえば同じ提携先であれば同じものにする。このようにする理由は、携帯電話2Aからコンピュータ1A側に電子クーポンをダウンロードする前に、携帯電話2Aの一般利用者が電子クーポンを印刷するプリンタ3Aをコンピュータ1Aが特定することは、一般利用者がどのプリンタ3Aで印刷するという情報を事前にコンピュータ1Aに申告することなしでは不可能だからである。   Note that the shared keys 4C and 4D between the computer 1A and the printer 3A are the same even if there are a plurality of printers 3A, for example, if they are the same partner. The reason for doing this is that the general user of the mobile phone 2A specifies the printer 3A for printing the electronic coupon before the electronic coupon is downloaded from the mobile phone 2A to the computer 1A side. This is because it is impossible without reporting to the computer 1A in advance information on which printer 3A will print.

Figure 0004584071
Figure 0004584071

Figure 0004584071
Figure 0004584071

表5および表6に、それぞれ、第1付加情報および第2付加情報の一例を示す。第2の実施の形態では、第1付加情報によって携帯電話2Aで電子クーポンを処理する際の制限事項を記述し、第2付加情報によってプリンタ3Aにおいて電子クーポンを無料印刷するための特別な情報を記述している。   Tables 5 and 6 show examples of the first additional information and the second additional information, respectively. In the second embodiment, restrictions on processing an electronic coupon by the mobile phone 2A are described by the first additional information, and special information for free printing of the electronic coupon by the printer 3A by the second additional information. It is described.

表5および表6を参照して、第1付加情報は、複数のエントリ項目から構成され、携帯電話2Aにおける電子クーポンに対する処理の項目のそれぞれに許可または不可を定義している。たとえば、第1付加情報は、電子クーポンを携帯電話2Aの本体の記憶装置に保存するのは「不可」、携帯電話2Aの外部メモリカードに保存するのは「不可」、赤外線で外部に転送するのは「不可」、携帯電話2Aのモニタ24Aで表示するのは「許可」、ということを定義している。   Referring to Tables 5 and 6, the first additional information is composed of a plurality of entry items, and defines permission or disapproval for each of the processing items for the electronic coupon in mobile phone 2A. For example, as for the first additional information, it is “impossible” to store the electronic coupon in the storage device of the main body of the mobile phone 2A, “impossible” to store the electronic coupon in the external memory card of the mobile phone 2A, and transfer to the outside by infrared rays. Defines “impossible” and “permitted” to be displayed on the monitor 24A of the mobile phone 2A.

さらに、項目の設定値として、携帯電話2Aのソフトウェアの動作を直接指定することができる。たとえば、電子クーポンをプリンタ3Aで印刷するために電子メールを外部に転送した後の電子クーポンに対する処理である「メール転送後の処理」は、「再ダウンロードのリンクに置換」する処理と定義する。「再ダウンロードのリンクに置換」する処理とは、暗号化された電子クーポンの代わりに、コンピュータ1Aから電子クーポンを再度ダウンロードするためのリンク情報が記載された電子メールに置換する処理である。。これにより、携帯電話2Aの利用者が再度電子クーポンを印刷したいと思う場合には、リンク情報によって電子クーポンを再度ダウンロードできるので、コンピュータ1Aに再度アクセスして、手続きをする必要がなくなる。このため、サービス提供者にとってはリピータを増加させる効果がある。携帯電話2Aのソフトウェアの動作指定の方法としては、携帯電話2Aのソフトウェアが直接処理可能なスクリプト言語を用いてもよい。   Furthermore, the software operation of the mobile phone 2A can be directly specified as the setting value of the item. For example, “process after mail transfer”, which is a process for an electronic coupon after an electronic mail is transferred to the outside in order to print the electronic coupon with the printer 3A, is defined as a process of “replace with a re-download link”. The process of “replace with a re-download link” is a process of replacing with an electronic mail in which link information for re-downloading the electronic coupon from the computer 1A is described instead of the encrypted electronic coupon. . Thereby, when the user of the mobile phone 2A wants to print the electronic coupon again, the electronic coupon can be downloaded again by the link information, so that it is not necessary to access the computer 1A again and perform the procedure. For this reason, there is an effect of increasing repeaters for the service provider. As a method for specifying the operation of the software of the mobile phone 2A, a script language that can be directly processed by the software of the mobile phone 2A may be used.

第2付加情報は、複数のエントリ項目から構成され、プリンタ3Aにおける電子クーポンに対する処理の項目のそれぞれに付加情報を定義している。特に第2の実施の形態では、携帯電話2Aの一般利用者が、コンピュータ1Aの運用者と提携関係にある店舗のプリンタ3Aにおいて、無料で電子クーポンを印刷することを実現するためのパスワードが第2付加情報に定義される。この無料印刷のためのパスワードは、一般利用者に知られないようにするため共有鍵4Cで暗号化され、プリンタ3Aでのみ復号可能となっている。   The second additional information is composed of a plurality of entry items, and the additional information is defined for each of the processing items for the electronic coupon in the printer 3A. In particular, in the second embodiment, the password for realizing that the general user of the mobile phone 2A prints the electronic coupon free of charge in the printer 3A of the store that is affiliated with the operator of the computer 1A. 2 Defined in additional information. The password for free printing is encrypted with the shared key 4C so as not to be known to general users, and can be decrypted only by the printer 3A.

なお、プリンタ3Aにおいては、通常の印刷やコピーのときには、印刷に掛かる費用は、利用者に課金され、この無料パスワードが指定された電子クーポンの印刷のときには、印刷にかかる費用は、利用者には課金されず、提携先のコンピュータ1Aの運用者に課金される。   In the printer 3A, the cost for printing is charged to the user during normal printing and copying, and the cost for printing is charged to the user when printing an electronic coupon with this free password specified. Is not charged, but is charged to the operator of the partner computer 1A.

さらに第2付加情報は、電子クーポンに対する電子署名データを含む。電子署名データは、PKI(Public Key Infrastructure)技術に基づく電子クーポンの改竄を検証するためのデータであり、送信側のコンピュータ1Aにおいて電子クーポンの数10バイト程度の適当な長さのハッシュ値に対してコンピュータ1Aの秘密鍵で暗号化を行ない得られるデータである。プリンタ3Aにおいて復号した電子クーポンでコンピュータ1Aと同じハッシュ値を計算した結果と、コンピュータ1Aの公開鍵を利用して電子署名データを復号したデータとを比較することによって、データが途中で改竄されていないかを検証することができる。第2の実施の形態では、携帯電話2Aの一般利用者が、電子クーポンに含まれる付加情報、たとえば割引率や有効期限などを不正に改竄した場合、プリンタ3Aで電子署名の検証を行なうことにより、不正な改竄を検出することが可能となり、プリンタ3Aにおいて電子クーポンの印刷処理を中止することが可能となる。   Further, the second additional information includes electronic signature data for the electronic coupon. The electronic signature data is data for verifying falsification of an electronic coupon based on the PKI (Public Key Infrastructure) technology. The electronic signature data has a hash value of an appropriate length of about several tens of bytes of the electronic coupon in the computer 1A on the transmission side. Thus, the data can be obtained by encryption with the secret key of the computer 1A. By comparing the result of calculating the same hash value as that of the computer 1A with the electronic coupon decrypted in the printer 3A and the data obtained by decrypting the electronic signature data using the public key of the computer 1A, the data is falsified in the middle. It can be verified whether there is any. In the second embodiment, when a general user of the mobile phone 2A tampers with additional information included in the electronic coupon, such as a discount rate or an expiration date, the electronic signature is verified by the printer 3A. It becomes possible to detect unauthorized tampering, and it is possible to stop the electronic coupon printing process in the printer 3A.

表5および表6の示した付加情報は一例であって、電子クーポンの内容によって携帯電話2Aにおける電子クーポンの処理の許可可能なレベルは異なるため、複数の第1付加情報をコンピュータ1Aは管理し、コンピュータ1Aの運用者は電子クーポンの内容に応じて、適切な付加情報を選択する。   The additional information shown in Tables 5 and 6 is an example, and since the allowable level of processing of the electronic coupon in the mobile phone 2A differs depending on the content of the electronic coupon, the computer 1A manages the plurality of first additional information. The operator of the computer 1A selects appropriate additional information according to the contents of the electronic coupon.

図20は、第2の実施の形態に係る電子メールに添付される各種情報のフォーマットを示す図である。図20を参照して、電子クーポン7Aおよび第1付加情報8Aが、使い捨て暗号鍵6Cで暗号化される。。さらに、無作為抽出文字列5Aおよび第2付加情報8Bが、共有鍵4Cを用いて暗号化される。電子クーポン7Aおよび第1付加情報8Aが暗号化された暗号化情報9B、ならびに、無作為抽出文字列5Aおよび第2付加情報8Bが暗号化された暗号化情報9Cは、それぞれ、個別ファイルとなっていてもよいし、1つのファイルとしてまとめられていてもよい。1つのファイルとしてまとめられる場合には、それぞれの情報の区切りを判別するための、区切りの位置には区切り文字列を別途挿入する必要がある。ここで盗聴に対するリスクを評価すると、電子クーポン7Aについては、その内容が参照されないという意味で、通信路上での盗聴に効果がある。第1付加情報8Aについては、通信路上での盗聴に対して、携帯電話2Aでのセキュリティ条件を参照されないようにする効果がある。使い捨て暗号鍵6Dの演算に利用する無作為抽出文字列5A、および、無料印刷のパスワードを含む第2付加情報8Bについては、通信路上で盗聴に対してはもちろんであるが、一般利用者の携帯電話2Aでは共有鍵がないためにこれらを復号することができず安全性が保たれる。   FIG. 20 is a diagram showing a format of various information attached to an electronic mail according to the second embodiment. Referring to FIG. 20, electronic coupon 7A and first additional information 8A are encrypted with disposable encryption key 6C. . Further, the randomly extracted character string 5A and the second additional information 8B are encrypted using the shared key 4C. The encrypted information 9B obtained by encrypting the electronic coupon 7A and the first additional information 8A, and the encrypted information 9C obtained by encrypting the randomly extracted character string 5A and the second additional information 8B are respectively individual files. Or may be grouped as one file. When the files are collected as one file, it is necessary to insert a delimiter character string separately at the delimiter position for determining the delimiter of each information. If the risk for wiretapping is evaluated here, the electronic coupon 7A is effective in wiretapping on the communication path in the sense that the content is not referred to. The first additional information 8A has an effect of preventing the security condition in the mobile phone 2A from being referred to for eavesdropping on the communication path. The random additional character string 5A used for the calculation of the disposable encryption key 6D and the second additional information 8B including the password for free printing are not limited to eavesdropping on the communication path, but can be carried by general users. In the telephone 2A, since there is no shared key, these cannot be decrypted, and security is maintained.

図21は、第2の実施の形態に係るコンピュータ1Aおよび携帯電話2Aの処理シーケンス図である。コンピュータ1Aの運用者は、電子クーポン7Aの配布サービスを提供しており、Webで携帯電話2A向けのコンテンツを公開して、電子クーポン7Aの希望者から電子メールを送信してもらうことによって、電子クーポン7Aを発行する処理のトリガとしている。すなわち、図21の前提として、携帯電話2Aの一般利用者はコンピュータ1AのWebにアクセスして、コンピュータ1Aの特定の電子メールアドレス宛に電子メールを送信することによって、電子クーポン7Aの取得の意思表示をしているものとする。   FIG. 21 is a processing sequence diagram of the computer 1A and the mobile phone 2A according to the second embodiment. The operator of the computer 1A provides a distribution service for the electronic coupon 7A, publishes the content for the mobile phone 2A on the Web, and sends an electronic mail from a person who desires the electronic coupon 7A. It is a trigger for the process of issuing the coupon 7A. That is, as a premise of FIG. 21, the general user of the mobile phone 2A accesses the Web of the computer 1A and sends an e-mail addressed to a specific e-mail address of the computer 1A, thereby acquiring the intention to acquire the electronic coupon 7A. Assume that it is displaying.

図21を参照して、ステップS2401において、コンピュータ1AのCPU11は、携帯電話2Aから要求された電子クーポン7Aを選択する。同時に、CPU11は、携帯電話2Aにおいてこの電子クーポン7Aを処理する際の制限事項を記述した第1付加情報8Aを選択する。なお、携帯電話2Aの電子メールアドレスは、コンピュータ1A宛の電子メールのFromアドレスから取得することができる。   Referring to FIG. 21, in step S2401, CPU 11 of computer 1A selects electronic coupon 7A requested from mobile phone 2A. At the same time, the CPU 11 selects the first additional information 8A describing the restriction items when the electronic coupon 7A is processed in the mobile phone 2A. The e-mail address of the mobile phone 2A can be acquired from the From address of the e-mail addressed to the computer 1A.

ステップS2402では、CPU11は、無作為抽出文字列生成部111において無作為抽出文字列5Aを生成する。   In step S2402, the CPU 11 generates a random extraction character string 5A in the random extraction character string generation unit 111.

ステップS2403では、CPU11は、ステップS2402で生成した無作為抽出文字列5A、および、共有鍵情報管理部163Aで管理されている共有鍵4Cから、使い捨て暗号鍵6Cの演算を行なう。携帯電話2Aがどのプリンタ3Aで印刷するかを特定することはできないため、共有鍵は複数のプリンタ3Aとコンピュータ1Aとで共有されている。このため、ここでは共有鍵を選択するという処理は発生しない。   In step S2403, the CPU 11 calculates the disposable encryption key 6C from the randomly extracted character string 5A generated in step S2402 and the shared key 4C managed by the shared key information management unit 163A. Since it is impossible to specify which printer 3A the mobile phone 2A performs printing on, the shared key is shared by the plurality of printers 3A and the computer 1A. For this reason, the process of selecting a shared key does not occur here.

ステップS2404では、CPU11は、使い捨て暗号鍵6Cを用いて、ステップS2401で選択した電子クーポン7Aと第1付加情報8Aとの暗号化処理を行なう。ここで暗号化方式はブロック暗号化方式とするが、具体的には特に規定しない。使い捨て暗号鍵6Cの長さが不足する場合には適当にパディングを行ない、逆に長い場合にはハッシュを計算し、それを使い捨て暗号鍵6Cとしてもよい。   In step S2404, CPU 11 performs encryption processing of electronic coupon 7A selected in step S2401 and first additional information 8A using disposable encryption key 6C. Here, the encryption method is a block encryption method, but is not specifically defined. If the length of the disposable encryption key 6C is insufficient, padding is appropriately performed. If the length of the disposable encryption key 6C is long, a hash may be calculated and used as the disposable encryption key 6C.

ステップS2405では、CPU11は、共有鍵4Cを用いて、ステップS2402で生成した無作為抽出文字列5Aと第2付加情報8Bとの暗号化処理を行なう。ここで暗号化方式はブロック暗号化方式とするが、具体的には特に規定しない。共有鍵の長さが不足する場合には適当にパディングを行ない、逆に長い場合にはハッシュを計算してもよい。   In step S2405, the CPU 11 performs encryption processing of the randomly extracted character string 5A generated in step S2402 and the second additional information 8B using the shared key 4C. Here, the encryption method is a block encryption method, but is not specifically defined. If the length of the shared key is insufficient, padding is performed appropriately, and if it is long, a hash may be calculated.

ステップS2406では、CPU11は、ステップS2404で暗号化された暗号化情報9B(電子クーポン7Aおよび第1付加情報8Aが暗号化された情報)と、ステップS2405で暗号化された暗号化情報9C(無作為抽出文字列5Aおよび第2付加情報8Bが暗号化された情報)を添付ファイルとして電子メールを作成する。   In step S2406, the CPU 11 encrypts the encrypted information 9B encrypted in step S2404 (information obtained by encrypting the electronic coupon 7A and the first additional information 8A) and the encrypted information 9C encrypted in step S2405 (none. An e-mail is created with the attachment of the randomly extracted character string 5A and the second additional information 8B (encrypted information).

ステップS2407では、CPU11は、宛先を相手先の携帯電話2Aとし、電子メールを送信する。なお、CPU11は、、使い捨て暗号鍵6CをダウンロードするためのURL(Uniform Resource Locator)を電子メール本文に記載する。このURLは一度携帯電話2Aによってアクセスされ使い捨て暗号鍵6Cがダウンロードされると、再度アクセスできなくなるようにコンピュータ1Aで設定された一時的なURLである。   In step S2407, the CPU 11 sets the destination as the mobile phone 2A of the other party and transmits an e-mail. Note that the CPU 11 describes a URL (Uniform Resource Locator) for downloading the disposable encryption key 6C in the e-mail body. This URL is a temporary URL set by the computer 1A so that once it is accessed by the mobile phone 2A and the disposable encryption key 6C is downloaded, it cannot be accessed again.

ステップS2408では、携帯電話2AのCPU21は、コンピュータ1Aから送信された電子メールを受信する。   In step S2408, the CPU 21 of the mobile phone 2A receives the e-mail transmitted from the computer 1A.

ステップS2409では、CPU21は、受信した電子メール本文に記載された使い捨て暗号鍵6Cのリンク情報を取得する。   In step S2409, the CPU 21 acquires link information of the disposable encryption key 6C described in the received electronic mail text.

ステップS2410では、CPU21は、ブラウザを利用してリンク情報のURLにアクセスする。   In step S2410, CPU21 accesses URL of link information using a browser.

ステップS2411では、CPU11は、使い捨て暗号鍵6Cを配信する。
ステップS2412では、CPU21は、配信された使い捨て暗号鍵6Cをダウンロードする。このとき、CPU21は、使い捨て暗号鍵6Cを無作為抽出文字列6Aと共有鍵とから演算して生成していないので、CPU31は、使い捨て暗号鍵6Cが無作為抽出文字列6Aと共有鍵4Cとを元に携帯電話2A内で演算されて生成されたことを示す使い捨て暗号鍵生成フラグをOFFにする。
In step S2411, the CPU 11 distributes the disposable encryption key 6C.
In step S2412, the CPU 21 downloads the distributed disposable encryption key 6C. At this time, since the CPU 21 does not generate the disposable encryption key 6C from the randomly extracted character string 6A and the shared key, the CPU 31 determines that the disposable encryption key 6C is the randomly extracted character string 6A and the shared key 4C. Based on the above, the disposable encryption key generation flag indicating that the calculation is generated in the mobile phone 2A is turned OFF.

なお、コンピュータ1Aから送信した電子メールに記載されているリンク情報によって携帯電話2Aがコンピュータ1Aにアクセスするときに、コンピュータ1Aが携帯電話2Aを認証する。使い捨て暗号鍵6Cが携帯電話2Aにダウンロードされた段階で、コンピュータ1Aは、この使い捨て暗号鍵6Cをダウンロード不可能な状態に変更し、第3者が不正に使い捨て暗号鍵6Cを入手する危険を回避する。   Note that when the mobile phone 2A accesses the computer 1A by the link information described in the e-mail transmitted from the computer 1A, the computer 1A authenticates the mobile phone 2A. When the disposable encryption key 6C is downloaded to the mobile phone 2A, the computer 1A changes the disposable encryption key 6C to an undownloadable state, and avoids the risk that a third party illegally obtains the disposable encryption key 6C. To do.

ステップS2413では、CPU21は、使い捨て暗号鍵6Cを利用して、暗号化された電子クーポン7Aおよび第1付加情報8Aを復号する。   In step S2413, the CPU 21 decrypts the encrypted electronic coupon 7A and the first additional information 8A using the disposable encryption key 6C.

ステップS2414では、CPU21は、使い捨て暗号鍵生成フラグがONの場合には、実行する処理をステップS2416へ進める。OFFの場合には、CPU21は、実行する処理をステップS2415へ進める。なお、ステップS2412で使い捨て暗号鍵生成フラグをOFFにするため、通常はステップS2416への分岐は行なわれない。しかし、携帯電話2Aが電子クーポン7Aを復号するための鍵を共有鍵と無作為抽出文字列とから生成するようにした場合には、実行する処理がステップS2416へ進められる。   In step S2414, if the disposable encryption key generation flag is ON, the CPU 21 advances the process to be executed to step S2416. If it is OFF, the CPU 21 advances the process to be executed to step S2415. Since the disposable encryption key generation flag is turned off in step S2412, branching to step S2416 is not normally performed. However, if the mobile phone 2A generates a key for decrypting the electronic coupon 7A from the shared key and the randomly extracted character string, the process to be executed proceeds to step S2416.

ステップS2415では、CPU21は、付加情報を参照して、電子クーポン7Aの表示が可能である場合には、電子クーポン7Aを閲覧可能なように表示する。   In step S2415, with reference to the additional information, the CPU 21 displays the electronic coupon 7A so that it can be browsed when the electronic coupon 7A can be displayed.

ステップS2416では、CPU21は、復号された電子クーポン7Aを閲覧可能なように表示する。   In step S2416, CPU 21 displays decrypted electronic coupon 7A so that it can be browsed.

上記ステップS2411では、使い捨て暗号鍵6Cのダウンロードにブラウザを利用した。しかし、これに限定されず、電子メールに使い捨て暗号鍵6Cを添付してコンピュータ1Aから携帯電話2Aに送信してもよい。ただし、暗号化された電子クーポン7Aを含む電子メールとは別に送信して、通信路上での盗聴のリスクを少しでも下げる必要はある。   In step S2411, the browser is used to download the disposable encryption key 6C. However, the present invention is not limited to this, and the disposable encryption key 6C may be attached to the electronic mail and transmitted from the computer 1A to the mobile phone 2A. However, it is necessary to reduce the risk of eavesdropping on the communication path by sending it separately from the e-mail containing the encrypted electronic coupon 7A.

図22は、第2の実施の形態に係る携帯電話2Aおよびプリンタ3Aの処理シーケンス図である。   FIG. 22 is a processing sequence diagram of the mobile phone 2A and the printer 3A according to the second embodiment.

図22を参照して、ステップS2501では、図21でのシーケンスに継続して、CPU21は、使い捨て暗号鍵生成フラグがONの場合には、実行する処理をステップS2504へ進める。OFFの場合には、CPU21は、実行する処理をステップS2502へ進める。なお、ステップS2412で使い捨て暗号鍵生成フラグをOFFにするため、通常はステップS2504への分岐は行なわれない。しかし、携帯電話2Aが電子クーポン7Aを復号するための鍵を共有鍵と無作為抽出文字列とから生成するようにした場合には、実行する処理がステップS2504へ進められる。   Referring to FIG. 22, in step S2501, following the sequence in FIG. 21, CPU 21 advances the process to be executed to step S2504 when the disposable encryption key generation flag is ON. If it is OFF, the CPU 21 advances the process to be executed to step S2502. Note that since the disposable encryption key generation flag is turned OFF in step S2412, branching to step S2504 is not normally performed. However, if the mobile phone 2A generates a key for decrypting the electronic coupon 7A from the shared key and the randomly extracted character string, the process to be executed proceeds to step S2504.

ステップS2502では、CPU21は、コンピュータ1Aから受信した電子メールをプリンタ3Aにメール転送する。このとき電子メールの添付ファイル(電子クーポン7Aと第1付加情報8Aとが暗号化された暗号化情報9B、および、無作為抽出文字列5Aと第2付加情報8Bとが暗号化された暗号化情報9C)は添付されたまま電子メールが転送される。なお、この時点で、携帯電話2Aの利用者はプリンタ3Aの前まで移動しているものとする。そのため、コンピュータ1Aから受信された電子メールは、メール転送されるのに限定されず、赤外線通信やBluetoothでファイル転送されるようにしてもよい。   In step S2502, the CPU 21 transfers the email received from the computer 1A to the printer 3A. At this time, the attached file of the e-mail (the encrypted information 9B in which the electronic coupon 7A and the first additional information 8A are encrypted, and the encrypted in which the randomly extracted character string 5A and the second additional information 8B are encrypted) The electronic mail is transferred with the information 9C) attached. At this point, it is assumed that the user of the mobile phone 2A has moved to the front of the printer 3A. Therefore, the e-mail received from the computer 1A is not limited to mail transfer, and may be transferred by infrared communication or Bluetooth.

ステップS2503では、CPU21は、第1付加情報8Aの記載に従って、メール転送後の処理として記載されている「再ダウンロードのリンクに置換」の処理を電子クーポン7Aに実施する。   In step S2503, according to the description of the first additional information 8A, the CPU 21 performs the process “replace with re-download link” described as the process after the mail transfer on the electronic coupon 7A.

ステップS2504では、CPU21は、ステップS2502と同様の処理を実施する。   In step S2504, the CPU 21 performs the same process as in step S2502.

ステップS2510では、プリンタ3AのCPU31は、携帯電話2Aから転送された電子メールを受信する。   In step S2510, CPU 31 of printer 3A receives the electronic mail transferred from mobile phone 2A.

ステップS2511では、CPU31は、電子メールの添付ファイルから、暗号化された暗号化情報9Bおよび暗号化情報9Cを抽出する。   In step S2511, the CPU 31 extracts encrypted encrypted information 9B and encrypted information 9C from the attached file of the e-mail.

ステップS2512では、CPU31は、暗号化された暗号化情報9Cから無作為抽出文字列5Bと第2付加情報8Bとを共有鍵4Dで復号する。   In step S2512, the CPU 31 decrypts the randomly extracted character string 5B and the second additional information 8B from the encrypted encryption information 9C with the shared key 4D.

ステップS2513では、CPU31は、無作為抽出文字列5Aと共有鍵4Dとから使い捨て暗号鍵6Dを演算する。   In step S2513, the CPU 31 calculates the disposable encryption key 6D from the randomly extracted character string 5A and the shared key 4D.

ステップS2514では、CPU31は、認証状態記憶部321に使い捨て暗号鍵6Dを一時的に記憶させる。このとき、CPU31は、使い捨て暗号鍵6Dを無作為抽出文字列5Aと共有鍵4Dとから演算して生成しているので、CPU31は、使い捨て暗号鍵6Dが無作為抽出文字列5Aと共有鍵4Dとを元にプリンタ3A内で演算されて生成されたことを示す使い捨て暗号鍵生成フラグをONにする。   In step S2514, the CPU 31 temporarily stores the disposable encryption key 6D in the authentication state storage unit 321. At this time, since the CPU 31 generates the disposable encryption key 6D from the randomly extracted character string 5A and the shared key 4D, the CPU 31 determines that the disposable encryption key 6D is the randomly extracted character string 5A and the shared key 4D. Based on the above, the disposable encryption key generation flag indicating that it has been calculated and generated in the printer 3A is turned ON.

ステップS2515では、CPU31は、使い捨て暗号鍵6Dを利用して、暗号化情報9Bから電子クーポン7Aと第1付加情報8Aとを復号する。   In step S2515, the CPU 31 decrypts the electronic coupon 7A and the first additional information 8A from the encrypted information 9B using the disposable encryption key 6D.

ステップS2516では、使い捨て暗号鍵生成フラグがONの場合には、CPU31は、実行する処理をステップS2517へ進める。OFFの場合には、CPU31は、実行する処理をステップS2518へ進める。なお、ステップS2514で使い捨て暗号鍵生成フラグをONにするため、通常はステップS2518への分岐は行なわれない。しかし、プリンタ3Aが電子クーポン7Aを復号するための鍵を共有鍵4Dと無作為抽出文字列5Aとから生成しないようにした場合には、実行する処理がステップS2518へ進められる。   In step S2516, if the disposable encryption key generation flag is ON, the CPU 31 advances the process to be executed to step S2517. If it is OFF, the CPU 31 advances the process to be executed to step S2518. Since the disposable encryption key generation flag is turned ON in step S2514, branching to step S2518 is not normally performed. However, if the printer 3A does not generate a key for decrypting the electronic coupon 7A from the shared key 4D and the randomly extracted character string 5A, the process to be executed proceeds to step S2518.

ステップS2517では、CPU31は、電子クーポン7Aを印刷する。
ステップS2518では、CPU31は、第1付加情報8Aに記載の情報に従って、電子クーポン7Aを処理する。
In step S2517, CPU 31 prints electronic coupon 7A.
In step S2518, the CPU 31 processes the electronic coupon 7A according to the information described in the first additional information 8A.

ステップS2519では、CPU31は、第2付加情報8Bが共有鍵4Dによって復号化済みかどうかを確認する。復号化済みの場合には、CPU31は、実行する処理をステップS2520へ進める。復号化されていない場合には、CPU31は、実行する処理をステップS2521へ進める。なお、通常は、ステップS2512で第2付加情報8Bが復号化済みであるため、ステップS2521への分岐は行なわれない。しかし、第2付加情報8Bが復号できなかった場合は、エラー処理としてステップS2521の処理が実行される場合がある。   In step S2519, the CPU 31 confirms whether the second additional information 8B has been decrypted with the shared key 4D. If it has been decrypted, the CPU 31 advances the process to be executed to step S2520. If not decrypted, the CPU 31 advances the process to be executed to step S2521. Normally, since the second additional information 8B has been decoded in step S2512, the branch to step S2521 is not performed. However, if the second additional information 8B cannot be decoded, the process of step S2521 may be executed as an error process.

ステップS2520では、CPU31は、第2付加情報8Bに基づき、一般利用者ではなく、提携先のサービスサーバ運用者に、電子クーポン7Aの印刷に対する課金をする。   In step S2520, based on the second additional information 8B, the CPU 31 charges the printing of the electronic coupon 7A not to the general user but to the partner service server operator.

ステップS2521では、CPU31は、通常通り、一般利用者に、電子クーポン7Aの印刷に対する課金をする。   In step S2521, the CPU 31 charges the general user for printing the electronic coupon 7A as usual.

なお、ステップS2502の携帯電話2Aからプリンタ3Aへのメール転送の後に、電子メールに含まれる無作為抽出文字列5Bや第2付加情報8Bが携帯電話2A内から削除されるようにしてもよい。このことにより、再度、携帯電話2Aからプリンタ3Aに電子メールを転送しても、無作為抽出文字列5Bや第2付加情報8Bが転送されないことになる。このため、プリンタ3Aでは、最初のメール転送に対してのみ、無作為抽出文字列5Aと共有鍵4Dとをもとに使い捨て鍵6Dを生成することができるようになる。よって、携帯電話2Aの利用者が無制限に電子クーポン7Aを無料印刷することを回避できるという効果がある。さらに、携帯電話2Aおよびプリンタ3Aにおいて、電子クーポン7Aが一度復号された後に使い捨て暗号鍵6Cを削除するようにすれば、その後は、暗号化された電子クーポン7Aは携帯電話2Aでもプリンタ3Aでも復号することが不可能となり、文字通り使い捨ての効果がある。   Note that after the mail transfer from the mobile phone 2A to the printer 3A in step S2502, the randomly extracted character string 5B and the second additional information 8B included in the e-mail may be deleted from the mobile phone 2A. As a result, even if the e-mail is transferred again from the mobile phone 2A to the printer 3A, the randomly extracted character string 5B and the second additional information 8B are not transferred. Therefore, the printer 3A can generate the disposable key 6D based on the randomly extracted character string 5A and the shared key 4D only for the first mail transfer. Therefore, there is an effect that the user of the mobile phone 2A can avoid unlimited printing of the electronic coupon 7A for free. Furthermore, if the disposable coupon key 6C is deleted after the electronic coupon 7A is once decrypted in the cellular phone 2A and the printer 3A, then the encrypted electronic coupon 7A is decrypted by both the cellular phone 2A and the printer 3A. Literally has a single-use effect.

なお、前述した実施の形態においては、暗号化電子文書処理システム10,10Aとして発明を説明した。しかし、これに限定されず、暗号化電子文書処理システム10,10Aに含まれるコンピュータ1,1A、携帯電話2,2A、および、プリンタ3,3Aそれぞれの発明と捉えることができる。   In the above-described embodiment, the invention has been described as the encrypted electronic document processing systems 10 and 10A. However, the present invention is not limited to this, and can be understood as inventions of the computers 1 and 1A, the mobile phones 2 and 2A, and the printers 3 and 3A included in the encrypted electronic document processing systems 10 and 10A.

また、図10、図11、図21、および、図22で示した処理を、それぞれ、コンピュータ1,1A、携帯電話2,2A、および、プリンタ3,3Aで実行する暗号化電子文書処理方法として発明を捉えることができる。また、図10、図11、図21、および、図22で示した処理を、それぞれ、コンピュータ1,1A、携帯電話2,2A、および、プリンタ3,3Aに実行させる暗号化電子文書処理プログラムとして発明を捉えることができる。   In addition, as an encrypted electronic document processing method in which the processes shown in FIGS. 10, 11, 21, and 22 are executed by the computers 1, 1A, the mobile phones 2, 2A, and the printers 3, 3A, respectively. The invention can be caught. Further, as the encrypted electronic document processing programs for causing the computers 1, 1A, the mobile phones 2, 2A, and the printers 3, 3A to execute the processes shown in FIGS. 10, 11, 21, and 22, respectively. The invention can be caught.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

第1の実施の形態に係る暗号化電子文書処理システム全体の構成図である。1 is a configuration diagram of an entire encrypted electronic document processing system according to a first embodiment. FIG. 第1の実施の形態に係るコンピュータのハードウェアの内部構成である。It is an internal structure of the hardware of the computer which concerns on 1st Embodiment. 第1の実施の形態に係る携帯電話の制御ブロック図である。It is a control block diagram of the mobile phone according to the first embodiment. 第1の実施の形態に係るプリンタのハードウェア構成である。1 is a hardware configuration of a printer according to a first embodiment. 第1の実施の形態に係るコンピュータ、携帯電話およびプリンタの間の共有鍵と無作為抽出文字列と使い捨て暗号鍵との流通を示すシーケンス図である。It is a sequence diagram which shows distribution | circulation of the shared key between the computer, mobile phone, and printer which concerns on 1st Embodiment, a random extraction character string, and a disposable encryption key. 第1の実施の形態に係るコンピュータの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the computer which concerns on 1st Embodiment. 第1の実施の形態に係る携帯電話の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the mobile telephone which concerns on 1st Embodiment. 第1の実施の形態に係るプリンタの機能的構成を示すブロック図である。FIG. 2 is a block diagram illustrating a functional configuration of the printer according to the first embodiment. 第1の実施の形態に係る電子メールに添付される各種情報のフォーマットを示す図である。It is a figure which shows the format of the various information attached to the email which concerns on 1st Embodiment. 第1の実施の形態に係るコンピュータおよび携帯電話の処理シーケンス図である。It is a processing sequence diagram of the computer and the mobile phone according to the first embodiment. 第1の実施の形態に係る携帯電話およびプリンタの処理シーケンス図である。FIG. 3 is a processing sequence diagram of the mobile phone and the printer according to the first embodiment. 第1の実施の形態の第3の変形例に係る電子メールに添付される各種情報のフォーマットを示す図である。It is a figure which shows the format of the various information attached to the electronic mail which concerns on the 3rd modification of 1st Embodiment. 第1の実施の形態の第3の変形例に係るコンピュータの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the computer which concerns on the 3rd modification of 1st Embodiment. 第1の実施の形態の第3の変形例に係る携帯電話の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the mobile telephone which concerns on the 3rd modification of 1st Embodiment. 第2の実施の形態に係る暗号化電子文書処理システム全体の構成図である。It is a block diagram of the whole encryption electronic document processing system which concerns on 2nd Embodiment. 第2の実施の形態に係るコンピュータ、携帯電話およびプリンタの間の共有鍵と無作為抽出文字列と使い捨て暗号鍵との流通を示すシーケンス図である。It is a sequence diagram which shows distribution | circulation of the shared key, a random extraction character string, and a disposable encryption key among a computer, a mobile telephone, and a printer concerning 2nd Embodiment. 第2の実施の形態に係るコンピュータの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the computer which concerns on 2nd Embodiment. 第2の実施の形態に係る携帯電話の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the mobile telephone which concerns on 2nd Embodiment. 第2の実施の形態に係るプリンタの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the printer which concerns on 2nd Embodiment. 第2の実施の形態に係る電子メールに添付される各種情報のフォーマットを示す図である。It is a figure which shows the format of the various information attached to the email which concerns on 2nd Embodiment. 第2の実施の形態に係るコンピュータおよび携帯電話の処理シーケンス図である。It is a processing sequence diagram of a computer and a mobile phone according to a second embodiment. 第2の実施の形態に係る携帯電話およびプリンタの処理シーケンス図である。It is a processing sequence figure of the mobile telephone and printer which concern on 2nd Embodiment.

符号の説明Explanation of symbols

1,1A コンピュータ、2,2A 携帯電話、3,3A プリンタ、4A〜4D 共有鍵、5,5A,5B 無作為抽出文字列、6A〜6D 使い捨て暗号鍵、7 電子文書、7A 電子クーポン、8 付加情報、8A 第1付加情報、8B 第2付加情報、9,9A〜9C 暗号化情報、10,10A 暗号化電子文書処理システム、11 CPU、12 メモリ、13A キーボード、13B マウス、14 モニタ、15 通信IF、16 固定ディスク、17A FD駆動装置、17B CDROM駆動装置、21 CPU、22 メモリ、23A テンキー、23B カメラ、23C マイク、24A モニタ、24B スピーカ、25A 通信IF、25B 赤外線通信ユニット、27 倍部メモリカードスロット、31 CPU、32 メモリ、33A タッチパネル、33B 操作ボタン、33C スキャナ、34A モニタ、34B 印刷部、35A 通信IF、35B 赤外線通信ユニット、36 固定ディスク、100 通信ネットワーク、111 無作為抽出文字列生成部、112 使い捨て鍵演算部、113 暗号化部、113A,113C 第1暗号化部、113B,113D 第2暗号化部、114 メール処理部、115 通信制御部、116 Web処理部、161 文書データベース部、162 付加情報管理部、162A 第1付加情報管理部、162B 第2付加情報管理部、163,163A 共有鍵情報管理部、171A FD、171B CDROM、212 使い捨て鍵演算部、212A 使い捨て鍵取得部、213 復号部、213A 第1復号部、213B 第2復号部、214 メール処理部、215 通信制御部、216 表示部、217 使い捨て鍵送信部、218 ブラウザ処理部、219 付加情報処理部、221 認証状態記憶部、263 共有鍵情報管理部、271 外部メモリカード、312 使い捨て鍵取得部、313 復号部、313A 第1復号部、313B 第2復号部、314 メール処理部、315 通信制御部、316 印刷部、318 付加情報処理部、318A 第1付加情報処理部、318B 第2付加情報処理部、319 ジョブ保留部、321 認証状態記憶部、363 共有鍵情報管理部。   1,1A computer, 2,2A mobile phone, 3,3A printer, 4A-4D shared key, 5,5A, 5B Randomly extracted character string, 6A-6D disposable encryption key, 7 electronic document, 7A electronic coupon, 8 addition Information, 8A first additional information, 8B second additional information, 9, 9A to 9C encrypted information, 10, 10A encrypted electronic document processing system, 11 CPU, 12 memory, 13A keyboard, 13B mouse, 14 monitor, 15 communication IF, 16 Fixed disk, 17A FD drive, 17B CDROM drive, 21 CPU, 22 memory, 23A numeric keypad, 23B camera, 23C microphone, 24A monitor, 24B speaker, 25A communication IF, 25B infrared communication unit, 27x memory Card slot, 31 CPU, 32 memory, 3 A touch panel, 33B operation button, 33C scanner, 34A monitor, 34B printing unit, 35A communication IF, 35B infrared communication unit, 36 fixed disk, 100 communication network, 111 random extraction character string generation unit, 112 disposable key calculation unit, 113 Encryption unit, 113A, 113C First encryption unit, 113B, 113D Second encryption unit, 114 Mail processing unit, 115 Communication control unit, 116 Web processing unit, 161 Document database unit, 162 Additional information management unit, 162A First 1 additional information management unit, 162B second additional information management unit, 163, 163A shared key information management unit, 171A FD, 171B CDROM, 212 disposable key calculation unit, 212A disposable key acquisition unit, 213 decryption unit, 213A first decryption unit 213B second decoding , 214 mail processing unit, 215 communication control unit, 216 display unit, 217 disposable key transmission unit, 218 browser processing unit, 219 additional information processing unit, 221 authentication status storage unit, 263 shared key information management unit, 271 external memory card, 312 Disposable key acquisition unit, 313 decryption unit, 313A first decryption unit, 313B second decryption unit, 314 mail processing unit, 315 communication control unit, 316 printing unit, 318 additional information processing unit, 318A first additional information processing unit, 318B 2nd additional information processing part, 319 Job reservation part, 321 Authentication status memory | storage part, 363 Shared key information management part.

Claims (26)

共有鍵を予め記憶する第1共有鍵記憶手段を備えたサービス提供装置と、前記第1共有鍵記憶手段に記憶されている前記共有鍵と同じ共有鍵を予め記憶する第2共有鍵記憶手段を備えた共有鍵保持出力装置と、前記共有鍵を予め記憶していない共有鍵非保持出力装置とを含む暗号化電子文書処理システムであって、
前記サービス提供装置は、
無作為に抽出された文字が並べられた文字列である無作為抽出文字列を生成する無作為抽出文字列生成手段と、
前記第1共有鍵記憶手段に記憶された前記共有鍵と、前記無作為抽出文字列生成手段によって生成された前記無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵を生成する第1暗号鍵生成手段と、
前記第1暗号鍵生成手段によって生成された前記第1暗号鍵を用いて、電子文書を暗号化電子文書に暗号化する電子文書暗号化手段と、
前記電子文書暗号化手段によって暗号化された前記暗号化電子文書を、前記共有鍵保持出力装置または前記共有鍵非保持出力装置のうちの予め定められた第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する第1暗号化電子文書送信手段と、
前記無作為抽出文字列生成手段によって生成された前記無作為抽出文字列を、第1通信媒体を介して、前記共有鍵保持出力装置に送信する無作為抽出文字列送信手段とを備え、
前記第1の出力装置は、
前記サービス提供装置から送信された前記暗号化電子文書を受信する暗号化電子文書受信手段と、
前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を、前記共有鍵保持出力装置または前記共有鍵非保持出力装置のうちの前記第1の出力装置と異なる第2の出力装置に、前記一方向性の通信プロトコルに従って送信する第2暗号化電子文書送信手段とを備え、
前記第2の出力装置は、
前記第1の出力装置から送信された前記暗号化電子文書を受信する暗号化電子文書受信手段を備え、
前記共有鍵保持出力装置は、
前記サービス提供装置から送信された前記無作為抽出文字列を受信する無作為抽出文字列受信手段と、
前記第2共有鍵記憶手段に記憶された前記共有鍵と、前記無作為抽出文字列受信手段によって受信された前記無作為抽出文字列とに基づいて、前記所定の演算方法で、第2暗号鍵を生成する第2暗号鍵生成手段と、
前記第2暗号鍵生成手段によって生成された前記第2暗号鍵を用いて、前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を前記電子文書に復号する第1電子文書復号手段と、
前記第1電子文書復号手段によって復号された前記電子文書を出力する第1出力手段とを備え、
前記サービス提供装置または前記共有鍵保持出力装置は、
前記第1暗号鍵生成手段によって生成された前記第1暗号鍵、または、前記第2暗号鍵生成手段によって生成された前記第2暗号鍵を、前記第1通信媒体と異なる第2通信媒体を介して、前記共有鍵非保持出力装置に送信する暗号鍵送信手段を備え、
前記共有鍵非保持出力装置は、
前記サービス提供装置から送信された前記第1暗号鍵または前記共有鍵保持出力装置から送信された前記第2暗号鍵を受信する暗号鍵受信手段と、
前記暗号鍵受信手段によって受信された前記第1暗号鍵または前記第2暗号鍵を用いて、前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を前記電子文書に復号する第2電子文書復号手段と、
前記第2電子文書復号手段によって復号された前記電子文書を出力する第2出力手段とを備える、暗号化電子文書処理システム。
A service providing apparatus including first shared key storage means for storing a shared key in advance; and second shared key storage means for storing in advance the same shared key as the shared key stored in the first shared key storage means. An encrypted electronic document processing system comprising: a shared key holding output device provided; and a shared key non-holding output device that does not store the shared key in advance,
The service providing apparatus includes:
Randomly extracted character string generating means for generating a randomly extracted character string that is a character string in which randomly extracted characters are arranged;
Based on the shared key stored in the first shared key storage means and the randomly extracted character string generated by the randomly extracted character string generating means, the first encryption key is obtained by a predetermined calculation method. First encryption key generation means for generating;
Electronic document encryption means for encrypting an electronic document into an encrypted electronic document using the first encryption key generated by the first encryption key generation means;
The encrypted electronic document encrypted by the electronic document encryption unit is transferred to a predetermined first output device of the shared key holding output device or the shared key non-holding output device according to the OSI reference model. First encrypted electronic document transmission means for transmitting in accordance with a one-way communication protocol that does not require a response to the request in the application layer;
Randomly extracted character string transmitting means for transmitting the randomly extracted character string generated by the randomly extracted character string generating means to the shared key holding output device via the first communication medium,
The first output device includes:
An encrypted electronic document receiving means for receiving the encrypted electronic document transmitted from the service providing device;
The encrypted electronic document received by the encrypted electronic document receiving unit is transferred to a second output device different from the first output device of the shared key holding output device or the shared key non-holding output device. Second encrypted electronic document transmission means for transmitting in accordance with the one-way communication protocol,
The second output device includes:
An encrypted electronic document receiving means for receiving the encrypted electronic document transmitted from the first output device;
The shared key holding output device
Randomly extracted character string receiving means for receiving the randomly extracted character string transmitted from the service providing device;
Based on the shared key stored in the second shared key storage means and the randomly extracted character string received by the randomly extracted character string receiving means, the second cryptographic key is obtained by the predetermined calculation method. Second encryption key generation means for generating
First electronic document decrypting means for decrypting the encrypted electronic document received by the encrypted electronic document receiving means into the electronic document using the second encryption key generated by the second encryption key generating means; ,
First output means for outputting the electronic document decrypted by the first electronic document decryption means,
The service providing apparatus or the shared key holding output apparatus is
The first encryption key generated by the first encryption key generation unit or the second encryption key generated by the second encryption key generation unit via a second communication medium different from the first communication medium An encryption key transmitting means for transmitting to the shared key non-holding output device,
The shared key non-holding output device
Encryption key receiving means for receiving the first encryption key transmitted from the service providing apparatus or the second encryption key transmitted from the shared key holding output apparatus;
A second electronic device that decrypts the encrypted electronic document received by the encrypted electronic document receiving unit into the electronic document using the first encryption key or the second encryption key received by the encryption key receiving unit. Document decryption means;
An encrypted electronic document processing system comprising: second output means for outputting the electronic document decrypted by the second electronic document decryption means.
前記第1の出力装置は、前記共有鍵保持出力装置であり、
前記第2の出力装置は、前記共有鍵非保持出力装置であり、
前記第1出力手段は、前記電子文書を表示することによって出力し、
前記第2出力手段は、前記電子文書を印刷することによって出力する、請求項1に記載の暗号化電子文書処理システム。
The first output device is the shared key holding output device;
The second output device is the shared key non-holding output device;
The first output means outputs the electronic document by displaying it,
The encrypted electronic document processing system according to claim 1, wherein the second output unit outputs the electronic document by printing.
前記サービス提供装置は、
前記第1暗号鍵生成手段によって生成された前記第1暗号鍵を用いて、前記第1出力手段および前記第2出力手段によって前記電子文書が出力されるときの条件である付加情報を暗号化付加情報に暗号化する付加情報暗号化手段と、
前記付加情報暗号化手段によって暗号化された前記暗号化付加情報を前記第1の出力装置に送信する第1暗号化付加情報送信手段とをさらに備え、
前記第1の出力装置は、
前記サービス提供装置から送信された前記暗号化付加情報を受信する第1暗号化付加情報受信手段と、
前記第2暗号鍵生成手段によって生成された前記第2暗号鍵を用いて、前記第1暗号化付加情報受信手段によって受信された前記暗号化付加情報を前記付加情報に復号する第1付加情報復号手段と、
前記第1暗号化付加情報受信手段によって受信された前記暗号化付加情報を前記第2の出力装置に送信する第2暗号化付加情報送信手段とをさらに備え、
前記第2の出力装置は、
前記第1の出力装置から送信された前記暗号化付加情報を受信する第2暗号化付加情報受信手段と、
前記暗号鍵受信手段によって受信された前記第2暗号鍵を用いて、前記第2暗号化付加情報受信手段によって受信された前記暗号化付加情報を前記付加情報に復号する第2付加情報復号手段とをさらに備え、
前記第1出力手段は、前記第1付加情報復号手段によって復号された前記付加情報に従って、前記電子文書を出力し、
前記第2出力手段は、前記第2付加情報復号手段によって復号された前記付加情報に従って、前記電子文書を出力する、請求項2に記載の暗号化電子文書処理システム。
The service providing apparatus includes:
Using the first encryption key generated by the first encryption key generation unit, additional information that is a condition when the electronic document is output by the first output unit and the second output unit is encrypted and added. Additional information encryption means for encrypting information;
A first encrypted additional information transmitting means for transmitting the encrypted additional information encrypted by the additional information encryption means to the first output device;
The first output device includes:
First encrypted additional information receiving means for receiving the encrypted additional information transmitted from the service providing device;
First additional information decryption for decrypting the encrypted additional information received by the first encrypted additional information receiving means into the additional information using the second encryption key generated by the second encryption key generating means Means,
A second encrypted additional information transmitting means for transmitting the encrypted additional information received by the first encrypted additional information receiving means to the second output device;
The second output device includes:
Second encrypted additional information receiving means for receiving the encrypted additional information transmitted from the first output device;
Second additional information decrypting means for decrypting the encrypted additional information received by the second encrypted additional information receiving means into the additional information using the second encryption key received by the encryption key receiving means; Further comprising
The first output means outputs the electronic document in accordance with the additional information decoded by the first additional information decoding means,
The encrypted electronic document processing system according to claim 2, wherein the second output means outputs the electronic document in accordance with the additional information decrypted by the second additional information decryption means.
前記サービス提供装置は、
前記電子文書が出力される前記第1の出力装置および前記第2の出力装置に応じて、前記付加情報の電子文書が出力されるときの条件としてのセキュリティのレベルを設定する付加情報設定手段をさらに備え、
前記付加情報暗号化手段は、付加情報設定手段によってセキュリティのレベルが設定された付加情報を暗号化する、請求項3に記載の暗号化電子文書処理システム。
The service providing apparatus includes:
Additional information setting means for setting a security level as a condition when the electronic document of the additional information is output according to the first output device and the second output device to which the electronic document is output In addition,
4. The encrypted electronic document processing system according to claim 3, wherein the additional information encryption unit encrypts the additional information whose security level is set by the additional information setting unit.
前記無作為抽出文字列送信手段は、
前記第1共有鍵記憶手段に記憶された前記共有鍵を用いて、前記無作為抽出文字列生成手段によって生成された前記無作為抽出文字列を暗号化無作為抽出文字列に暗号化する無作為抽出文字列暗号化手段を含み、
前記無作為抽出文字列暗号化手段によって暗号化された前記暗号化無作為抽出文字列を送信し、
前記無作為抽出文字列受信手段は、前記サービス提供装置から送信された前記暗号化無作為抽出文字列を受信し、
前記第2暗号鍵生成手段は、
前記第2共有鍵記憶手段に記憶された前記共有鍵を用いて、前記無作為抽出文字列受信手段によって受信された前記暗号化無作為抽出文字列を無作為抽出文字列に復号する無作為抽出文字列復号手段を含み、
前記第2共有鍵記憶手段に記憶された共有鍵と、前記無作為抽出文字列復号手段によって復号された前記無作為抽出文字列とに基づいて、前記第2暗号鍵を生成する、請求項2に記載の暗号化電子文書処理システム。
The randomly extracted character string transmission means includes:
Randomly encrypting the randomly extracted character string generated by the randomly extracted character string generating means into an encrypted random extracted character string using the shared key stored in the first shared key storage means Including extracted string encryption means,
Sending the encrypted random extracted character string encrypted by the random extracted character string encryption means;
The randomly extracted character string receiving means receives the encrypted random extracted character string transmitted from the service providing device,
The second encryption key generation means includes
Random extraction for decrypting the encrypted random extracted character string received by the random extracted character string receiving means into a random extracted character string using the shared key stored in the second shared key storage means Including string decoding means,
The second encryption key is generated based on the shared key stored in the second shared key storage unit and the randomly extracted character string decrypted by the randomly extracted character string decrypting unit. The encrypted electronic document processing system described in 1.
前記第2の出力装置は、前記共有鍵保持出力装置であり、
前記第1の出力装置は、前記共有鍵非保持出力装置であり、
前記無作為抽出文字列送信手段は、
前記第1共有鍵記憶手段に記憶された前記共有鍵を用いて、前記無作為抽出文字列生成手段によって生成された無作為抽出文字列を暗号化無作為抽出文字列に暗号化する無作為抽出文字列暗号化手段を含み、
前記無作為抽出文字列暗号化手段によって暗号化された前記暗号化無作為抽出文字列を、前記共有鍵非保持出力装置を介して前記共有鍵保持出力装置に送信し、
前記無作為抽出文字列受信手段は、
前記サービス提供装置から前記共有鍵非保持出力装置を介して送信された前記暗号化無作為抽出文字列を受信し、
前記第2暗号鍵生成手段は、
前記第2共有鍵記憶手段に記憶された前記共有鍵を用いて、前記無作為抽出文字列受信手段によって受信された前記暗号化無作為抽出文字列を無作為抽出文字列に復号する無作為抽出文字列復号手段を含み、
前記第2共有鍵記憶手段に記憶された前記共有鍵と、前記無作為抽出文字列復号手段によって復号された前記無作為抽出文字列とに基づいて、前記第2暗号鍵を生成し、
前記第1出力手段は、前記電子文書を印刷することによって出力し、
前記第2出力手段は、前記電子文書を表示することによって出力する、請求項1に記載の暗号化電子文書処理システム。
The second output device is the shared key holding output device;
The first output device is the shared key non-holding output device;
The randomly extracted character string transmission means includes:
Random extraction for encrypting a random extracted character string generated by the randomly extracted character string generating means into an encrypted random extracted character string using the shared key stored in the first shared key storage means Including string encryption means,
Transmitting the encrypted random extraction character string encrypted by the random extraction character string encryption means to the shared key holding output device via the shared key non-holding output device;
The randomly extracted character string receiving means includes:
Receiving the encrypted randomly extracted character string transmitted from the service providing device via the shared key non-holding output device;
The second encryption key generation means includes
Random extraction for decrypting the encrypted random extracted character string received by the random extracted character string receiving means into a random extracted character string using the shared key stored in the second shared key storage means Including string decoding means,
Based on the shared key stored in the second shared key storage unit and the randomly extracted character string decrypted by the randomly extracted character string decrypting unit, the second encryption key is generated,
The first output means outputs the electronic document by printing;
The encrypted electronic document processing system according to claim 1, wherein the second output unit outputs the electronic document by displaying the electronic document.
前記サービス提供装置は、
前記第1暗号鍵生成手段によって生成された前記第1暗号鍵を用いて、前記第1出力手段および前記第2出力手段によって前記電子文書が出力されるときの条件である付加情報を暗号化付加情報に暗号化する付加情報暗号化手段と、
前記付加情報暗号化手段によって暗号化された暗号化付加情報を前記第1の出力装置に送信する第1暗号化付加情報送信手段とをさらに備え、
前記第1の出力装置は、
前記サービス提供装置から送信された前記暗号化付加情報を受信する第1暗号化付加情報受信手段と、
前記第1暗号鍵受信手段によって受信された前記第1暗号鍵を用いて、前記第1暗号化付加情報受信手段によって受信された前記暗号化付加情報を前記付加情報に復号する第1付加情報復号手段と、
前記第1暗号化付加情報受信手段によって受信された前記暗号化付加情報を前記第2の出力装置に送信する第2暗号化付加情報送信手段とをさらに備え、
前記第2の出力装置は、
前記第1の出力装置から送信された前記暗号化付加情報を受信する第2暗号化付加情報受信手段と、
前記第2暗号鍵生成手段によって生成された前記第2暗号鍵を用いて、前記第2暗号化付加情報受信手段によって受信された前記暗号化付加情報を前記付加情報に復号する第2付加情報復号手段とをさらに備え、
前記第1出力手段は、前記第2付加情報復号手段によって復号された前記付加情報に従って、前記電子文書を出力し、
前記第2出力手段は、前記第1付加情報復号手段によって復号された前記付加情報に従って、前記電子文書を出力する、請求項6に記載の暗号化電子文書処理システム。
The service providing apparatus includes:
Using the first encryption key generated by the first encryption key generation unit, additional information that is a condition when the electronic document is output by the first output unit and the second output unit is encrypted and added. Additional information encryption means for encrypting information;
A first encrypted additional information transmitting means for transmitting the encrypted additional information encrypted by the additional information encrypting means to the first output device;
The first output device includes:
First encrypted additional information receiving means for receiving the encrypted additional information transmitted from the service providing device;
First additional information decryption for decrypting the encrypted additional information received by the first encrypted additional information receiving means into the additional information using the first encryption key received by the first encryption key receiving means. Means,
A second encrypted additional information transmitting means for transmitting the encrypted additional information received by the first encrypted additional information receiving means to the second output device;
The second output device includes:
Second encrypted additional information receiving means for receiving the encrypted additional information transmitted from the first output device;
Second additional information decryption for decrypting the encrypted additional information received by the second encrypted additional information receiving means into the additional information using the second encryption key generated by the second encryption key generating means. And further comprising means,
The first output means outputs the electronic document according to the additional information decoded by the second additional information decoding means,
The encrypted electronic document processing system according to claim 6, wherein the second output unit outputs the electronic document according to the additional information decrypted by the first additional information decrypting unit.
前記第1の出力装置は、
前記第1の出力装置で前記第2暗号鍵が生成されたか否かを示す生成情報を記憶する生成情報記憶手段をさらに備え、
前記第1出力手段または前記第2出力手段のうちの前記第1の出力装置に備えられる出力手段は、前記生成情報記憶手段に記憶された前記生成情報に応じて、前記付加情報に従って、前記電子文書を出力する、請求項3または請求項7に記載の暗号化電子文書処理システム。
The first output device includes:
Further comprising generation information storage means for storing generation information indicating whether or not the second encryption key has been generated by the first output device;
The output means provided in the first output device of the first output means or the second output means is configured to output the electronic according to the additional information according to the generation information stored in the generation information storage means. The encrypted electronic document processing system according to claim 3 or 7, which outputs a document.
前記第2の出力装置は、
前記第2の出力装置で前記第2暗号鍵が生成されたか否かを示す生成情報を記憶する生成情報記憶手段をさらに備え、
前記第1出力手段または前記第2出力手段のうちの前記第2の出力装置に備えられる出力手段は、前記生成情報記憶手段に記憶された前記生成情報に応じて、前記付加情報に従って、前記電子文書を出力する、請求項3または請求項7に記載の暗号化電子文書処理システム。
The second output device includes:
Further comprising generation information storage means for storing generation information indicating whether or not the second encryption key has been generated by the second output device;
The output means included in the second output device of the first output means or the second output means is configured to output the electronic according to the additional information according to the generation information stored in the generation information storage means. The encrypted electronic document processing system according to claim 3 or 7, which outputs a document.
前記付加情報は、前記電子文書のメタデータを含み、
前記第1の出力装置は、
前記第1出力手段または前記第2出力手段のうちの前記第1の出力装置に備えられる出力手段によって前記電子文書が出力される前に、前記付加情報に含まれる前記メタデータに基づいて、前記電子文書の出力の前処理を行なう第1出力前処理手段をさらに備え、
前記第2の出力装置は、
前記第1出力手段または前記第2出力手段のうちの前記第2の出力装置に備えられる出力手段によって前記電子文書が出力される前に、前記付加情報に含まれる前記メタデータに基づいて、前記電子文書の出力の前処理を行なう第2出力前処理手段をさらに備える、請求項3または請求項7に記載の暗号化電子文書処理システム。
The additional information includes metadata of the electronic document,
The first output device includes:
Before the electronic document is output by the output means provided in the first output device of the first output means or the second output means, based on the metadata included in the additional information, A first output preprocessing means for preprocessing electronic document output;
The second output device includes:
Before the electronic document is output by the output means provided in the second output device of the first output means or the second output means, based on the metadata included in the additional information, 8. The encrypted electronic document processing system according to claim 3, further comprising second output preprocessing means for performing preprocessing of output of the electronic document.
前記サービス提供装置は、
前記第1共有鍵記憶手段に記憶された前記共有鍵を用いて、所定情報を暗号化所定情報に暗号化する所定情報暗号化手段と、
前記所定情報暗号化手段によって暗号化された前記暗号化所定情報を前記第1の出力装置に送信する第1暗号化所定情報送信手段とをさらに備え、
前記第1の出力装置は、
前記サービス提供装置から送信された前記暗号化所定情報を受信する第1暗号化所定情報受信手段と、
前記第1暗号化所定情報受信手段によって受信された前記暗号化所定情報を前記第2の出力装置に送信する第2暗号化所定情報送信手段とをさらに備え、
前記第2の出力装置は、
前記第1の出力装置から送信された前記暗号化所定情報を受信する第2暗号化所定情報受信手段と、
前記第2共有鍵記憶手段に記憶された前記共有鍵を用いて、前記第2暗号化所定情報受信手段によって受信された前記暗号化所定情報を前記所定情報に復号する所定情報復号手段とをさらに備える、請求項6に記載の暗号化電子文書処理システム。
The service providing apparatus includes:
Predetermined information encryption means for encrypting predetermined information into encrypted predetermined information using the shared key stored in the first shared key storage means;
A first encrypted predetermined information transmitting means for transmitting the encrypted predetermined information encrypted by the predetermined information encryption means to the first output device;
The first output device includes:
First encrypted predetermined information receiving means for receiving the encrypted predetermined information transmitted from the service providing device;
A second encrypted predetermined information transmitting means for transmitting the encrypted predetermined information received by the first encrypted predetermined information receiving means to the second output device;
The second output device includes:
Second encrypted predetermined information receiving means for receiving the encrypted predetermined information transmitted from the first output device;
Predetermined information decrypting means for decrypting the encrypted predetermined information received by the second encrypted predetermined information receiving means into the predetermined information using the shared key stored in the second shared key storage means; The encrypted electronic document processing system according to claim 6.
前記所定情報は、前記電子文書の改ざんを検証するための電子署名であり、
前記第2の出力装置は、
前記所定情報復号手段によって復号された所定情報を用いて前記電子文書の改ざんを検証する電子文書検証手段をさらに備える、請求項11に記載の暗号化電子文書処理システム。
The predetermined information is an electronic signature for verifying falsification of the electronic document,
The second output device includes:
12. The encrypted electronic document processing system according to claim 11, further comprising electronic document verification means for verifying tampering of the electronic document using the predetermined information decrypted by the predetermined information decryption means.
前記所定情報は、前記第2の出力装置における前記電子文書の出力に対する課金に関する情報であり、
前記第2の出力装置は、
前記所定情報復号手段によって復号された所定情報に基づいて、前記第1出力手段による前記電子文書の出力に対して課金をする課金手段をさらに備える、請求項11に記載の暗号化電子文書処理システム。
The predetermined information is information relating to billing for the output of the electronic document in the second output device,
The second output device includes:
12. The encrypted electronic document processing system according to claim 11, further comprising charging means for charging the output of the electronic document by the first output means based on the predetermined information decrypted by the predetermined information decrypting means. .
前記第1暗号化電子文書送信手段、および、前記第2暗号化電子文書送信手段は、それぞれ、前記一方向性の通信プロトコルである電子メールプロトコルに従って、電子メールの添付ファイルとして前記暗号化電子文書を送信する、請求項1に記載の暗号化電子文書処理システム。   The first encrypted electronic document transmission unit and the second encrypted electronic document transmission unit are respectively configured to transmit the encrypted electronic document as an attachment file of an electronic mail according to an electronic mail protocol which is the one-way communication protocol. The encrypted electronic document processing system according to claim 1, wherein: 前記暗号鍵送信手段は、
前記第1暗号鍵または前記第2暗号鍵を送信する前記共有鍵非保持出力装置が、前記第1暗号化電子文書送信手段または前記第2暗号化電子文書送信手段によって前記暗号化電子文書を送信した前記共有鍵非保持出力装置であるか否かを認証する送信先認証手段を含み、
前記送信先認証手段によって前記暗号化電子文書を送信した前記共有鍵非保持出力装置であると認証された場合に、前記第1暗号鍵または前記第2暗号鍵を送信する、請求項1から請求項14までのいずれかに記載の暗号化電子文書処理システム。
The encryption key transmitting means includes
The shared key non-holding output device that transmits the first encryption key or the second encryption key transmits the encrypted electronic document by the first encrypted electronic document transmission unit or the second encrypted electronic document transmission unit. A destination authentication means for authenticating whether or not the shared key non-holding output device is,
The first encryption key or the second encryption key is transmitted when the transmission destination authentication unit authenticates the shared key non-holding output device that has transmitted the encrypted electronic document. Item 15. The encrypted electronic document processing system according to any one of Items 14 to 14.
前記サービス提供装置、前記共有鍵保持出力装置、および、前記共有鍵非保持出力装置は、それぞれ、
前記第1暗号鍵または前記第2暗号鍵を暗号化および復号するために用いられる秘密情報を予め記憶する秘密情報記憶手段をさらに備え、
前記電子文書暗号化手段は、
前記秘密情報記憶手段に記憶された前記秘密情報と、前記第1暗号鍵生成手段によって生成された前記第1暗号鍵とに基づいて、第3暗号鍵を生成する第3暗号鍵生成手段を含み、
前記第3暗号鍵生成手段によって生成された前記第3暗号鍵を用いて、前記電子文書を前記暗号化電子文書に暗号化し、
前記第1電子文書復号手段は、
前記秘密情報記憶手段に記憶された前記秘密情報と、前記第2暗号鍵生成手段によって生成された前記第2暗号鍵とに基づいて、第4暗号鍵を生成する第4暗号鍵生成手段を含み、
前記第4暗号鍵生成手段によって生成された前記第4暗号鍵を用いて、前記暗号化電子文書を前記電子文書に復号し、
前記第2電子文書復号手段は、
前記秘密情報記憶手段に記憶された前記秘密情報と、前記暗号鍵受信手段によって受信された前記第1暗号鍵または前記第2暗号鍵とに基づいて、第5暗号鍵を生成する第5暗号鍵生成手段を含み、
前記第5暗号鍵生成手段によって生成された前記第5暗号鍵を用いて、前記暗号化電子文書を前記電子文書に復号する、請求項1から請求項15までのいずれかに記載の暗号化電子文書処理システム。
The service providing apparatus, the shared key holding output apparatus, and the shared key non-holding output apparatus are respectively
A secret information storage unit that prestores secret information used to encrypt and decrypt the first encryption key or the second encryption key;
The electronic document encryption means includes:
3rd encryption key production | generation means which produces | generates a 3rd encryption key based on the said secret information memorize | stored in the said secret information storage means and the said 1st encryption key produced | generated by the said 1st encryption key production | generation means ,
Encrypting the electronic document into the encrypted electronic document using the third encryption key generated by the third encryption key generating means;
The first electronic document decryption means includes:
4th encryption key production | generation means which produces | generates a 4th encryption key based on the said secret information memorize | stored in the said secret information storage means and the said 2nd encryption key produced | generated by the said 2nd encryption key production | generation means ,
Decrypting the encrypted electronic document into the electronic document using the fourth encryption key generated by the fourth encryption key generating means;
The second electronic document decryption means includes:
A fifth encryption key for generating a fifth encryption key based on the secret information stored in the secret information storage means and the first encryption key or the second encryption key received by the encryption key receiving means Including generating means,
The encrypted electronic document according to any one of claims 1 to 15, wherein the encrypted electronic document is decrypted into the electronic document by using the fifth encryption key generated by the fifth encryption key generating means. Document processing system.
前記共有鍵保持出力装置は、
前記第1電子文書復号手段によって暗号化電子文書が前記電子文書に復号された後に、復号に用いられた前記第2暗号鍵と対応する前記無作為抽出文字列を削除する無作為抽出文字列削除手段をさらに備える、請求項1から請求項16までのいずれかに記載の暗号化電子文書処理システム。
The shared key holding output device
Randomly extracted character string deletion that deletes the randomly extracted character string corresponding to the second encryption key used for decryption after the encrypted electronic document is decrypted into the electronic document by the first electronic document decryption means The encrypted electronic document processing system according to any one of claims 1 to 16, further comprising means.
前記暗号化電子文書処理システムは、前記共有鍵保持出力装置を複数含み、
前記第1共有鍵記憶手段は、前記共有鍵を複数の前記共有鍵保持出力装置ごとに予め記憶し、
前記第1暗号鍵生成手段は、前記暗号化電子文書が送信される前記共有鍵保持出力装置に応じて前記第1共有鍵記憶手段に記憶されている前記共有鍵と、前記無作為抽出文字列とに基づいて、前記第1暗号鍵を生成する、請求項1から請求項17までのいずれかに記載の暗号化電子文書処理システム。
The encrypted electronic document processing system includes a plurality of shared key holding output devices,
The first shared key storage means stores the shared key in advance for each of the plurality of shared key holding output devices,
The first encryption key generation unit includes the shared key stored in the first shared key storage unit according to the shared key holding output device to which the encrypted electronic document is transmitted, and the randomly extracted character string. The encrypted electronic document processing system according to any one of claims 1 to 17, wherein the first encryption key is generated based on:
前記第1の出力装置は、
前記第2暗号化電子文書送信手段によって前記暗号化電子文書が送信された後、前記暗号化電子文書を、前記暗号化電子文書を前記サービス提供装置から受信するためのリンク情報に置換する電子文書置換手段をさらに備え、
前記暗号化電子文書受信手段は、前記電子文書置換手段によって置換されたリンク情報に基づいて、前記サービス提供装置に前記暗号化電子文書の送信を要求して、当該要求に応じて前記サービス提供装置から送信された前記暗号化電子文書を再度受信する、請求項1から請求項18までのいずれかに記載の暗号化電子文書処理システム。
The first output device includes:
An electronic document that replaces the encrypted electronic document with link information for receiving the encrypted electronic document from the service providing apparatus after the encrypted electronic document is transmitted by the second encrypted electronic document transmitting means. A replacement means,
The encrypted electronic document receiving means requests the service providing apparatus to transmit the encrypted electronic document based on the link information replaced by the electronic document replacing means, and the service providing apparatus in response to the request The encrypted electronic document processing system according to any one of claims 1 to 18, wherein the encrypted electronic document transmitted from the server is received again.
前記サービス提供装置は、コンピュータであり、
前記第1の出力装置は、携帯電話であり、
前記第2の出力装置は、プリンタである、請求項1から請求項19までのいずれかに記載の暗号化電子文書処理システム。
The service providing device is a computer;
The first output device is a mobile phone;
The encrypted electronic document processing system according to any one of claims 1 to 19, wherein the second output device is a printer.
共有鍵を予め記憶する共有鍵記憶手段と、
無作為に抽出された文字が並べられた文字列である無作為抽出文字列を生成する無作為抽出文字列生成手段と、
前記共有鍵記憶手段に記憶された前記共有鍵と、前記無作為抽出文字列生成手段によって生成された前記無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵を生成する暗号鍵生成手段と、
前記暗号鍵生成手段によって生成された前記第1暗号鍵を用いて、電子文書を暗号化電子文書に暗号化する電子文書暗号化手段と、
前記電子文書暗号化手段によって暗号化された前記暗号化電子文書を、第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する暗号化電子文書送信手段と、
前記無作為抽出文字列生成手段によって生成された前記無作為抽出文字列を前記第1の出力装置に送信する無作為抽出文字列送信手段とを備え、
前記暗号化電子文書送信手段によって前記第1の出力装置に送信された前記暗号化電子文書は、前記第1の出力装置に予め記憶された前記共有鍵記憶手段に記憶された共有鍵と同じ共有鍵と前記無作為抽出文字列送信手段によって前記第1の出力装置に送信された前記無作為抽出文字列とに基づいて前記所定の演算方法で生成された第2暗号鍵を用いて、前記電子文書に復号されて出力され、
前記暗号化電子文書送信手段によって前記第1の出力装置に送信され第2の出力装置に転送された前記暗号化電子文書は、前記第1の出力装置で生成され第2の出力装置に送信された前記第2暗号鍵を用いて、前記電子文書に復号されて出力される、サービス提供装置。
Shared key storage means for storing the shared key in advance;
Randomly extracted character string generating means for generating a randomly extracted character string that is a character string in which randomly extracted characters are arranged;
Based on the shared key stored in the shared key storage means and the randomly extracted character string generated by the randomly extracted character string generating means, a first encryption key is generated by a predetermined calculation method. An encryption key generation means;
Electronic document encryption means for encrypting an electronic document into an encrypted electronic document using the first encryption key generated by the encryption key generation means;
Encryption for transmitting the encrypted electronic document encrypted by the electronic document encryption means to the first output device according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model Electronic document transmission means;
Randomly extracted character string transmitting means for transmitting the randomly extracted character string generated by the randomly extracted character string generating means to the first output device,
The encrypted electronic document transmitted to the first output device by the encrypted electronic document transmission unit is shared with the shared key stored in the shared key storage unit stored in advance in the first output device. Using the second encryption key generated by the predetermined calculation method based on the key and the randomly extracted character string transmitted to the first output device by the randomly extracted character string transmitting means, the electronic The document is decrypted and output,
The encrypted electronic document transmitted to the first output device and transferred to the second output device by the encrypted electronic document transmission means is generated by the first output device and transmitted to the second output device. A service providing apparatus that decrypts and outputs the electronic document using the second encryption key.
共有鍵を予め記憶する共有鍵記憶手段と、
無作為に抽出された文字が並べられた文字列である無作為抽出文字列を生成する無作為抽出文字列生成手段と、
前記共有鍵記憶手段に記憶された前記共有鍵と、前記無作為抽出文字列生成手段によって生成された前記無作為抽出文字列とに基づいて、所定の演算方法で、第1暗号鍵を生成する暗号鍵生成手段と、
前記暗号鍵生成手段によって生成された前記第1暗号鍵を用いて、電子文書を暗号化電子文書に暗号化する電子文書暗号化手段と、
前記電子文書暗号化手段によって暗号化された前記暗号化電子文書を、第1の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する暗号化電子文書送信手段と、
前記無作為抽出文字列生成手段によって生成された前記無作為抽出文字列を、第1通信媒体を介して、前記第1の出力装置に送信する無作為抽出文字列送信手段と、
前記暗号鍵生成手段によって生成された前記第1暗号鍵を、前記第1通信媒体と異なる第2通信媒体を介して、第2の出力装置に送信する暗号鍵送信手段とを備え、
前記暗号化電子文書送信手段によって前記第1の出力装置に送信された前記暗号化電子文書は、前記暗号鍵送信手段によって前記第1の出力装置に送信された前記第1暗号鍵を用いて、前記電子文書に復号されて出力され、
前記暗号化電子文書送信手段によって前記第1の出力装置に送信され前記第2の出力装置に転送された前記暗号化電子文書は、前記第2の出力装置に予め記憶された前記共有鍵記憶手段に記憶された共有鍵と同じ共有鍵と前記無作為抽出文字列送信手段によって前記第2の出力装置に送信された前記無作為抽出文字列とに基づいて前記所定の演算方法で生成された第2暗号鍵を用いて、前記電子文書に復号されて出力される、サービス提供装置。
Shared key storage means for storing the shared key in advance;
Randomly extracted character string generating means for generating a randomly extracted character string that is a character string in which randomly extracted characters are arranged;
Based on the shared key stored in the shared key storage means and the randomly extracted character string generated by the randomly extracted character string generating means, a first encryption key is generated by a predetermined calculation method. An encryption key generation means;
Electronic document encryption means for encrypting an electronic document into an encrypted electronic document using the first encryption key generated by the encryption key generation means;
Encryption for transmitting the encrypted electronic document encrypted by the electronic document encryption means to the first output device according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model Electronic document transmission means;
Randomly extracted character string transmitting means for transmitting the randomly extracted character string generated by the randomly extracted character string generating means to the first output device via a first communication medium;
Encryption key transmission means for transmitting the first encryption key generated by the encryption key generation means to a second output device via a second communication medium different from the first communication medium,
The encrypted electronic document transmitted to the first output device by the encrypted electronic document transmission unit uses the first encryption key transmitted to the first output device by the encryption key transmission unit, The electronic document is decrypted and output,
The encrypted electronic document transmitted to the first output device by the encrypted electronic document transmission unit and transferred to the second output device is stored in the shared key storage unit stored in advance in the second output device Is generated by the predetermined calculation method based on the same shared key as the shared key stored in and the randomly extracted character string transmitted to the second output device by the randomly extracted character string transmitting means. 2. A service providing apparatus that decrypts and outputs the electronic document using an encryption key.
共有鍵を予め記憶するサービス提供装置によって生成され前記サービス提供装置から第1通信媒体を介して送信された無作為抽出文字列を受信する無作為抽出文字列受信手段と、
前記サービス提供装置に記憶された共有鍵と前記サービス提供装置によって生成された前記無作為抽出文字列とに基づいて前記サービス提供装置によって所定の演算方法で生成された、第1暗号鍵を用いて前記サービス提供装置によって電子文書が暗号化された暗号化電子文書を受信する暗号化電子文書受信手段と、
前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を他の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する暗号化電子文書送信手段と、
前記サービス提供装置に記憶された共有鍵と同じ共有鍵を予め記憶する共有鍵記憶手段と、
前記共有鍵記憶手段に記憶された前記共有鍵と、前記無作為抽出文字列受信手段によって受信された前記無作為抽出文字列とに基づいて、前記所定の演算方法で、第2暗号鍵を生成する暗号鍵生成手段と、
前記第2暗号鍵生成手段によって生成された前記第2暗号鍵を用いて、前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を前記電子文書に復号する電子文書復号手段と、
前記電子文書復号手段によって復号された前記電子文書を出力する出力手段と、
前記暗号鍵生成手段によって生成された前記第2暗号鍵を、前記第1通信媒体と異なる第2通信媒体を介して、前記他の出力装置に送信する暗号鍵送信手段とを備え、
前記暗号化電子文書送信手段によって前記他の出力装置に送信された前記暗号化電子文書は、前記暗号鍵送信手段によって前記他の出力装置に送信された前記第2暗号鍵を用いて、前記他の出力装置によって前記電子文書に復号されて出力される、暗号化電子文書出力装置。
Randomly extracted character string receiving means for receiving a randomly extracted character string generated by a service providing device that stores a shared key in advance and transmitted from the service providing device via the first communication medium;
Using the first encryption key generated by the service providing apparatus by a predetermined calculation method based on the shared key stored in the service providing apparatus and the randomly extracted character string generated by the service providing apparatus An encrypted electronic document receiving means for receiving an encrypted electronic document in which the electronic document is encrypted by the service providing device;
An encrypted electronic document for transmitting the encrypted electronic document received by the encrypted electronic document receiving means to another output device according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model A transmission means;
Shared key storage means for storing in advance the same shared key as the shared key stored in the service providing device;
Based on the shared key stored in the shared key storage means and the randomly extracted character string received by the randomly extracted character string receiving means, a second encryption key is generated by the predetermined calculation method Encryption key generation means for
Electronic document decryption means for decrypting the encrypted electronic document received by the encrypted electronic document reception means into the electronic document using the second encryption key generated by the second encryption key generation means;
Output means for outputting the electronic document decrypted by the electronic document decryption means;
Encryption key transmitting means for transmitting the second encryption key generated by the encryption key generating means to the other output device via a second communication medium different from the first communication medium,
The encrypted electronic document transmitted to the other output device by the encrypted electronic document transmission unit uses the second encryption key transmitted to the other output device by the encryption key transmission unit, and the other An encrypted electronic document output device that is decrypted and output to the electronic document by the output device.
サービス提供装置に予め記憶された共有鍵と前記サービス提供装置によって生成された無作為抽出文字列とに基づいてサービス提供装置によって所定の演算方法で生成された第1暗号鍵を用いて前記サービス提供装置によって電子文書が暗号化された暗号化電子文書を受信する暗号化電子文書受信手段と、
前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を他の出力装置に、OSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信する暗号化電子文書送信手段と、
前記サービス提供装置によって生成された前記第1暗号鍵を受信する暗号鍵受信手段と、
前記暗号鍵受信手段によって受信された前記第1暗号鍵を用いて、前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を前記電子文書に復号する電子文書復号手段と、
前記電子文書復号手段によって復号された前記電子文書を出力する出力手段とを備え、
前記暗号化電子文書送信手段によって前記他の出力装置に送信された前記暗号化電子文書は、前記他の出力装置に記憶された前記サービス提供装置に記憶された共有鍵と同じ共有鍵と前記サービス提供装置から送信された無作為抽出文字列とに基づいて前記所定の演算方法で生成された第2暗号鍵を用いて、前記他の出力装置によって前記電子文書に復号されて出力される、暗号化電子文書出力装置。
The service provision using the first encryption key generated by the service providing apparatus by a predetermined calculation method based on the shared key stored in advance in the service providing apparatus and the randomly extracted character string generated by the service providing apparatus An encrypted electronic document receiving means for receiving an encrypted electronic document in which the electronic document is encrypted by the device;
An encrypted electronic document for transmitting the encrypted electronic document received by the encrypted electronic document receiving means to another output device according to a one-way communication protocol that does not require a response to a request in the application layer of the OSI reference model A transmission means;
Encryption key receiving means for receiving the first encryption key generated by the service providing device;
Electronic document decryption means for decrypting the encrypted electronic document received by the encrypted electronic document reception means into the electronic document using the first encryption key received by the encryption key reception means;
Output means for outputting the electronic document decrypted by the electronic document decryption means,
The encrypted electronic document transmitted to the other output device by the encrypted electronic document transmission means is the same shared key as the shared key stored in the service providing device stored in the other output device and the service. A cipher that is decrypted and output to the electronic document by the other output device using the second encryption key generated by the predetermined calculation method based on the randomly extracted character string transmitted from the providing device Electronic document output device.
サービス提供装置に予め記憶された共有鍵と前記サービス提供装置によって生成された無作為抽出文字列とに基づいて前記サービス提供装置によって所定の演算方法で生成された第1暗号鍵を用いて前記サービス提供装置によって電子文書が暗号化されサービス提供装置から他の出力装置を介してOSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信された暗号化電子文書を受信する暗号化電子文書受信手段と、
前記他の出力装置に予め記憶された前記サービス提供装置に記憶された共有鍵と同じ共有鍵と前記サービス提供装置から送信された前記無作為抽出文字列とに基づいて所定の演算方法で前記他の出力装置によって生成された第2暗号鍵を受信する暗号鍵受信手段と、
前記暗号鍵受信手段によって受信された前記第2暗号鍵を用いて、前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を前記電子文書に復号する電子文書復号手段と、
前記電子文書復号手段によって復号された前記電子文書を出力する出力手段とを備え、
前記他の出力装置に送信された暗号化電子文書は、前記他の出力装置によって生成された前期第2暗号鍵を用いて、前記他の出力装置によって前記電子文書に復号されて出力される、暗号化電子文書出力装置。
The service using the first encryption key generated by the service providing apparatus by a predetermined calculation method based on the shared key stored in advance in the service providing apparatus and the randomly extracted character string generated by the service providing apparatus. The electronic document is encrypted by the providing device, and the encrypted electronic document transmitted according to the one-way communication protocol that does not require a response to the request in the application layer of the OSI reference model via the other output device from the service providing device is received An encrypted electronic document receiving means,
Based on the same shared key stored in advance in the other output device as the shared key stored in the service providing device and the randomly extracted character string transmitted from the service providing device, the other Encryption key receiving means for receiving the second encryption key generated by the output device;
Electronic document decryption means for decrypting the encrypted electronic document received by the encrypted electronic document reception means into the electronic document using the second encryption key received by the encryption key reception means;
Output means for outputting the electronic document decrypted by the electronic document decryption means,
The encrypted electronic document transmitted to the other output device is decrypted and output to the electronic document by the other output device using the previous second encryption key generated by the other output device. Encrypted electronic document output device.
サービス提供装置に予め記憶された共有鍵と前記サービス提供装置によって生成された無作為抽出文字列とに基づいて前記サービス提供装置によって所定の演算方法で生成された第1暗号鍵を用いて前記サービス提供装置によって電子文書が暗号化されサービス提供装置から他の出力装置を介してOSI参照モデルのアプリケーション層において要求に対する応答が必要とされない一方向性の通信プロトコルに従って送信された暗号化電子文書を受信する暗号化電子文書受信手段と、
前記サービス提供装置から送信された前記無作為抽出文字列を受信する無作為抽出文字列受信手段と、
前記サービス提供装置に記憶された共有鍵と同じ共有鍵を予め記憶する共有鍵記憶手段と、
前記共有鍵記憶手段に記憶された前記共有鍵と、前記無作為抽出文字列受信手段によって受信された前記無作為抽出文字列とに基づいて、前記所定の演算方法で、第2暗号鍵を生成する暗号鍵生成手段と、
前記暗号鍵生成手段によって生成された前記第2暗号鍵を用いて、前記暗号化電子文書受信手段によって受信された前記暗号化電子文書を前記電子文書に復号する電子文書復号手段と、
前記電子文書復号手段によって復号された前記電子文書を出力する出力手段とを備え、
前記他の出力装置に送信された暗号化電子文書は、前記サービス提供装置から前記他の出力装置に送信された第1暗号鍵を用いて、前記他の出力装置によって前記電子文書に復号されて出力される、暗号化電子文書出力装置。
The service using the first encryption key generated by the service providing apparatus by a predetermined calculation method based on the shared key stored in advance in the service providing apparatus and the randomly extracted character string generated by the service providing apparatus. The electronic document is encrypted by the providing device, and the encrypted electronic document transmitted according to the one-way communication protocol that does not require a response to the request in the application layer of the OSI reference model via the other output device from the service providing device is received. An encrypted electronic document receiving means,
Randomly extracted character string receiving means for receiving the randomly extracted character string transmitted from the service providing device;
Shared key storage means for storing in advance the same shared key as the shared key stored in the service providing device;
Based on the shared key stored in the shared key storage means and the randomly extracted character string received by the randomly extracted character string receiving means, a second encryption key is generated by the predetermined calculation method Encryption key generation means for
Electronic document decrypting means for decrypting the encrypted electronic document received by the encrypted electronic document receiving means into the electronic document using the second encryption key generated by the encryption key generating means;
Output means for outputting the electronic document decrypted by the electronic document decryption means,
The encrypted electronic document transmitted to the other output device is decrypted into the electronic document by the other output device using the first encryption key transmitted from the service providing device to the other output device. An encrypted electronic document output device to be output.
JP2005235367A 2005-08-15 2005-08-15 Encrypted electronic document processing system, service providing apparatus, and electronic document output apparatus Expired - Fee Related JP4584071B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005235367A JP4584071B2 (en) 2005-08-15 2005-08-15 Encrypted electronic document processing system, service providing apparatus, and electronic document output apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005235367A JP4584071B2 (en) 2005-08-15 2005-08-15 Encrypted electronic document processing system, service providing apparatus, and electronic document output apparatus

Publications (2)

Publication Number Publication Date
JP2007053434A JP2007053434A (en) 2007-03-01
JP4584071B2 true JP4584071B2 (en) 2010-11-17

Family

ID=37917605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005235367A Expired - Fee Related JP4584071B2 (en) 2005-08-15 2005-08-15 Encrypted electronic document processing system, service providing apparatus, and electronic document output apparatus

Country Status (1)

Country Link
JP (1) JP4584071B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008262282A (en) * 2007-04-10 2008-10-30 Hitachi Software Eng Co Ltd Encryption/decryption device and electronic mail system
JP5001083B2 (en) * 2007-07-26 2012-08-15 楽天株式会社 Advertising system using a copy machine
JP5375812B2 (en) * 2010-12-16 2013-12-25 キヤノンマーケティングジャパン株式会社 Print management system, control method and program thereof, and print management server, control method and program thereof
KR101189683B1 (en) * 2012-04-04 2012-10-11 주식회사 시큐브 System, apparatus and method for encoding transmittance of personal information proteced document

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001177513A (en) * 1999-12-15 2001-06-29 Nippon Telegr & Teleph Corp <Ntt> Authenticating method in communication system, center equipment, and recording medium with authentication program recorded thereon
JP2002287919A (en) * 2000-12-22 2002-10-04 Ricoh Co Ltd Device for forming image, method for processing enciphered data and system for processing enciphered data
JP2002366314A (en) * 2001-06-12 2002-12-20 Toshiba Corp Print system for electronic document file, its method, and mobile telephone
JP2003157366A (en) * 2001-11-20 2003-05-30 Sanyo Electric Co Ltd Personal information management method, management device, physical distribution device, and goods physical distribution system
JP2005354264A (en) * 2004-06-09 2005-12-22 Kddi Corp System and method for providing personal information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001177513A (en) * 1999-12-15 2001-06-29 Nippon Telegr & Teleph Corp <Ntt> Authenticating method in communication system, center equipment, and recording medium with authentication program recorded thereon
JP2002287919A (en) * 2000-12-22 2002-10-04 Ricoh Co Ltd Device for forming image, method for processing enciphered data and system for processing enciphered data
JP2002366314A (en) * 2001-06-12 2002-12-20 Toshiba Corp Print system for electronic document file, its method, and mobile telephone
JP2003157366A (en) * 2001-11-20 2003-05-30 Sanyo Electric Co Ltd Personal information management method, management device, physical distribution device, and goods physical distribution system
JP2005354264A (en) * 2004-06-09 2005-12-22 Kddi Corp System and method for providing personal information

Also Published As

Publication number Publication date
JP2007053434A (en) 2007-03-01

Similar Documents

Publication Publication Date Title
CN1326027C (en) Print data communication with data encryption and decryption
KR100536817B1 (en) Information processor and information processing method for cooperative operation of job processor
JP4821405B2 (en) File access control device and file management system
JP4325680B2 (en) Image processing apparatus and image processing system
CN1967558B (en) Image processing system, information processing device, and information processing method
KR20080017390A (en) Electronic business card exchange system and method
JP2007042112A (en) Electronic document sharing system, method and program
US8924430B2 (en) Image processing apparatus, image processing system, and method of processing image
JP2006341600A (en) Secure printing of electronic document
JP2006344212A (en) Securely printing of electronic document
JP2006341601A (en) Secure printing of electronic document
JP2007108883A (en) Information processing method and device therefor
JP6763280B2 (en) Image formation system, print log management method
JP2008177683A (en) Data providing system, data receiving system, data providing method, data providing program and data receiving program
JP2008065658A (en) Information processing system
US20180082067A1 (en) Information Sharing Server, Information Sharing System And Non-Transitory Recording Medium
JP4584071B2 (en) Encrypted electronic document processing system, service providing apparatus, and electronic document output apparatus
JP2004164604A (en) Electronic file management device, program, and file access control method
JP5153464B2 (en) Document management system, document management method, and computer program
JP2004153472A (en) Job processing control apparatus and method therefor
JP4442583B2 (en) Image processing apparatus, image processing method, and image processing program
JP2008165577A (en) Document management system, image forming device, document management method and document management program
JP2004151897A (en) Job process control device and method
JP2006332965A (en) Print system, printer for print system, and document managing device
JP7484294B2 (en) Information processing device and information processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070822

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100824

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100901

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees