JP5179319B2 - Electronic document management apparatus and electronic document management method - Google Patents

Electronic document management apparatus and electronic document management method Download PDF

Info

Publication number
JP5179319B2
JP5179319B2 JP2008281905A JP2008281905A JP5179319B2 JP 5179319 B2 JP5179319 B2 JP 5179319B2 JP 2008281905 A JP2008281905 A JP 2008281905A JP 2008281905 A JP2008281905 A JP 2008281905A JP 5179319 B2 JP5179319 B2 JP 5179319B2
Authority
JP
Japan
Prior art keywords
electronic document
data
information
management information
signature
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.)
Active
Application number
JP2008281905A
Other languages
Japanese (ja)
Other versions
JP2010108383A (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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech Ltd
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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2008281905A priority Critical patent/JP5179319B2/en
Publication of JP2010108383A publication Critical patent/JP2010108383A/en
Application granted granted Critical
Publication of JP5179319B2 publication Critical patent/JP5179319B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Description

本発明は、電子文書の真正性の保証をおこなう電子文書管理装置および電子文書管理方法に関し、特に電子署名の効率的付与が可能な電子文書管理装置および電子文書管理方法に関する。   The present invention relates to an electronic document management apparatus and an electronic document management method for guaranteeing the authenticity of an electronic document, and more particularly to an electronic document management apparatus and an electronic document management method capable of efficiently providing an electronic signature.

電子文書は内容の変更が容易であることから、電子文書が正規の作成者によるものか、正規の作成者以外の者による改変がないかを確かめることが容易でない。
そこで、従来から、電子文書の作成者の保証と、作成された電子文書の改ざん防止を目的とした技術として電子署名が知られている。電子署名をおこなうことで、作成者を含めて電子文書の改ざんがされていないことを証明可能にする。
Since it is easy to change the content of an electronic document, it is not easy to confirm whether the electronic document is from a legitimate creator or is not altered by anyone other than the legitimate creator.
Therefore, conventionally, an electronic signature is known as a technique for the purpose of guaranteeing the creator of an electronic document and preventing falsification of the created electronic document. By making an electronic signature, it is possible to prove that the electronic document including the creator has not been tampered with.

しかし、電子文書は、変更が容易であり、また大量のデータを容易に扱うことができるという性質から、データの更新があるのが普通である。
そこで、電子署名の対象となる文書を構成要素に分割し、構成要素ごとに電子署名を付与することがおこなわれている。
However, electronic documents are usually updated due to the nature of being easy to change and the ability to easily handle large amounts of data.
Therefore, a document to be subjected to an electronic signature is divided into constituent elements, and an electronic signature is assigned to each constituent element.

しかし、電子文書のデータ量が増大し構成要素が多くなると電子署名を付与するときの処理量が増大する。また、電子署名を検証する作業量も増大する。
そこで、分割した構成要素についてハッシュ値を計算し、計算したハッシュ値を結合したデータに対し電子署名を付与する技術がある(たとえば、特許文献1参照)。
特開2005−51734号公報
However, if the amount of data in an electronic document increases and the number of components increases, the amount of processing when an electronic signature is added increases. Also, the amount of work for verifying the electronic signature increases.
Therefore, there is a technique for calculating a hash value for each divided component and attaching an electronic signature to data obtained by combining the calculated hash values (see, for example, Patent Document 1).
JP 2005-51734 A

電子文書を扱う範囲は今後ますます増加するとともに、電子文書を修正、訂正、追加または削除などの改版をする要求も増していく。改版があっても、電子文書に対して十分な真正性の保証の確保をはかると同時に、保証をするための処理量の軽減が求められる。   The range of handling electronic documents will continue to increase, and the demand for revisions such as correction, correction, addition or deletion of electronic documents will also increase. Even if there is a revision, it is necessary to ensure sufficient authenticity of the electronic document and at the same time reduce the processing amount for guaranteeing it.

しかし、従来の技術では分割した構成要素が改版により変化する場合には、ハッシュ値は再計算され、再計算したハッシュ値を結合したデータに対して新たに電子署名が付与されることとなる。このような処理をする際には、改版後の構成要素を揃えて電子署名を付与することとなり、ハッシュ値の生成、電子署名の付与の処理時間は軽減されない。   However, in the conventional technique, when the divided components change due to revision, the hash value is recalculated, and a new electronic signature is added to the data obtained by combining the recalculated hash values. When such processing is performed, the digital signature is assigned by arranging the revised components, and the processing time for generating the hash value and applying the electronic signature is not reduced.

本発明はこのような点に鑑みてなされたものであり、電子文書の改版時の処理負担軽減ができる電子文書管理装置および電子文書管理方法を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an electronic document management apparatus and an electronic document management method capable of reducing a processing burden at the time of revision of an electronic document.

本発明では上記課題を解決するために、複数の構成要素からなる電子文書を真正性保証可能に管理する電子文書管理装置であって、2以上の電子文書の構成要素を一群にして取得する構成要素取得手段と、取得した一群の構成要素を記録可能な電子文書記録手段と、前記構成要素にユニークな識別情報を付与する識別情報付与手段と、前記構成要素の各々についてハッシュ値を生成するハッシュ値生成手段と、生成した前記各ハッシュ値を結合したデータに対して電子署名を付与する電子署名付与手段と、一群の前記構成要素に含まれる一以上の前記構成要素により構成される一の電子文書ごとの構成を表す構成情報を受け付ける構成情報受付手段と、前記構成情報に基づいて前記一の電子文書ごとに、前記識別情報と前記ハッシュ値と前記電子署名との対応を関係付けた管理情報を生成する管理情報生成手段と、前記一の電子文書を構成する構成要素ごとの改版を指示する改版情報を受け付ける改版情報受付手段と、前記一の電子文書の構成要素に改版があった場合に、改版となる構成要素の識別情報と、前記改版となる構成要素の各々についてのハッシュ値と、生成した前記各ハッシュ値を結合したデータに対しての前記電子署名との対応を関係付けた更新管理情報で、前記管理情報を更新する管理情報更新手段と、を備えたことを特徴とする電子文書管理装置が提供される。 In order to solve the above-described problem, the present invention is an electronic document management apparatus that manages an electronic document composed of a plurality of constituent elements so as to guarantee authenticity, and is configured to acquire two or more constituent elements of an electronic document as a group An element acquisition unit; an electronic document recording unit capable of recording the acquired group of component elements; an identification information addition unit that assigns unique identification information to the component element; and a hash that generates a hash value for each of the component elements A value generating means, an electronic signature giving means for giving an electronic signature to the data obtained by combining the generated hash values, and one electron constituted by one or more constituent elements included in the group of the constituent elements Configuration information receiving means for receiving configuration information representing a configuration for each document, and for each electronic document based on the configuration information, the identification information, the hash value, and the Management information generating means for generating management information associated with correspondence with an electronic signature, revision information receiving means for receiving revision information for instructing revision for each component constituting the one electronic document, and the one electronic When the document component is revised, the identification information of the revised component, the hash value for each revised component, and the data obtained by combining the generated hash values There is provided an electronic document management apparatus comprising: management information updating means for updating the management information with update management information associated with the correspondence with the electronic signature.

このような電子文書管理装置によれば、構成要素取得手段により2以上の電子文書の構成要素が一群にして取得される。電子文書記録手段により、取得された一群の構成要素が記録される。識別情報付与手段により、構成要素にユニークな識別情報が付与される。ハッシュ値生成手段により、構成要素の各々についてハッシュ値が生成される。電子署名付与手段により、生成した各ハッシュ値を結合したデータに対して電子署名が付与される。構成情報受付手段により、一以上の構成要素により構成される一の電子文書の構成を表す構成情報が受け付けられる。管理情報生成手段により、構成情報に基づいて一の電子文書ごとに、識別情報とハッシュ値と電子署名との対応を関係付けた管理情報が生成される。改版情報受付手段により、一の電子文書を構成する構成要素ごとの改版を指示する改版情報が受け付けられる。管理情報更新手段により、一の電子文書の構成要素に改版があった場合に、改版となる構成要素の識別情報と、改版となる構成要素の各々についてのハッシュ値と、生成した前記各ハッシュ値を結合したデータに対しての電子署名との対応を関係付けた更新管理情報で、管理情報が更新される。 According to such an electronic document management apparatus, the constituent elements of two or more electronic documents are acquired as a group by the constituent element acquisition means. The electronic document recording means records the acquired group of components . Unique identification information is given to the component by the identification information giving means. A hash value is generated for each component by the hash value generation means. An electronic signature is attached to the data obtained by combining the generated hash values by the electronic signature attaching means. The configuration information accepting unit accepts configuration information representing the configuration of one electronic document composed of one or more components. The management information generating means generates management information that associates the correspondence between the identification information, the hash value, and the electronic signature for each electronic document based on the configuration information. The revision information accepting unit accepts revision information instructing revision for each component constituting one electronic document. When the component of one electronic document is revised by the management information updating means, the identification information of the component to be revised, the hash value for each component to be revised, and each of the generated hash values The management information is updated with the update management information that correlates the correspondence with the electronic signature for the data combined with.

また、本発明では上記課題を解決するために、複数の構成要素からなる電子文書を真正性保証可能に管理する電子文書管理装置であって、2以上の電子文書の構成要素を一群にして取得する構成要素取得手段と、取得した一群の構成要素を記録可能な電子文書記録手段と、前記構成要素にユニークな識別情報を付与する識別情報付与手段と、前記構成要素の各々についてハッシュ値を生成するハッシュ値生成手段と、生成した前記各ハッシュ値を結合したデータに対して外部認証機関にタイムスタンプの発行を依頼し、前記外部認証機関から前記タイムスタンプの発行を受けるタイムスタンプ発行依頼手段と、一群の前記構成要素に含まれる一以上の前記構成要素により構成される一の電子文書ごとの構成を表す構成情報を受け付ける構成情報受付手段と、前記構成情報に基づいて前記一の電子文書ごとに、前記識別情報と前記ハッシュ値と前記外部認証機関から発行を受けた前記タイムスタンプとの対応を関係付けた管理情報を生成する管理情報生成手段と、前記一の電子文書を構成する構成要素ごとの改版を指示する改版情報を受け付ける改版情報受付手段と、前記一の電子文書の構成要素に改版があった場合に、改版となる構成要素の識別情報と、前記改版となる構成要素の各々についてのハッシュ値と、生成した前記各ハッシュ値を結合したデータに対しての前記タイムスタンプとの対応を関係付けた更新管理情報で、前記管理情報を更新する管理情報更新手段と、を備えたことを特徴とする電子文書管理装置が提供される。 In order to solve the above-described problem, the present invention is an electronic document management apparatus that manages an electronic document composed of a plurality of constituent elements so as to guarantee authenticity, and acquires two or more constituent elements of the electronic document as a group. Generating a hash value for each of the constituent elements, an electronic document recording means capable of recording the acquired group of constituent elements, an identification information giving means for giving unique identification information to the constituent elements, A hash value generation means that requests the external certification authority to issue a time stamp to the combined data of the generated hash values, and a time stamp issuance request means that receives the time stamp issued from the external certification authority; Configuration information for receiving configuration information representing a configuration for each electronic document configured by one or more of the configuration elements included in the group of the configuration elements For each electronic document based on the configuration information, management information that associates the correspondence between the identification information, the hash value, and the time stamp issued from the external certification authority is generated based on the configuration information Management information generating means, revision information accepting means for accepting revision information for instructing revision for each component constituting the one electronic document, and revision when the component of the one electronic document is revised. The update management information that associates the correspondence between the identification information of the constituent element that becomes, the hash value for each of the constituent elements that become the revision, and the time stamp for the data that combines the generated hash values Thus, an electronic document management apparatus comprising a management information updating means for updating the management information is provided.

このような電子文書管理装置によれば、構成要素取得手段により2以上の電子文書の構成要素が一群にして取得される。電子文書記録手段により、取得された一群の構成要素が記録される。識別情報付与手段により、構成要素にユニークな識別情報が付与される。ハッシュ値生成手段により、構成要素の各々についてハッシュ値が生成される。タイムスタンプ発行依頼手段により、生成した各ハッシュ値を結合したデータに対して外部認証機関にタイムスタンプの発行を依頼し、外部認証機関からタイムスタンプの発行を受ける。構成情報受付手段により、一以上の構成要素により構成される一の電子文書の構成を表す構成情報が受け付けられる。管理情報生成手段により、構成情報に基づいて一の電子文書ごとに、識別情報とハッシュ値と外部認証機関から発行を受けたタイムスタンプとの対応を関係付けた管理情報が生成される。改版情報受付手段により、一の電子文書を構成する構成要素ごとの改版を指示する改版情報が受け付けられる。管理情報更新手段により、一の電子文書の構成要素に改版があった場合に、改版となる構成要素の識別情報と、改版となる構成要素の各々についてのハッシュ値と、生成したハッシュ値を結合したデータに対してのタイムスタンプとの対応を関係付けた更新管理情報で、管理情報が更新される。
According to such an electronic document management apparatus, the constituent elements of two or more electronic documents are acquired as a group by the constituent element acquisition means. The electronic document recording means records the acquired group of components . Unique identification information is given to the component by the identification information giving means. A hash value is generated for each component by the hash value generation means. The time stamp issuance requesting means requests the external certification authority to issue a time stamp to the combined data of the generated hash values, and receives the time stamp from the external certification authority. The configuration information accepting unit accepts configuration information representing the configuration of one electronic document composed of one or more components. The management information generating means generates management information that associates the correspondence between the identification information, the hash value, and the time stamp issued from the external certification authority for each electronic document based on the configuration information. The revision information accepting unit accepts revision information instructing revision for each component constituting one electronic document. When the component of one electronic document has been revised by the management information updating means, the identification information of the component to be revised, the hash value for each component to be revised, and the generated hash value are combined. The management information is updated with the update management information that correlates the correspondence with the time stamp for the processed data.

開示の電子文書管理装置によれば、電子文書の改版時の処理負担軽減ができる。   According to the disclosed electronic document management apparatus, it is possible to reduce the processing burden when the electronic document is revised.

以下、本発明の実施の形態を図面を参照して詳細に説明する。まず、本実施の形態の概要について説明し、その後、本実施の形態の具体的な内容を説明する。
図1は、実施の形態の電子文書管理装置の概要を示す図である。図1に示す電子文書管理装置100は、電子文書に対して電子署名を付与し、電子文書と電子文書に対する電子署名との対応関係を管理情報として生成する。電子文書に改版があった場合は、改版部分の電子文書に対して電子署名を付与し、改版部分の電子文書と改版部分の電子文書に対する電子署名との対応関係を生成する。改版前の管理情報に、改版部分の対応関係を反映させて管理情報を更新する。電子文書管理装置100は、電子文書記録手段1、識別情報付与手段2、ハッシュ値生成手段3、電子署名付与手段4、構成情報受付手段5、管理情報生成手段6、改版情報受付手段7および管理情報更新手段8を有する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. First, an outline of the present embodiment will be described, and then specific contents of the present embodiment will be described.
FIG. 1 is a diagram illustrating an outline of an electronic document management apparatus according to an embodiment. The electronic document management apparatus 100 illustrated in FIG. 1 assigns an electronic signature to an electronic document, and generates a correspondence relationship between the electronic document and the electronic signature for the electronic document as management information. If the electronic document is revised, an electronic signature is assigned to the revised part of the electronic document, and a correspondence relationship between the revised part of the electronic document and the revised part of the electronic signature is generated. Update the management information by reflecting the correspondence of the revised part to the management information before the revision. The electronic document management apparatus 100 includes an electronic document recording unit 1, an identification information adding unit 2, a hash value generating unit 3, an electronic signature adding unit 4, a configuration information receiving unit 5, a management information generating unit 6, a revision information receiving unit 7, and a management. It has information update means 8.

電子文書記録手段1は、管理対象となる電子文書を所定の構成要素に分割して記録する。あるいは、予め複数の構成要素からなる電子文書を一群の電子文書として記録する。
識別情報付与手段2は、電子文書の各構成要素に対してシステム内で一意に定まるユニークな識別情報を付与する。ハッシュ値生成手段3は、電子文書の各構成要素に対して所定のハッシュ関数を用いてハッシュ値を生成する。電子署名付与手段4は、電子文書の各構成要素のハッシュ値を結合したデータに対して電子署名を付与する。
The electronic document recording unit 1 records an electronic document to be managed by dividing it into predetermined components. Alternatively, electronic documents composed of a plurality of components are recorded in advance as a group of electronic documents.
The identification information giving means 2 gives unique identification information uniquely determined in the system to each component of the electronic document. The hash value generation unit 3 generates a hash value for each component of the electronic document using a predetermined hash function. The electronic signature assigning means 4 assigns an electronic signature to data obtained by combining hash values of each component of the electronic document.

構成情報受付手段5は、一以上の構成要素からなる一つの電子文書の構成を表す構成情報を受け付ける。管理情報生成手段6は、一つの電子文書ごとに管理情報を生成する。管理情報は、構成情報により特定した構成要素の識別情報と、その構成要素に対応するハッシュ値およびそのハッシュ値を含む結合データに対する電子署名との対応関係を示す。   The configuration information receiving unit 5 receives configuration information representing the configuration of one electronic document composed of one or more components. The management information generating unit 6 generates management information for each electronic document. The management information indicates the correspondence between the identification information of the component specified by the configuration information, the hash value corresponding to the component, and the electronic signature for the combined data including the hash value.

改版情報受付手段7は、改版対象となった構成要素からなる一つの電子文書の改版構成を表す改版情報を受け付ける。管理情報更新手段8は、改版対象部分の改版管理情報を生成する。生成した改版管理情報で、改版前の電子文書の管理情報について改版部分を更新する。改版管理情報も管理情報と同様に、構成情報により特定した構成要素の識別情報と、その構成要素に対応するハッシュ値およびそのハッシュ値を含む結合データに対する電子署名との対応関係を示す。   The revision information accepting unit 7 accepts revision information representing a revision configuration of one electronic document composed of components that have been subject to revision. The management information update unit 8 generates revision management information of the revision target part. The revision part of the management information of the electronic document before the revision is updated with the generated revision management information. Similarly to the management information, the revision management information indicates the correspondence between the identification information of the component specified by the configuration information, the hash value corresponding to the component, and the electronic signature for the combined data including the hash value.

これにより、改版時には改版対象部分についてハッシュ値を生成して電子署名を付与すればよく、改版時に改版となった電子文書のすべてについて改めてハッシュ値を生成して電子署名を付与する必要がないので、電子文書の改版時の処理負担軽減ができる。   As a result, it is only necessary to generate a hash value and give an electronic signature to the revision target part at the time of revision, and it is not necessary to generate a hash value and attach an electronic signature to all the electronic documents that were revised at the time of revision. The processing burden at the time of revision of the electronic document can be reduced.

以下、実施の形態をより具体的に説明する。
[第1の実施形態]
最初に、第1の実施形態を図面を参照して詳細に説明する。
Hereinafter, the embodiment will be described more specifically.
[First Embodiment]
First, a first embodiment will be described in detail with reference to the drawings.

図2は、第1の実施形態の電子文書管理装置のハードウェア構成を示す図である。電子文書管理装置100は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス107を介してRAM(Random Access Memory)102、ハードディスクドライブ(HDD:Hard Disk Drive)103、通信インタフェース104、グラフィック処理装置105および入出力インタフェース106が接続されている。   FIG. 2 is a diagram illustrating a hardware configuration of the electronic document management apparatus according to the first embodiment. The entire electronic document management apparatus 100 is controlled by a CPU (Central Processing Unit) 101. A random access memory (RAM) 102, a hard disk drive (HDD) 103, a communication interface 104, a graphic processing device 105, and an input / output interface 106 are connected to the CPU 101 via a bus 107.

RAM102には、CPU101に実行させるOS(Operating System)プログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。HDD103には、OSプログラムやアプリケーションプログラムが格納される。通信インタフェース104は、ネットワーク70に接続されている。   The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the CPU 101. The RAM 102 stores various data necessary for processing by the CPU 101. The HDD 103 stores an OS program and application programs. The communication interface 104 is connected to the network 70.

グラフィック処理装置105には、モニタ71が接続されている。グラフィック処理装置105は、CPU101からの命令に従って、画像をモニタ71の画面に表示させる。入出力インタフェース106は、スキャナ72、キーボード73、マウス74やICカードリーダ75に挿入されたICカード76から送られてくる信号を、バス107を介してCPU101に送信する。また、図示しないDMAC(Direct Memory Access Controller)は、スキャナ72から送られてくる信号を、CPU101を介さずRAM102やHDD103に送信する。以上のようなハードウェア構成によって、本実施の形態の処理機能を実現することができる。   A monitor 71 is connected to the graphic processing device 105. The graphic processing device 105 displays an image on the screen of the monitor 71 in accordance with a command from the CPU 101. The input / output interface 106 transmits a signal sent from the scanner 72, the keyboard 73, the mouse 74, and the IC card 76 inserted in the IC card reader 75 to the CPU 101 via the bus 107. Further, a DMAC (Direct Memory Access Controller) (not shown) transmits a signal transmitted from the scanner 72 to the RAM 102 or the HDD 103 without passing through the CPU 101. With the hardware configuration as described above, the processing functions of the present embodiment can be realized.

図3は、第1の実施形態の電子文書管理装置の機能を示すブロック図である。図3に示す文書保管部17とデータ登録部10とデータ検証部20は、電子文書管理装置100に備えられる。電子文書管理装置100は、ネットワーク70を介してTSA(Time Stamping Authority)認証局112と接続する。   FIG. 3 is a block diagram illustrating functions of the electronic document management apparatus according to the first embodiment. The document storage unit 17, the data registration unit 10, and the data verification unit 20 illustrated in FIG. 3 are provided in the electronic document management apparatus 100. The electronic document management apparatus 100 is connected to a TSA (Time Stamping Authority) certificate authority 112 via a network 70.

文書保管部17は、データ登録部10とデータ検証部20とからアクセスされる。文書保管部17は、入力データ記憶部17A、署名データ記憶部17B、構成管理情報記憶部17C、更新履歴情報記憶部17Dを有する。   The document storage unit 17 is accessed from the data registration unit 10 and the data verification unit 20. The document storage unit 17 includes an input data storage unit 17A, a signature data storage unit 17B, a configuration management information storage unit 17C, and an update history information storage unit 17D.

データ登録部10は、電子文書の登録、電子文書の真正性保証のための管理および電子文書の版管理をおこなう。ここで電子文書の真正性保証には、電子文書の署名者および内容を電子署名を用いてする保証と、電子文書の作成日時をタイムスタンプを用いてする保証とがある。データ登録部10は、データ入力部11、ハッシュ生成部12、署名発行部13、構成管理設定部14、更新履歴設定部15およびタイムスタンプ発行依頼部16を有する。   The data registration unit 10 performs registration for electronic documents, management for guaranteeing authenticity of electronic documents, and version management of electronic documents. Here, the authenticity assurance of the electronic document includes a guarantee that the signer and contents of the electronic document use the electronic signature, and a guarantee that the creation date and time of the electronic document uses a time stamp. The data registration unit 10 includes a data input unit 11, a hash generation unit 12, a signature issue unit 13, a configuration management setting unit 14, an update history setting unit 15, and a time stamp issue request unit 16.

データ入力部11は、保管対象となる電子文書、電子文書の構成を表す構成情報、電子文書の改版構成を表す改版情報を入力をする。ここで、電子文書は、必ずしも文字から構成されたテキストデータに限らず、スキャナ72などの光学読取手段から取り込んだイメージデータ、マイクや音楽再生装置から取り込んだ音声データなどであってもよく、真正性保証のために管理される対象であればデータ形式は問わない。データ入力は、スキャナ72やマイクなどのデータ変換装置、フラッシュメモリやCD(Compact Disc)、DVD(Digital Versatile Disk)などの記憶媒体からデータを読み出すデータ読出装置を入出力インタフェース106に接続しておこなう。また、通信インタフェース104の接続するネットワークを介してデータ入力をする。入力した電子文書は、所定の構成要素に分割されて入力データ記憶部17Aに記憶される。このとき、電子文書の各構成要素に対してシステム内で一意に定まるユニークな識別情報が付与され、各構成要素と併せて各構成要素の対応する識別情報が入力データ記憶部17Aに記憶される。   The data input unit 11 inputs an electronic document to be stored, configuration information representing the configuration of the electronic document, and revision information representing the revision configuration of the electronic document. Here, the electronic document is not necessarily limited to text data composed of characters, but may be image data captured from an optical reading unit such as the scanner 72, audio data captured from a microphone or a music playback device, and the like. Any data format can be used as long as it is a target managed for guaranteeing the performance. Data input is performed by connecting a data conversion device such as a scanner 72 and a microphone, a data reading device for reading data from a storage medium such as a flash memory, a CD (Compact Disc), and a DVD (Digital Versatile Disk) to the input / output interface 106. . Data is input via a network to which the communication interface 104 is connected. The input electronic document is divided into predetermined components and stored in the input data storage unit 17A. At this time, unique identification information uniquely determined in the system is assigned to each component of the electronic document, and corresponding identification information of each component is stored in the input data storage unit 17A together with each component. .

所定の構成要素とは、予め決めたデータ単位である。たとえば、イメージデータであれば、一ページを一つのデータ単位として複数ページで一つの電子文書を構成する。また、帳票などのイメージデータであれば項目ごとのイメージデータを一つのデータ単位として帳票を構成する複数の項目で一つの電子文書を構成する。同様にして、ページデータであれば、データ単位としてページ、文、段落、章などを構成要素とすることができる。また、データベースであれば1レコードを構成要素とすることができる。このように、電子文書の構成要素は、任意のデータ単位とすることができる。一般に構成要素の大きさは、改版の際の追加、削除、変更の対象となるデータ単位とする。   The predetermined component is a predetermined data unit. For example, in the case of image data, one electronic document is composed of a plurality of pages with one page as one data unit. In the case of image data such as a form, one electronic document is composed of a plurality of items constituting the form with image data for each item as one data unit. Similarly, if it is page data, a page, a sentence, a paragraph, a chapter, etc. can be made into a component as a data unit. In the case of a database, one record can be a component. In this way, the constituent elements of the electronic document can be arbitrary data units. In general, the size of a component is a data unit to be added, deleted, or changed at the time of revision.

本実施例では、一ページのイメージデータをデータ単位(構成要素)として複数ページからなるイメージデータを電子文書として説明する。
ハッシュ生成部12は、入力データ記憶部17Aに記憶された電子文書について、その構成要素ごとにハッシュ値を生成する。ハッシュ値は、たとえば、既知のハッシュ関数MD5(Message Digest algorithm 5)などを用いて生成することができる。ハッシュ値は、電子文書を構成する構成要素の数だけ生成される。生成された一群のハッシュ値は、署名データ記憶部17Bに記憶される。
In the present embodiment, image data consisting of a plurality of pages will be described as an electronic document using one page of image data as a data unit (component).
The hash generation unit 12 generates a hash value for each component of the electronic document stored in the input data storage unit 17A. The hash value can be generated using, for example, a known hash function MD5 (Message Digest algorithm 5). As many hash values as the number of components constituting the electronic document are generated. The generated group of hash values is stored in the signature data storage unit 17B.

署名発行部13は、署名データ記憶部17Bからハッシュ生成部12が生成した一群のハッシュ値を読み出して一つのデータに結合する。そして、結合したデータ(以下、結合データ)について電子署名を発行する。電子署名の発行は、署名者の秘密鍵により結合データを暗号化した署名データと、秘密鍵に対応する復号用の公開鍵が署名者本人のものであることを証明する証明書データとを対にしてなされる。署名データと証明書データは、電子文書を構成する構成要素の一群のハッシュ値とともに署名ファイルとして署名データ記憶部17Bに記憶される。暗号化に用いる秘密鍵は、電子文書管理装置100内の入出力インタフェース106を介して接続するICカードリーダ75に挿入されたICカード76に記憶される。ICカード76に結合データを送信すると、ICカード76は、内部に記憶されている秘密鍵により結合データを暗号化して署名データを出力する。なお、電子文書管理装置100のセキュリティ次第では、電子文書管理装置100内に秘密鍵を記憶して電子文書管理装置100が結合データを暗号化して署名データを生成するようにしてもよい。この場合、ICカードリーダ75に挿入されたICカード76には、認証機関の発行した署名データが格納されており、ICカードへの取得依頼により署名データを取得する。   The signature issuing unit 13 reads out a group of hash values generated by the hash generation unit 12 from the signature data storage unit 17B and combines them into one data. Then, an electronic signature is issued for the combined data (hereinafter, combined data). In issuing an electronic signature, signature data obtained by encrypting the combined data with the signer's private key and certificate data that proves that the decryption public key corresponding to the private key belongs to the signer. Is done. The signature data and certificate data are stored in the signature data storage unit 17B as a signature file together with a group of hash values constituting the electronic document. The secret key used for encryption is stored in the IC card 76 inserted in the IC card reader 75 connected via the input / output interface 106 in the electronic document management apparatus 100. When the combined data is transmitted to the IC card 76, the IC card 76 encrypts the combined data with a secret key stored therein and outputs signature data. Depending on the security of the electronic document management apparatus 100, a secret key may be stored in the electronic document management apparatus 100, and the electronic document management apparatus 100 may encrypt the combined data and generate signature data. In this case, the IC card 76 inserted in the IC card reader 75 stores the signature data issued by the certification authority, and the signature data is acquired by an acquisition request to the IC card.

構成管理設定部14は、一以上の構成要素からなる電子文書を構成する構成要素の識別情報、構成要素のハッシュ値、構成要素を含む結合データに対する電子署名との対応関係を構成管理情報として設定し、構成管理情報記憶部17Cに記憶する。   The configuration management setting unit 14 sets, as configuration management information, the correspondence between the identification information of the component constituting the electronic document including one or more components, the hash value of the component, and the electronic signature for the combined data including the component. And stored in the configuration management information storage unit 17C.

更新履歴設定部15は、電子文書の更新があった場合に更新履歴を設定し、更新履歴情報記憶部17Dに更新履歴を記憶する。
タイムスタンプ発行依頼部16は、結合データを対象としてタイムスタンプの発行をTSA認証局112に依頼する。TSA認証局112は、結合データに対するタイムスタンプを発行する。タイムスタンプ発行依頼部16は、発行されたタイムスタンプをタイムスタンプファイルとして署名データ記憶部17Bに記憶する。なお、TSA認証局112は、電子文書管理装置100と通信インタフェース104を介してネットワーク接続された一般的な外部認証機関である。ネットワーク接続は、SSL(Secure Socket Layer)通信などのセキュリティがある通信プロトコルを用いておこなう。
The update history setting unit 15 sets an update history when the electronic document is updated, and stores the update history in the update history information storage unit 17D.
The time stamp issuance request unit 16 requests the TSA certificate authority 112 to issue a time stamp for the combined data. The TSA certificate authority 112 issues a time stamp for the combined data. The time stamp issuance request unit 16 stores the issued time stamp as a time stamp file in the signature data storage unit 17B. The TSA certificate authority 112 is a general external certificate authority that is network-connected to the electronic document management apparatus 100 via the communication interface 104. The network connection is performed using a secure communication protocol such as SSL (Secure Socket Layer) communication.

データ検証部20は、登録、版管理された電子文書の真正性を検証する。ここで電子文書の真正性の検証には、電子文書の署名者および内容の検証と、電子文書の作成日時の検証とがある。データ検証部20は、文書取得部21、データ取得部22、ハッシュ検証部23、署名取得部24、署名検証部25、構成管理取得部26、タイムスタンプ取得部27およびタイムスタンプ検証部28を有する。   The data verification unit 20 verifies the authenticity of the registered and version-managed electronic document. Here, verification of the authenticity of the electronic document includes verification of the signer and contents of the electronic document and verification of the creation date and time of the electronic document. The data verification unit 20 includes a document acquisition unit 21, a data acquisition unit 22, a hash verification unit 23, a signature acquisition unit 24, a signature verification unit 25, a configuration management acquisition unit 26, a time stamp acquisition unit 27, and a time stamp verification unit 28. .

文書取得部21は、データ検証部20を代表して文書保管部17にアクセスする。文書保管部17にアクセスして検証対象の電子文書の構成要素および検証のための署名データ、構成管理情報を取得する。構成管理情報記憶部17Cより検証対象となる電子文書の最新版の構成管理情報を読み出す。構成管理情報には、検証対象の電子文書を構成する構成要素の識別情報が含まれているので、識別情報をキーとして入力データ記憶部17Aに記憶されている構成要素を特定して取得する。また、構成管理情報には電子文書の電子署名が含まれるので、署名データ記憶部17Bに記憶されている署名ファイルを電子署名により特定して取得する。   The document acquisition unit 21 accesses the document storage unit 17 on behalf of the data verification unit 20. The document storage unit 17 is accessed to acquire the component of the electronic document to be verified, signature data for verification, and configuration management information. The latest configuration management information of the electronic document to be verified is read from the configuration management information storage unit 17C. Since the configuration management information includes identification information of the constituent elements that constitute the electronic document to be verified, the constituent elements stored in the input data storage unit 17A are identified and acquired using the identification information as a key. Further, since the configuration management information includes the electronic signature of the electronic document, the signature file stored in the signature data storage unit 17B is specified and acquired by the electronic signature.

データ取得部22は、構成管理情報を参照して、検証対象となる構成要素、検証用データを取得する。
ハッシュ検証部23は、構成管理情報を参照して構成要素に対応したハッシュ値を署名ファイルから抽出する。また、構成要素から新たにハッシュ値を生成し、署名ファイルから抽出したハッシュ値と比較することでハッシュ値の検証をおこなう。検証の結果、両者が一致すれば改ざんが認められない(真正性あり)こととなり、両者が不一致であれば改ざんが認められた(真正性なし)こととなる。
The data acquisition unit 22 refers to the configuration management information, and acquires the component to be verified and the verification data.
The hash verification unit 23 refers to the configuration management information and extracts a hash value corresponding to the component from the signature file. Also, a new hash value is generated from the component, and the hash value is verified by comparing it with the hash value extracted from the signature file. As a result of the verification, if the two match, tampering is not permitted (authentic), and if they do not match, tampering is permitted (no authenticity).

署名取得部24は、構成管理情報を参照して構成要素に対応した署名ファイルを取得する。
署名検証部25は、署名取得部24が取得した署名ファイルにより署名検証をする。
The signature acquisition unit 24 refers to the configuration management information and acquires a signature file corresponding to the component.
The signature verification unit 25 verifies the signature using the signature file acquired by the signature acquisition unit 24.

構成管理取得部26は、文書取得部21を介して構成管理情報を取得する。
タイムスタンプ取得部27は、構成管理情報を参照して構成要素に対応したタイムスタンプファイルを取得する。
The configuration management acquisition unit 26 acquires configuration management information via the document acquisition unit 21.
The time stamp acquisition unit 27 refers to the configuration management information and acquires a time stamp file corresponding to the component.

タイムスタンプ検証部28は、構成管理情報を参照して構成要素に対応したタイムスタンプをタイムスタンプファイルから抽出してタイムスタンプの検証をおこなう。
これにより、改版時には改版対象部分についてハッシュ値を生成して電子署名を付与すればよく、改版時に改版となった電子文書のすべてについて改めてハッシュ値を生成して電子署名を付与する必要がないので、電子文書の改版時の処理負担軽減ができる。
The time stamp verification unit 28 refers to the configuration management information, extracts a time stamp corresponding to the component from the time stamp file, and verifies the time stamp.
As a result, it is only necessary to generate a hash value and give an electronic signature to the revision target part at the time of revision, and it is not necessary to generate a hash value and attach an electronic signature to all the electronic documents that were revised at the time of revision. The processing burden at the time of revision of the electronic document can be reduced.

また、改版時には改版対象部分についてタイムスタンプを付与すればよく、改版時に改版となった電子文書のすべてについて改めてタイムスタンプを付与する必要がないので、電子文書の改版時の処理負担軽減ができる。   Further, at the time of revision, it is only necessary to give a time stamp to the part to be revised, and it is not necessary to give a new time stamp to all the electronic documents that have been revised at the time of revision, so the processing burden at the time of revision of the electronic document can be reduced.

次に、電子文書の初期登録時の様子を図4、図5を用いて説明する。電子文書は、初期登録時に第1版とされる。そして、版毎に管理情報ファイル(構成管理情報)が生成される。図4は、第1の実施形態の電子文書初期登録の概要を示す図である。   Next, a state at the time of initial registration of the electronic document will be described with reference to FIGS. The electronic document is set to the first version at the time of initial registration. Then, a management information file (configuration management information) is generated for each version. FIG. 4 is a diagram showing an outline of electronic document initial registration according to the first embodiment.

文書A(第1版)41と文書B(第1版)42は、初期登録される電子文書である。文書A(第1版)41、文書B(第1版)42毎に署名を付与するよりも、あるまとまった単位(電子文書登録単位)で署名を付与する方が効率がよいので、複数の文書をまとめてから署名を付与する。あるまとまった単位とは、たとえば、スキャナのシートフィーダにセットされた書類単位である。このようにしてまとめて電子文書管理装置100に取り込まれた電子文書は、各ページ(構成要素)ごとにユニークな識別情報が付与される。また、キーボード73やマウス74からの操作入力、あるいは構成定義ファイルなどのファイル入力から文書構成(構成情報)を受け付けて、文書A(第1版)41は、データA−1、データA−2、データA−3、データA−4からなることが登録される。また、同様にして文書B(第1版)42は、データB−1、データB−2、データB−3、データB−4からなることが登録される。   Document A (first version) 41 and document B (first version) 42 are electronic documents that are initially registered. It is more efficient to give a signature in a certain unit (electronic document registration unit) than to give a signature to each of the document A (first version) 41 and document B (first version) 42. A signature is given after the documents are put together. A certain unit is, for example, a document unit set in a sheet feeder of a scanner. In this way, unique identification information is assigned to each page (component) of the electronic document that is collectively taken into the electronic document management apparatus 100. In addition, the document configuration (configuration information) is received from an operation input from the keyboard 73 and the mouse 74 or a file input such as a configuration definition file, and the document A (first version) 41 is data A-1, data A-2. , Data A-3 and data A-4 are registered. Similarly, it is registered that the document B (first version) 42 includes data B-1, data B-2, data B-3, and data B-4.

そして、各構成要素(データA−1、データA−2、データA−3、データA−4、データB−1、データB−2、データB−3、データB−4)から各々についてハッシュ値(ハッシュA−1、ハッシュA−2、ハッシュA−3、ハッシュA−4、ハッシュB−1、ハッシュB−2、ハッシュB−3、ハッシュB−4)を生成する。これら一群のハッシュ値44について署名α(S1)が付与される。一群のハッシュ値44と署名α(S1)とを含んで署名αファイル43が生成される。署名αファイル43は、文書A(第1版)41および文書B(第1版)42の付帯構成ファイル、あるいは独立した署名α文書として署名データ記憶部17Bに格納される。   Then, a hash is obtained for each component (data A-1, data A-2, data A-3, data A-4, data B-1, data B-2, data B-3, data B-4). Values (hash A-1, hash A-2, hash A-3, hash A-4, hash B-1, hash B-2, hash B-3, hash B-4) are generated. A signature α (S1) is given to the group of hash values 44. A signature α file 43 is generated including a group of hash values 44 and a signature α (S1). The signature α file 43 is stored in the signature data storage unit 17B as an accompanying configuration file of the document A (first version) 41 and the document B (first version) 42, or as an independent signature α document.

これにより、初期登録した電子文書が大きくても署名付与の対象データを小さくすることができる。また、複数の文書または複数の構成要素に対する署名付与が一回で済むため署名付与のレスポンスが向上する。   As a result, even if the initially registered electronic document is large, the data to be signed can be reduced. In addition, since a plurality of documents or a plurality of components need only be signed once, a response for signature addition is improved.

図5は、第1の実施形態の電子文書初期登録時の構成管理情報を示す図である。文書A(第1版)構成管理情報ファイル45は、文書A(第1版)41の管理情報ファイルを示す。構成要素の識別情報と署名ファイル、ハッシュ値との対応関係が各構成要素ごとに管理される。また、文書A(第1版)41は初期登録であるので、文書A(第1版)構成管理情報ファイル45は、第1版として登録される。また、各構成要素が同時に署名を付与されたので、各構成要素は同一の署名ファイルと対応付けされている。文書B(第1版)構成管理情報ファイル46は、文書B(第1版)42の管理情報ファイルを示す。構成要素の識別情報と署名ファイル、ハッシュ値との対応関係が各構成要素ごとに管理される。また、文書B(第1版)42は初期登録であるので、文書B(第1版)構成管理情報ファイル46は、第1版として登録される。また、各構成要素が同時に署名を付与されたので、各構成要素は同一の署名ファイルと対応付けされている。また、文書A(第1版)41と文書B(第1版)42の各構成要素は同時に署名を付与されたので、各構成要素は文書が異なっていても同一の署名ファイルと対応付けされている。   FIG. 5 is a diagram illustrating configuration management information at the time of initial registration of the electronic document according to the first embodiment. The document A (first version) configuration management information file 45 is a management information file of the document A (first version) 41. Correspondences between identification information of component elements, signature files, and hash values are managed for each component element. Since document A (first version) 41 is initially registered, document A (first version) configuration management information file 45 is registered as the first version. In addition, since each component is given a signature at the same time, each component is associated with the same signature file. The document B (first version) configuration management information file 46 is a management information file of the document B (first version) 42. Correspondences between identification information of component elements, signature files, and hash values are managed for each component element. Since document B (first version) 42 is initially registered, document B (first version) configuration management information file 46 is registered as the first version. In addition, since each component is given a signature at the same time, each component is associated with the same signature file. In addition, since each component of the document A (first version) 41 and the document B (first version) 42 is simultaneously signed, each component is associated with the same signature file even if the documents are different. ing.

次に、電子文書の更新登録時の様子を図6、図7を用いて説明する。電子文書は、更新登録時に前の版の管理情報ファイルが更新され版数アップされる。なお、管理情報ファイル(構成管理情報)は、版毎に生成され、旧版についても記憶保持される。   Next, the state of electronic document update registration will be described with reference to FIGS. When the electronic document is registered for update, the management information file of the previous version is updated and the version number is increased. A management information file (configuration management information) is generated for each version, and the old version is also stored and held.

図6は、第1の実施形態の電子文書更新登録の概要を示す図である。
文書A(第2版)47は、更新登録される電子文書である。更新登録は更新対象となるページであるデータA−2a、データA−5についてのみにする。データA−2aは、データA−2からの差替ページであり、データA−5は新規に追加となるページである。この更新対象となるページも複数ページでまとめた電子文書として電子文書管理装置100に取り込まれる。このようにしてまとめて取り込まれた電子文書は、各ページ(構成要素)ごとにユニークな識別情報が付与される。
FIG. 6 is a diagram showing an outline of electronic document update registration according to the first embodiment.
A document A (second version) 47 is an electronic document to be updated and registered. Update registration is performed only for data A-2a and data A-5, which are pages to be updated. Data A-2a is a replacement page from data A-2, and data A-5 is a newly added page. The page to be updated is also taken into the electronic document management apparatus 100 as an electronic document collected by a plurality of pages. The electronic documents that are collectively taken in this way are given unique identification information for each page (component).

そして、各構成要素(データA−2a、データA−5)から各々についてハッシュ値(ハッシュA−2a、ハッシュA−5)を生成する。これら一群のハッシュ値49について署名β(S2)が付与される。一群のハッシュ値49と署名β(S2)とを含んで署名βファイル48が生成される。署名βファイル48は、文書A(第2版)47の付帯構成ファイル、あるいは独立した署名β文書として署名データ記憶部17Bに格納される。   Then, a hash value (hash A-2a, hash A-5) is generated for each component (data A-2a, data A-5). A signature β (S2) is given to the group of hash values 49. A signature β file 48 is generated including a group of hash values 49 and a signature β (S2). The signature β file 48 is stored in the signature data storage unit 17B as an incidental configuration file of the document A (second version) 47 or as an independent signature β document.

これにより、更新登録した電子文書の真正性の保証のために、更新のない電子文書を含めた電子文書を署名対象とする必要がない。電子文書の更新時の署名付与の対象データを小さくすることができることから、更新時の署名付与のレスポンスが向上する。   Thereby, in order to guarantee the authenticity of the electronic document that has been updated and registered, it is not necessary to sign an electronic document including an electronic document that has not been updated. Since it is possible to reduce the data to be signed at the time of updating the electronic document, the response of adding the signature at the time of updating is improved.

図7は、第1の実施形態の電子文書更新登録時の構成管理情報を示す図である。文書A(第2版)構成管理情報ファイル50は、文書A(第2版)47の管理情報ファイルを示す。   FIG. 7 is a diagram illustrating configuration management information at the time of electronic document update registration according to the first embodiment. The document A (second version) configuration management information file 50 is a management information file of the document A (second version) 47.

キーボード73やマウス74からの操作入力、あるいは構成定義ファイルなどのファイル入力から文書構成(改版情報)を受け付けて、文書A(第2版)47は、データA−1、データA−2a、データA−3、データA−4、データA−5からなることが登録される。文書A(第2版)47は文書A(第1版)41を改版する更新登録であるので、文書A(第2版)構成管理情報ファイル50は、第2版として登録される。また、構成要素により付与された署名が異なるので、各構成要素は構成要素によって異なる署名ファイルが対応付けされる。   A document configuration (revised information) is received from an operation input from the keyboard 73 or mouse 74 or a file input such as a configuration definition file, and document A (second edition) 47 is data A-1, data A-2a, data A-3, data A-4, and data A-5 are registered. Since document A (second version) 47 is update registration for revising document A (first version) 41, document A (second version) configuration management information file 50 is registered as the second version. In addition, since the signatures given by the constituent elements are different, each constituent element is associated with a different signature file depending on the constituent elements.

なお、文書A(第2版)構成管理情報ファイル50は、最新版として構成管理情報記憶部17Cに記憶され、文書A(第1版)構成管理情報ファイル45は、旧版として構成管理情報記憶部17Cに記憶される。   The document A (second version) configuration management information file 50 is stored in the configuration management information storage unit 17C as the latest version, and the document A (first version) configuration management information file 45 is stored as the old version in the configuration management information storage unit. Stored in 17C.

次に、電子文書の署名検証方式を図8を用いて説明する。図8は、第1の実施形態の電子文書の署名検証の概要を示す図である。
文書A(第2版)47について電子署名の検証をする場合、文書A(第2版)構成管理情報ファイル50を参照する。文書A(第2版)構成管理情報ファイル50によれば、文書A(第2版)47は、データA−1、データA−2a、データA−3、データA−4、データA−5の5つのページから構成されていることがわかる。そのうち、データA−1、データA−3、データA−4については、署名α(S1)の電子署名が付されていることが、データA−2a、データA−5については署名β(S2)の電子署名が付されていることがわかる。ここで、文書保管部17に記憶(管理)されている各ページデータの真正性を検証するため、まず、署名α(S1)と署名β(S2)の検証をする。ここで、すべての電子署名が保証されれば、電子署名が保証されていることを前提として各ページデータの検証をする。各ページデータの検証は、文書A(第2版)構成管理情報ファイル50の対応により各署名ファイルに含まれるハッシュ値と、各ページデータから生成したハッシュ値との比較によりする。ハッシュ値が一致することで各ページデータの真正性が保証される。
Next, an electronic document signature verification method will be described with reference to FIG. FIG. 8 is a diagram illustrating an outline of signature verification of an electronic document according to the first embodiment.
When the electronic signature of the document A (second version) 47 is verified, the document A (second version) configuration management information file 50 is referred to. According to the document A (second edition) configuration management information file 50, the document A (second edition) 47 is composed of data A-1, data A-2a, data A-3, data A-4, and data A-5. It can be seen that it consists of five pages. Among them, the data A-1, the data A-3, and the data A-4 are attached with the electronic signature of the signature α (S1), and the data A-2a and the data A-5 are signed β (S2). ) Is attached. Here, in order to verify the authenticity of each page data stored (managed) in the document storage unit 17, the signature α (S1) and the signature β (S2) are first verified. Here, if all electronic signatures are guaranteed, each page data is verified on the assumption that the electronic signature is guaranteed. Each page data is verified by comparing the hash value included in each signature file with the correspondence of the document A (second version) configuration management information file 50 with the hash value generated from each page data. When the hash values match, the authenticity of each page data is guaranteed.

次に、スキャナ72から複数ページの紙媒体からなる文書Aを取り込み、電子文書Aとして登録する場合について、電子文書の初期登録時の各機能ブロックの処理をシーケンス図を用いて具体的に説明する。図9は、第1の実施形態の電子文書初期登録のシーケンス図である。   Next, in the case where a document A made up of a plurality of pages of paper medium is captured from the scanner 72 and registered as the electronic document A, processing of each functional block at the time of initial registration of the electronic document will be specifically described with reference to a sequence diagram. . FIG. 9 is a sequence diagram of electronic document initial registration according to the first embodiment.

データ入力部11は、スキャナ72から文書を読み取り、データD1を入力する。また、キーボード73やマウス74からの操作入力、あるいは構成定義ファイルなどのファイル入力から文書構成(構成情報)R1を受け付ける。データD1は、ページ単位のイメージデータ(構成要素)に分割(単位分割11A)される。たとえば、データD1が4ページのイメージデータからなる場合には、ページデータD1A、ページデータD1B、ページデータD1C、ページデータD1Dに分割される。   The data input unit 11 reads a document from the scanner 72 and inputs data D1. Further, the document configuration (configuration information) R1 is received from an operation input from the keyboard 73 and the mouse 74 or a file input such as a configuration definition file. The data D1 is divided into unit image data (components) (unit division 11A). For example, when the data D1 is composed of four pages of image data, it is divided into page data D1A, page data D1B, page data D1C, and page data D1D.

そして、ページ単位のイメージデータ(構成要素)にシステム内でユニークな識別情報を付与(識別情報付与11B)する。たとえば、ページデータD1Aには識別情報として通番123456(N1A)、ページデータD1Bには識別情報として通番123457(N1B)、ページデータD1Cには識別情報として通番123458(N1C)、ページデータD1Dには識別情報として通番123459(N1D)が付与される。識別情報が付与されたページデータは、文書データベース18に格納される。   Then, unique identification information within the system is assigned to the image data (component) of the page unit (identification information addition 11B). For example, the serial number 123456 (N1A) as identification information for the page data D1A, the serial number 123457 (N1B) as identification information for the page data D1B, the serial number 123458 (N1C) as identification information for the page data D1C, and the identification number for the page data D1D. A serial number 123459 (N1D) is given as information. The page data to which the identification information is added is stored in the document database 18.

なお、識別情報は、単位分割時に予め予約された識別情報を付与するようにしてもよいし、オペレータが指定するようにしてもよい。また、識別情報の管理を容易にするため通番等の識別番号を自動的に付与するようにしてもよい。また、識別情報は識別番号に限らず、オペレータが文書の特定を容易におこなえるように識別記号などであってもよい。文書構成R1は、文書Aを構成するページデータを特定する。これにより、ページデータD1A、ページデータD1B、ページデータD1C、ページデータD1Dは、文書Aであると判断することができる。   The identification information may be assigned with identification information reserved in advance at the time of unit division, or may be designated by an operator. Further, an identification number such as a serial number may be automatically assigned to facilitate management of identification information. The identification information is not limited to an identification number, and may be an identification symbol or the like so that an operator can easily specify a document. The document configuration R1 specifies page data constituting the document A. As a result, the page data D1A, page data D1B, page data D1C, and page data D1D can be determined to be the document A.

ハッシュ生成部12は、データ入力部11が単位分割したページデータ(構成要素)の各々について所定のハッシュ関数(たとえば、MD5)を用いてハッシュ値を生成(ハッシュ生成12A)する。たとえば、ページデータD1Aからハッシュa(H1A)、ページデータD1Bからハッシュb(H1B)、ページデータD1Cからハッシュc(H1C)、ページデータD1Dからハッシュd(H1D)が生成される。生成されたハッシュ値は、構成管理設定部14に送信される。   The hash generation unit 12 generates a hash value (hash generation 12A) using a predetermined hash function (for example, MD5) for each page data (component) divided by the data input unit 11 as a unit. For example, a hash a (H1A) is generated from the page data D1A, a hash b (H1B) is generated from the page data D1B, a hash c (H1C) is generated from the page data D1C, and a hash d (H1D) is generated from the page data D1D. The generated hash value is transmitted to the configuration management setting unit 14.

署名発行部13は、ハッシュ生成部12が生成した各構成要素に対応する一群のハッシュ値を結合したデータ(結合データ)について電子署名を発行する。電子文書管理装置100に接続したICカード76に結合データを送信することで、ICカード76は内部に記憶した秘密鍵で結合データを暗号化した署名α(S1)を生成し、証明書29(証明書データ)を付して電子署名を発行(署名発行13A)する。たとえば、ハッシュa(H1A)、ハッシュb(H1B)、ハッシュc(H1C)、ハッシュd(H1D)の結合データを秘密鍵により暗号化した署名α(S1)を生成し、証明書29を付して電子署名を発行する。発行された電子署名の署名データと証明書データは署名ファイルとして、構成管理設定部14に送信される。あるいは、接続したICカード76には、認証機関より発行された署名データを保持しており、ICカード76への取得依頼により署名データS1を取得し、証明書29(証明書データ)を付して電子署名(署名発行13A)を発行する。   The signature issuing unit 13 issues an electronic signature for data (combined data) obtained by combining a group of hash values corresponding to each component generated by the hash generation unit 12. By transmitting the combined data to the IC card 76 connected to the electronic document management apparatus 100, the IC card 76 generates a signature α (S1) obtained by encrypting the combined data with the secret key stored therein, and the certificate 29 ( An electronic signature is issued with a certificate data) (signature issuance 13A). For example, a signature α (S1) obtained by encrypting the combined data of the hash a (H1A), the hash b (H1B), the hash c (H1C), and the hash d (H1D) with a secret key is generated, and a certificate 29 is attached. Issue an electronic signature. The issued signature data and certificate data of the electronic signature are transmitted to the configuration management setting unit 14 as a signature file. Alternatively, the connected IC card 76 holds the signature data issued by the certification authority, acquires the signature data S1 by the acquisition request to the IC card 76, and attaches the certificate 29 (certificate data). To issue an electronic signature (signature issue 13A).

構成管理設定部14は、データ入力部11の付与した識別情報と、ハッシュ生成部12の生成したハッシュ値と、署名発行部13の発行した署名ファイルとを対応付けて構成管理情報30を設定(構成管理情報設定14A)する。設定された構成管理情報30は、文書データベース18に格納される。   The configuration management setting unit 14 sets the configuration management information 30 by associating the identification information given by the data input unit 11, the hash value generated by the hash generation unit 12, and the signature file issued by the signature issuing unit 13 ( Configuration management information setting 14A). The set configuration management information 30 is stored in the document database 18.

更新履歴設定部15は、データ入力部11が受け付けた文書構成(構成情報)R1に基づいて更新履歴情報31を設定(更新履歴情報設定15A)する。更新履歴情報31には、改版日時、改版者、改版内容などを含む。設定された更新履歴情報31は、文書データベース18に格納される。   The update history setting unit 15 sets the update history information 31 based on the document configuration (configuration information) R1 received by the data input unit 11 (update history information setting 15A). The update history information 31 includes the date and time of revision, the revision person, the revision content, and the like. The set update history information 31 is stored in the document database 18.

文書保管部17は、文書データベース18を備え、各種データを格納し保管する。
次に、スキャナ72から複数ページの紙媒体からなる改版文書を取り込み、電子文書Aを改版して更新する場合について、電子文書の更新登録時の各機能ブロックの処理をシーケンス図を用いて具体的に説明する。図10は、第1の実施形態の電子文書更新登録のシーケンス図である。
The document storage unit 17 includes a document database 18 and stores and stores various data.
Next, in the case where a revised document composed of a plurality of pages of paper medium is fetched from the scanner 72 and the electronic document A is revised and updated, the processing of each functional block at the time of electronic document update registration is concretely described with reference to a sequence diagram. Explained. FIG. 10 is a sequence diagram of electronic document update registration according to the first embodiment.

データ入力部11は、スキャナ72から文書を読み取り、データD2を入力する。また、キーボード73やマウス74からの操作入力、あるいは構成定義ファイルなどのファイル入力から文書構成(改版情報)R2を受け付ける。データD2は、ページ単位のイメージデータ(構成要素)に分割(単位分割11A)される。たとえば、データD2が2ページのイメージデータからなる場合には、ページデータD2A、ページデータD2Bに分割される。   The data input unit 11 reads a document from the scanner 72 and inputs data D2. Also, the document configuration (revised information) R2 is received from an operation input from the keyboard 73 or the mouse 74 or a file input such as a configuration definition file. The data D2 is divided (unit division 11A) into page-unit image data (components). For example, when the data D2 is composed of two pages of image data, it is divided into page data D2A and page data D2B.

そして、ページ単位のイメージデータ(構成要素)にシステム内でユニークな識別情報を付与(識別情報付与11B)する。たとえば、ページデータD2Aには識別情報として通番456456(N2A)、ページデータD2Bには識別情報として通番456457(N2B)が付与される。識別情報が付与されたページデータは、文書データベース18に格納される。   Then, unique identification information within the system is assigned to the image data (component) of the page unit (identification information addition 11B). For example, serial number 456456 (N2A) is assigned as identification information to page data D2A, and serial number 456457 (N2B) is assigned as identification information to page data D2B. The page data to which the identification information is added is stored in the document database 18.

文書構成(改版情報)R2は、文書Aの更新対象となる識別情報と更新内容を特定する。これにより、たとえば、ページデータD1BをページデータD2Aで差替え、ページデータD1Dの後にページデータD2Bを追加する改版であると判断することができる。   The document configuration (revised information) R2 specifies identification information to be updated of the document A and update contents. Thereby, for example, it can be determined that the page data D1B is replaced with the page data D2A, and the revision is such that the page data D2B is added after the page data D1D.

ハッシュ生成部12は、データ入力部11が単位分割したページデータ(構成要素)の各々について所定のハッシュ関数(たとえば、MD5)を用いてハッシュ値を生成(ハッシュ生成12A)する。たとえば、ページデータD2Aからハッシュe(H2A)、ページデータD2Bからハッシュf(H2B)が生成される。生成されたハッシュ値は、構成管理設定部14に送信される。   The hash generation unit 12 generates a hash value (hash generation 12A) using a predetermined hash function (for example, MD5) for each page data (component) divided by the data input unit 11 as a unit. For example, a hash e (H2A) is generated from the page data D2A, and a hash f (H2B) is generated from the page data D2B. The generated hash value is transmitted to the configuration management setting unit 14.

署名発行部13は、ハッシュ生成部12が生成した各構成要素に対応する一群のハッシュ値を結合したデータ(結合データ)について電子署名を発行する。電子文書管理装置100に接続したICカード76に結合データを送信することで、ICカード76は内部に記憶した秘密鍵で結合データを暗号化した署名β(S2)を生成し、証明書29(証明書データ)を付して電子署名を発行(署名発行13A)する。たとえば、ハッシュe(H2A)、ハッシュf(H2B)の結合データを秘密鍵により暗号化した署名β(S2)を生成し、証明書29を付して電子署名を発行する。発行された電子署名の署名データと証明書データは署名ファイルとして、構成管理設定部14に送信される。   The signature issuing unit 13 issues an electronic signature for data (combined data) obtained by combining a group of hash values corresponding to each component generated by the hash generation unit 12. By transmitting the combined data to the IC card 76 connected to the electronic document management apparatus 100, the IC card 76 generates a signature β (S2) obtained by encrypting the combined data with the secret key stored therein, and the certificate 29 ( An electronic signature is issued with a certificate data) (signature issuance 13A). For example, a signature β (S2) obtained by encrypting combined data of the hash e (H2A) and the hash f (H2B) with a secret key is generated, and an electronic signature is issued with the certificate 29 attached. The issued signature data and certificate data of the electronic signature are transmitted to the configuration management setting unit 14 as a signature file.

構成管理設定部14は、データ入力部11の付与した識別情報と、ハッシュ生成部12の生成したハッシュ値と、署名発行部13の発行した署名ファイルとを対応付けて、文書データベース18から読み出した最新の構成管理情報30Aを更新して、改版した構成管理情報30Bを設定(構成管理情報設定14A)する。設定された構成管理情報30Bは、文書データベース18に格納される。   The configuration management setting unit 14 reads the identification information given by the data input unit 11, the hash value generated by the hash generation unit 12, and the signature file issued by the signature issuing unit 13 from the document database 18 in association with each other. The latest configuration management information 30A is updated, and the revised configuration management information 30B is set (configuration management information setting 14A). The set configuration management information 30B is stored in the document database 18.

更新履歴設定部15は、データ入力部11が受け付けた文書構成(改版情報)R2に基づいて更新履歴情報31を設定(更新履歴情報設定15A)する。更新履歴情報31には、改版日時、改版者、改版内容などを含む。設定された更新履歴情報31は、文書データベース18に格納される。   The update history setting unit 15 sets the update history information 31 (update history information setting 15A) based on the document configuration (revised information) R2 received by the data input unit 11. The update history information 31 includes the date and time of revision, the revision person, the revision content, and the like. The set update history information 31 is stored in the document database 18.

文書保管部17は、文書データベース18を備え、各種データを格納し保管する。
次に、電子文書の真正性を検証する場合について、電子文書の検証時の各機能ブロックの処理を図11から図13のシーケンスを用いて具体的に説明する。まずは、検証に必要なデータの取得までを説明する。図11は、第1の実施形態の電子文書検証(データ取得)のシーケンス図である。
The document storage unit 17 includes a document database 18 and stores and stores various data.
Next, in the case of verifying the authenticity of the electronic document, the processing of each functional block at the time of verifying the electronic document will be specifically described with reference to the sequence of FIGS. First, the process up to acquisition of data necessary for verification will be described. FIG. 11 is a sequence diagram of electronic document verification (data acquisition) according to the first embodiment.

文書取得部21は、文書データベース18から文書Aの最新の構成管理情報30Aを取得する。最新の構成管理情報30Aを参照することで、最新版で更新されたページデータD2A、D2BとページデータD2A、D2Bに対応する署名ファイルとを取得(最新版文書取得21A)する。また、改版があった場合には旧版のページデータD1AからD1DとページデータD1AからD1Dに対応する署名ファイルとを取得(旧版文書取得21B)する。さらなる旧版がある場合には、同様にしてすべてのページデータと対応する署名ファイルとを取得する。取得した最新の構成管理情報30Aは、構成管理取得部26に通知される。   The document acquisition unit 21 acquires the latest configuration management information 30 </ b> A of the document A from the document database 18. By referring to the latest configuration management information 30A, the page data D2A and D2B updated in the latest version and the signature file corresponding to the page data D2A and D2B are acquired (latest version document acquisition 21A). If there is a revision, the old version of the page data D1A to D1D and the signature file corresponding to the page data D1A to D1D are acquired (old version document acquisition 21B). If there is a further old version, all the page data and the corresponding signature file are obtained in the same manner. The acquired latest configuration management information 30 </ b> A is notified to the configuration management acquisition unit 26.

構成管理取得部26は、文書取得部21を介して最新の構成管理情報30Aを取得(構成管理情報取得26A)する。構成管理取得部26は、構成管理情報30Aの最新版(たとえば、第2版)に関する管理情報からデータ取得部22に最新版のデータ取得を指示する。データ取得部22は、構成管理取得部26の指示に基づいて文書取得部21から最新版で更新されたページデータD2A、D2Bを取得(データ取得22A)する。   The configuration management acquisition unit 26 acquires the latest configuration management information 30A (configuration management information acquisition 26A) via the document acquisition unit 21. The configuration management acquisition unit 26 instructs the data acquisition unit 22 to acquire the latest version of data from management information related to the latest version (for example, the second version) of the configuration management information 30A. The data acquisition unit 22 acquires the page data D2A and D2B updated with the latest version from the document acquisition unit 21 based on an instruction from the configuration management acquisition unit 26 (data acquisition 22A).

また、構成管理取得部26は、構成管理情報30Aの最新版(たとえば、第2版)に関する管理情報から署名取得部24に最新版の署名ファイルの取得を指示する。署名取得部24は、構成管理取得部26の指示に基づいて文書取得部21から最新版で更新されたページデータD2A、D2Bに対応する署名ファイルを取得(署名取得24A)する。ここで、取得した署名ファイルには、証明書29、署名β(S2)、署名の対象となった一群のハッシュH2とが含まれる。一群のハッシュH2には、ハッシュe(H2A)、ハッシュf(H2B)が含まれる。   Further, the configuration management acquisition unit 26 instructs the signature acquisition unit 24 to acquire the latest version of the signature file from the management information related to the latest version (for example, the second version) of the configuration management information 30A. The signature acquisition unit 24 acquires signature files corresponding to the page data D2A and D2B updated in the latest version from the document acquisition unit 21 based on an instruction from the configuration management acquisition unit 26 (signature acquisition 24A). Here, the acquired signature file includes a certificate 29, a signature β (S2), and a group of hashes H2 to be signed. The group of hashes H2 includes a hash e (H2A) and a hash f (H2B).

次に、旧版がある場合には、構成管理取得部26は、構成管理情報30Aの最新版(たとえば、第2版)に関する管理情報から旧版(最新版の一つ改版前)の情報があると判断した場合に、データ取得部22に旧版(たとえば、第1版)のデータ取得を指示する。データ取得部22は、構成管理取得部26の指示に基づいて文書取得部21から旧版で更新または新規登録されたページデータD1AからD1Dを取得(データ取得22B)する。   Next, when there is an old version, the configuration management acquisition unit 26 has information on the old version (before one revision of the latest version) from the management information related to the latest version (for example, the second version) of the configuration management information 30A. When the determination is made, the data acquisition unit 22 is instructed to acquire the data of the old version (for example, the first version). The data acquisition unit 22 acquires D1D from the page data D1A updated or newly registered in the old version from the document acquisition unit 21 based on an instruction from the configuration management acquisition unit 26 (data acquisition 22B).

また、構成管理取得部26は、構成管理情報30Aの旧版に関する管理情報から署名取得部24に旧版の署名ファイルの取得を指示する。署名取得部24は、構成管理取得部26の指示に基づいて文書取得部21から旧版で更新または新規登録されたページデータD1AからD1Dに対応する署名ファイルを取得(署名取得24B)する。ここで、取得した署名ファイルには、証明書29、署名α(S1)、署名の対象となった一群のハッシュH1とが含まれる。一群のハッシュH1には、ハッシュa(H1A)、ハッシュb(H1B)、ハッシュc(H1C)、ハッシュd(H1D)が含まれる。   Further, the configuration management acquisition unit 26 instructs the signature acquisition unit 24 to acquire the old version of the signature file from the management information related to the old version of the configuration management information 30A. Based on an instruction from the configuration management acquisition unit 26, the signature acquisition unit 24 acquires signature files corresponding to the page data D1A to D1D updated or newly registered in the old version from the document acquisition unit 21 (signature acquisition 24B). Here, the acquired signature file includes a certificate 29, a signature α (S1), and a group of hashes H1 that are the subject of the signature. The group of hashes H1 includes a hash a (H1A), a hash b (H1B), a hash c (H1C), and a hash d (H1D).

次に、電子署名の検証を説明する。図12は、第1の実施形態の電子文書検証(電子署名検証)のシーケンス図である。
署名検証部25は、最新版で更新されたページデータD2A、D2Bに対応する署名ファイルを署名取得部24から読み出して検証(最新版署名検証25A)する。具体的には、証明書29により証明される公開鍵を用いて、署名β(S2)(署名データ)を復号する。復号により得られたデータと、ハッシュe(H2A)、ハッシュf(H2B)の結合データとを比較する(最新版署名検証25A)。比較結果を判定(25B)して不一致であれば、署名β(S2)の検証は棄却(25F)となり、電子文書の真正性は保証されない。比較結果を判定(25B)して一致であれば、旧版についても同様の署名検証をおこなうため旧版の有無を判定(25C)する。ここで、これ以上の旧版が存在しなければ署名β(S2)の検証は受理(25G)となり、まず電子署名の真正性が保証される。
Next, verification of an electronic signature will be described. FIG. 12 is a sequence diagram of electronic document verification (electronic signature verification) according to the first embodiment.
The signature verification unit 25 reads the signature files corresponding to the page data D2A and D2B updated in the latest version from the signature acquisition unit 24 and verifies them (latest version signature verification 25A). Specifically, the signature β (S2) (signature data) is decrypted using the public key certified by the certificate 29. The data obtained by decryption is compared with the combined data of the hash e (H2A) and the hash f (H2B) (latest version signature verification 25A). If the comparison result is determined (25B) and does not match, the verification of the signature β (S2) is rejected (25F), and the authenticity of the electronic document is not guaranteed. If the comparison result is determined (25B) and they match, the old version is determined (25C) in order to perform similar signature verification for the old version. Here, if there are no more old versions, the verification of the signature β (S2) is accepted (25G), and first, the authenticity of the electronic signature is guaranteed.

次に、署名検証部25は、旧版のページデータD1AからD1Dに対応する署名ファイルを署名取得部24から読み出して検証(署名検証25D)する。具体的には、証明書29により証明される公開鍵を用いて、署名α(S1)(署名データ)を復号する。復号により得られたデータと、ハッシュa(H1A)からハッシュd(H1D)の結合データとを比較する(旧版署名検証25D)。比較結果を判定(25E)して不一致であれば、署名α(S1)の検証は棄却(25F)となり、電子文書の真正性は保証されない。比較結果を判定(25E)して一致であれば、さらなる旧版についても同様の署名検証をおこなうためさらなる旧版の有無を判定(25C)する。ここで、これ以上の旧版が存在しなければ署名α(S1)の検証は受理(25G)となり、まず電子署名の真正性が保証される。   Next, the signature verification unit 25 reads the signature file corresponding to the old version of the page data D1A to D1D from the signature acquisition unit 24 and verifies (signature verification 25D). Specifically, the signature α (S1) (signature data) is decrypted using the public key certified by the certificate 29. The data obtained by the decryption is compared with the combined data from the hash a (H1A) to the hash d (H1D) (old version signature verification 25D). If the comparison result is determined (25E) and does not match, the verification of the signature α (S1) is rejected (25F), and the authenticity of the electronic document is not guaranteed. If the comparison result is determined (25E) and they match, the presence or absence of a further old version is determined (25C) in order to perform the same signature verification for the further old version. Here, if there is no more old version, the verification of the signature α (S1) is accepted (25G), and first, the authenticity of the electronic signature is guaranteed.

このようにして、構成管理情報にあるすべての電子署名について真正性が保証されればハッシュ検証をする。一つでも、電子署名について真正性が保証されなければ電子文書の真正性が否定された結果を導出して検証処理を終了する。   In this way, hash verification is performed if authenticity is guaranteed for all electronic signatures in the configuration management information. If at least one of the electronic signatures is not guaranteed to be authentic, a result in which the authenticity of the electronic document is denied is derived and the verification process is terminated.

次に、ハッシュ値の検証を説明する。図13は、第1の実施形態の電子文書検証(ハッシュ値検証)のシーケンス図である。
ハッシュ検証部23は、署名検証部25で署名検証が受理された場合にハッシュ値の検証をする。まず、データ取得部22からページデータD2A、D2Bを取得してハッシュ値を生成(ハッシュ生成23A)する。次に、最新版で更新されたページデータD2A、D2Bに対応する署名検証が受理された署名ファイルから、ハッシュe(H2A)、ハッシュf(H2B)を取得して比較する(ハッシュ比較検証23B)。比較結果を判定(23C)して不一致であれば、ハッシュ検証は棄却(23H)となり、電子文書の真正性は保証されない。比較結果を判定(23C)して一致であれば、旧版についても同様のハッシュ検証をおこなうため旧版の有無を判定(23D)する。ここで、これ以上の旧版が存在しなければハッシュ検証は受理(23I)となり、電子文書の真正性が保証される。
Next, verification of the hash value will be described. FIG. 13 is a sequence diagram of electronic document verification (hash value verification) according to the first embodiment.
When the signature verification unit 25 accepts the signature verification, the hash verification unit 23 verifies the hash value. First, the page data D2A and D2B are acquired from the data acquisition unit 22 and a hash value is generated (hash generation 23A). Next, the hash e (H2A) and the hash f (H2B) are acquired and compared from the signature file whose signature verification corresponding to the page data D2A and D2B updated in the latest version is accepted (hash comparison verification 23B). . If the comparison result is determined (23C) and does not match, the hash verification is rejected (23H), and the authenticity of the electronic document is not guaranteed. If the comparison result is determined (23C) and they match, the old version is determined (23D) for the same hash verification for the old version. Here, if there is no older version, hash verification is accepted (23I), and the authenticity of the electronic document is guaranteed.

次に、ハッシュ検証部23は、データ取得部22から旧版のページデータD1AからD1Dを取得してハッシュ値を生成(ハッシュ生成23E)する。次に、旧版のページデータD1AからD1Dに対応する署名検証が受理された署名ファイルから、ハッシュa(H1A)からハッシュd(H1D)を取得して比較する(ハッシュ比較検証23F)。比較結果を判定(23G)して不一致であれば、ハッシュ検証は棄却(23H)となり、電子文書の真正性は保証されない。比較結果を判定(23G)して一致であれば、さらなる旧版についても同様のハッシュ検証をおこなうためさらなる旧版の有無を判定(23D)する。ここで、これ以上の旧版が存在しなければハッシュ検証は受理(23I)となり、電子文書の真正性が保証される。   Next, the hash verification unit 23 acquires D1D from the old version of the page data D1A from the data acquisition unit 22 and generates a hash value (hash generation 23E). Next, the hash d (H1D) is acquired from the hash a (H1A) from the signature file for which the signature verification corresponding to the old version of the page data D1A to D1D has been accepted and compared (hash comparison verification 23F). If the comparison result is determined (23G) and does not match, the hash verification is rejected (23H), and the authenticity of the electronic document is not guaranteed. If the comparison result is determined (23G) and the two match, the same hash verification is performed for the further old version, and the presence / absence of the further old version is determined (23D). Here, if there is no older version, hash verification is accepted (23I), and the authenticity of the electronic document is guaranteed.

このようにして、構成管理情報にあるすべての電子署名に対応する電子文書について真正性が保証されれば電子文書の真正性の検証を終了する。一つでも、電子文書について真正性が保証されなければ電子文書の真正性が否定された結果を導出して検証処理を終了する。   In this way, if the authenticity of the electronic document corresponding to all the electronic signatures in the configuration management information is guaranteed, the verification of the authenticity of the electronic document is terminated. If at least one of the electronic documents is not guaranteed to be authentic, a result in which the authenticity of the electronic document is denied is derived and the verification process is terminated.

[第2の実施形態]
第1の実施形態では、電子文書の署名者および内容を電子署名を用いて電子文書の真正性保証をする実施例を説明してきた。次に、第2の実施形態では、タイムスタンプを用いて電子文書の作成日時について電子文書の真正性保証をする実施例を説明する。
[Second Embodiment]
In the first embodiment, an example has been described in which the authenticity of an electronic document is guaranteed by using the electronic signature for the signer and contents of the electronic document. Next, in the second embodiment, an example will be described in which the authenticity of an electronic document is guaranteed with respect to the creation date and time of the electronic document using a time stamp.

なお、本実施形態におけるタイムスタンプは、タイムスタンプ発行依頼部16が結合データを対象としてタイムスタンプの発行をTSA認証局112に依頼し、TSA認証局112が結合データに対して発行したものである。発行されたタイムスタンプは、タイムスタンプファイルとして署名データ記憶部17Bが記憶している。   The time stamp in this embodiment is a time stamp issued by the TSA certificate authority 112 requesting the TSA certificate authority 112 to issue a time stamp for the combined data, and issued by the TSA certificate authority 112 for the combined data. . The issued time stamp is stored in the signature data storage unit 17B as a time stamp file.

まず、電子文書のタイムスタンプ検証方式を図14を用いて説明する。図14は、第2の実施形態の電子文書のタイムスタンプ検証の概要を示す図である。
改版されて第2版のある文書Aについてタイムスタンプの検証をする場合、文書A(第2版)構成管理情報ファイル53を参照する。文書A(第2版)構成管理情報ファイル53によれば、文書A(第2版)47は、データA−1、データA−2a、データA−3、データA−4、データA−5の5つのページから構成されていることがわかる。そのうち、データA−1、データA−3については、タイムスタンプt1(TS1)が付されていることが、データA−2a、データA−4、データA−5についてはタイムスタンプt2(TS2)が付されていることがわかる。ここで、文書保管部17に記憶(管理)されている各ページデータのタイムスタンプを検証するため、まず、タイムスタンプt1(TS1)とタイムスタンプt2(TS2)の検証をする。ここで、すべてのタイムスタンプが保証されれば、タイムスタンプが保証されていることを前提として各ページデータの検証をする。各ページデータの検証は、文書A(第2版)構成管理情報ファイル53の対応により各タイムスタンプファイルに含まれるハッシュ値と、各ページデータから生成したハッシュ値との比較によりする。ハッシュ値が一致することで各ページデータの真正性が保証される。ここで、タイムスタンプファイルには、タイムスタンプ、タイムスタンプの対象となった一群のハッシュとが含まれる。一群のハッシュには、各ページデータのハッシュ値が含まれる。
First, an electronic document time stamp verification method will be described with reference to FIG. FIG. 14 is a diagram showing an outline of time stamp verification of an electronic document according to the second embodiment.
When verifying the time stamp of the document A that has been revised and has the second edition, the document A (second edition) configuration management information file 53 is referred to. According to the document A (second edition) configuration management information file 53, the document A (second edition) 47 includes data A-1, data A-2a, data A-3, data A-4, and data A-5. It can be seen that it consists of five pages. Of these, the time stamp t1 (TS1) is attached to the data A-1 and data A-3, and the time stamp t2 (TS2) is assigned to the data A-2a, data A-4, and data A-5. It can be seen that is attached. Here, in order to verify the time stamp of each page data stored (managed) in the document storage unit 17, the time stamp t1 (TS1) and the time stamp t2 (TS2) are first verified. Here, if all time stamps are guaranteed, each page data is verified on the assumption that the time stamp is guaranteed. Each page data is verified by comparing the hash value included in each time stamp file with the correspondence of the document A (second version) configuration management information file 53 with the hash value generated from each page data. When the hash values match, the authenticity of each page data is guaranteed. Here, the time stamp file includes a time stamp and a group of hashes subjected to the time stamp. A group of hashes includes a hash value of each page data.

次に、スキャナ72から複数ページの紙媒体からなる文書Aを取り込み、電子文書Aとして登録する場合について、電子文書の初期登録時の各機能ブロックの処理をシーケンス図を用いて具体的に説明する。図15は、第2の実施形態の電子文書初期登録のシーケンス図である。   Next, in the case where a document A made up of a plurality of pages of paper medium is captured from the scanner 72 and registered as the electronic document A, processing of each functional block at the time of initial registration of the electronic document will be specifically described with reference to a sequence diagram. . FIG. 15 is a sequence diagram of electronic document initial registration according to the second embodiment.

データ入力部11は、スキャナ72から文書を読み取り、データD1を入力する。また、キーボード73やマウス74からの操作入力、あるいは構成定義ファイルなどのファイル入力から文書構成(構成情報)R1を受け付ける。データD1は、ページ単位のイメージデータ(構成要素)に分割(単位分割11A)される。たとえば、データD1が3ページのイメージデータからなる場合には、ページデータD1A、ページデータD1B、ページデータD1Cに分割される。   The data input unit 11 reads a document from the scanner 72 and inputs data D1. Further, the document configuration (configuration information) R1 is received from an operation input from the keyboard 73 and the mouse 74 or a file input such as a configuration definition file. The data D1 is divided into unit image data (components) (unit division 11A). For example, when the data D1 is composed of three pages of image data, the data is divided into page data D1A, page data D1B, and page data D1C.

そして、ページ単位のイメージデータ(構成要素)にシステム内でユニークな識別情報を付与(識別情報付与11B)する。たとえば、ページデータD1Aには識別情報として通番123456(N1A)、ページデータD1Bには識別情報として通番123457(N1B)、ページデータD1Cには識別情報として通番123458(N1C)が付与される。識別情報が付与されたページデータは、文書データベース18に格納される。文書構成R1は、文書Aを構成するページデータを特定する。これにより、ページデータD1A、ページデータD1B、ページデータD1Cは、文書Aであると判断することができる。   Then, unique identification information within the system is assigned to the image data (component) of the page unit (identification information addition 11B). For example, serial number 123456 (N1A) is assigned as identification information to page data D1A, serial number 123457 (N1B) is assigned as identification information to page data D1B, and serial number 123458 (N1C) is assigned as identification information to page data D1C. The page data to which the identification information is added is stored in the document database 18. The document configuration R1 specifies page data constituting the document A. As a result, the page data D1A, page data D1B, and page data D1C can be determined to be the document A.

ハッシュ生成部12は、データ入力部11が単位分割したページデータ(構成要素)の各々について所定のハッシュ関数(たとえば、MD5)を用いてハッシュ値を生成(ハッシュ生成12A)する。たとえば、ページデータD1Aからハッシュa(H1A)、ページデータD1Bからハッシュb(H1B)、ページデータD1Cからハッシュc(H1C)が生成される。生成されたハッシュ値は、構成管理設定部14に送信される。   The hash generation unit 12 generates a hash value (hash generation 12A) using a predetermined hash function (for example, MD5) for each page data (component) divided by the data input unit 11 as a unit. For example, a hash a (H1A) is generated from the page data D1A, a hash b (H1B) is generated from the page data D1B, and a hash c (H1C) is generated from the page data D1C. The generated hash value is transmitted to the configuration management setting unit 14.

タイムスタンプ発行依頼部16は、ハッシュ生成部12が生成した各構成要素に対応する一群のハッシュ値を結合したデータ(結合データ)としてハッシュt1(Ht1)を生成する。そして、ハッシュt1(Ht1)についてタイムスタンプの発行をTSA認証局112に依頼する。TSA認証局112は、タイムスタンプt1(TS1)を発行(TS発行112A)する。タイムスタンプ発行依頼部16は、タイムスタンプt1(TS1)を取得すると構成管理設定部14に送信する。   The time stamp issuance request unit 16 generates a hash t1 (Ht1) as data (combined data) obtained by combining a group of hash values corresponding to each component generated by the hash generation unit 12. Then, the TSA certificate authority 112 is requested to issue a time stamp for the hash t1 (Ht1). The TSA certificate authority 112 issues a time stamp t1 (TS1) (TS issue 112A). When the time stamp issuance request unit 16 acquires the time stamp t1 (TS1), it transmits it to the configuration management setting unit 14.

構成管理設定部14は、データ入力部11の付与した識別情報と、ハッシュ生成部12の生成したハッシュ値と、タイムスタンプ発行依頼部16から取得したタイムスタンプファイルとを対応付けて構成管理情報30を設定(構成管理情報設定14A)する。設定された構成管理情報30は、文書データベース18に格納される。   The configuration management setting unit 14 associates the identification information given by the data input unit 11, the hash value generated by the hash generation unit 12, and the time stamp file acquired from the time stamp issuance request unit 16 with the configuration management information 30. Is set (configuration management information setting 14A). The set configuration management information 30 is stored in the document database 18.

更新履歴設定部15は、データ入力部11が受け付けた文書構成(構成情報)R1に基づいて更新履歴情報31を設定(更新履歴情報設定15A)する。更新履歴情報31には、改版日時、改版者、改版内容などを含む。設定された更新履歴情報31は、文書データベース18に格納される。   The update history setting unit 15 sets the update history information 31 based on the document configuration (configuration information) R1 received by the data input unit 11 (update history information setting 15A). The update history information 31 includes the date and time of revision, the revision person, the revision content, and the like. The set update history information 31 is stored in the document database 18.

文書保管部17は、文書データベース18を備え、各種データを格納し保管する。
次に、スキャナ72から複数ページの紙媒体からなる改版文書を取り込み、電子文書Aを改版して更新する場合について、電子文書の更新登録時の各機能ブロックの処理をシーケンス図を用いて具体的に説明する。図16は、第2の実施形態の電子文書更新登録のシーケンス図である。
The document storage unit 17 includes a document database 18 and stores and stores various data.
Next, in the case where a revised document composed of a plurality of pages of paper medium is fetched from the scanner 72 and the electronic document A is revised and updated, the processing of each functional block at the time of electronic document update registration is concretely described with reference to a sequence diagram. Explained. FIG. 16 is a sequence diagram of electronic document update registration according to the second embodiment.

データ入力部11は、スキャナ72から文書を読み取り、データD2を入力する。また、キーボード73やマウス74からの操作入力、あるいは構成定義ファイルなどのファイル入力から文書構成(改版情報)R2を受け付ける。データD2は、ページ単位のイメージデータ(構成要素)に分割(単位分割11A)される。たとえば、データD2が3ページのイメージデータからなる場合には、ページデータD2A、ページデータD2B、ページデータD2Cに分割される。   The data input unit 11 reads a document from the scanner 72 and inputs data D2. Also, the document configuration (revised information) R2 is received from an operation input from the keyboard 73 or the mouse 74 or a file input such as a configuration definition file. The data D2 is divided (unit division 11A) into page-unit image data (components). For example, when the data D2 is composed of three pages of image data, the data is divided into page data D2A, page data D2B, and page data D2C.

そして、ページ単位のイメージデータ(構成要素)にシステム内でユニークな識別情報を付与(識別情報付与11B)する。たとえば、ページデータD2Aには識別情報として通番456456(N2A)、ページデータD2Bには識別情報として通番456457(N2B)、ページデータD2Cには識別情報として通番456458(N2C)が付与される。識別情報が付与されたページデータは、文書データベース18に格納される。   Then, unique identification information within the system is assigned to the image data (component) of the page unit (identification information addition 11B). For example, serial number 456456 (N2A) is assigned as identification information to page data D2A, serial number 456457 (N2B) is assigned as identification information to page data D2B, and serial number 456458 (N2C) is assigned as identification information to page data D2C. The page data to which the identification information is added is stored in the document database 18.

文書構成(改版情報)R2は、文書Aの更新対象となる識別情報と更新内容を特定する。これにより、たとえば、ページデータD1BをページデータD2Aで差替え、ページデータD1Cの後にページデータD2B、ページデータD2Cを追加する改版であると判断することができる。   The document configuration (revised information) R2 specifies identification information to be updated of the document A and update contents. Thereby, for example, it can be determined that the page data D1B is replaced with the page data D2A, and the page data D2B and the page data D2C are added after the page data D1C.

ハッシュ生成部12は、データ入力部11が単位分割したページデータ(構成要素)の各々について所定のハッシュ関数(たとえば、MD5)を用いてハッシュ値を生成(ハッシュ生成12A)する。たとえば、ページデータD2Aからハッシュe(H2A)、ページデータD2Bからハッシュf(H2B)、ページデータD2Cからハッシュg(H2C)が生成される。生成されたハッシュ値は、構成管理設定部14に送信される。   The hash generation unit 12 generates a hash value (hash generation 12A) using a predetermined hash function (for example, MD5) for each page data (component) divided by the data input unit 11 as a unit. For example, a hash e (H2A) is generated from the page data D2A, a hash f (H2B) is generated from the page data D2B, and a hash g (H2C) is generated from the page data D2C. The generated hash value is transmitted to the configuration management setting unit 14.

タイムスタンプ発行依頼部16は、ハッシュ生成部12が生成した各構成要素に対応する一群のハッシュ値を結合したデータ(結合データ)としてハッシュt2(Ht2)を生成する。そして、ハッシュt2(Ht2)についてタイムスタンプの発行をTSA認証局112に依頼する。TSA認証局112は、タイムスタンプt2(TS2)を発行(TS発行112A)する。タイムスタンプ発行依頼部16は、タイムスタンプt2(TS2)を取得すると構成管理設定部14に送信する。   The time stamp issuance request unit 16 generates a hash t2 (Ht2) as data (combined data) obtained by combining a group of hash values corresponding to each component generated by the hash generation unit 12. The TSA certificate authority 112 is requested to issue a time stamp for the hash t2 (Ht2). The TSA certificate authority 112 issues a time stamp t2 (TS2) (TS issue 112A). When the time stamp issuance request unit 16 acquires the time stamp t2 (TS2), it transmits it to the configuration management setting unit 14.

構成管理設定部14は、データ入力部11の付与した識別情報と、ハッシュ生成部12の生成したハッシュ値と、タイムスタンプ発行依頼部16から取得したタイムスタンプファイルとを対応付けて、文書データベース18から読み出した最新の構成管理情報30Aを更新して、改版した構成管理情報30Bを設定(構成管理情報設定14A)する。設定された構成管理情報30は、文書データベース18に格納される。   The configuration management setting unit 14 associates the identification information given by the data input unit 11, the hash value generated by the hash generation unit 12, and the time stamp file acquired from the time stamp issuance request unit 16, thereby creating a document database 18. The latest configuration management information 30A read from is updated, and the revised configuration management information 30B is set (configuration management information setting 14A). The set configuration management information 30 is stored in the document database 18.

更新履歴設定部15は、データ入力部11が受け付けた文書構成(改版情報)R2に基づいて更新履歴情報31を設定(更新履歴情報設定15A)する。更新履歴情報31には、改版日時、改版者、改版内容などを含む。設定された更新履歴情報31は、文書データベース18に格納される。   The update history setting unit 15 sets the update history information 31 (update history information setting 15A) based on the document configuration (revised information) R2 received by the data input unit 11. The update history information 31 includes the date and time of revision, the revision person, the revision content, and the like. The set update history information 31 is stored in the document database 18.

文書保管部17は、文書データベース18を備え、各種データを格納し保管する。
次に、タイムスタンプを用いて電子文書の作成日時について電子文書の真正性を保証する場合について、電子文書の検証時の各機能ブロックの処理を図17から図19のシーケンスを用いて具体的に説明する。まずは、検証に必要なデータの取得までを説明する。図17は、第2の実施形態の電子文書検証(データ取得)のシーケンス図である。
The document storage unit 17 includes a document database 18 and stores and stores various data.
Next, in the case where the authenticity of the electronic document is guaranteed with respect to the creation date and time of the electronic document using the time stamp, the processing of each functional block at the time of verification of the electronic document is specifically described using the sequence of FIGS. explain. First, the process up to acquisition of data necessary for verification will be described. FIG. 17 is a sequence diagram of electronic document verification (data acquisition) according to the second embodiment.

文書取得部21は、文書データベース18から文書Aの最新の構成管理情報30Aを取得する。最新の構成管理情報30Aを参照することで、最新版で更新されたページデータD2AからD2CとページデータD2AからD2Cに対応するタイムスタンプファイルとを取得(最新版文書取得21A)する。また、改版があった場合には旧版のページデータD1AからD1CとページデータD1AからD1Cに対応するタイムスタンプファイルとを取得(旧版文書取得21B)する。さらなる旧版がある場合には、同様にしてすべてのページデータと対応するタイムスタンプファイルとを取得する。取得した最新の構成管理情報30Aは、構成管理取得部26に通知される。   The document acquisition unit 21 acquires the latest configuration management information 30 </ b> A of the document A from the document database 18. By referring to the latest configuration management information 30A, the page data D2A to D2C and the time stamp file corresponding to the page data D2A to D2C updated in the latest version are acquired (latest version document acquisition 21A). If there is a revision, the old version of the page data D1A to D1C and the time stamp file corresponding to the page data D1A to D1C are acquired (old version document acquisition 21B). If there is a further old version, all the page data and the corresponding time stamp file are obtained in the same manner. The acquired latest configuration management information 30 </ b> A is notified to the configuration management acquisition unit 26.

構成管理取得部26は、文書取得部21を介して最新の構成管理情報30Aを取得(構成管理情報取得26A)する。構成管理取得部26は、構成管理情報30Aの最新版(たとえば、第2版)に関する管理情報からデータ取得部22に最新版のデータ取得を指示する。データ取得部22は、構成管理取得部26の指示に基づいて文書取得部21から最新版で更新されたページデータD2AからD2Cを取得(データ取得22A)する。   The configuration management acquisition unit 26 acquires the latest configuration management information 30A (configuration management information acquisition 26A) via the document acquisition unit 21. The configuration management acquisition unit 26 instructs the data acquisition unit 22 to acquire the latest version of data from management information related to the latest version (for example, the second version) of the configuration management information 30A. The data acquisition unit 22 acquires the page data D2A to D2C updated with the latest version from the document acquisition unit 21 based on an instruction from the configuration management acquisition unit 26 (data acquisition 22A).

また、構成管理取得部26は、構成管理情報30Aの最新版(たとえば、第2版)に関する管理情報からタイムスタンプ取得部27に最新版のタイムスタンプファイルの取得を指示する。タイムスタンプ取得部27は、構成管理取得部26の指示に基づいて文書取得部21から最新版で更新されたページデータD2AからD2Cに対応するタイムスタンプファイルを取得(タイムスタンプ取得27A)する。ここで、取得したタイムスタンプファイルには、タイムスタンプt2(TS2)、タイムスタンプの対象となった一群のハッシュH2とが含まれる。一群のハッシュH2には、ハッシュe(H2A)、ハッシュf(H2B)、ハッシュg(H2C)が含まれる。   In addition, the configuration management acquisition unit 26 instructs the time stamp acquisition unit 27 to acquire the latest version of the time stamp file from the management information related to the latest version (for example, the second version) of the configuration management information 30A. The time stamp acquisition unit 27 acquires time stamp files corresponding to the page data D2A to D2C updated with the latest version from the document acquisition unit 21 based on an instruction from the configuration management acquisition unit 26 (time stamp acquisition 27A). Here, the acquired time stamp file includes a time stamp t2 (TS2) and a group of hashes H2 to be time stamped. The group of hashes H2 includes a hash e (H2A), a hash f (H2B), and a hash g (H2C).

次に、旧版がある場合には、構成管理取得部26は、構成管理情報30Aの最新版(たとえば、第2版)に関する管理情報から旧版(最新版の一つ改版前)の情報があると判断した場合に、データ取得部22に旧版(たとえば、第1版)のデータ取得を指示する。データ取得部22は、構成管理取得部26の指示に基づいて文書取得部21から旧版で更新または新規登録されたページデータD1AからD1Cを取得(データ取得22B)する。   Next, when there is an old version, the configuration management acquisition unit 26 has information on the old version (before one revision of the latest version) from the management information related to the latest version (for example, the second version) of the configuration management information 30A. When the determination is made, the data acquisition unit 22 is instructed to acquire the data of the old version (for example, the first version). Based on an instruction from the configuration management acquisition unit 26, the data acquisition unit 22 acquires the page data D1A to D1C updated or newly registered from the document acquisition unit 21 (data acquisition 22B).

また、構成管理取得部26は、構成管理情報30Aの旧版に関する管理情報からタイムスタンプ取得部27に旧版のタイムスタンプファイルの取得を指示する。タイムスタンプ取得部27は、構成管理取得部26の指示に基づいて文書取得部21から旧版で更新または新規登録されたページデータD1AからD1Cに対応するタイムスタンプファイルを取得(タイムスタンプ取得27B)する。ここで、取得したタイムスタンプファイルには、タイムスタンプt1(TS1)、タイムスタンプの対象となった一群のハッシュH1とが含まれる。一群のハッシュH1には、ハッシュa(H1A)、ハッシュb(H1B)、ハッシュc(H1C)が含まれる。   Further, the configuration management acquisition unit 26 instructs the time stamp acquisition unit 27 to acquire the old version time stamp file from the management information related to the old version of the configuration management information 30A. The time stamp acquisition unit 27 acquires time stamp files corresponding to the page data D1A to D1C updated or newly registered in the old version from the document acquisition unit 21 based on an instruction from the configuration management acquisition unit 26 (time stamp acquisition 27B). . Here, the acquired time stamp file includes a time stamp t1 (TS1) and a group of hashes H1 subjected to the time stamp. The group of hashes H1 includes a hash a (H1A), a hash b (H1B), and a hash c (H1C).

次に、タイムスタンプの検証を説明する。図18は、第2の実施形態の電子文書検証(タイムスタンプ検証)のシーケンス図である。
タイムスタンプ検証部28は、最新版で更新されたページデータD2AからD2Cに対応するタイムスタンプファイルをタイムスタンプ取得部27から読み出して検証(最新版タイムスタンプ検証28A)する。具体的には、TSA認証局112の証明書を取得し、証明書により証明される公開鍵を用いて、タイムスタンプt2(TS2)を復号する。復号により得られたデータと、ハッシュe(H2A)、ハッシュf(H2B)、ハッシュg(H2C)の結合データとして生成するハッシュt2(Ht2)とを比較する(最新版タイムスタンプ検証28A)。比較結果を判定(28B)して不一致であれば、タイムスタンプt2(TS2)の検証は棄却(28F)となり、電子文書の真正性は保証されない。比較結果を判定(28B)して一致であれば、旧版についても同様のタイムスタンプ検証をおこなうため旧版の有無を判定(28C)する。ここで、これ以上の旧版が存在しなければタイムスタンプt2(TS2)の検証は受理(28G)となり、まずタイムスタンプの真正性が保証される。
Next, time stamp verification will be described. FIG. 18 is a sequence diagram of electronic document verification (time stamp verification) according to the second embodiment.
The time stamp verification unit 28 reads the time stamp file corresponding to the page data D2A to D2C updated in the latest version from the time stamp acquisition unit 27 and verifies (the latest version time stamp verification 28A). Specifically, the certificate of the TSA certificate authority 112 is acquired, and the time stamp t2 (TS2) is decrypted using the public key certified by the certificate. The data obtained by the decryption is compared with the hash t2 (Ht2) generated as the combined data of the hash e (H2A), the hash f (H2B), and the hash g (H2C) (latest version time stamp verification 28A). If the comparison result is determined (28B) and does not match, the verification of the time stamp t2 (TS2) is rejected (28F), and the authenticity of the electronic document is not guaranteed. If the comparison result is determined (28B) and the two match, the old version is determined (28C) for the same time stamp verification. Here, if there is no more old version, the verification of the time stamp t2 (TS2) is accepted (28G), and first, the authenticity of the time stamp is guaranteed.

次に、タイムスタンプ検証部28は、旧版のページデータD1AからD1Cに対応するタイムスタンプファイルをタイムスタンプ取得部27から読み出して検証(旧版タイムスタンプ検証28D)する。TSA認証局112の証明書を取得し、証明書により証明される公開鍵を用いて、タイムスタンプt1(TS1)を復号する。復号により得られたデータと、ハッシュa(H1A)、ハッシュb(H1B)、ハッシュc(H1C)の結合データとして生成するハッシュt1(Ht1)とを比較する(旧版タイムスタンプ検証28D)。比較結果を判定(28E)して不一致であれば、タイムスタンプt1(TS1)の検証は棄却(28F)となり、電子文書の真正性は保証されない。比較結果を判定(28E)して一致であれば、さらなる旧版についても同様のタイムスタンプ検証をおこなうためさらなる旧版の有無を判定(28C)する。ここで、これ以上の旧版が存在しなければタイムスタンプt1(TS1)の検証は受理(28G)となり、まずタイムスタンプの真正性が保証される。   Next, the time stamp verification unit 28 reads the time stamp file corresponding to the old version of the page data D1A to D1C from the time stamp acquisition unit 27 and performs verification (old version time stamp verification 28D). The certificate of the TSA certificate authority 112 is acquired, and the time stamp t1 (TS1) is decrypted using the public key certified by the certificate. The data obtained by the decryption is compared with the hash t1 (Ht1) generated as the combined data of the hash a (H1A), the hash b (H1B), and the hash c (H1C) (old version time stamp verification 28D). If the comparison result is determined (28E) and there is a mismatch, the verification of the time stamp t1 (TS1) is rejected (28F), and the authenticity of the electronic document is not guaranteed. If the comparison result is determined (28E) and the two match, the same time stamp verification is performed for the further old version, and the presence / absence of the further old version is determined (28C). Here, if there is no more old version, the verification of the time stamp t1 (TS1) is accepted (28G), and first, the authenticity of the time stamp is guaranteed.

このようにして、構成管理情報にあるすべてのタイムスタンプについて真正性が保証されればハッシュ検証をする。一つでも、タイムスタンプについて真正性が保証されなければ電子文書の真正性が否定された結果を導出して検証処理を終了する。   In this way, hash verification is performed if authenticity is guaranteed for all time stamps in the configuration management information. If at least one of the time stamps is not guaranteed to be authentic, a result in which the authenticity of the electronic document is denied is derived and the verification process is terminated.

次に、ハッシュ値の検証を説明する。図19は、第2の実施形態の電子文書検証(ハッシュ値検証)のシーケンス図である。
ハッシュ検証部23は、タイムスタンプ検証部28でタイムスタンプ検証が受理された場合にハッシュ値の検証をする。まず、データ取得部22からページデータD2AからD2Cを取得してハッシュ値を生成(ハッシュ生成23A)する。次に、最新版で更新されたページデータD2AからD2Cに対応するタイムスタンプ検証が受理されたタイムスタンプファイルからハッシュe(H2A)、ハッシュf(H2B)、ハッシュg(H2C)を取得して比較する(ハッシュ比較検証23B)。比較結果を判定(23C)して不一致であれば、ハッシュ検証は棄却(23H)となり、電子文書の真正性は保証されない。比較結果を判定(23C)して一致であれば、旧版についても同様のハッシュ検証をおこなうため旧版の有無を判定(23D)する。ここで、これ以上の旧版が存在しなければハッシュ検証は受理(23I)となり、電子文書の真正性が保証される。
Next, verification of the hash value will be described. FIG. 19 is a sequence diagram of electronic document verification (hash value verification) according to the second embodiment.
The hash verification unit 23 verifies the hash value when the time stamp verification unit 28 accepts the time stamp verification. First, D2C is acquired from the page data D2A from the data acquisition unit 22, and a hash value is generated (hash generation 23A). Next, the hash e (H2A), the hash f (H2B), and the hash g (H2C) are acquired and compared from the time stamp file for which the time stamp verification corresponding to the page data D2A to D2C updated in the latest version is accepted. (Hash comparison verification 23B). If the comparison result is determined (23C) and does not match, the hash verification is rejected (23H), and the authenticity of the electronic document is not guaranteed. If the comparison result is determined (23C) and they match, the old version is determined (23D) for the same hash verification for the old version. Here, if there is no older version, hash verification is accepted (23I), and the authenticity of the electronic document is guaranteed.

次に、ハッシュ検証部23は、データ取得部から旧版のページデータD1AからD1Cを取得してハッシュ値を生成(ハッシュ生成23E)する。次に、旧版のページデータD1AからD1Cに対応するタイムスタンプ検証が受理されたタイムスタンプファイルからハッシュa(H1A)、ハッシュb(H1B)、ハッシュc(H1C)を取得して比較する(ハッシュ比較検証23F)。比較結果を判定(23G)して不一致であれば、ハッシュ検証は棄却(23H)となり、電子文書の真正性は保証されない。比較結果を判定(23G)して一致であれば、さらなる旧版についても同様のハッシュ検証をおこなうためさらなる旧版の有無を判定(23D)する。ここで、これ以上の旧版が存在しなければハッシュ検証は受理(23I)となり、電子文書の真正性が保証される。   Next, the hash verification unit 23 acquires old version page data D1A to D1C from the data acquisition unit and generates a hash value (hash generation 23E). Next, the hash a (H1A), the hash b (H1B), and the hash c (H1C) are acquired and compared from the time stamp file for which the time stamp verification corresponding to the old page data D1A to D1C has been accepted (hash comparison). Verification 23F). If the comparison result is determined (23G) and does not match, the hash verification is rejected (23H), and the authenticity of the electronic document is not guaranteed. If the comparison result is determined (23G) and the two match, the same hash verification is performed for the further old version, and the presence / absence of the further old version is determined (23D). Here, if there is no older version, hash verification is accepted (23I), and the authenticity of the electronic document is guaranteed.

このようにして、構成管理情報にあるすべてのタイムスタンプに対応する電子文書について真正性が保証されれば電子文書の真正性の検証を終了する。一つでも、電子文書について真正性が保証されなければ電子文書の真正性が否定された結果を導出して検証処理を終了する。   In this way, if the authenticity of the electronic document corresponding to all the time stamps in the configuration management information is guaranteed, the verification of the authenticity of the electronic document is terminated. If at least one of the electronic documents is not guaranteed to be authentic, a result in which the authenticity of the electronic document is denied is derived and the verification process is terminated.

なお、第1の実施形態では、電子文書の署名者および内容を電子署名を用いて電子文書の真正性保証をする実施例を、第2の実施形態では、タイムスタンプを用いて電子文書の作成日時について電子文書の真正性保証をする実施例を説明してきたが、両者を併用することも可能である。   In the first embodiment, the signer and the content of the electronic document are used to guarantee the authenticity of the electronic document using the electronic signature. In the second embodiment, the electronic document is created using the time stamp. Although the embodiment for guaranteeing the authenticity of the electronic document with respect to the date and time has been described, it is possible to use both together.

[第3の実施形態]
図20は、第3の実施形態の電子文書管理システムのシステム構成を示す図である。第1の実施形態とは、電子文書管理装置100の備える機能をネットワーク上に分散配置して電子文書管理システム120を構成している点で異なる。
[Third Embodiment]
FIG. 20 is a diagram illustrating a system configuration of an electronic document management system according to the third embodiment. The first embodiment is different from the first embodiment in that the electronic document management system 120 is configured by distributing and arranging the functions of the electronic document management apparatus 100 on a network.

電子文書管理システム120はネットワーク70と、ネットワーク70に接続するデータ登録端末110、データ検証端末111、文書保管サーバ113とから構成される。データ登録端末110、データ検証端末111、文書保管サーバ113は、図2の電子文書管理装置100と同様のハードウェア構成であり、通信インタフェースを介してネットワーク70に接続し、相互に情報を送受信する。また、電子文書管理システム120は、SSL通信などのセキュリティがある通信プロトコルを用いてTSA認証局112とタイムスタンプ発行のための通信をおこなう。   The electronic document management system 120 includes a network 70, a data registration terminal 110 connected to the network 70, a data verification terminal 111, and a document storage server 113. The data registration terminal 110, the data verification terminal 111, and the document storage server 113 have the same hardware configuration as that of the electronic document management apparatus 100 in FIG. 2, and are connected to the network 70 via a communication interface to transmit / receive information to / from each other. . The electronic document management system 120 communicates with the TSA certificate authority 112 for issuing a time stamp using a secure communication protocol such as SSL communication.

データ登録端末110は、データ登録部10を備える。データ検証端末111は、データ検証部20を備える。文書保管サーバ113は、文書保管部17を備える。また、データ登録端末110、データ検証端末111は、複数台を備えるようにしてもよい。   The data registration terminal 110 includes a data registration unit 10. The data verification terminal 111 includes a data verification unit 20. The document storage server 113 includes a document storage unit 17. The data registration terminal 110 and the data verification terminal 111 may include a plurality of units.

以上、本発明の電子文書管理装置を図示の実施の形態に基づいて説明したが、本発明はこれに限定されるものではなく、電子文書管理装置100の各部の構成は、同様の機能を有する任意の構成のものに置換することができる。また、本発明に他の任意の構成物や工程が付加されていてもよい。また、本発明は、前述した実施の形態のうちの任意の2以上の構成(特徴)を組み合わせたものであってもよい。   Although the electronic document management apparatus of the present invention has been described based on the illustrated embodiment, the present invention is not limited to this, and the configuration of each part of the electronic document management apparatus 100 has the same function. Any configuration can be substituted. Moreover, other arbitrary structures and processes may be added to the present invention. Further, the present invention may be a combination of any two or more configurations (features) of the above-described embodiments.

なお、電子文書管理装置100が備える処理機能の一部をソフトウェアで実現する場合、その機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータで実現される。   When a part of the processing functions provided in the electronic document management apparatus 100 is realized by software, a program describing the processing contents of the function is provided. By executing the program on a computer, the above processing functions are realized on the computer.

処理内容を記述したプログラムは、コンピュータで読み取り可能な媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、たとえば、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリなどが挙げられる。磁気記録装置としては、たとえば、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどが挙げられる。光ディスクとしては、たとえば、DVD、DVD−RAM、CD−ROM(Read Only Memory)、CD−R(Recordable)/RW(ReWritable)などが挙げられる。光磁気記録媒体としては、たとえば、MO(Magnet-Optical disk)などが挙げられる。   The program describing the processing contents can be recorded on a computer-readable medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic recording device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Examples of the optical disk include a DVD, a DVD-RAM, a CD-ROM (Read Only Memory), and a CD-R (Recordable) / RW (ReWritable). Examples of the magneto-optical recording medium include an MO (Magnet-Optical disk).

プログラムを流通させる場合には、たとえば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When distributing the program, for example, portable recording media such as a DVD and a CD-ROM in which the program is recorded are sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

上記プログラムを実行するコンピュータは、たとえば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送される毎に、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. In addition, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

実施の形態の電子文書管理装置の概要を示す図である。It is a figure which shows the outline | summary of the electronic document management apparatus of embodiment. 第1の実施形態の電子文書管理装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the electronic document management apparatus of 1st Embodiment. 第1の実施形態の電子文書管理装置の機能を示すブロック図である。It is a block diagram which shows the function of the electronic document management apparatus of 1st Embodiment. 第1の実施形態の電子文書初期登録の概要を示す図である。It is a figure which shows the outline | summary of the electronic document initial registration of 1st Embodiment. 第1の実施形態の電子文書初期登録時の構成管理情報を示す図である。It is a figure which shows the structure management information at the time of the electronic document initial registration of 1st Embodiment. 第1の実施形態の電子文書更新登録の概要を示す図である。It is a figure which shows the outline | summary of the electronic document update registration of 1st Embodiment. 第1の実施形態の電子文書更新登録時の構成管理情報を示す図である。It is a figure which shows the structure management information at the time of electronic document update registration of 1st Embodiment. 第1の実施形態の電子文書の署名検証の概要を示す図である。It is a figure which shows the outline | summary of the signature verification of the electronic document of 1st Embodiment. 第1の実施形態の電子文書初期登録のシーケンス図である。It is a sequence diagram of the electronic document initial registration of the first embodiment. 第1の実施形態の電子文書更新登録のシーケンス図である。It is a sequence diagram of the electronic document update registration of 1st Embodiment. 第1の実施形態の電子文書検証(データ取得)のシーケンス図である。It is a sequence diagram of electronic document verification (data acquisition) of the first embodiment. 第1の実施形態の電子文書検証(電子署名検証)のシーケンス図である。FIG. 5 is a sequence diagram of electronic document verification (electronic signature verification) according to the first embodiment. 第1の実施形態の電子文書検証(ハッシュ値検証)のシーケンス図である。It is a sequence diagram of electronic document verification (hash value verification) of the first embodiment. 第2の実施形態の電子文書のタイムスタンプ検証の概要を示す図である。It is a figure which shows the outline | summary of the time stamp verification of the electronic document of 2nd Embodiment. 第2の実施形態の電子文書初期登録のシーケンス図である。It is a sequence diagram of the electronic document initial registration of the second embodiment. 第2の実施形態の電子文書更新登録のシーケンス図である。It is a sequence diagram of the electronic document update registration of 2nd Embodiment. 第2の実施形態の電子文書検証(データ取得)のシーケンス図である。It is a sequence diagram of electronic document verification (data acquisition) of the second embodiment. 第2の実施形態の電子文書検証(タイムスタンプ検証)のシーケンス図である。It is a sequence diagram of electronic document verification (time stamp verification) of the second embodiment. 第2の実施形態の電子文書検証(ハッシュ値検証)のシーケンス図である。It is a sequence diagram of electronic document verification (hash value verification) of the second embodiment. 第3の実施形態の電子文書管理システムのシステム構成を示す図である。It is a figure which shows the system configuration | structure of the electronic document management system of 3rd Embodiment.

符号の説明Explanation of symbols

1 電子文書記録手段
2 識別情報付与手段
3 ハッシュ値生成手段
4 電子署名付与手段
5 構成情報受付手段
6 管理情報生成手段
7 改版情報受付手段
8 管理情報更新手段
100 電子文書管理装置
DESCRIPTION OF SYMBOLS 1 Electronic document recording means 2 Identification information provision means 3 Hash value generation means 4 Electronic signature provision means 5 Configuration information reception means 6 Management information generation means 7 Revision information reception means 8 Management information update means 100 Electronic document management apparatus

Claims (8)

複数の構成要素からなる電子文書を真正性保証可能に管理する電子文書管理装置であって、
2以上の電子文書の構成要素を一群にして取得する構成要素取得手段と、
取得した一群の構成要素を記録可能な電子文書記録手段と、
前記構成要素にユニークな識別情報を付与する識別情報付与手段と、
前記構成要素の各々についてハッシュ値を生成するハッシュ値生成手段と、
生成した前記各ハッシュ値を結合したデータに対して電子署名を付与する電子署名付与手段と、
一群の前記構成要素に含まれる一以上の前記構成要素により構成される一の電子文書ごとの構成を表す構成情報を受け付ける構成情報受付手段と、
前記構成情報に基づいて前記一の電子文書ごとに、前記識別情報と前記ハッシュ値と前記電子署名との対応を関係付けた管理情報を生成する管理情報生成手段と、
前記一の電子文書を構成する構成要素ごとの改版を指示する改版情報を受け付ける改版情報受付手段と、
前記一の電子文書の構成要素に改版があった場合に、改版となる構成要素の識別情報と、前記改版となる構成要素の各々についてのハッシュ値と、生成した前記各ハッシュ値を結合したデータに対しての前記電子署名との対応を関係付けた更新管理情報で、前記管理情報を更新する管理情報更新手段と、
を備えたことを特徴とする電子文書管理装置。
An electronic document management apparatus that manages an electronic document composed of a plurality of components so as to guarantee authenticity,
Component acquisition means for acquiring two or more electronic document components as a group;
An electronic document recording means capable of recording the obtained group of components;
Identification information giving means for giving unique identification information to the component;
Hash value generating means for generating a hash value for each of the components;
An electronic signature giving means for giving an electronic signature to data obtained by combining the generated hash values;
Configuration information receiving means for receiving configuration information representing a configuration for each electronic document configured by one or more of the components included in the group of the components;
Management information generating means for generating management information that associates the correspondence between the identification information, the hash value, and the electronic signature for each electronic document based on the configuration information;
Revision information receiving means for receiving revision information for instructing revision for each component constituting the one electronic document;
When the component of the one electronic document is revised, the identification information of the component to be revised, the hash value for each of the components to be revised, and the data obtained by combining the generated hash values Management information update means for updating the management information with update management information associated with the correspondence with the electronic signature for
An electronic document management apparatus comprising:
前記管理情報更新手段は、前記管理情報を記憶する管理情報記憶手段を備え、
前記管理情報を前記更新管理情報で更新するときに、更新前の管理情報と、更新後の管理情報とを版管理して前記管理情報記憶手段に記憶することを特徴とする請求項1記載の電子文書管理装置。
The management information update means includes management information storage means for storing the management information,
2. The management information storage unit according to claim 1, wherein when the management information is updated with the update management information, the management information before the update and the management information after the update are subjected to version management and stored in the management information storage unit. Electronic document management device.
前記電子文書管理装置は、
前記管理情報から前記一の電子文書を構成する構成要素と対応関係のあるすべての前記電子署名の真正性を検証する電子署名検証手段と、
前記電子署名検証手段による前記電子署名が真正なものとして検証された場合に、前記電子署名が署名対象とした前記データの真正性を検証するデータ検証手段と、
を備えることを特徴とする請求項2記載の電子文書管理装置。
The electronic document management device includes:
An electronic signature verification means for verifying the authenticity of all the electronic signatures corresponding to the components constituting the one electronic document from the management information;
A data verification unit that verifies the authenticity of the data that is the signature of the electronic signature when the electronic signature is verified as authentic by the electronic signature verification unit;
The electronic document management apparatus according to claim 2, further comprising:
複数の構成要素からなる電子文書を真正性保証可能に管理する電子文書管理装置であって、
2以上の電子文書の構成要素を一群にして取得する構成要素取得手段と、
取得した一群の構成要素を記録可能な電子文書記録手段と、
前記構成要素にユニークな識別情報を付与する識別情報付与手段と、
前記構成要素の各々についてハッシュ値を生成するハッシュ値生成手段と、
生成した前記各ハッシュ値を結合したデータに対して外部認証機関にタイムスタンプの発行を依頼し、前記外部認証機関から前記タイムスタンプの発行を受けるタイムスタンプ発行依頼手段と、
一群の前記構成要素に含まれる一以上の前記構成要素により構成される一の電子文書ごとの構成を表す構成情報を受け付ける構成情報受付手段と、
前記構成情報に基づいて前記一の電子文書ごとに、前記識別情報と前記ハッシュ値と前記外部認証機関から発行を受けた前記タイムスタンプとの対応を関係付けた管理情報を生成する管理情報生成手段と、
前記一の電子文書を構成する構成要素ごとの改版を指示する改版情報を受け付ける改版情報受付手段と、
前記一の電子文書の構成要素に改版があった場合に、改版となる構成要素の識別情報と、前記改版となる構成要素の各々についてのハッシュ値と、生成した前記各ハッシュ値を結合したデータに対しての前記タイムスタンプとの対応を関係付けた更新管理情報で、前記管理情報を更新する管理情報更新手段と、
を備えたことを特徴とする電子文書管理装置。
An electronic document management apparatus that manages an electronic document composed of a plurality of components so as to guarantee authenticity,
Component acquisition means for acquiring two or more electronic document components as a group;
An electronic document recording means capable of recording the obtained group of components;
Identification information giving means for giving unique identification information to the component;
Hash value generating means for generating a hash value for each of the components;
A request to issue a time stamp to an external certificate authority for the data obtained by combining the generated hash values, and a time stamp issue request means for receiving the time stamp from the external certificate authority;
Configuration information receiving means for receiving configuration information representing a configuration for each electronic document configured by one or more of the components included in the group of the components;
Management information generation means for generating management information that associates the correspondence between the identification information, the hash value, and the time stamp issued from the external certification authority for each electronic document based on the configuration information When,
Revision information receiving means for receiving revision information for instructing revision for each component constituting the one electronic document;
When the component of the one electronic document is revised, the identification information of the component to be revised, the hash value for each of the components to be revised, and the data obtained by combining the generated hash values Management information update means for updating the management information with update management information related to the correspondence with the time stamp for
An electronic document management apparatus comprising:
前記管理情報更新手段は、前記管理情報を記憶する管理情報記憶手段を備え、
前記管理情報を前記更新管理情報で更新するときに、更新前の管理情報と、更新後の管理情報とを版管理して前記管理情報記憶手段に記憶することを特徴とする請求項4記載の電子文書管理装置。
The management information update means includes management information storage means for storing the management information,
5. The management information storage unit according to claim 4, wherein when the management information is updated with the update management information, the management information before the update and the management information after the update are subjected to version management and stored in the management information storage unit. Electronic document management device.
前記電子文書管理装置は、
前記管理情報から前記一の電子文書を構成する構成要素と対応関係のあるすべての前記タイムスタンプの真正性を検証するタイムスタンプ検証手段と、
前記タイムスタンプ検証手段による前記タイムスタンプが真正なものとして検証された場合に、前記タイムスタンプが対象とした前記データの真正性を検証するデータ検証手段と、
を備えることを特徴とする請求項5記載の電子文書管理装置。
The electronic document management device includes:
Time stamp verification means for verifying the authenticity of all the time stamps corresponding to the components constituting the one electronic document from the management information;
A data verification unit that verifies the authenticity of the data targeted by the time stamp when the time stamp is verified by the time stamp verification unit;
The electronic document management apparatus according to claim 5, further comprising:
複数の構成要素からなる電子文書を真正性保証可能に管理する電子文書管理装置の電子文書管理方法であって、
2以上の電子文書の構成要素を一群にして取得するステップと、
取得した一群の構成要素を記録するステップと、
前記構成要素にユニークな識別情報を付与するステップと、
前記構成要素の各々についてハッシュ値を生成するステップと、
生成した前記各ハッシュ値を結合したデータに対して電子署名を付与するステップと、
一群の前記構成要素に含まれる一以上の前記構成要素により構成される一の電子文書ごとの構成を表す構成情報を受け付けるステップと、
前記構成情報に基づいて前記一の電子文書ごとに、前記識別情報と前記ハッシュ値と前記電子署名との対応を関係付けた管理情報を生成するステップと、
前記一の電子文書を構成する構成要素ごとの改版を指示する改版情報を受け付けるステップと、
前記一の電子文書の構成要素に改版があった場合に、改版となる構成要素の識別情報と、前記改版となる構成要素の各々についてのハッシュ値と、生成した前記各ハッシュ値を結合したデータに対しての前記電子署名との対応を関係付けた更新管理情報で、前記管理情報を更新するステップと、
を備えたことを特徴とする電子文書管理装置の電子文書管理方法。
An electronic document management method for an electronic document management apparatus that manages an electronic document composed of a plurality of components so as to guarantee authenticity,
Obtaining two or more electronic document components as a group;
Recording the obtained group of components;
Providing unique identification information to the component;
Generating a hash value for each of the components;
Giving an electronic signature to data obtained by combining the generated hash values;
Receiving configuration information representing a configuration for each electronic document configured by one or more of the components included in the group of the components;
Generating management information associating correspondence between the identification information, the hash value, and the electronic signature for each electronic document based on the configuration information;
Receiving revision information instructing revision for each component constituting the one electronic document;
When the component of the one electronic document is revised, the identification information of the component to be revised, the hash value for each of the components to be revised, and the data obtained by combining the generated hash values Updating the management information with the update management information associated with the correspondence with the electronic signature for
An electronic document management method for an electronic document management apparatus, comprising:
複数の構成要素からなる電子文書を真正性保証可能に管理する電子文書管理装置の電子文書管理方法であって、
2以上の電子文書の構成要素を一群にして取得するステップと、
取得した一群の構成要素を記録するステップと、
前記構成要素にユニークな識別情報を付与するステップと、
前記構成要素の各々についてハッシュ値を生成するステップと、
生成した前記各ハッシュ値を結合したデータに対して外部認証機関にタイムスタンプの発行を依頼し、前記外部認証機関から前記タイムスタンプの発行を受けるステップと、
一群の前記構成要素に含まれる一以上の前記構成要素により構成される一の電子文書ごとの構成を表す構成情報を受け付けるステップと、
前記構成情報に基づいて前記一の電子文書ごとに、前記識別情報と前記ハッシュ値と前記外部認証機関から発行を受けた前記タイムスタンプとの対応を関係付けた管理情報を生成するステップと、
前記一の電子文書を構成する構成要素ごとの改版を指示する改版情報を受け付けるステップと、
前記一の電子文書の構成要素に改版があった場合に、改版となる構成要素の識別情報と、前記改版となる構成要素の各々についてのハッシュ値と、生成した前記各ハッシュ値を結合したデータに対しての前記タイムスタンプとの対応を関係付けた更新管理情報で、前記管理情報を更新するステップと、
を備えたことを特徴とする電子文書管理装置の電子文書管理方法。
An electronic document management method for an electronic document management apparatus that manages an electronic document composed of a plurality of components so as to guarantee authenticity,
Obtaining two or more electronic document components as a group;
Recording the obtained group of components;
Providing unique identification information to the component;
Generating a hash value for each of the components;
Requesting an external certification authority to issue a time stamp for the combined data of the generated hash values, and receiving the time stamp issuance from the external certification authority; and
Receiving configuration information representing a configuration for each electronic document configured by one or more of the components included in the group of the components;
Generating management information associating the correspondence between the identification information, the hash value, and the time stamp issued from the external certification authority for each electronic document based on the configuration information;
Receiving revision information instructing revision for each component constituting the one electronic document;
When the component of the one electronic document is revised, the identification information of the component to be revised, the hash value for each of the components to be revised, and the data obtained by combining the generated hash values Updating the management information with the update management information associated with the correspondence with the time stamp for
An electronic document management method for an electronic document management apparatus, comprising:
JP2008281905A 2008-10-31 2008-10-31 Electronic document management apparatus and electronic document management method Active JP5179319B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008281905A JP5179319B2 (en) 2008-10-31 2008-10-31 Electronic document management apparatus and electronic document management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008281905A JP5179319B2 (en) 2008-10-31 2008-10-31 Electronic document management apparatus and electronic document management method

Publications (2)

Publication Number Publication Date
JP2010108383A JP2010108383A (en) 2010-05-13
JP5179319B2 true JP5179319B2 (en) 2013-04-10

Family

ID=42297747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008281905A Active JP5179319B2 (en) 2008-10-31 2008-10-31 Electronic document management apparatus and electronic document management method

Country Status (1)

Country Link
JP (1) JP5179319B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026474B2 (en) 2011-03-07 2015-05-05 Google Inc. Generating printable certificates to verify log authenticity
US20130083351A1 (en) * 2011-09-30 2013-04-04 Konica Minolta Laboratory U.S.A., Inc. Method and system for managing print on demand jobs by maintaining customer order records with content identification of printed articles
CN107729576A (en) * 2017-11-28 2018-02-23 北京筑业志远软件开发有限公司 The management method and system of archives
EP3584759B1 (en) * 2018-06-18 2024-05-01 Panasonic Intellectual Property Corporation of America Management method, management apparatus, and program
CN111401846A (en) * 2020-03-17 2020-07-10 深圳市前海随手财富管理有限公司 Electronic contract signing method, device, server and storage medium
JP2023087855A (en) * 2021-12-14 2023-06-26 株式会社エディックワークス Business information data file management system, business information data file management method, and program
WO2023238207A1 (en) * 2022-06-06 2023-12-14 三菱電機株式会社 Data maintenance system, data maintenance method, data maintenance program, data registration device, and data verification device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4044312B2 (en) * 2001-10-22 2008-02-06 独立行政法人科学技術振興機構 Database system
JP2004364070A (en) * 2003-06-06 2004-12-24 Hitachi Ltd System for managing electronic document by utilizing maskable signature technology
WO2006008847A1 (en) * 2004-07-20 2006-01-26 Fujitsu Limited Electronic document management system
WO2008015755A1 (en) * 2006-08-04 2008-02-07 Fujitsu Limited Electronic document management program, method, and device
JP2008102573A (en) * 2006-10-17 2008-05-01 Hitachi Ltd Document management system, apparatus and method, and document production apparatus
JP2008129857A (en) * 2006-11-21 2008-06-05 Konica Minolta Business Technologies Inc File management device, file management method, and program

Also Published As

Publication number Publication date
JP2010108383A (en) 2010-05-13

Similar Documents

Publication Publication Date Title
US8621222B1 (en) Archiving electronic content having digital signatures
JP5179319B2 (en) Electronic document management apparatus and electronic document management method
KR100628655B1 (en) Method and system for exchanging contents between different DRM devices
WO2009107351A1 (en) Information security device and information security system
US8595488B2 (en) Apparatus, system and method for securing digital documents in a digital appliance
US8856532B2 (en) Digital signatures of composite resource documents
RU2336551C2 (en) Device of information processing, device of verification and methods of their control
EP1817687B1 (en) Apparatus and method for supporting content exchange between different drm domains
US20040039932A1 (en) Apparatus, system and method for securing digital documents in a digital appliance
TWI552015B (en) Method,computer system and non-transitory computer readable storage medium for composite document
JP2010050760A (en) Content protection apparatus, and content utilization apparatus
JP2006135465A (en) Document management apparatus, document management method, and computer program
JP2015508256A (en) Digital copyright management apparatus and method for EPUB-based content, and EPUB-based content providing apparatus and method with user authority
TWI502397B (en) Document authority management system, terminal device, document authority management method, and computer-readable recording medium
KR20200088995A (en) Document security and integrity verification based on blockchain in image forming device
JP7462903B2 (en) User terminal, authenticator terminal, registrant terminal, management system and program
JP2004110197A (en) Information processing method and method of managing access authority for use at center system
JP2006350850A (en) Method, device and program for reconstructing software package
JP4226534B2 (en) Content multi-stage encryption system and content multi-stage encryption program
JP4631398B2 (en) Document management apparatus, document management method, and computer program
KR101355077B1 (en) System for creating and certifying the original of digital contents and method thereof
WO2022070405A1 (en) Control method, generation method, generation program, and information processing device
US20210303640A1 (en) Document management system, processing terminal device, and control device
JP2005328238A (en) Content providing system and method thereof
JP2016115162A (en) Authentication system, authentication terminal device, registration terminal device, authentication method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110404

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120803

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121204

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20121211

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: 20130108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130109

R150 Certificate of patent or registration of utility model

Ref document number: 5179319

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150