JP2007281770A - Electronic document verification system and verification program - Google Patents
Electronic document verification system and verification program Download PDFInfo
- Publication number
- JP2007281770A JP2007281770A JP2006104194A JP2006104194A JP2007281770A JP 2007281770 A JP2007281770 A JP 2007281770A JP 2006104194 A JP2006104194 A JP 2006104194A JP 2006104194 A JP2006104194 A JP 2006104194A JP 2007281770 A JP2007281770 A JP 2007281770A
- Authority
- JP
- Japan
- Prior art keywords
- verification
- time stamp
- client device
- server device
- data
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、電子文書検証システム及び検証プログラムに係り、特に、電子文書データ(電子データ)に関係付けられた電子署名やタイムスタンプ等の認証情報を検証する電子文書検証システム及び検証プログラムに関する。 The present invention relates to an electronic document verification system and a verification program, and more particularly, to an electronic document verification system and a verification program for verifying authentication information such as an electronic signature and a time stamp associated with electronic document data (electronic data).
電子政府の一環として、2005年4月にe−文書法が施行され、ある要件の元で、紙をスキャニングした電子データを原本と同等なものとしてみなすことができるようになった。要件の1つには、紙の持つ真実性の確保のための方策があり、この方策として、具体的には、電子署名やタイムスタンプの利用がある。このような法制度の後押しもあり、今後、電子署名やタイムスタンプ等の認証情報が付与された電子データが増加してくることが予想される。 As part of the e-Government, the e-Document Act was enforced in April 2005, and under certain requirements, electronic data scanned from paper can be regarded as equivalent to the original. One of the requirements is a measure for ensuring the authenticity of the paper. Specifically, the measure includes the use of an electronic signature or a time stamp. With the support of such a legal system, it is expected that electronic data to which authentication information such as electronic signatures and time stamps are added will increase in the future.
電子署名やタイムスタンプが付与された電子データは、処理をせずに保管するだけでは意味がなく、その利用や処理が行われる。その際、電子署名やタイムスタンプが保証する電子データの真正性や存在時刻を確認する必要があり、そのために、電子署名とタイムスタンプとの検証が必要となる。 Electronic data to which an electronic signature or a time stamp is attached is meaningless if it is stored without processing, and is used and processed. At that time, it is necessary to confirm the authenticity and existence time of the electronic data guaranteed by the electronic signature or the time stamp, and for this purpose, verification of the electronic signature and the time stamp is required.
一般によく知られている電子署名とタイムスタンプとの検証方法は、例えば、非特許文献1、2、3等の国際標準規格に記載されている。例えば、公開鍵基盤(PKI)に基づくCMSベースの電子署名とPKI技術を用いたタイムスタンプとの場合、その検証は、それぞれ、以下のような手順により行われる。
A well-known method for verifying a digital signature and a time stamp is described in, for example, international standards such as Non-Patent
すなわち、電子署名の検証は、1.電子署名に含まれる署名者の公開鍵証明書の有効期限が過ぎていないかどうか?、失効していないか?、改竄されていないか?等を検査し、公開鍵証明書の有効性を確認する手順、2.有効性が確認された公開鍵証明書に含まれた署名者の公開鍵を用いて電子署名の署名値を検証し、署名者本人の署名であるのかどうかを確認する手順、3.電子署名対象データのハッシュ値を求め、電子署名に含まれる該当ハッシュ値と比較し、電子署名対象データが改竄されていないのかどうかを確認する手順の3つの手順により行われる。 That is, the verification of the electronic signature is as follows. Whether the signer's public key certificate included in the electronic signature has expired? Has it expired? Has it been tampered with? 1. Confirming the validity of the public key certificate 2. a procedure for verifying the signature value of the electronic signature by using the signer's public key included in the public key certificate whose validity is confirmed, and confirming whether or not the signature is the signer's own signature; The hash value of the electronic signature target data is obtained, compared with the corresponding hash value included in the electronic signature, and the procedure for checking whether the electronic signature target data is not falsified is performed.
また、タイムスタンプの検証は、1.タイムスタンプに含まれるタイムスタンプ局の公開鍵証明書の有効期限が過ぎていないかどうか?、失効していないか?、改竄されていないか?等を検査し、公開鍵証明書の有効性を確認する手順、2.有効性が確認された公開鍵証明書に含まれたタイムスタンプ局の公開鍵を用いて電子署名の署名値を検証し、タイムスタンプ局の署名であるのかどうかを確認する手順、3.タイムスタンプ対象データのハッシュ値を求め、タイムスタンプに含まれる該当ハッシュ値と比較し、タイムスタンプ対象データが改竄されていないかどうかを確認する手順の3つの手順により行われる。 The time stamp verification is as follows. Whether the time stamp authority's public key certificate included in the time stamp has expired? Has it expired? Has it been tampered with? 1. Confirming the validity of the public key certificate 2. a procedure for verifying a signature value of an electronic signature using a public key of a time stamp authority included in a public key certificate whose validity has been confirmed, and confirming whether the signature is a signature of the time stamp authority; The hash value of the time stamp target data is obtained, compared with the corresponding hash value included in the time stamp, and the three procedures of checking whether the time stamp target data has been tampered with are performed.
PKI技術に立脚した電子署名とタイムスタンプとの検証を行う場合、公開鍵暗号処理や複雑なPKIモデルを扱う必要があるため、比較的コストの高い処理、すなわち、大きな計算機能力を要する処理となる。また、電子署名やタイムスタンプの対象のデータのサイズが大きくなると、効率的な処理のためには、大きなメモリ容量やCPU能力が必要になってくる。 When verifying electronic signatures and time stamps based on PKI technology, it is necessary to handle public key cryptography and complex PKI models, which is a relatively expensive process, that is, a process that requires a large computational capability. . In addition, when the size of data to be digitally signed or time stamped becomes large, a large memory capacity and CPU capability are required for efficient processing.
今後、電子政府の進展により電子申請が普及するようになると、紙文書等がスキャニングされた大容量の電子データが通信ネットワークを介して送信されるようになってくる。このとき、受付システム側は、このような大きなサイズの電子データに対する電子署名やタイムスタンプを高速に検証する必要が生じることになる。 In the future, as electronic applications become more widespread due to the progress of electronic government, large-capacity electronic data scanned from paper documents and the like will be transmitted via a communication network. At this time, the reception system side needs to verify the electronic signature and the time stamp for such large-size electronic data at high speed.
前述したような検証を高速化する方法に関する従来技術として、例えば、特許文献1等に記載された技術が知られている。この従来技術は、負荷分散の観点から処理の高速化を図るものであり、クライアント装置とサーバ装置とから構成されるネットワークベースのシステムにおいて、クライアント装置とサーバ装置とが複数の処理を配分しながら効率よく処理を実行するというものである。そして、この従来技術は、サーバ装置に備えられる負荷分散モジュールが、クライアント装置から読み出されたクライアント処理能力とサーバ装置のサーバ処理能力とを比較し、処理能力が高い方へより多くの処理を配分するというものである。
しかし、前述した特許文献1に開示された従来技術は、処理に必要な入力データのサイズの影響を考慮していないため、入力データをネットワーク上で転送する時間等に伴う性能低下を防止することができないという問題点を有している。例えば、ネットワークの帯域幅が小さい場合、クライアントの能力が低くてもクライアント側で検証を実行した方が処理を高速に行うことができる場合もあり得る。
However, since the conventional technique disclosed in
また、電子署名やタイムスタンプの技術規格上、電子署名やタイムスタンプの対象となる電子データのサイズに制限は存在しない。また、e−文書法に伴い公表された国税関係書類の電子保存に関する国税庁通達は、タイムスタンプ対象のデータとしては、電子データと電子署名とから構成されるデータと明記しており、しかも、複数の電子データに対してまとめて1つのタイムスタンプを適用してもよいとしている。このことは、タイムスタンプ検証において、比較的大きなサイズの電子データを扱う必要性があることを示している。このような状況の下では、前述の従来技術を用いて、クライアント処理能力とサーバ処理能力を単純に比較し、処理能力の高い方へ単純に処理を配分すると、高速に処理できない可能性が残るという問題を生じてしまう。 In addition, there is no limit on the size of electronic data that is the target of an electronic signature or time stamp, due to technical standards for the electronic signature or time stamp. In addition, the NTA Circular on Electronic Preservation of National Tax Related Documents published in accordance with the e-Document Law specifies that the data subject to time stamps is data consisting of electronic data and electronic signatures. One time stamp may be applied to all the electronic data. This indicates that it is necessary to handle electronic data of a relatively large size in time stamp verification. Under such circumstances, if the client processing capability and the server processing capability are simply compared using the above-described conventional technology, and processing is simply distributed to the higher processing capability, there is a possibility that processing cannot be performed at high speed. Will cause the problem.
本発明の目的は、電子署名とタイムスタンプとの適用対象となる電子データのサイズが大きくなった場合にも、電子署名とタイムスタンプとを高速に検証することができるようにした電子文書検証システム及び検証プログラムを提供することにある。 An object of the present invention is to provide an electronic document verification system capable of verifying an electronic signature and a time stamp at high speed even when the size of electronic data to which the electronic signature and the time stamp are applied increases. And providing a verification program.
本発明によれば前記目的は、通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証システムであって、前記クライアント装置が、検証対象データを解析する手段と、クライアント装置及びサーバ装置のリソースの状態を取得する手段と、最適検証方法定義情報を参照し、最適な検証方法を特定する手段と、特定した最適な検証方法により、電子署名・タイムスタンプの検証を実行する手段とを備えることにより達成される。 According to the present invention, the object is to provide a client device that is composed of at least one server device connected to a communication network and at least one client device, and receives a digital signature / time stamp verification request from a user. An electronic document verification system that performs communication with a server device and executes verification of an electronic signature / time stamp, wherein the client device analyzes data to be verified, a client device, and a server device Means for acquiring a resource state, means for referring to the optimum verification method definition information, specifying an optimum verification method, and means for executing verification of an electronic signature / time stamp by the identified optimum verification method Is achieved.
また、前記目的は、通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置と、少なくとも1台のデータ管理サーバ装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証システムであって、前記クライアント装置が、検証対象データを解析する手段と、クライアント装置及びサーバ装置のリソース状態を取得する手段と、前記データ管理サーバ装置が公開する最適検証情報定義情報を参照し、最適な検証方法を特定する手段と、特定した最適な検証方法により、電子署名・タイムスタンプの検証を実行する手段とを備えることにより達成される。 The object is composed of at least one server device connected to a communication network, at least one client device, and at least one data management server device. A client device that has received a request communicates with a server device to perform electronic signature / time stamp verification, wherein the client device analyzes data to be verified; and The means for acquiring the resource status of the client device and the server device, the means for specifying the optimum verification method with reference to the optimum verification information definition information published by the data management server device, and the identified optimum verification method, And means for performing verification of the electronic signature and time stamp.
また、前記目的は、通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証プログラムであって、検証対象データを解析するステップと、クライアント装置及びサーバ装置のリソースの状態を取得するステップと、最適検証方法定義情報を参照し、最適な検証方法を特定するステップと、特定した最適な検証方法により、電子署名・タイムスタンプの検証を行うステップとを実行させることにより達成される。 Further, the object is that the client device, which is composed of at least one server device connected to the communication network and at least one client device and receives a request for verification of the electronic signature / time stamp from the user, is the server device. An electronic document verification program for performing verification of an electronic signature and a time stamp by performing communication with each other, the step of analyzing verification target data, and the step of acquiring the resource state of the client device and the server device This is achieved by referring to the optimum verification method definition information, specifying the optimum verification method, and performing the step of verifying the electronic signature / time stamp by the identified optimum verification method.
さらに、前記目的は、通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置と、少なくとも1台のデータ管理サーバ装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証プログラムであって、検証対象データを解析するステップと、クライアント装置及びサーバ装置のリソース状態を取得するステップ手段と、前記データ管理サーバ装置が公開する最適検証情報定義情報を参照し、最適な検証方法を特定するステップと、特定した最適な検証方法により、電子署名・タイムスタンプの検証を行うステップとを実行させることにより達成される。 Furthermore, the object is configured by at least one server device connected to a communication network, at least one client device, and at least one data management server device, and the user verifies the electronic signature and time stamp. An electronic document verification program in which a client device that has received a request communicates with a server device to perform verification of an electronic signature and a time stamp, the step of analyzing data to be verified, the client device and the server The step of acquiring the resource state of the device, the step of identifying the optimum verification method with reference to the optimum verification information definition information published by the data management server device, and the electronic signature / time by the identified optimum verification method Performing the step of verifying the stamp.
本発明によれば、クライアント装置は、電子署名とタイムスタンプとの適用対象となる入力データのサイズに従った最適な検証方法を選択、決定して検証を行うことができるので、電子署名とタイムスタンプとの検証を高速に行うことができる。 According to the present invention, the client device can select and determine the optimum verification method according to the size of the input data to which the electronic signature and the time stamp are applied, so that the verification can be performed. Verification with the stamp can be performed at high speed.
以下、本発明による電子文書検証システム及び検証プログラムの実施形態を図面により詳細に説明する。 Embodiments of an electronic document verification system and a verification program according to the present invention will be described below in detail with reference to the drawings.
図1は本発明の第1の実施形態による電子文書検証システムの構成を示すブロック図である。図1において、100(100a〜100d)はクライアント装置、102、122は要求受付部、104は検証シミュレート部、106は検証方法決定処理部、108はリソース監視部、110は署名・タイムスタンプ検証処理部、112は検証データモデル情報、114は検証タイプ情報、116は最適検証方法定義情報、118は検証性能実測情報、120はサーバ装置、124はリソース監視部、126は署名・タイムスタンプ検証処理部、130は認証局装置(CA)、132はタイムスタンプ局装置(TSA)、150は通信ネットワークである。 FIG. 1 is a block diagram showing the configuration of an electronic document verification system according to the first embodiment of the present invention. In FIG. 1, 100 (100a to 100d) is a client device, 102 and 122 are request reception units, 104 is a verification simulation unit, 106 is a verification method determination processing unit, 108 is a resource monitoring unit, and 110 is signature / time stamp verification. Processing unit, 112 is verification data model information, 114 is verification type information, 116 is optimal verification method definition information, 118 is verification performance measurement information, 120 is a server device, 124 is a resource monitoring unit, and 126 is a signature / time stamp verification process , 130 is a certificate authority (CA), 132 is a time stamp authority (TSA), and 150 is a communication network.
図1に示す電子文書検証システムは、複数台のクライアント装置100(100a〜100d)、サーバ装置120、認証局装置130、タイムスタンプ局装置132が通信ネットワーク150に接続されて構成される。なお、図1には、サーバ装置120、認証局装置130、タイムスタンプ局装置132を1台だけ示しているが、これらの装置は、複数台設けられていてもよく、また、クライアント装置100を4台示しているが、クライアント装置100は、さらに多数設けられていても、また、1台だけであってもよい。
The electronic document verification system shown in FIG. 1 is configured by connecting a plurality of client devices 100 (100a to 100d), a
前述において、認証局装置130は、電子署名やタイムスタンプに使用される公開鍵証明書を発行すると共に、公開鍵証明書の検証に必要となる公開鍵証明書の失効情報を公開する装置である。タイムスタンプ局装置132は、タイムスタンプサービスを提供する装置である。サーバ装置120は、クライアント装置100に対して、電子署名とタイムスタンプとの検証を示す電子文書検証サービスを提供する装置である。クライアント装置100は、ユーザの操作を受け付け、電子文書の検証を実行する。また、クライアント装置100は、検証の一部、あるいは、全てをサーバ装置120に依頼することもできる。クライアント装置100には、通信相手となるサーバ装置120の通信アドレスが予め登録されている。そして、クライアント装置100とサーバ装置120とは、SSL(Secure Sockets Layer)を使用してお互いに相互認証し、暗号化通信を行っている。また、クライアント装置100とサーバ装置120とは、NTP(Network Time Protocol)を使用して、時刻同期を行っている。
In the above description, the
クライアント装置100は、要求受付部102、検証シミュレート部104、検証方法決定処理部106、リソース監視部108、署名・タイムスタンプ検証部110を備えて構成されている。
The
要求受付部102は、ユーザから電子署名とタイムスタンプとの検証の要求を受け付けると共に、サーバ装置120に対して検証サービスの一部、あるいは、全てを依頼し、その検証結果を受信する。検証シミュレート部104は、電子署名とタイムスタンプとの検証の性能確認のため、予め決められたパターン数の検証方法を実行する。そして、検証シミュレート部104は、得られた検証性能測定結果を検証性能実測情報118として格納し、最適な検証方法を定義する最適検証方法定義情報116を作成する。検証方法決定処理106は、検証データモデル情報112、検証タイプ情報114、最適検証方法定義情報116を参照して、ユーザから入力された検証要求データに対する最適な検証方法を決定する。リソース監視部108は、クライアント装置100のCPU負荷等のリソースの状態情報を定期的に監視する。署名・タイムスタンプ検証処理部110は、署名とタイムスタンプとの検証を実行すると共に、その実行結果を検証性能実測情報118として格納する。
The
サーバ装置120は、要求受付部122、リソース監視部124、署名・タイムスタンプ検証処理部126を備えて構成されている。
The
要求受付部122は、クライアント装置100からの検証要求を受け付け、サーバ装置120内で実行した検証結果をクライアント装置100へ送信する。リソース監視部124は、サーバ装置120のCPU負荷等のリソース状態情報を定期的に監視する。また、署名・タイムスタンプ検証処理部126は、署名とタイムスタンプとの検証を実行する。
The
通信ネットワーク150は、公衆網、インターネット、ISDN、専用線、LAN等の有線網や、移動通信用基地局や通信用人工衛星を利用した無線網等の通信ネットワークにより実現されているものを使用することができる。
The
なお、クライアント装置100及びサーバ装置120が備える前述したような処理部の具体的な処理内容に関しては、他の図面と合わせて後述する。
The specific processing contents of the processing units provided in the
図2はクライアント装置100及びサーバ装置120のハードウエア構成の例を示すブロック図である。図2において、200は内部通信線、202はCPU、204はRAM、206は外部記憶装置、208はHSM、210は通信インタフェース、212は入力装置、214は出力装置、216は外部メディアインタフェース、218は記憶媒体である。
FIG. 2 is a block diagram illustrating an example of the hardware configuration of the
クライアント装置100及びサーバ装置120は、中央演算装置であるCPU202、キーボードやマウス等の入力装置212、ハードディスク等の外部記憶装置206、半導体メモリ等の記憶装置であるRAM204、CRTディスプレイ、液晶ディスプレイ、プリンタ等の出力装置214、光磁気メディア等の記憶媒体218を読み書きするための外部メディアインタフェース216、通信用の通信インタフェース210、暗号処理に使用する秘密鍵等のセキュリティ情報の格納や暗号処理を実行するハードウェアセキュリティモジュールであるHSM208がバス等の内部通信線200で接続されて構成されている。このような構成を持つを持つクライアント装置100及びサーバ装置120は、汎用的なパーソナルコンピュータを用いて実現できる。もちろん、パーソナルコンピュータに限るわけではなく、ユーザに対する入力装置、出力装置、通信装置を備えた計算機(情報処理装置)であれば使用可能である。
The
なお、電子文書検証システムを構成する各装置は、予め装置に設定された通信先相手となる他の装置のアドレスを用いて、通信先と接続して通信を行う。 In addition, each apparatus which comprises an electronic document verification system connects and communicates with a communication destination using the address of the other apparatus used as the communication destination other party preset in the apparatus.
各装置には、同一の機能を提供する複数の他の装置のアドレスが登録されていてもよい。例えば、1つのクライアント装置100に1つ以上のサーバ装置120のアドレスが登録されている場合、クライアント装置100の通信先は、例えば、ラウンド・ロビン的に選択される。
In each apparatus, addresses of a plurality of other apparatuses that provide the same function may be registered. For example, when the addresses of one or
前述の各装置の各機能や各処理部は、それぞれのCPU202が外部記憶装置206に格納されたプログラムRAM204にロードして実行することにより具現化される。また、各プログラムは、予め外部記憶装置206に格納されていてもよいし、必要に応じて、当該装置が利用可能な、着脱可能なFD、CD−ROM、DVD等の記憶媒体218や通信媒体である通信ネットワーク150、または、通信ネットワーク150上を伝搬する搬送波やデジタル信号を介して、他の装置から導入されてもよい。
Each function and each processing unit of each of the above-described devices is implemented by loading each
以下、クライアント装置100及びサーバ装置120の各処理部の具体的な処理内容について説明する。
Hereinafter, specific processing contents of each processing unit of the
図3はクライアント装置100における電子文書の検証処理の処理動作を説明するフローチャートであり、次に、これについて説明する。
FIG. 3 is a flowchart for explaining the processing operation of the electronic document verification processing in the
(1)クライアント装置100は、処理を開始すると、まず、ユーザから電子文書検証の要求を受け付ける。電子文書検証の要求を受け付けの処理は、図4により後述するようなGUIをユーザに提供して、ユーザに必要な操作を行わせることにより実行する(ステップ300、302)。
(1) When the processing starts, the
(2)次に、クライアント装置100は、検証データモデル情報112と検証タイプの定義情報114を参照し、検証対象データのタイプ及び電子署名とタイムスタンプとの検証仕様を特定する。検証データモデル情報112及び検証タイプの定義情報114の具体例については、図5、図6を参照して後述する。また、ここで、検証対象となる電子データのサイズ情報も取得する(ステップ304)。
(2) Next, the
(3)次に、ステップ304の処理で電子署名とタイムスタンプとの検証仕様を確定すると、クライアント装置100は、ステップ306にて、クライアント装置100とサーバ装置120との処理負荷状態を取得する。処理負荷状態とは、例えば、CPU使用率、メモリ使用率、ディスクアクセスの負荷等の装置を構成するリソースの負荷状態である。クライアント装置100は、サーバ装置120の処理負荷状態を把握するために、サーバ装置120へ問い合わせを行う。この問い合わせは、図7により後述するが、リソース状態要求データをサーバ装置120へ送信し、サーバ装置120からリソース状態応答データを受信することにより行われる(ステップ306)。
(3) Next, when the verification specification of the electronic signature and the time stamp is confirmed in the process of
(4)次に、クライアント装置100は、最適検証方法定義情報116を参照して、最適な検証方法が定義されているか否かにより最適な検証方法を特定し、検証方法を特定することができたか否かを判定する。なお、最適検証方法定義情報116の具体例については、図9を参照して後述する(ステップ308)。
(4) Next, the
(5)ステップ308の判定で、最適検証方法定義情報116に最適検証方法定義情報が定義されていなかった場合、クライアント装置100は、最適な検証方法を特定することができないため、検証シミュレーションを実行する。すなわち、クライアント装置100は、検証対象データで想定される検証タイプ全てを順番に試行する。具体的には、クライアント装置100は、クライアント装置100で行う検証内容を実行すると共に、検証シミュレーション要求をサーバ装置120へ送信し、サーバ装置120に検証処理を実行させて、実行結果である検証結果を受け取る。なお、授受されるシミュレーション要求のデータと検証結果のデータとの詳細は、図7により後述する。ここでの処理により、ユーザから要求された検証対象データの検証がシミュレーションと同時に得られることになる。なお、検証シミュレーションの実行時には、クライアント装置100を操作するユーザに対して、検証シミュレーション中であるとの文字列を示す画面を表示してもよい(ステップ318)。
(5) If the optimal verification method definition information 116 is not defined in the optimal verification method definition information 116 in the determination in
(6)ステップ318の処理での検証シミュレーションが終了すると、クライアント装置100は、検証シミュレーション結果を検証性能実測情報118として格納する。なお、検証性能実測情報118の詳細については、図8を参照して後述する(ステップ320)。
(6) When the verification simulation in the process of
(7)次に、クライアント装置100は、検証性能実測情報118の中から、検証対象データモデル、電子データサイズ、クライアントのCPU負荷、サーバのCPU負荷、通信時間が同一であるもののうちから検証時間が1番小さい検証タイプを最適な検証方法として定義する最適検証方法定義情報116を作成、あるいは、更新する。なお、電子データサイズ、クライアントのCPU負荷、サーバのCPU負荷が同一であるとは、例えば、これらの値が予め決められた閾値の範囲内に含まれていることを意味する(ステップ322)。
(7) Next, the
(8)次に、クライアント装置100は、検証結果を作成し、クライアント装置100を操作するユーザに対して検証結果を提示して、最適検証方法定義情報が定義されていない場合の処理を終了する(ステップ316)。
(8) Next, the
(9)ステップ308の判定で、最適検証方法定義情報116に最適検証方法定義情報が定義されていた場合、クライアント装置100は、最適検証方法定義情報の中から最適な検証タイプを選択して検証を実行する。具体的には、クライアント装置100は、クライアント装置100で行う検証内容を実行すると共に、サーバ装置120で行う検証内容を含む検証要求をサーバ装置120へ送信し、サーバ装置120に検証処理を実行させて、実行結果である検証結果を受け取る。なお、授受されるシミュレーション要求のデータと検証結果のデータとの詳細は、図7により後述する(ステップ312)。
(9) If the optimal verification method definition information is defined in the optimal verification method definition information 116 in the determination in
(10)その後、クライアント装置100は、検証性能実測値を検証性能実測情報114として格納すると共に、検証結果を作成し、クライアント装置100を操作するユーザに対して検証結果を提示して、最適検証方法定義情報が定義されていた場合の処理を終了する(ステップ314、316)。
(10) After that, the
なお、クライアント装置100は、検証性能実測情報114を定期的に検査し、ある条件に合致した場合、再度、検証シミュレーションを実行してもよい。例えば、最適検証方法として採用した検証タイプが想定する検証時間と実測した検証時間との差がある閾値を超えた場合、実測値におけるクライアントのCPU負荷、サーバのCPU負荷、電子データのサイズの条件下で検証シミュレーションを実行し、最適検証方法定義情報を更新してもよい。
Note that the
図4はステップ302の処理での電子文書検証の要求を受け付ける処理でユーザに提供するGUIの画面例を示す図である。図4に示す画面例400におけるフィールド402、フィールド406、フィールド410には、ユーザが選択した電子データファイル名、電子署名ファイル名、タイムスタンプファイル名がそれぞれ表示される。ボタン404、ボタン408、ボタン412は、それぞれ、電子データファイル、電子署名ファイル、タイムスタンプファイルをファイルシステムから参照するための機能を呼び出すためのボタンである。また、フィールド414は、電子データに対する電子署名とタイムスタンプの仕様とを示す電子文書モデルを選択するためのリストとなる。ボタン416は、電子署名・タイムスタンプ検証処理の実行を起動するためのボタンである。
FIG. 4 is a view showing an example of a GUI screen provided to the user in the process of accepting the electronic document verification request in the process of
図5は検証データモデル情報112を示すデータテーブルの例を示す図である。図5に示す検証データモデル情報112を示すデータテーブルは、検証対象データモデル毎に定義される電子署名とタイムスタンプの検証モデルを示している。ユーザから指定された電子文書モデルは、テーブルフィールド502の検証対象データモデルを示す。例えば、検証対象データモデルが、doc1であれば、テーブルフィールド504が示す署名PKIモデルは、GPKI(政府認証基盤)と呼ばれるブリッジ型のCA(認証局)モデルとなる。また、テーブルフィールド506の署名形式モデルは、RFC3852の規格に示されるCMS(Cryptographic Message Syntax)、テーブルフィールド508の署名対象モデルは、ISO 19005−1に記載されるPDFデータの全体を示す。さらに、テーブルフィールド510のタイムスタンプ形式モデルとテーブルフィールド512のタイムスタンプ対象モデルとは、それぞれ、RFC3161規格、及び、国税関係書類の電子保存に関わるタイムスタンプ付与対象要件を示した国税庁通達に準拠することを示している。
FIG. 5 is a diagram illustrating an example of a data table indicating the verification
図6は検証タイプ情報114を示すデータテーブルの例を示す図である。図6に示す検証タイプ情報114を示すデータテーブルは、検証対象データモデルにおける検証タイプの定義である。検証タイプとは、電子署名とタイムスタンプとの検証構成要素となる検証項目をクライアント装置、あるいは、サーバ装置で実行するのか否かの組み合わせを定義したものである。考えられる全ての組み合わせが検証タイプとして定義される。例えば、テーブル行650では、検証対象モデルとしてdoc1の検証タイプv1が定義される。テーブルフィールド606から618では、サーバ装置によりこれらの検証項目が実行されることが定義されている。具体的な検証項目としては、例えば、署名者の公開鍵証明書有効性検証(検証項目1)、署名者の署名値の検証(検証項目2)、署名対象データと署名データとの対応検証(検証項目3)、タイムスタンプ局の公開鍵証明書有効性検証(検証項目4)、タイムスタンプの署名値の検証(検証項目5)、タイムスタンプ対象データとタイムスタンプとの対応検証(検証項目6)、タイムスタンプ局を使用したタイムスタンプトークン検証(検証項目7)等である。
FIG. 6 is a diagram illustrating an example of a data table indicating the
なお、検証対象データモデルによって、検証項目が異なることもある。例えば、テーブル行652の検証対象データモデルdoc2は、タイムスタンプ方式としては、図4から判るように、PKI技術を使用しないISO/IEC 18014−2のMAC方式のため、PKI技術に特有なタイムスタンプ局の公開鍵証明書有効性検証(検証項目4)とタイムスタンプの署名値の検証(検証項目5)とは、未定義となる。
The verification items may differ depending on the verification target data model. For example, the verification target data model doc2 of the
図7はクライアント装置100とサーバ装置120との間で授受される送受信メッセージの構成例を示す図である。
FIG. 7 is a diagram illustrating a configuration example of a transmission / reception message exchanged between the
図7(a)は図3のステップの処理でのサーバの処理負荷状態の問い合わせのためのリソース状態要求データ700を示しており、このリソース状態要求データ700は、データの種別を示すフィールド702、クライアント装置100が要求を送信する時刻704が格納される。図7(b)は問い合わせに対してサーバ装置120から返されるリソース状態応答データ710を示しており、このリソース状態応答データ710は、データの種別を示すフィールド712、サーバ装置120がリソース状態要求データを受信した時刻714、サーバ装置120がリソース状態応答データを送信した時刻716、サーバ装置がリソース状態要求データを受信した時点、あるいは、その時点を中心としたある時間幅の平均のサーバ装置のCPU負荷状態718が格納される。CPU負荷状態718には、CPU負荷状態だけでなく、前述したような各種リソースの負荷状態を含ませることができる。クライアント装置100は、このような問い合わせにより、サーバ装置120のCPU負荷を含むリソースの負荷の情報、サーバ装置内の処理時間を知ることができる。また、クライアント装置100とサーバ装置120との間の通信時間も見積もることができる。
FIG. 7A shows resource
図7(c)は図3のステップ312の処理でのサーバ装置120へクライアント装置100から送信される検証要求のデータ720を示している。この検証要求データ720には、検証要求識別子を示すフィールド722、検証対象データを示すフィールド724が格納される。ここで言う検証対象データとは、サーバ装置120で実行すべき検証項目に必要な入力データである。例えば、検証対象データモデルが、doc1であり、サーバ装置120で実行すべき検証項目が公開鍵証明書だけであれば、検証対象データのフィールド724には、公開鍵証明書だけが格納され、また、検証対象データモデルが、doc1であり、サーバ装置120で実行すべき検証項目の全てであれば、電子データ、電子署名データ、タイムスタンプデータから構成されるデータが格納される。また、クライアント装置100から送信される検証要求データ720には、クライアント装置100が要求を送信する時刻を示すフィールド726が格納される。
FIG. 7C shows
サーバ装置120は、検証の実行を終了すると、図7(d)に示しているような検証応答データ730を検証結果としてクライアント装置100に送信する。検証応答データ730は、データの種別、すなわち、検証応答識別子を示すフィールド732、検証結果データを示すフィールド734、サーバ装置120が検証要求データを受信した時刻を示すフィールド736、サーバ装置120が検証応答データを送信する時刻を示すフィールド738、サーバ装置120が検証シミュレーション要求を受信した時点、あるいは、その時点を中心としたある時間幅の平均のサーバCPUの負荷状態を示すフィールド740が格納される。
When the
図7(e)は図3のステップ318の処理でのサーバ装置120へクライアント装置100から送信される検証シミュレーション要求のデータ750を示している。この検証シミュレーション要求データ750には、シミュレート識別子を示すフィールド752、検証対象データを示すフィールド754が格納される。ここで言う検証対象データとは、サーバ装置120で実行すべき検証項目に必要な入力データである。例えば、検証対象データモデルが、doc1であり、サーバ装置120で実行すべき検証項目が公開鍵証明書だけであれば、検証対象データのフィールド754には、公開鍵証明書だけが格納され、また、検証対象データモデルが、doc1であり、サーバ装置120で実行すべき検証項目の全てであれば、電子データ、電子署名データ、タイムスタンプデータから構成されるデータが格納される。このとき、いくつかの検証タイプを実行する場合、クライアント装置100及びサーバ装置120のリソース負荷(例えば、CPU負荷)が同じ条件になるように実行する。
FIG. 7E shows verification
また、クライアント装置100から送信される検証シミュレーション要求データ750には、クライアント装置100が要求を送信する時刻を示すフィールド756、サーバ装置120で保つべきサーバ負荷状態を示すフィールド758が格納される。サーバ装置120は、フィールド758の値を読み取り、サーバCPUの負荷状態を指定された状態に保ちながら検証処理を実行する。同様に、クライアント装置100も、検証シミュレート実行中、クライアントのCPUの負荷状態を指定した状態に保ちながら検証処理を実行する。CPUの負荷状態を所定の負荷状態に保つ方法としては、例えば、他の処理を受け付けない、あるいは、ダミーの処理を生成する等の方法が用いればよい。
The verification
サーバ装置120は、検証タイプの1つの実行を終了する毎に、図7(f)に示しているような検証シミュレーション応答760を検証結果としてクライアント装置100に送信する。検証シミュレーション応答データ760は、データの種別を示すフィールド762、検証結果データを示すフィールド764、サーバ装置120が検証シミュレーション要求データを受信した時刻を示すフィールド766、サーバ装置120が検証シミュレーション応答データを送信する時刻を示すフィールド768、サーバ装置120が検証シミュレーション要求を受信した時点、あるいは、その時点を中心としたある時間幅の平均のサーバCPUの負荷状態を示すフィールド770が格納される。
Each time the execution of one verification type is completed, the
図8は検証性能実測情報の例を示すデータテーブルの例を示す図である。図8に示す検証性能実測情報118の例において、テーブルフィールド802、テーブルフィールド804は、それぞれ、検証対象データモデルと検証タイプとを示す。テーブルフィールド806は、検証対象の電子データのサイズを示し、テーブルフィールド808とテーブルフィールド810とは、クライアント装置100とサーバ装置120とのCPU負荷を表す。検証性能に関わる情報は、テーブルフィールド812、814、816、818に記述されており、それぞれ、クライアント装置100とサーバ装置120との間の往復通信時間、電子署名とタイムスタンプとの検証時間(クライアント装置100における検証時間とサーバ装置120における検証時間とのうち時間の大きい方に通信時間を含めたもの)、クライアント装置100における検証時間、サーバ装置120における検証時間を示している。
FIG. 8 is a diagram showing an example of a data table showing an example of verification performance actual measurement information. In the example of the verification performance
図9は最適検証方法定義情報116の例を示すデータテーブルの例を示す図である。図9に示す最適検証方法定義情報116の例において、テーブルフィールド902は、検証対象モデルを示し、テーブルフィールド904は、クライアント装置100とサーバ装置120との間の想定される通信時間(単位:秒)を示す。また、テーブルフィールド906〜910は、最適検証方法を決定するためのパラメータ条件となる。例えば、検証データサイズ906は、検証対象となる電子データのサイズ(単位:バイト)の条件を示し、クライアントCPU負荷908とサーバCPU負荷910とは、それぞれ、クライアント装置100のCPU負荷(単位:%)及びサーバ装置120のCPU負荷(単位:%)の条件を示す。テーブルフィールド912は、これらの条件に合致した場合の最適な検証タイプを示し、また、テーブルフィールド914は、実測値に基づく検証時間(単位:秒)の見積もりを示している。この図9の例では、通信時間条件、検証データサイズ条件、クライアントCPU条件、サーバCPU条件は、範囲条件として示されている。例えば、図3のステップ320、322の処理では、検証性能実績情報118から得られたこれらの値が、範囲条件の上限として見なすことができる。
FIG. 9 is a diagram showing an example of a data table showing an example of the optimum verification method definition information 116. In the example of the optimum verification method definition information 116 illustrated in FIG. 9, the
図10は本発明の第2の実施形態による電子文書検証システムの構成を示すブロック図である。図10において、1020はデータ管理サーバ、1022は最適検証方法定義情報であり、他の符号は図1の場合と同一である。 FIG. 10 is a block diagram showing a configuration of an electronic document verification system according to the second embodiment of the present invention. In FIG. 10, 1020 is a data management server, 1022 is optimum verification method definition information, and other symbols are the same as those in FIG.
図10に示す本発明の第2の実施形態による電子文書検証システムは、図1に示して説明した本発明の第1の実施形態に対して、新たにデータ管理サーバ装置1020をネットワーク150に接続して構成されている。そして、このデータ管理サーバ1020には、最適検証方法定義情報1022が格納される。また、クライアント装置100は、検証シミュレーション部を備えてない。図10に示すある1つのクライアント装置100は、定期的に最適検証方法定義情報116をデータ管理サーバ装置1020に送信する。データ管理サーバ装置1020は、受信した最適検証方法定義情報116を最適検証方法定義情報1022として格納し、ネットワーク150に接続される任意のクライアント装置100に閲覧させる。このようにすることにより、クライアント装置100は、検証シミュレーション部と最適検証方法定義情報とを備える必要がなくなる。
The electronic document verification system according to the second embodiment of the present invention shown in FIG. 10 newly connects the data
100(100a〜100d) クライアント装置
102、122 要求受付部
104 検証シミュレート部
106 検証方法決定処理部
108 リソース監視部
110 署名・タイムスタンプ検証処理部
112 検証データモデル情報
114 検証タイプ情報
116、1022 最適検証方法定義情報
118 検証性能実測情報
120 サーバ装置
124 リソース監視部
126 署名・タイムスタンプ検証処理部
130 認証局装置(CA)
132 タイムスタンプ局装置(TSA)
150 通信ネットワーク
200 内部通信線
202 CPU
204 RAM
206 外部記憶装置
208 HSM
210 通信インタフェース
212 入力装置
214 出力装置
216 外部メディアインタフェース
218 記憶媒体
1020 データ管理サーバ
100 (100a to 100d)
132 Time Stamp Authority (TSA)
150
204 RAM
206
210
Claims (14)
前記クライアント装置は、検証対象データを解析する手段と、クライアント装置及びサーバ装置のリソースの状態を取得する手段と、最適検証方法定義情報を参照し、最適な検証方法を特定する手段とを備えることを特徴とする電子文書検証システム。 The client device, which is composed of at least one server device connected to the communication network and at least one client device, receives a digital signature / time stamp verification request from a user, and communicates with the server device. An electronic document verification system for performing electronic signature / time stamp verification
The client device includes means for analyzing data to be verified, means for acquiring resource states of the client device and the server device, and means for specifying an optimal verification method by referring to optimal verification method definition information. An electronic document verification system characterized by
前記クライアント装置は、検証対象データを解析する手段と、クライアント装置及びサーバ装置のリソースの状態を取得する手段と、最適検証方法定義情報を参照し、最適な検証方法を特定する手段と、特定した最適な検証方法により、電子署名・タイムスタンプの検証を実行する手段とを備えることを特徴とする電子文書検証システム。 The client device, which is composed of at least one server device connected to the communication network and at least one client device, receives a digital signature / time stamp verification request from a user, and communicates with the server device. An electronic document verification system for performing electronic signature / time stamp verification
The client device has identified means for analyzing data to be verified, means for acquiring resource states of the client device and the server device, means for identifying an optimum verification method by referring to optimum verification method definition information, and An electronic document verification system comprising: means for performing verification of an electronic signature / time stamp by an optimal verification method.
前記クライアント装置は、検証対象データを解析する手段と、クライアント装置及びサーバ装置のリソース状態を取得する手段と、前記データ管理サーバ装置が公開する最適検証情報定義情報を参照し、最適な検証方法を特定する手段と、特定した最適な検証方法により、電子署名・タイムスタンプの検証を実行する手段とを備えることを特徴とする電子文書検証システム。 A client device comprising at least one server device connected to a communication network, at least one client device, and at least one data management server device, and accepting an electronic signature / time stamp verification request from a user Is an electronic document verification system that performs communication with a server device and performs verification of an electronic signature and a time stamp,
The client device refers to the means for analyzing the verification target data, the means for acquiring the resource status of the client device and the server device, and the optimum verification information definition information published by the data management server device. An electronic document verification system comprising: means for specifying; and means for executing verification of an electronic signature and a time stamp by the specified optimal verification method.
検証対象データを解析するステップと、クライアント装置及びサーバ装置のリソースの状態を取得するステップと、最適検証方法定義情報を参照し、最適な検証方法を特定するステップとを実行させることを特徴とする電子文書検証プログラム。 The client device, which is composed of at least one server device connected to the communication network and at least one client device, receives a digital signature / time stamp verification request from a user, and communicates with the server device. An electronic document verification program that performs electronic signature and time stamp verification,
A step of analyzing data to be verified, a step of acquiring resource states of the client device and the server device, and a step of specifying an optimal verification method by referring to the optimal verification method definition information. Electronic document verification program.
検証対象データを解析するステップと、クライアント装置及びサーバ装置のリソースの状態を取得するステップと、最適検証方法定義情報を参照し、最適な検証方法を特定するステップと、特定した最適な検証方法により、電子署名・タイムスタンプの検証を行うステップとを実行させることを特徴とする電子文書検証プログラム。 The client device, which is composed of at least one server device connected to the communication network and at least one client device, receives a digital signature / time stamp verification request from a user, and communicates with the server device. An electronic document verification program that performs electronic signature and time stamp verification,
A step of analyzing data to be verified, a step of acquiring resource states of the client device and the server device, a step of identifying an optimal verification method by referring to the optimal verification method definition information, and a specified optimal verification method And a step of verifying an electronic signature and a time stamp.
検証対象データを解析するステップと、クライアント装置及びサーバ装置のリソース状態を取得するステップ手段と、前記データ管理サーバ装置が公開する最適検証情報定義情報を参照し、最適な検証方法を特定するステップと、特定した最適な検証方法により、電子署名・タイムスタンプの検証を行うステップとを実行させることを特徴とする電子文書検証プログラム。
A client device comprising at least one server device connected to a communication network, at least one client device, and at least one data management server device, and accepting an electronic signature / time stamp verification request from a user Is an electronic document verification program that performs communication with a server device and executes verification of an electronic signature and a time stamp,
A step of analyzing data to be verified, a step of acquiring resource states of the client device and the server device, a step of specifying an optimal verification method with reference to optimal verification information definition information published by the data management server device, and And a step of verifying an electronic signature and a time stamp by the identified optimal verification method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006104194A JP2007281770A (en) | 2006-04-05 | 2006-04-05 | Electronic document verification system and verification program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006104194A JP2007281770A (en) | 2006-04-05 | 2006-04-05 | Electronic document verification system and verification program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2007281770A true JP2007281770A (en) | 2007-10-25 |
Family
ID=38682779
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006104194A Pending JP2007281770A (en) | 2006-04-05 | 2006-04-05 | Electronic document verification system and verification program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2007281770A (en) |
-
2006
- 2006-04-05 JP JP2006104194A patent/JP2007281770A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8819417B2 (en) | Validation server, validation method, and program | |
| US9419806B2 (en) | Trusted certificate authority to create certificates based on capabilities of processes | |
| JP5576985B2 (en) | Method for determining cryptographic algorithm used for signature, verification server, and program | |
| US7489645B2 (en) | Mesh networks with end device recognition | |
| US8274401B2 (en) | Secure data transfer in a communication system including portable meters | |
| EP2747377B1 (en) | Trusted certificate authority to create certificates based on capabilities of processes | |
| CN109981287B (en) | Code signing method and storage medium thereof | |
| JP2004072717A (en) | Authentication infrastructure system with CRL issue notification function | |
| US20230216850A1 (en) | Remotely Accessing an Endpoint Device Using a Distributed Systems Architecture | |
| CN110149354A (en) | An encryption authentication method and device based on https protocol | |
| CN112560003A (en) | User authority management method and device | |
| CN115276998A (en) | IoT authentication method, device and IoT device | |
| CN114598549B (en) | Customer SSL certificate verification method and device | |
| CN114239010B (en) | Multi-node distributed authentication method, system, electronic equipment and medium | |
| CN109391473A (en) | A kind of method, apparatus and storage medium of Electronic Signature | |
| JP2023549459A (en) | Multi-factor authentication for Internet of Things devices | |
| CN114722429A (en) | Identity sharing method and device, electronic equipment and readable storage medium | |
| KR101256114B1 (en) | Message authentication code test method and system of many mac testserver | |
| US7827399B1 (en) | Certificate processing | |
| JP2007281770A (en) | Electronic document verification system and verification program | |
| CN117728974A (en) | Encryption methods, devices, electronic equipment and storage media | |
| JP4668099B2 (en) | Transaction authentication method, file transmission / reception system, client device, server device, and recording medium | |
| JP2003169050A (en) | Key management device, key management method, storage medium and program using the same | |
| JP2016163198A (en) | File management device, file management system, file management method, and file management program | |
| JP2005020651A (en) | Time stamp information verification method |