[go: up one dir, main page]

JP2007281770A - Electronic document verification system and verification program - Google Patents

Electronic document verification system and verification program Download PDF

Info

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
Application number
JP2006104194A
Other languages
Japanese (ja)
Inventor
Yoshinobu Tanigawa
嘉伸 谷川
Yutaka Miyazaki
豊 宮崎
Yoshinori Honda
義則 本多
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2006104194A priority Critical patent/JP2007281770A/en
Publication of JP2007281770A publication Critical patent/JP2007281770A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic document verification system and a verification program capable of verifying an electronic signature and a time stamp at a high speed even when a size of electronic data being an application object of the electronic signature and the time stamp is increased. <P>SOLUTION: The electronic document verification system comprises a server apparatus 120 connected to a communication network 150 and a plurality of client apparatuses 100a to 100d, wherein the client apparatus receiving a verification request of the electronic signature/the time stamp from a user makes communication with the server apparatus to execute the verification of the electronic signature/the time stamp, and each client apparatus includes: a means for analyzing verification object data; a means 108 for acquiring a state of resources of the client apparatuses and the server apparatus; a means 106 for referencing optimum verification method definition information 116 to particularize an optimum verification method; and a means 110 for executing the verification of the electronic signature/the time stamp by the particularized optimum verification method. <P>COPYRIGHT: (C)2008,JPO&INPIT

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 Documents 1, 2, and 3. For example, in the case of a CMS-based electronic signature based on a public key infrastructure (PKI) and a time stamp using PKI technology, the verification is performed according to the following procedure.

すなわち、電子署名の検証は、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等に記載された技術が知られている。この従来技術は、負荷分散の観点から処理の高速化を図るものであり、クライアント装置とサーバ装置とから構成されるネットワークベースのシステムにおいて、クライアント装置とサーバ装置とが複数の処理を配分しながら効率よく処理を実行するというものである。そして、この従来技術は、サーバ装置に備えられる負荷分散モジュールが、クライアント装置から読み出されたクライアント処理能力とサーバ装置のサーバ処理能力とを比較し、処理能力が高い方へより多くの処理を配分するというものである。
特開2003−58519号公報 R. Housley、他三3名、"Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile、[online]、2002年4月、[2006年1月20日検索]、インターネット<URL: http://www.ietf.org/rfc/rfc3280.txt> R. Housley、"Cryptographic Message Syntax (CMS)"、[online]、2004年7月、[2006年1月20日検索]、インターネット<URL: http://www.ietf.org/rfc/rfc3852.txt> ISO/IEC 18014−2:2002、2002年
As a conventional technique related to a method for speeding up the verification as described above, for example, a technique described in Patent Document 1 is known. This prior art is intended to increase the processing speed from the viewpoint of load distribution, and in a network-based system composed of a client device and a server device, the client device and the server device distribute a plurality of processes. The process is executed efficiently. In this prior art, the load distribution module provided in the server device compares the client processing capability read from the client device with the server processing capability of the server device, and performs more processing to the higher processing capability. It is to distribute.
JP 2003-58519 A R. Housley and three others, "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile, [online], April 2002, [Search January 20, 2006], Internet <URL: http://www.ietf.org/rfc/rfc3280.txt> R. Housley, "Cryptographic Message Syntax (CMS)", [online], July 2004, [searched January 20, 2006], Internet <URL: http://www.ietf.org/rfc/rfc3852. txt> ISO / IEC 18014-2: 2002, 2002

しかし、前述した特許文献1に開示された従来技術は、処理に必要な入力データのサイズの影響を考慮していないため、入力データをネットワーク上で転送する時間等に伴う性能低下を防止することができないという問題点を有している。例えば、ネットワークの帯域幅が小さい場合、クライアントの能力が低くてもクライアント側で検証を実行した方が処理を高速に行うことができる場合もあり得る。   However, since the conventional technique disclosed in Patent Document 1 described above does not consider the influence of the size of input data necessary for processing, it prevents performance degradation due to time required to transfer the input data over the network. Has the problem of being unable to. For example, when the network bandwidth is small, even if the client capability is low, it may be possible to perform the processing at a higher speed by performing verification on the client side.

また、電子署名やタイムスタンプの技術規格上、電子署名やタイムスタンプの対象となる電子データのサイズに制限は存在しない。また、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 server device 120, a certificate authority device 130, and a time stamp authority device 132 to a communication network 150. In FIG. 1, only one server device 120, certificate authority device 130, and time stamp authority device 132 are shown. However, a plurality of these devices may be provided, and the client device 100 Although four devices are shown, a larger number of client devices 100 may be provided or only one client device 100 may be provided.

前述において、認証局装置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 certificate authority device 130 is a device that issues a public key certificate used for an electronic signature and a time stamp and also publishes revocation information of the public key certificate necessary for verification of the public key certificate. . The time stamp station device 132 is a device that provides a time stamp service. The server apparatus 120 is an apparatus that provides the client apparatus 100 with an electronic document verification service indicating verification of an electronic signature and a time stamp. The client device 100 receives a user operation and executes verification of the electronic document. In addition, the client device 100 can request the server device 120 to perform part or all of the verification. In the client device 100, the communication address of the server device 120 that is a communication partner is registered in advance. The client device 100 and the server device 120 mutually authenticate each other using SSL (Secure Sockets Layer) and perform encrypted communication. In addition, the client device 100 and the server device 120 perform time synchronization using NTP (Network Time Protocol).

クライアント装置100は、要求受付部102、検証シミュレート部104、検証方法決定処理部106、リソース監視部108、署名・タイムスタンプ検証部110を備えて構成されている。   The client apparatus 100 includes a request receiving unit 102, a verification simulating unit 104, a verification method determination processing unit 106, a resource monitoring unit 108, and a signature / time stamp verification unit 110.

要求受付部102は、ユーザから電子署名とタイムスタンプとの検証の要求を受け付けると共に、サーバ装置120に対して検証サービスの一部、あるいは、全てを依頼し、その検証結果を受信する。検証シミュレート部104は、電子署名とタイムスタンプとの検証の性能確認のため、予め決められたパターン数の検証方法を実行する。そして、検証シミュレート部104は、得られた検証性能測定結果を検証性能実測情報118として格納し、最適な検証方法を定義する最適検証方法定義情報116を作成する。検証方法決定処理106は、検証データモデル情報112、検証タイプ情報114、最適検証方法定義情報116を参照して、ユーザから入力された検証要求データに対する最適な検証方法を決定する。リソース監視部108は、クライアント装置100のCPU負荷等のリソースの状態情報を定期的に監視する。署名・タイムスタンプ検証処理部110は、署名とタイムスタンプとの検証を実行すると共に、その実行結果を検証性能実測情報118として格納する。   The request receiving unit 102 receives a request for verification of the electronic signature and the time stamp from the user, requests a part or all of the verification service from the server apparatus 120, and receives the verification result. The verification simulation unit 104 executes a verification method for a predetermined number of patterns in order to confirm the performance of verification of the electronic signature and the time stamp. Then, the verification simulating unit 104 stores the obtained verification performance measurement result as verification performance actual measurement information 118, and creates optimal verification method definition information 116 that defines an optimal verification method. The verification method determination process 106 determines the optimal verification method for the verification request data input by the user with reference to the verification data model information 112, the verification type information 114, and the optimal verification method definition information 116. The resource monitoring unit 108 periodically monitors resource state information such as the CPU load of the client device 100. The signature / time stamp verification processing unit 110 executes verification of the signature and the time stamp, and stores the execution result as verification performance actual measurement information 118.

サーバ装置120は、要求受付部122、リソース監視部124、署名・タイムスタンプ検証処理部126を備えて構成されている。   The server device 120 includes a request reception unit 122, a resource monitoring unit 124, and a signature / time stamp verification processing unit 126.

要求受付部122は、クライアント装置100からの検証要求を受け付け、サーバ装置120内で実行した検証結果をクライアント装置100へ送信する。リソース監視部124は、サーバ装置120のCPU負荷等のリソース状態情報を定期的に監視する。また、署名・タイムスタンプ検証処理部126は、署名とタイムスタンプとの検証を実行する。   The request reception unit 122 receives a verification request from the client device 100 and transmits a verification result executed in the server device 120 to the client device 100. The resource monitoring unit 124 periodically monitors resource state information such as the CPU load of the server device 120. Also, the signature / time stamp verification processing unit 126 executes verification of the signature and the time stamp.

通信ネットワーク150は、公衆網、インターネット、ISDN、専用線、LAN等の有線網や、移動通信用基地局や通信用人工衛星を利用した無線網等の通信ネットワークにより実現されているものを使用することができる。   The communication network 150 uses a network realized by a communication network such as a public network, the Internet, ISDN, a dedicated line, a wired network such as a LAN, or a wireless network using a mobile communication base station or a communication artificial satellite. be able to.

なお、クライアント装置100及びサーバ装置120が備える前述したような処理部の具体的な処理内容に関しては、他の図面と合わせて後述する。   The specific processing contents of the processing units provided in the client device 100 and the server device 120 will be described later in conjunction with other drawings.

図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 client device 100 and the server device 120. In FIG. 2, 200 is an internal communication line, 202 is a CPU, 204 is a RAM, 206 is an external storage device, 208 is an HSM, 210 is a communication interface, 212 is an input device, 214 is an output device, 216 is an external media interface, 218 Is a storage medium.

クライアント装置100及びサーバ装置120は、中央演算装置であるCPU202、キーボードやマウス等の入力装置212、ハードディスク等の外部記憶装置206、半導体メモリ等の記憶装置であるRAM204、CRTディスプレイ、液晶ディスプレイ、プリンタ等の出力装置214、光磁気メディア等の記憶媒体218を読み書きするための外部メディアインタフェース216、通信用の通信インタフェース210、暗号処理に使用する秘密鍵等のセキュリティ情報の格納や暗号処理を実行するハードウェアセキュリティモジュールであるHSM208がバス等の内部通信線200で接続されて構成されている。このような構成を持つを持つクライアント装置100及びサーバ装置120は、汎用的なパーソナルコンピュータを用いて実現できる。もちろん、パーソナルコンピュータに限るわけではなく、ユーザに対する入力装置、出力装置、通信装置を備えた計算機(情報処理装置)であれば使用可能である。   The client device 100 and the server device 120 include a CPU 202 that is a central processing unit, an input device 212 such as a keyboard and a mouse, an external storage device 206 such as a hard disk, a RAM 204 that is a storage device such as a semiconductor memory, a CRT display, a liquid crystal display, and a printer. The storage device 218 such as a magneto-optical medium, the external media interface 216 for reading and writing the storage medium 218 such as a magneto-optical medium, the communication interface 210 for communication, and the storage of security information such as a secret key used for encryption processing and encryption processing are executed. An HSM 208 that is a hardware security module is connected by an internal communication line 200 such as a bus. The client device 100 and the server device 120 having such a configuration can be realized using a general-purpose personal computer. Of course, the present invention is not limited to a personal computer, and any computer (information processing apparatus) provided with an input device, an output device, and a communication device for a user can be used.

なお、電子文書検証システムを構成する各装置は、予め装置に設定された通信先相手となる他の装置のアドレスを用いて、通信先と接続して通信を行う。   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 more server devices 120 are registered in one client device 100, the communication destination of the client device 100 is selected, for example, in a round robin manner.

前述の各装置の各機能や各処理部は、それぞれの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 CPU 202 into a program RAM 204 stored in the external storage device 206 and executing it. In addition, each program may be stored in advance in the external storage device 206, or a storage medium 218 such as a removable FD, CD-ROM, or DVD that can be used by the apparatus as necessary, or a communication medium. The communication network 150 may be introduced from other devices via a carrier wave or digital signal propagating on the communication network 150.

以下、クライアント装置100及びサーバ装置120の各処理部の具体的な処理内容について説明する。   Hereinafter, specific processing contents of each processing unit of the client device 100 and the server device 120 will be described.

図3はクライアント装置100における電子文書の検証処理の処理動作を説明するフローチャートであり、次に、これについて説明する。   FIG. 3 is a flowchart for explaining the processing operation of the electronic document verification processing in the client apparatus 100, which will be described next.

(1)クライアント装置100は、処理を開始すると、まず、ユーザから電子文書検証の要求を受け付ける。電子文書検証の要求を受け付けの処理は、図4により後述するようなGUIをユーザに提供して、ユーザに必要な操作を行わせることにより実行する(ステップ300、302)。 (1) When the processing starts, the client device 100 first receives an electronic document verification request from the user. The process of accepting the electronic document verification request is executed by providing the user with a GUI as will be described later with reference to FIG. 4 and allowing the user to perform a necessary operation (steps 300 and 302).

(2)次に、クライアント装置100は、検証データモデル情報112と検証タイプの定義情報114を参照し、検証対象データのタイプ及び電子署名とタイムスタンプとの検証仕様を特定する。検証データモデル情報112及び検証タイプの定義情報114の具体例については、図5、図6を参照して後述する。また、ここで、検証対象となる電子データのサイズ情報も取得する(ステップ304)。 (2) Next, the client device 100 refers to the verification data model information 112 and the verification type definition information 114, and specifies the verification target data type and the verification specification of the electronic signature and time stamp. Specific examples of the verification data model information 112 and the verification type definition information 114 will be described later with reference to FIGS. Here, the size information of the electronic data to be verified is also acquired (step 304).

(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 step 304, the client apparatus 100 acquires the processing load state between the client apparatus 100 and the server apparatus 120 in step 306. The processing load state is, for example, a load state of resources constituting the device such as a CPU usage rate, a memory usage rate, and a disk access load. The client device 100 makes an inquiry to the server device 120 in order to grasp the processing load state of the server device 120. As will be described later with reference to FIG. 7, this inquiry is made by transmitting resource status request data to the server device 120 and receiving resource status response data from the server device 120 (step 306).

(4)次に、クライアント装置100は、最適検証方法定義情報116を参照して、最適な検証方法が定義されているか否かにより最適な検証方法を特定し、検証方法を特定することができたか否かを判定する。なお、最適検証方法定義情報116の具体例については、図9を参照して後述する(ステップ308)。 (4) Next, the client device 100 can identify the verification method by referring to the optimal verification method definition information 116, specifying the optimal verification method depending on whether or not the optimal verification method is defined. It is determined whether or not. A specific example of the optimum verification method definition information 116 will be described later with reference to FIG. 9 (step 308).

(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 step 308, the client device 100 cannot specify the optimal verification method, and therefore executes a verification simulation. To do. That is, the client device 100 tries all the verification types assumed in the verification target data in order. Specifically, the client apparatus 100 executes the verification contents performed by the client apparatus 100, transmits a verification simulation request to the server apparatus 120, causes the server apparatus 120 to execute verification processing, and performs a verification result as an execution result. Receive. Details of the simulation request data and the verification result data exchanged will be described later with reference to FIG. By this processing, verification of the verification target data requested by the user can be obtained simultaneously with the simulation. When executing the verification simulation, a screen indicating a character string indicating that the verification simulation is being performed may be displayed to the user operating the client device 100 (step 318).

(6)ステップ318の処理での検証シミュレーションが終了すると、クライアント装置100は、検証シミュレーション結果を検証性能実測情報118として格納する。なお、検証性能実測情報118の詳細については、図8を参照して後述する(ステップ320)。 (6) When the verification simulation in the process of step 318 is completed, the client device 100 stores the verification simulation result as verification performance actual measurement information 118. Details of the verification performance actual measurement information 118 will be described later with reference to FIG. 8 (step 320).

(7)次に、クライアント装置100は、検証性能実測情報118の中から、検証対象データモデル、電子データサイズ、クライアントのCPU負荷、サーバのCPU負荷、通信時間が同一であるもののうちから検証時間が1番小さい検証タイプを最適な検証方法として定義する最適検証方法定義情報116を作成、あるいは、更新する。なお、電子データサイズ、クライアントのCPU負荷、サーバのCPU負荷が同一であるとは、例えば、これらの値が予め決められた閾値の範囲内に含まれていることを意味する(ステップ322)。 (7) Next, the client device 100 verifies the verification time from among the verification target data model, the electronic data size, the client CPU load, the server CPU load, and the communication time among the verification performance actual measurement information 118. The optimal verification method definition information 116 that defines the verification type having the smallest value as the optimal verification method is created or updated. Note that the electronic data size, the CPU load of the client, and the CPU load of the server being the same means, for example, that these values are included in a predetermined threshold range (step 322).

(8)次に、クライアント装置100は、検証結果を作成し、クライアント装置100を操作するユーザに対して検証結果を提示して、最適検証方法定義情報が定義されていない場合の処理を終了する(ステップ316)。 (8) Next, the client apparatus 100 creates a verification result, presents the verification result to the user who operates the client apparatus 100, and ends the process when the optimal verification method definition information is not defined. (Step 316).

(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 step 308, the client apparatus 100 selects the optimal verification type from the optimal verification method definition information and performs verification. Execute. Specifically, the client device 100 executes the verification content performed by the client device 100 and transmits a verification request including the verification content performed by the server device 120 to the server device 120 to cause the server device 120 to execute verification processing. The verification result that is the execution result is received. Details of the simulation request data and the verification result data exchanged will be described later with reference to FIG. 7 (step 312).

(10)その後、クライアント装置100は、検証性能実測値を検証性能実測情報114として格納すると共に、検証結果を作成し、クライアント装置100を操作するユーザに対して検証結果を提示して、最適検証方法定義情報が定義されていた場合の処理を終了する(ステップ314、316)。 (10) After that, the client apparatus 100 stores the verification performance actual measurement value as the verification performance actual measurement information 114, creates a verification result, and presents the verification result to the user who operates the client apparatus 100, and performs the optimal verification. The process when the method definition information is defined is terminated (steps 314 and 316).

なお、クライアント装置100は、検証性能実測情報114を定期的に検査し、ある条件に合致した場合、再度、検証シミュレーションを実行してもよい。例えば、最適検証方法として採用した検証タイプが想定する検証時間と実測した検証時間との差がある閾値を超えた場合、実測値におけるクライアントのCPU負荷、サーバのCPU負荷、電子データのサイズの条件下で検証シミュレーションを実行し、最適検証方法定義情報を更新してもよい。   Note that the client device 100 may periodically inspect the verification performance actual measurement information 114 and execute a verification simulation again when a certain condition is met. For example, when the difference between the verification time assumed by the verification type adopted as the optimal verification method and the actual verification time exceeds a certain threshold, the client CPU load, server CPU load, and electronic data size conditions in the actual measurement value A verification simulation may be executed below to update the optimal verification method definition information.

図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 step 302. The field 402, field 406, and field 410 in the screen example 400 shown in FIG. 4 display the electronic data file name, electronic signature file name, and time stamp file name selected by the user, respectively. A button 404, a button 408, and a button 412 are buttons for calling functions for referring to the electronic data file, the electronic signature file, and the time stamp file from the file system, respectively. A field 414 is a list for selecting an electronic document model indicating an electronic signature and time stamp specifications for the electronic data. A button 416 is a button for starting execution of the electronic signature / time stamp verification process.

図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 data model information 112. The data table indicating the verification data model information 112 shown in FIG. 5 shows a digital signature and time stamp verification model defined for each verification target data model. The electronic document model specified by the user indicates the data model to be verified in the table field 502. For example, if the data model to be verified is doc1, the signature PKI model indicated by the table field 504 is a bridge type CA (certificate authority) model called GPKI (government certification infrastructure). The signature format model in the table field 506 indicates CMS (Cryptographic Message Syntax) indicated in the RFC3852 standard, and the signature target model in the table field 508 indicates the entire PDF data described in ISO 19005-1. Further, the time stamp format model in the table field 510 and the time stamp target model in the table field 512 are respectively compliant with the RFC 3161 standard and the National Tax Agency notification indicating the requirements for time stamp granting related to electronic storage of national tax related documents. It is shown that.

図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 verification type information 114. The data table indicating the verification type information 114 illustrated in FIG. 6 is a definition of the verification type in the verification target data model. The verification type defines a combination of whether or not a verification item that is a verification component of an electronic signature and a time stamp is executed by a client device or a server device. All possible combinations are defined as verification types. For example, in the table row 650, a verification type v1 of doc1 is defined as a verification target model. Table fields 606 to 618 define that these verification items are executed by the server apparatus. Specific verification items include, for example, verification of the signer's public key certificate validity (verification item 1), verification of the signer's signature value (verification item 2), and verification of the correspondence between the signature target data and the signature data ( Verification item 3), validity of public key certificate of time stamp authority (verification item 4), verification of signature value of time stamp (verification item 5), verification of correspondence between time stamp target data and time stamp (validation item 6) ), Time stamp token verification using a time stamp station (verification item 7), and the like.

なお、検証対象データモデルによって、検証項目が異なることもある。例えば、テーブル行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 table row 652 is a time stamp method that is unique to the PKI technology because of the MAC method of ISO / IEC 18014-2 that does not use the PKI technology, as can be seen from FIG. The verification of the public key certificate of the station (verification item 4) and the verification of the signature value of the time stamp (verification item 5) are undefined.

図7はクライアント装置100とサーバ装置120との間で授受される送受信メッセージの構成例を示す図である。   FIG. 7 is a diagram illustrating a configuration example of a transmission / reception message exchanged between the client device 100 and the server device 120.

図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 status request data 700 for inquiring about the processing load status of the server in the processing of the step of FIG. 3, and this resource status request data 700 includes a field 702 indicating the type of data, A time 704 at which the client apparatus 100 transmits a request is stored. FIG. 7B shows resource status response data 710 returned from the server device 120 in response to the inquiry. The resource status response data 710 includes a field 712 indicating the type of data, and the server device 120 has resource status request data. 714, the time 716 when the server device 120 transmitted the resource status response data, the time when the server device received the resource status request data, or the CPU of the server device with an average time width around that time A load state 718 is stored. The CPU load state 718 can include not only the CPU load state but also various resource load states as described above. By such an inquiry, the client device 100 can know information on resource loads including the CPU load of the server device 120 and the processing time in the server device. Also, the communication time between the client device 100 and the server device 120 can be estimated.

図7(c)は図3のステップ312の処理でのサーバ装置120へクライアント装置100から送信される検証要求のデータ720を示している。この検証要求データ720には、検証要求識別子を示すフィールド722、検証対象データを示すフィールド724が格納される。ここで言う検証対象データとは、サーバ装置120で実行すべき検証項目に必要な入力データである。例えば、検証対象データモデルが、doc1であり、サーバ装置120で実行すべき検証項目が公開鍵証明書だけであれば、検証対象データのフィールド724には、公開鍵証明書だけが格納され、また、検証対象データモデルが、doc1であり、サーバ装置120で実行すべき検証項目の全てであれば、電子データ、電子署名データ、タイムスタンプデータから構成されるデータが格納される。また、クライアント装置100から送信される検証要求データ720には、クライアント装置100が要求を送信する時刻を示すフィールド726が格納される。   FIG. 7C shows verification request data 720 transmitted from the client apparatus 100 to the server apparatus 120 in the process of step 312 of FIG. The verification request data 720 stores a field 722 indicating a verification request identifier and a field 724 indicating verification target data. The verification target data here is input data necessary for verification items to be executed by the server device 120. For example, if the verification target data model is doc1 and the verification item to be executed by the server device 120 is only the public key certificate, only the public key certificate is stored in the verification target data field 724. If the verification target data model is doc1 and all of the verification items to be executed by the server apparatus 120, data including electronic data, electronic signature data, and time stamp data is stored. Further, the verification request data 720 transmitted from the client device 100 stores a field 726 indicating the time when the client device 100 transmits the request.

サーバ装置120は、検証の実行を終了すると、図7(d)に示しているような検証応答データ730を検証結果としてクライアント装置100に送信する。検証応答データ730は、データの種別、すなわち、検証応答識別子を示すフィールド732、検証結果データを示すフィールド734、サーバ装置120が検証要求データを受信した時刻を示すフィールド736、サーバ装置120が検証応答データを送信する時刻を示すフィールド738、サーバ装置120が検証シミュレーション要求を受信した時点、あるいは、その時点を中心としたある時間幅の平均のサーバCPUの負荷状態を示すフィールド740が格納される。   When the server apparatus 120 finishes executing the verification, the server apparatus 120 transmits verification response data 730 as illustrated in FIG. 7D to the client apparatus 100 as a verification result. The verification response data 730 includes a data type, that is, a field 732 indicating the verification response identifier, a field 734 indicating the verification result data, a field 736 indicating the time when the server apparatus 120 received the verification request data, and the server apparatus 120 receiving the verification response. A field 738 indicating a data transmission time and a field 740 indicating the load state of the server CPU having an average time width centered on the time point when the server apparatus 120 receives the verification simulation request or the time point is stored.

図7(e)は図3のステップ318の処理でのサーバ装置120へクライアント装置100から送信される検証シミュレーション要求のデータ750を示している。この検証シミュレーション要求データ750には、シミュレート識別子を示すフィールド752、検証対象データを示すフィールド754が格納される。ここで言う検証対象データとは、サーバ装置120で実行すべき検証項目に必要な入力データである。例えば、検証対象データモデルが、doc1であり、サーバ装置120で実行すべき検証項目が公開鍵証明書だけであれば、検証対象データのフィールド754には、公開鍵証明書だけが格納され、また、検証対象データモデルが、doc1であり、サーバ装置120で実行すべき検証項目の全てであれば、電子データ、電子署名データ、タイムスタンプデータから構成されるデータが格納される。このとき、いくつかの検証タイプを実行する場合、クライアント装置100及びサーバ装置120のリソース負荷(例えば、CPU負荷)が同じ条件になるように実行する。   FIG. 7E shows verification simulation request data 750 transmitted from the client apparatus 100 to the server apparatus 120 in the process of step 318 in FIG. The verification simulation request data 750 stores a field 752 indicating a simulation identifier and a field 754 indicating verification target data. The verification target data here is input data necessary for verification items to be executed by the server device 120. For example, if the verification target data model is doc1 and the verification item to be executed by the server device 120 is only the public key certificate, only the public key certificate is stored in the verification target data field 754. If the verification target data model is doc1 and all of the verification items to be executed by the server apparatus 120, data including electronic data, electronic signature data, and time stamp data is stored. At this time, when several verification types are executed, the resource load (for example, CPU load) of the client device 100 and the server device 120 is executed under the same condition.

また、クライアント装置100から送信される検証シミュレーション要求データ750には、クライアント装置100が要求を送信する時刻を示すフィールド756、サーバ装置120で保つべきサーバ負荷状態を示すフィールド758が格納される。サーバ装置120は、フィールド758の値を読み取り、サーバCPUの負荷状態を指定された状態に保ちながら検証処理を実行する。同様に、クライアント装置100も、検証シミュレート実行中、クライアントのCPUの負荷状態を指定した状態に保ちながら検証処理を実行する。CPUの負荷状態を所定の負荷状態に保つ方法としては、例えば、他の処理を受け付けない、あるいは、ダミーの処理を生成する等の方法が用いればよい。   The verification simulation request data 750 transmitted from the client device 100 stores a field 756 indicating the time when the client device 100 transmits a request and a field 758 indicating the server load state to be maintained by the server device 120. The server device 120 reads the value in the field 758 and executes the verification process while keeping the load state of the server CPU in the designated state. Similarly, during execution of the verification simulation, the client apparatus 100 also executes the verification process while keeping the load state of the client CPU specified. As a method of keeping the load state of the CPU at a predetermined load state, for example, a method of not accepting other processing or generating a dummy processing may be used.

サーバ装置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 server apparatus 120 transmits a verification simulation response 760 as illustrated in FIG. 7F to the client apparatus 100 as a verification result. The verification simulation response data 760 includes a field 762 indicating the type of data, a field 764 indicating the verification result data, a field 766 indicating the time when the server apparatus 120 receives the verification simulation request data, and the server apparatus 120 transmits the verification simulation response data. And a field 770 indicating the load state of the server CPU having an average time width centered on the time point when the server apparatus 120 receives the verification simulation request or the time point.

図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 actual measurement information 118 shown in FIG. 8, a table field 802 and a table field 804 indicate a verification target data model and a verification type, respectively. A table field 806 indicates the size of the electronic data to be verified, and the table field 808 and the table field 810 indicate the CPU load of the client device 100 and the server device 120. Information related to the verification performance is described in table fields 812, 814, 816, and 818. The round trip communication time between the client device 100 and the server device 120, the verification time of the electronic signature and the time stamp (client), respectively. The communication time is included in the longer one of the verification time in the device 100 and the verification time in the server device 120), the verification time in the client device 100, and the verification time in the server device 120.

図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 table field 902 indicates a verification target model, and the table field 904 indicates an assumed communication time (unit: second) between the client device 100 and the server device 120. ). The table fields 906 to 910 are parameter conditions for determining the optimum verification method. For example, the verification data size 906 indicates the condition of the size (unit: bytes) of the electronic data to be verified, and the client CPU load 908 and the server CPU load 910 are respectively the CPU load (unit:%) of the client device 100. ) And CPU load (unit:%) conditions of the server apparatus 120. A table field 912 indicates an optimal verification type when these conditions are met, and a table field 914 indicates an estimation of a verification time (unit: seconds) based on an actual measurement value. In the example of FIG. 9, the communication time condition, the verification data size condition, the client CPU condition, and the server CPU condition are shown as range conditions. For example, in the processing of steps 320 and 322 in FIG. 3, these values obtained from the verification performance record information 118 can be regarded as the upper limit of the range condition.

図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 management server device 1020 to the network 150 in contrast to the first embodiment of the present invention shown in FIG. Configured. The data management server 1020 stores optimum verification method definition information 1022. Further, the client device 100 does not include a verification simulation unit. One client device 100 shown in FIG. 10 periodically transmits the optimum verification method definition information 116 to the data management server device 1020. The data management server apparatus 1020 stores the received optimum verification method definition information 116 as optimum verification method definition information 1022 and allows any client apparatus 100 connected to the network 150 to browse. By doing in this way, the client apparatus 100 does not need to be provided with a verification simulation part and optimal verification method definition information.

本発明の第1の実施形態による電子文書検証システムの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic document verification system by the 1st Embodiment of this invention. クライアント装置及びサーバ装置のハードウエア構成の例を示すブロック図である。It is a block diagram which shows the example of the hardware constitutions of a client apparatus and a server apparatus. クライアント装置における電子文書の検証処理の処理動作を説明するフローチャートである。It is a flowchart explaining the processing operation | movement of the verification process of the electronic document in a client apparatus. 図3のステップ302の処理での電子文書検証の要求を受け付ける処理でユーザに提供するGUIの画面例を示す図である。FIG. 4 is a diagram illustrating an example of a GUI screen provided to a user in a process of receiving an electronic document verification request in the process of step 302 of FIG. 3. 検証データモデル情報を示すデータテーブルの例を示す図である。It is a figure which shows the example of the data table which shows verification data model information. 検証タイプ情報を示すデータテーブルの例を示す図である。It is a figure which shows the example of the data table which shows verification type information. クライアント装置とサーバ装置との間で授受される送受信メッセージの構成例を示す図である。It is a figure which shows the structural example of the transmission / reception message exchanged between a client apparatus and a server apparatus. 検証性能実測情報の例を示すデータテーブルの例を示す図である。It is a figure which shows the example of the data table which shows the example of verification performance measurement information. 最適検証方法定義情報の例を示すデータテーブルの例を示す図である。It is a figure which shows the example of the data table which shows the example of optimal verification method definition information. 本発明の第2の実施形態による電子文書検証システムの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic document verification system by the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

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) Client device 102, 122 Request reception unit 104 Verification simulation unit 106 Verification method determination processing unit 108 Resource monitoring unit 110 Signature / time stamp verification processing unit 112 Verification data model information 114 Verification type information 116, 1022 Optimal Verification method definition information 118 Verification performance measurement information 120 Server device 124 Resource monitoring unit 126 Signature / time stamp verification processing unit 130 Certificate Authority device (CA)
132 Time Stamp Authority (TSA)
150 Communication Network 200 Internal Communication Line 202 CPU
204 RAM
206 External storage device 208 HSM
210 Communication Interface 212 Input Device 214 Output Device 216 External Media Interface 218 Storage Medium 1020 Data Management Server

Claims (14)

通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証システムであって、
前記クライアント装置は、検証対象データを解析する手段と、クライアント装置及びサーバ装置のリソースの状態を取得する手段と、最適検証方法定義情報を参照し、最適な検証方法を特定する手段とを備えることを特徴とする電子文書検証システム。
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
前記最適な検証方法を特定する手段が、最適な検証方法を特定することができなかった場合、クライアント装置とサーバ装置との間で検証シミュレーションを実行し、検証シミュレーションの結果から最適な検証方法を定義することを特徴とする請求項1記載の電子文書検証システム。   When the means for specifying the optimal verification method cannot specify the optimal verification method, a verification simulation is executed between the client device and the server device, and the optimal verification method is determined from the result of the verification simulation. The electronic document verification system according to claim 1, wherein the electronic document verification system is defined. 通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証システムであって、
前記クライアント装置は、検証対象データを解析する手段と、クライアント装置及びサーバ装置のリソースの状態を取得する手段と、最適検証方法定義情報を参照し、最適な検証方法を特定する手段と、特定した最適な検証方法により、電子署名・タイムスタンプの検証を実行する手段とを備えることを特徴とする電子文書検証システム。
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.
前記最適検証方法定義情報は、電子署名・タイムスタンプの検証内容の構成要素となる個々の検証項目をクライアント装置、あるいは、サーバ装置のどちらが実行するのかを定義した情報であることを特徴とする請求項1記載の電子文書検証システム。   The optimal verification method definition information is information that defines whether a client device or a server device executes individual verification items that are components of verification contents of an electronic signature / time stamp. Item 9. The electronic document verification system according to Item 1. 前記検証対象データを解析する手段は、検証対象データの解析に際して、検証対象となる電子データのサイズを取得することを特徴とする請求項1記載の電子文書検証システム。   2. The electronic document verification system according to claim 1, wherein the means for analyzing the verification target data acquires the size of the electronic data to be verified when the verification target data is analyzed. 前記検証対象データを解析する手段は、検証対象データの解析に際して、電子署名とタイムスタンプとのPKIモデル、フォーマット形式モデル、電子署名及びタイムスタンプの適用対象のデータモデルを特定することを特徴とする請求項1記載の電子文書検証システム。   The means for analyzing data to be verified specifies a PKI model of an electronic signature and a time stamp, a format model, and a data model to which the electronic signature and the time stamp are applied when analyzing the data to be verified. The electronic document verification system according to claim 1. 前記クライアント装置が取得するリソース情報は、クライアント装置及びサーバ装置のそれぞれを構成するリソースの負荷情報であることを特徴とする請求項1記載の電子文書検証システム。   The electronic document verification system according to claim 1, wherein the resource information acquired by the client device is load information of resources constituting each of the client device and the server device. 前記検証シミュレーションは、クライアント装置とサーバ装置とで行う検証項目の全ての組み合わせを実行することを特徴とする請求項2記載の電子文書検証システム。   3. The electronic document verification system according to claim 2, wherein the verification simulation executes all combinations of verification items performed by the client device and the server device. 前記最適検証方法定義情報は、検証対象データモデル、通信時間、検証対象の電子データサイズの条件、クライアントのリソース負荷情報の条件、サーバのリソース負荷情報の条件を含むことを特徴とする請求項1記載の電子文書検証システム。   The optimal verification method definition information includes a verification target data model, a communication time, a verification target electronic data size condition, a client resource load information condition, and a server resource load information condition. The electronic document verification system described. 通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置と、少なくとも1台のデータ管理サーバ装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証システムであって、
前記クライアント装置は、検証対象データを解析する手段と、クライアント装置及びサーバ装置のリソース状態を取得する手段と、前記データ管理サーバ装置が公開する最適検証情報定義情報を参照し、最適な検証方法を特定する手段と、特定した最適な検証方法により、電子署名・タイムスタンプの検証を実行する手段とを備えることを特徴とする電子文書検証システム。
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.
通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証プログラムであって、
検証対象データを解析するステップと、クライアント装置及びサーバ装置のリソースの状態を取得するステップと、最適検証方法定義情報を参照し、最適な検証方法を特定するステップとを実行させることを特徴とする電子文書検証プログラム。
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.
前記最適な検証方法を特定するステップで、最適な検証方法を特定することができなかった場合、クライアント装置とサーバ装置との間で検証シミュレーションを実行するステップと、検証シミュレーションの結果から最適な検証方法を定義するステップとを実行させることを特徴とする請求項11記載の電子文書検証プログラム。   In the step of specifying the optimal verification method, if the optimal verification method cannot be specified, a step of executing a verification simulation between the client device and the server device, and an optimal verification from the result of the verification simulation 12. The electronic document verification program according to claim 11, wherein the step of defining a method is executed. 通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証プログラムであって、
検証対象データを解析するステップと、クライアント装置及びサーバ装置のリソースの状態を取得するステップと、最適検証方法定義情報を参照し、最適な検証方法を特定するステップと、特定した最適な検証方法により、電子署名・タイムスタンプの検証を行うステップとを実行させることを特徴とする電子文書検証プログラム。
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.
通信ネットワークに接続された少なくとも1台のサーバ装置と、少なくとも1台のクライアント装置と、少なくとも1台のデータ管理サーバ装置とから構成され、ユーザから電子署名・タイムスタンプの検証要求を受け付けたクライアント装置が、サーバ装置との間で通信を行って、電子署名・タイムスタンプの検証を実行する電子文書検証プログラムであって、
検証対象データを解析するステップと、クライアント装置及びサーバ装置のリソース状態を取得するステップ手段と、前記データ管理サーバ装置が公開する最適検証情報定義情報を参照し、最適な検証方法を特定するステップと、特定した最適な検証方法により、電子署名・タイムスタンプの検証を行うステップとを実行させることを特徴とする電子文書検証プログラム。
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.
JP2006104194A 2006-04-05 2006-04-05 Electronic document verification system and verification program Pending JP2007281770A (en)

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)

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