JP2010161821A - Method of confirming validity of public key certificate, program, and storage medium - Google Patents

Method of confirming validity of public key certificate, program, and storage medium Download PDF

Info

Publication number
JP2010161821A
JP2010161821A JP2010096580A JP2010096580A JP2010161821A JP 2010161821 A JP2010161821 A JP 2010161821A JP 2010096580 A JP2010096580 A JP 2010096580A JP 2010096580 A JP2010096580 A JP 2010096580A JP 2010161821 A JP2010161821 A JP 2010161821A
Authority
JP
Japan
Prior art keywords
path
public key
certificate
key certificate
validity
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.)
Granted
Application number
JP2010096580A
Other languages
Japanese (ja)
Other versions
JP5158125B2 (en
Inventor
Yoko Kumagai
洋子 熊谷
Takahiro Fujishiro
孝宏 藤城
Tadashi Kaji
忠司 鍛
Shingo Hane
慎吾 羽根
Hitoshi Shimonosono
仁 下之薗
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 JP2010096580A priority Critical patent/JP5158125B2/en
Publication of JP2010161821A publication Critical patent/JP2010161821A/en
Application granted granted Critical
Publication of JP5158125B2 publication Critical patent/JP5158125B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reply an appropriate result even when a new path exists after a path retrieval time, and to reduce the time it takes to receive a result after an end entity requests validity confirmation of a public key certificate. <P>SOLUTION: In a station device for confirming validity of a certificate, retrieval of a path and the verification of the retrieved path are carried out; the results of the retrieval and the verification are stored in a storage section; when a valid path corresponding to the validity confirmation request is registered in the storage section based on the validity confirmation request of the public key certificate, verification is carried out using the path; and, when the valid path corresponding to the validity confirmation request is not registered in the storage section, a new path is retrieved and verified, and thereby validity confirmation of the public certificate is carried out. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、公開鍵基盤(Public Key Infrastructure:以下PKIという)において、ある端末が受け取った電子手続に対する署名を検証するための公開鍵証明書に関して、その有効性を確認するのに好適な技術に関する。   The present invention relates to a technique suitable for confirming the validity of a public key certificate for verifying a signature for an electronic procedure received by a certain terminal in a public key infrastructure (hereinafter referred to as PKI). .

民間系、公共系の様々な組織、団体において、従来、書面で行ってきた様々な手続を電子化するべく、PKIの導入、整備が進んでいる。   In various private organizations and public organizations, the introduction and maintenance of PKI is progressing to digitize various procedures that have been performed in writing.

図12は、PKIにおいて、認証局(Certificate Authority:以下CAという)が複数ある場合における各CAの関係の例を示している。   FIG. 12 shows an example of the relationship between CAs when there are a plurality of certificate authorities (hereinafter referred to as CAs) in the PKI.

図示するように、公開鍵証明書の発行とその管理を行う各CAは、ルートCA1を頂点とするツリー構造を持つグループを形成している。このグループはセキュリティドメインと呼ばれており、1つのポリシー管理機関の基で運用されるPKIの単位である。ルートCA1は、自身より1つ下流側に位置する各CA2〜CA2に対して公開鍵証明書を発行する。また、CA2〜CA2各々は、自身より1つ下位に位置する各CA3〜CA3n1に対して公開鍵証明書を発行する。このように、ツリー上、1つ上位に位置するCAが自身より1つ下位側に位置するCAに対して公開鍵証明書を発行する。そして、ツリー上、最下位に位置するCA(以下、エンドエンティティ証明書発行CAと呼ぶ)CAs〜CAsnmは、電子手続を行うユーザ(以下、End Entity:EEと呼ぶ)EE〜EEに対して公開鍵証明書を発行する。 As shown in the figure, each CA that issues and manages public key certificates forms a group having a tree structure with the root CA1 as a vertex. This group is called a security domain and is a unit of PKI operated based on one policy management organization. The root CA1 issues a public key certificate to each of the CA2 1 to CA2 n located one downstream from itself. Each of CA2 1 to CA2 n issues a public key certificate to each of CA3 1 to CA3 n1 located one level lower than itself. In this way, a CA located one level higher in the tree issues a public key certificate to a CA located one level lower than itself. Then, the tree, located at the lowest CA (hereinafter, referred to as end-entity certificate issuing CA) CAs 1 ~CAs nm, a user to perform electronic procedures (hereinafter End Entity: referred to as EE) EE 1 ~EE X A public key certificate is issued to.

EE〜EE各々の装置が電子文書の署名を生成する際に使用する秘密鍵(署名鍵)
の正当性は、自身を収容する端末収容認証局CAs〜CAsnmが発行した公開鍵証明書によって証明され、端末収容認証局CAs〜CAsnm各々の装置が発行する公開鍵証明書の署名を生成する際に使用する秘密鍵の正当性は、自身を収容する認証局CA(s−1)〜CA(s−1)n(m−1)が発行した公開鍵証明書によって証明される。したがって、EE〜EE各々の装置が署名を生成する際に使用する秘密鍵は、最終的に、ルート認証局CA1が発行する公開鍵証明書によって証明される。このEE〜EEの装置が署名を生成する際に使用する鍵の正当性を最終的に証明する認証局、云いかえれば、EE〜EEが信頼する、ツリー上、最上位のCAをトラストアンカーCAと呼ぶ。
Private key EE 1 ~EE X each device is used in generating the signature of the electronic document (signature key)
Is verified by the public key certificate issued by the terminal accommodation certificate authorities CAs 1 to CAs nm that accommodates itself, and the signature of the public key certificate issued by each of the terminal accommodation certificate authorities CAs 1 to CAs nm. The validity of the private key used when generating the certificate is proved by the public key certificate issued by the certificate authorities CA (s-1) 1 to CA (s-1) n (m-1) that accommodates the private key. The Thus, the private key EE 1 ~EE X each device is used in generating the signature is finally certified by the public key certificate issued by the root certificate authority CA1. The EE 1 certificate authority that ultimately proved the validity of the key ~EE X of the apparatus used in generating the signature, In other refers, EE 1 ~EE X trusts, the tree, the top-level CA Is called a trust anchor CA.

さて、図12において、EE装置は、EE装置に送信すべき電子文書に対して、EEが保持する自身の秘密鍵で署名を行う。そして、署名した電子文書に、CAsが発行した前記秘密鍵と対のEEの公開鍵証明書を添付して、EE装置に送信する。 Now, in FIG. 12, EE 1 apparatus, the electronic document to be sent to the EE X device, a signature by the private key of the own EE 1 holds. Then, the signed electronic document and attach a public key certificate of the EE 1 of the secret key paired with CAs 1 issued, to the EE X device.

EE装置は、EE装置から受け取った電子文書の署名を、当該電子文書に添付されたEEの公開鍵証明書を用いて検証することができる。しかし、EEの公開鍵証明書はEEの証明書発行CAsnmが発行したものではないので、EEは、自身のトラストアンカーCAであるルートCA1によって当該公開鍵証明書の有効性が証明されるものであることを確認しなければ、当該公開鍵証明書を信頼することはできない。この公開鍵証明書の有効性確認処理は、以下の手順によって行われる。
(1)トラストアンカーCAから公開鍵証明書の発行元CAまでのパスの検索
トラストアンカーCA(ここでは、ルートCA1)を起点CAとし、起点CAが発行した公開鍵証明書の発行先を調べ、当該発行先にCAが含まれる場合は当該CAが発行した公開鍵証明書の発行先をさらに調べる処理を、当該公開鍵証明書の発行先に、EE証明書発行CA(ここでは、EEの公開鍵証明書を発行するCAs1)が含まれるまで続け、トラストアンカーCAからEE証明書発行CAまでのパスを検索する。
(2)検索したパスの検証
上記(1)により検索したパス上の各CAから、パス上において当該CAの1つ下位側のCAに対して発行した公開鍵証明書を入手する。そして、有効性確認対象の公開鍵証明書(ここでは、EE証明書発行CAsがEEに対して発行した公開鍵証明書)の署名を、当該公開鍵証明書を発行したCA(ここでは、EE証明書発行CAs)より1つ上位のCAが発行した公開鍵証明書で検証し、検証できた場合は、当該1つ上位のCAが発行した公開鍵証明書の署名をさらに1つ上位のCAが発行した公開鍵証明書で検証する処理を、当該1つ上位のCAがトラストアンカーCAとなるまで続ける。そして、このような公開鍵証明書の署名検証がトラストアンカーまでできた場合に、有効性確認対象の公開鍵証明書の有効性が確認されたものとする。
EE X device signature of the electronic document received from the EE 1 apparatus, it can be verified using the public key certificate of the EE 1 attached to the electronic document. However, since the public key certificate of the EE 1 is not issued by the certificate issuing CAs nm of EE X, EE X is the efficacy of the public key certificate is certified by the root CA1 is its own trust anchor CA The public key certificate cannot be trusted unless it is confirmed that This public key certificate validity checking process is performed according to the following procedure.
(1) Search for path from trust anchor CA to public key certificate issuer CA The trust anchor CA (here, root CA1) is set as the origin CA, and the issue destination of the public key certificate issued by the origin CA is examined. If the issuance destination includes a CA, processing for further examining the issuance destination of the public key certificate issued by the CA is performed on the issuance destination of the public key certificate to the EE certificate issuance CA (here, EE 1 ). Continue until the CAs1) that issues the public key certificate is included, and search for a path from the trust anchor CA to the EE certificate issuing CA.
(2) Verification of searched path From each CA on the path searched in (1) above, a public key certificate issued to the CA one level lower than the CA on the path is obtained. Then, the signature of the public key certificate to be validated (here, the public key certificate issued by EE certificate issuing CAs 1 to EE 1 ) is signed by the CA (here, the public key certificate). , EE certificate issuance CAs 1 ) is verified with the public key certificate issued by the CA one level higher than the EE certificate, and if it can be verified, the signature of the public key certificate issued by the one higher level CA is further added. The process of verifying with the public key certificate issued by the upper CA is continued until the upper CA becomes the trust anchor CA. It is assumed that the validity of the public key certificate to be validated has been confirmed when the signature verification of the public key certificate has been performed up to the trust anchor.

EE装置は、EE装置より受け取った電子文書の署名を当該電子文書に添付されたEEの公開鍵証明書を用いて検証すると共に、上記の(1)、(2)に示す手順に従い当該電子文書の署名検証に用いたEEの公開鍵証明書の有効性を確認することにより、当該電子文書の正当性を確認することができる。 EE X device, the signature of the electronic document received from the EE 1 apparatus with verified using the public key certificate of the EE 1 attached to the electronic document, the (1), in accordance with the procedure shown in (2) By confirming the validity of the public key certificate of EE 1 used for verifying the signature of the electronic document, the validity of the electronic document can be confirmed.

なお、以上では、公開鍵証明書の有効性確認処理をEE装置で行うことを前提としている。しかし、公開鍵証明書の有効性確認処理は負荷が重く、これをEEで行うためには、当該EE装置に高い処理能力が要求される。そこで、ネットワークを介してEE装置に接続された証明書の有効性確認局(以下、Validation Authority:VAという)を設け、当該VA装置に、当該EEの代わりに公開鍵証明書の有効性確認を行わせることが、インターネットに関するさまざまな技術の標準化を定める団体であるIETF(Internet Research Task Force)により提案されている。VA装置において、公開鍵証明書の有効性確認を行う場合、まずEE装置は公開鍵証明書の有効性確認依頼を、VA装置に送付する。次に、VA装置において、上記(1)、(2)の処理を行い、最後に、その結果をEE装置に送付する。   In the above, it is assumed that the public key certificate validity confirmation process is performed by the EE device. However, public key certificate validity confirmation processing is heavy, and in order to perform this with EE, high processing capability is required for the EE device. Therefore, a certificate validity checking authority (hereinafter referred to as Validation Authority: VA) connected to the EE device via the network is provided, and the validity of the public key certificate is checked on the VA device instead of the EE. This is proposed by the Internet Research Task Force (IETF), an organization that establishes standardization of various technologies related to the Internet. When the validity of the public key certificate is confirmed in the VA apparatus, the EE apparatus first sends a public key certificate validity confirmation request to the VA apparatus. Next, in the VA apparatus, the processes (1) and (2) are performed, and finally, the result is sent to the EE apparatus.

このとき、EE装置が公開鍵証明書の有効性確認を依頼してから、その結果が分かるまでにかかる時間を短くするための方法として、次のようなものがある。   At this time, there are the following methods for shortening the time taken from the EE device requesting the validity confirmation of the public key certificate until the result is known.

VA装置において、予め定期的にパスを検索し、パスデータベースに登録しておく。そして、あるEE装置から公開鍵証明書の有効性確認の依頼があった場合に、VA装置のパスデータベースに、対応するパスを検索し、検索したパスの検証を行うことにより、前記公開鍵証明書の有効性を確認する(例えば特許文献1を参照)。   In the VA device, a path is periodically searched in advance and registered in the path database. Then, when a public key certificate validity check request is received from a certain EE device, the corresponding path is searched in the path database of the VA device, and the searched path is verified, whereby the public key certificate is verified. The validity of the certificate is confirmed (see, for example, Patent Document 1).

また、もう1つの方法では、VA装置において、予め定期的に全てのパスを検索し、検索したパスの検証を行う。検証が成功したパス(有効なパス)についてのみ、パスデータベースに登録しておく。そして、あるEE装置から公開鍵証明書の有効性確認の依頼があった場合に、VA装置のパスデータベースに、対応するパスが登録されているか否かを調べることで、前記公開鍵証明書の有効性を確認する(例えば特許文献2を参照)。   In another method, the VA device periodically searches all paths in advance and verifies the searched paths. Only paths that have been successfully verified (valid paths) are registered in the path database. Then, when a public key certificate validity check request is received from a certain EE device, it is checked whether or not the corresponding path is registered in the path database of the VA device. The effectiveness is confirmed (see, for example, Patent Document 2).

米国特許第6134550号明細書US Pat. No. 6,134,550 米国特許出願公開第2002/046340号明細書US Patent Application Publication No. 2002/046340

上記特許文献2に記載されていた方法では、EE装置から受け取った公開鍵証明書の有効性確認依頼に対応するパスが、パスデータベースに登録されていない場合は、有効性確認対象証明書が有効でないものと判断していた。しかし、この方法に従うと、パス検索時に存在しなかったパスが、EE装置からの公開鍵証明書の有効性確認依頼を受け取った時に、新たに存在する場合には、有効な公開鍵証明書を有効でないと判断してしまうことがある。上記特許文献2には、このような場合の処理については記述されていなかった。   In the method described in Patent Document 2, if the path corresponding to the validity check request for the public key certificate received from the EE device is not registered in the path database, the validity check target certificate is valid. Judged that it was not. However, according to this method, if a path that did not exist at the time of path search is newly present when the validity check request for the public key certificate is received from the EE device, a valid public key certificate is required. It may be judged that it is not effective. The above Patent Document 2 does not describe the processing in such a case.

また、上記特許文献1にも、EE装置から受け取った公開鍵証明書の有効性確認依頼に対応するパスが、パスデータベースに登録されていない場合の処理については記述されていなかった。   Also, Patent Document 1 does not describe a process in a case where the path corresponding to the validity check request for the public key certificate received from the EE device is not registered in the path database.

このような、VAで受け付けた有効性確認依頼に対応するパスがパスデータベースに登録されていない場合に、新たにパス検索、検証を行うことで適切な結果を応答することができる。しかし、この場合の有効性確認処理時間が長くなってしまうという課題がある。   When a path corresponding to the validity check request received by the VA is not registered in the path database, an appropriate result can be returned by performing a new path search and verification. However, there is a problem that the validity check processing time in this case becomes long.

現在、民間系、公共系のさまざまな組織、団体において、PKIの導入、整備が進んでおり、その結果、多数のセキュリティドメインが並列し、複雑なPKI構成となることが予想される。さらに、PKIを利用したアプリケーションが普及すると、たくさんの有効性確認依頼がなされると予想される。このような場合、EEが公開鍵証明書の有効性確認を依頼してから、その結果が分かるまでにかかる時間が長くなり、サービスの低下を招いてしまう。   Currently, introduction and maintenance of PKI is progressing in various private and public organizations and groups, and as a result, a large number of security domains are expected to be in parallel, resulting in a complicated PKI configuration. Furthermore, if applications using PKI become widespread, it is expected that many validity confirmation requests will be made. In such a case, it takes a long time from when the EE requests the validity confirmation of the public key certificate until the result is known, leading to a decrease in service.

上記課題を解決するために、本発明では、VA装置が、公開鍵証明書の有効性を確認するために以下の処理を行う。すなわち、VA装置において、パスの検索と、検索したパスの検証と、を行い、前記検索と検証の結果を、記憶部に登録し、公開鍵証明書の有効性確認要求に基づいて、当該有効性確認要求に対応する有効なパスが前記記憶部に登録されている場合、該パスを用いて検証し、当該有効性確認要求に対応する有効なパスが前記記憶部に登録されていない場合、新たにパス検索、および検証することにより、公開鍵証明書の有効性を短時間で確認する、というものである。   In order to solve the above problems, in the present invention, the VA device performs the following processing in order to confirm the validity of the public key certificate. That is, in the VA device, the search of the path and the verification of the searched path are performed, and the result of the search and the verification is registered in the storage unit, and based on the validity check request for the public key certificate, the valid When a valid path corresponding to the validity check request is registered in the storage unit, verification is performed using the path, and when a valid path corresponding to the validity check request is not registered in the storage unit, The validity of the public key certificate is confirmed in a short time by newly performing path search and verification.

本発明によれば、パス検索時より後に新たなパスが形成された場合でも、適切な結果を応答することができ、および/または、EEが公開鍵証明書の有効性確認を依頼してからその結果が分かるまでにかかる時間を短縮することができる。   According to the present invention, even when a new path is formed after the path search, an appropriate result can be returned and / or after the EE requests the validity check of the public key certificate. The time taken to understand the result can be shortened.

本発明の一実施形態が適用されたPKIシステムの概略構成を示す図である。1 is a diagram illustrating a schematic configuration of a PKI system to which an embodiment of the present invention is applied. 図1に示すPKIシステムでの各CAの関係の一例を示す図である。It is a figure which shows an example of the relationship of each CA in the PKI system shown in FIG. 図1に示すEEの概略構成を示す図である。It is a figure which shows schematic structure of EE shown in FIG. 図1に示すVAの概略構成を示す図である。It is a figure which shows schematic structure of VA shown in FIG. 図1に示すVAの概略構成を示す図である。It is a figure which shows schematic structure of VA shown in FIG. 図3〜図5に示すEE、CAおよびVAの各々のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of each of EE, CA, and VA shown in FIGS. 図5に示すVAで行われるパスの検索、検証および管理動作を説明するためのフロー図である。FIG. 6 is a flowchart for explaining path search, verification, and management operations performed in the VA shown in FIG. 5. 図5に示すVAで行われるパスの検索、検証および管理動作を説明するためのフロー図である。FIG. 6 is a flowchart for explaining path search, verification, and management operations performed in the VA shown in FIG. 5. 各CAが図2に示す関係にある場合に、VAのパス検索部51で検出される全てのパスを示す図である。FIG. 3 is a diagram illustrating all paths detected by a VA path search unit 51 when each CA has the relationship illustrated in FIG. 2. 図5に示すVAで行われる公開鍵証明書の有効性の確認動作を説明するためのフロー図である。FIG. 6 is a flowchart for explaining an operation for confirming the validity of a public key certificate performed in the VA shown in FIG. 5. 図5に示すVAで行われる公開鍵証明書の有効性の確認動作を説明するためのフロー図である。FIG. 6 is a flowchart for explaining an operation for confirming the validity of a public key certificate performed in the VA shown in FIG. 5. 従来のPKIにおいて、認証局が複数ある場合におけるCAの関係の一例を示す図である。In conventional PKI, it is a figure which shows an example of the relationship of CA when there exist two or more certificate authorities.

図1は、本発明の一実施形態が適用されたPKIシステムの概略構成を示す図である。   FIG. 1 is a diagram showing a schematic configuration of a PKI system to which an embodiment of the present invention is applied.

本実施例のPKIシステムは、電子的に手続を行う複数のEE装置(11)〜EE装置(11)(EE装置(11)と総称する)と、公開鍵証明書発行業務を行うCA装置(13)〜CA装置(13)と、公開鍵証明書の有効性確認局VA(14)と、それぞれを接続するインターネット等のネットワーク(以下、NETという)16からなる。 PKI system of this embodiment includes a plurality of EE 1 apparatus for performing electronically procedure (11) ~EE N device (11) (collectively referred to as EE apparatus (11)), the public key certificate issuing business CA 1 apparatus and (13) to CA M device (13), a validation station VA of the public key certificate (14), a network such as the Internet connecting each (hereinafter, NET hereinafter) consisting of 16.

図2は、図1に示すPKIシステムでの各CAの関係の一例を示す図である。   FIG. 2 is a diagram showing an example of the relationship between the CAs in the PKI system shown in FIG.

図示するように、本実施形態のPKIシステムでは、民間系、政府系といった複数のセキュリティドメインSD(SD1〜SD2)が並存していることを前提としている。また、各セキュリティドメインSDのルートCA(図2ではCA11、CA21、)は、例えば、ブリッジ認証局CAbridgeに対して公開鍵証明書を発行すると共に、CAbridgeから公開鍵証明書を発行してもらうことにより、CAbridgeとの間で相互認証を行っているものとする。このようにすることで、あるセキュリティドメインSDに属するCAと他のセキュリティドメインSDに属するCAとの間に、一方のCAが発行した公開鍵証明書の有効性を、他方のCAにて確認できるようにするためのパスが形成される。 As shown in the figure, the PKI system of the present embodiment is based on the assumption that a plurality of security domains SD (SD1 to SD2) such as private and governmental systems coexist. Further, the root CA of each security domain SD (CA 11 and CA 21 in FIG. 2) issues, for example, a public key certificate to the bridge certificate authority CA bridge, and also issues a public key certificate from the CA bridge. It is assumed that mutual authentication is performed with CAbridge. In this way, the validity of the public key certificate issued by one CA can be confirmed by the other CA between a CA belonging to a certain security domain SD and a CA belonging to another security domain SD. A path for doing so is formed.

次に、図1のPKIシステムを構成する各装置について説明する。   Next, each device constituting the PKI system of FIG. 1 will be described.

まず、図3を用いて、EE装置(11)を説明する。   First, the EE device (11) will be described with reference to FIG.

EE装置(11)は、処理部30aと記憶部30bと、NET16を介して他装置と通信を行うための通信部30cと、ユーザ(EE)が作成した電子文書や他のEEから受け取った電子文書の入出力やユーザからの指示の受付を行う入出力部30dと、を有する。   The EE device (11) includes a processing unit 30a, a storage unit 30b, a communication unit 30c for communicating with other devices via the NET 16, an electronic document created by a user (EE) and an electronic document received from another EE. An input / output unit 30d for inputting / outputting documents and receiving instructions from users.

処理部30aは、電子文書に対する署名を生成する署名生成部31と、署名の検証を行う署名検証部32と、EE装置の各部を統括的に制御する制御部33と、を有する。   The processing unit 30a includes a signature generation unit 31 that generates a signature for an electronic document, a signature verification unit 32 that performs signature verification, and a control unit 33 that controls each unit of the EE apparatus.

記憶部30bは、利用者が作成した電子文書を保持する電子文書保持部34と、秘密鍵(署名鍵)と、これと対になる公開鍵の公開鍵証明書と、当該EE装置を運用するEEが信頼するCAの自己署名証明書を保持する鍵保持部35と、他のEEから受け取った署名付きの電子文書と公開鍵証明書を保持する検証対象保持部36と、を有する。   The storage unit 30b operates an electronic document holding unit 34 that holds an electronic document created by a user, a private key (signature key), a public key certificate of a public key that is paired with the electronic key, and the EE device. It has a key holding unit 35 that holds a CA's self-signed certificate trusted by the EE, and a verification target holding unit 36 that holds a signed electronic document and a public key certificate received from another EE.

このような構成において、制御部33は、入出力部30dを介してユーザから、電子文書保持部34に保持してある電子文書を他のEEに送信すべき旨の指示を受け付けると、当該電子文書を電子文書保持部34から読み出し、これを署名生成部31に渡す。署名生成部31は、鍵保持部35に保持されている秘密鍵を用いて渡された当該電子文書に対する署名を生成する。   In such a configuration, when the control unit 33 receives an instruction from the user via the input / output unit 30d to transmit the electronic document held in the electronic document holding unit 34 to another EE, the electronic unit 30d The document is read from the electronic document holding unit 34 and transferred to the signature generation unit 31. The signature generation unit 31 generates a signature for the electronic document delivered using the secret key held in the key holding unit 35.

制御部33は、電子文書保持部34から読み出した電子文書に署名生成部31で生成された署名を付して、署名付き電子文書を作成し、作成した署名付き電子文書と鍵保持部35に保持されている公開鍵証明書とを、通信部30cを介して、ユーザから指示された送信先のEE装置へ送信する。制御部33は、通信部30cを介して、他のEE装置から署名付き電子文書と公開鍵証明書を受け取ると、これらを関連づけて検証対象保持部36に保持させると共に、これらの検証要求を署名検証部32に通知する。   The control unit 33 attaches the signature generated by the signature generation unit 31 to the electronic document read from the electronic document holding unit 34 to create a signed electronic document, and creates the signed electronic document and the key holding unit 35. The held public key certificate is transmitted to the destination EE device instructed by the user via the communication unit 30c. When the control unit 33 receives the signed electronic document and the public key certificate from another EE device via the communication unit 30c, the control unit 33 associates them with each other and holds them in the verification target holding unit 36, and sends these verification requests to the signature. Notify the verification unit 32.

これを受けて、署名検証部32は、検証対象保持部36に保持されている署名付き電子文書の署名を、対応する公開鍵証明書を用いて検証する。署名検証部32は、VA装置(14)に、上記の署名検証に用いた公開鍵証明書の有効性の確認依頼を送信する。この際、必要に応じて、前記署名付き電子文書により行おうとしている電子手続に関するポリシー(例えば、取引額等の信頼度)の検証依頼を、前記確認依頼に含める。そして、VA装置(14)において、上記ポリシーの検証も含めた当該公開鍵証明書の有効性が確認された場合にのみ、署名付き電子文書を正当なものとして扱い、必要に応じて入出力部30dから出力する。   In response to this, the signature verification unit 32 verifies the signature of the signed electronic document held in the verification target holding unit 36 using the corresponding public key certificate. The signature verification unit 32 transmits a request for confirming the validity of the public key certificate used for the signature verification to the VA device (14). At this time, if necessary, a verification request for a policy (for example, reliability of a transaction amount, etc.) relating to an electronic procedure to be performed by the signed electronic document is included in the confirmation request. Then, in the VA device (14), only when the validity of the public key certificate including the verification of the policy is confirmed, the signed electronic document is treated as valid and the input / output unit is operated as necessary. Output from 30d.

次に、図4を用いてCA装置(13)を説明する。   Next, the CA device (13) will be described with reference to FIG.

CA装置(13)は、処理部40aと、記憶部40bと、NET16を介して他装置と通信を行うための通信部40cと、公開鍵証明書等の入出力や当該装置の操作者からの指示の受付や処理結果の出力を行う入出力部30dと、を有する。   The CA device (13) includes a processing unit 40a, a storage unit 40b, a communication unit 40c for communicating with other devices via the NET 16, an input / output of a public key certificate and the like from an operator of the device. And an input / output unit 30d for receiving instructions and outputting processing results.

処理部40aは、公開鍵証明書を発行する発行部41と、発行部41が発行した公開鍵証明書の管理を行う管理部42と、CA装置の各部を統括的に制御する制御部43と、を有する。   The processing unit 40a includes an issuing unit 41 that issues a public key certificate, a management unit 42 that manages the public key certificate issued by the issuing unit 41, and a control unit 43 that comprehensively controls each unit of the CA device. Have.

記憶部40bは、発行部41が発行した公開鍵証明書を保持する公開鍵証明書データベース44と、公開鍵証明書データベース44に保持されている各公開鍵証明書の発行先が
記述されていた発行先管理リストを保持する発行先管理リスト保持部45と、失効明書リスト保持部46と、を有する。
The storage unit 40b describes the public key certificate database 44 that holds the public key certificate issued by the issuing unit 41 and the issue destination of each public key certificate held in the public key certificate database 44. It has an issue destination management list holding unit 45 that holds an issue destination management list, and a revocation certificate list holding unit 46.

このような構成において、制御部43は、入出力部40dあるいは通信部40cを介して公開鍵証明書の発行依頼を受け付けると、その旨を発行部41に伝える。これを受けて、発行部41は、これに対する公開鍵証明書を作成する。この際、CAの秘密鍵で公開鍵証明書に署名をする。また、必要に応じて、公開鍵証明書中に、当該公開鍵証明書の有効期限や、信頼しない他の認証局の名称(Name Constrains)や、当該公開鍵証明書の有効性確認のために許容される最大パス長(パス上の許容最大認証局数)や、電子手続の取引額等を表したポリシーを記述する。そして、作成した公開鍵証明書を入出力部40dあるいは通信部40cを介して、郵送あるいは通信により、発行依頼元に渡す。また、この公開鍵証明書を公開鍵証明書データベース44に登録すると共に、その発行先(つまり発行依頼元)の情報を、発行先管理リスト保持部45に保持されている発行先管理リストに記述する。   In such a configuration, when the control unit 43 receives a public key certificate issuance request via the input / output unit 40d or the communication unit 40c, the control unit 43 informs the issuing unit 41 accordingly. In response to this, the issuing unit 41 creates a public key certificate for this. At this time, the public key certificate is signed with the CA private key. Also, if necessary, in the public key certificate, to check the validity period of the public key certificate, the name of other untrusted certificate authority (Name Constrains), and the validity of the public key certificate Describes a policy that represents the maximum allowable path length (the maximum number of allowable CAs on the path), the transaction amount of the electronic procedure, and the like. Then, the created public key certificate is delivered to the issuing requester by mail or communication via the input / output unit 40d or the communication unit 40c. Further, the public key certificate is registered in the public key certificate database 44, and information on the issue destination (that is, the issue request source) is described in the issue destination management list held in the issue destination management list holding unit 45. To do.

制御部43は、入出力部40dあるいは通信部40cを介して、公開鍵証明書の失効依頼を受け付けると、その旨を管理部42に伝える。これを受けて、管理部42は、失効対象の公開鍵証明書を公開鍵証明書データベース43から削除すると共に、当該公開鍵証明書の発行先の情報を、発行先管理リスト保持部44に保持されている発行先管理リストから削除する。そして、管理部42は、失効依頼により公開鍵証明書データベース43から削除した公開鍵証明書に関する情報が記述された失効証明書リストを、定期的に作成し、これを失効証明書リスト保持部45に保持させる。なお、管理部42は、作成した失効証明書リストに、次回の失効証明書リストの作成予定日時を記述するものとする。   When the control unit 43 receives a revocation request for the public key certificate via the input / output unit 40d or the communication unit 40c, the control unit 43 notifies the management unit 42 accordingly. In response to this, the management unit 42 deletes the public key certificate to be revoked from the public key certificate database 43, and holds the issue destination information of the public key certificate in the issue destination management list holding unit 44. Delete from the issued issue management list. Then, the management unit 42 periodically creates a revocation certificate list in which information related to the public key certificate deleted from the public key certificate database 43 in response to the revocation request is described, and creates a revocation certificate list holding unit 45. To hold. It is assumed that the management unit 42 describes the next scheduled date and time for creating the revoked certificate list in the created revoked certificate list.

また、制御部43は、通信部40cを介して、他装置より公開鍵証明書の失効情報の問い合わせを受け取ると、失効証明書リスト保持部45に保持されている失効証明書リストを検索して、問い合わせのあった公開鍵証明書が失効しているか否かを調べる。そして、その結果を、通信部40cを介して、問い合わせをした他装置に応答することもできる。(このような問い合わせと応答に用いる通信プロトコルとして、OSCP(Online Certification status protocol)がある)。   When the control unit 43 receives an inquiry about the revocation information of the public key certificate from the other device via the communication unit 40c, the control unit 43 searches the revocation certificate list held in the revocation certificate list holding unit 45. It checks whether the public key certificate that was inquired has expired. And the result can also be responded to the other apparatus which inquired via the communication part 40c. (A communication protocol used for such inquiries and responses is OSCP (Online Certification status protocol)).

管理部42は、公開鍵証明書データベース44に格納されている各公開鍵証明書の有効期限を調査し、有効期限を過ぎている公開鍵証明書の発行先の情報を、発行管理リスト保持部45に保持されている発行先管理リストから削除する処理も行う。   The management unit 42 examines the expiration date of each public key certificate stored in the public key certificate database 44, and issues the information on the issue destination of the public key certificate that has passed the expiration date. The processing of deleting from the issue destination management list held in 45 is also performed.

次に、図5を用いて、VA装置(14)を説明する。   Next, the VA device (14) will be described with reference to FIG.

図示するように、VA装置(14)は、処理部50aと、記憶部50bと、ネットワークNET16を介して他装置と通信を行うための通信部50cと、公開鍵証明書等の入出力やユーザよりの指示の受付けを行う入出力部50dと、を有する。   As shown in the figure, the VA device (14) includes a processing unit 50a, a storage unit 50b, a communication unit 50c for communicating with other devices via the network NET16, input / output of public key certificates, etc. And an input / output unit 50d for receiving more instructions.

処理部50aは、パス検索部51と、パス検証部52と、有効期限/失効状態調査部53と、有効性確認部54と、VA装置の各部を統括的に制御する制御部55と、を有する。   The processing unit 50a includes a path search unit 51, a path verification unit 52, an expiration date / revocation status investigation unit 53, an validity confirmation unit 54, and a control unit 55 that controls each unit of the VA device. Have.

また、記憶部50bは、パスデータベース56と、失効証明書リスト作成予定日データベース57とを有する。このうちパスデータベース56は、有効なパスデータベース56Aと、有効でないパスデータベース56Bと、を有する。   The storage unit 50 b includes a path database 56 and a revocation certificate list scheduled date database 57. Among these, the path database 56 includes a valid path database 56A and an invalid path database 56B.

パス検索部51は、例えば定期的に、任意のCAをトラストアンカーCAとして、当該トラストアンカーCAから、EE証明書を発行する全てのEE証明書発行CAまでのパスを検索する。また、検出したパスのEE証明書発行CAが発行する、EE証明書に関する失効証明書リスト(CRL)を取得する。トラストアンカーCAは、全てのCA、または設定を設けることにより一部のCAとして、検索を行うことができる。   For example, the path search unit 51 periodically searches for a path from the trust anchor CA to all EE certificate issuing CAs that issue EE certificates, using an arbitrary CA as the trust anchor CA. Further, a revocation certificate list (CRL) related to the EE certificate issued by the EE certificate issuing CA of the detected path is acquired. The trust anchor CA can be searched as all CAs or a part of CAs by providing settings.

パス検証部52は、パス検索部51でパスの検索が行われる毎に、当該パス検索部51で検出されたパスの検証を行う。また、パス検索部51において当該パスに対応するCRLを取得できた場合には、当該CRLの検証を行う。そして、当該パスの両端に位置することとなる、トラストアンカーCAの名称と、EE証明書発行CAの名称とのペアに対応付けて、当該パスを構成する各CA名と、各証明書と、EE証明書に関するCRLとを、当該検証結果に応じて、有効なパスデータベース56A、または有効でないデータベース56Bに登録する。   The path verification unit 52 verifies the path detected by the path search unit 51 every time the path search unit 51 performs a path search. If the path search unit 51 can acquire the CRL corresponding to the path, the CRL is verified. Each CA name and each certificate constituting the path are associated with a pair of the name of the trust anchor CA and the name of the EE certificate issuance CA, which are located at both ends of the path, The CRL related to the EE certificate is registered in the valid path database 56A or the invalid database 56B according to the verification result.

有効期限/失効状態調査部53は、有効なパスデータベース56Aに登録されているパス各々について、当該パスを構成する各公開鍵証明書の有効期限や失効の有無を調査する。そして、その結果に応じてパスデータベース56を更新する。また、有効期限/失効状態調査部53は、各CAの失効証明書リスト保持部46から入手した失効証明書リストに記述されている次回の失効証明書リスト作成予定日時を当該CAに対応付けて、失効証明書リスト作成予定日時データベース57に登録する。   For each path registered in the valid path database 56A, the validity period / revocation status investigation unit 53 investigates the validity period of each public key certificate constituting the path and whether or not it is revoked. Then, the path database 56 is updated according to the result. Further, the expiration date / revocation status checking unit 53 associates the next scheduled revocation certificate list creation date and time described in the revocation certificate list obtained from the revocation certificate list holding unit 46 of each CA with the CA. The revocation certificate list creation scheduled date and time database 57 is registered.

有効性確認部54は、EE装置からの依頼に従い、トラストアンカーCAを信頼の起点として、公開鍵証明書の有効性の確認を行う。   In accordance with a request from the EE device, the validity confirmation unit 54 confirms the validity of the public key certificate with the trust anchor CA as a starting point of trust.

なお、図3〜図5に示すEE装置(11)、CA装置(13)とVA装置(14)の各々は、例えば、図6に示すような、CPU61と、メモリ62と、ハードディスク等の外部記憶装置63と、CD−ROM等の可搬性を有する記憶媒体69から情報を読み取る読み取り装置64と、NET16を介して他装置と通信を行うための通信装置65と、キーボードやマウス等の入力装置66と、モニタやプリンタ等の出力装置67と、これらの各装置間のデータ送受を行うインタフェース68とを備えた、一般的な電子計算機上に構築できる。   Each of the EE device (11), CA device (13), and VA device (14) shown in FIGS. 3 to 5 includes, for example, a CPU 61, a memory 62, and an external device such as a hard disk as shown in FIG. A storage device 63, a reading device 64 for reading information from a portable storage medium 69 such as a CD-ROM, a communication device 65 for communicating with other devices via the NET 16, and an input device such as a keyboard and a mouse 66, an output device 67 such as a monitor or a printer, and an interface 68 for transmitting and receiving data between these devices.

そして、CPU61が外部記憶装置63からメモリ62上にロードされた所定のプログラムを実行することにより、上述の各処理部を実現できる。すなわち、通信部30c、40c、50cは、CPU61が通信装置66を利用することにより、入出力部30d、40d、50dは、CPU61が入力装置66や出力装置67や読み取り装置64を利用することにより、そして、記憶部30b、40b、50bは、CPU61がメモリ62や外部記憶装置63を利用することにより実現される。また、処理部30a、40a、50aは、CPU61のプロセスとして実現される。   Then, the CPU 61 executes a predetermined program loaded on the memory 62 from the external storage device 63, thereby realizing each processing unit described above. That is, the communication units 30c, 40c, and 50c use the communication device 66 by the CPU 61, and the input / output units 30d, 40d, and 50d use the input device 66, the output device 67, and the reading device 64 by the CPU 61. The storage units 30b, 40b, and 50b are realized by the CPU 61 using the memory 62 and the external storage device 63. The processing units 30a, 40a, and 50a are realized as processes of the CPU 61.

上記所定のプログラムは、予め外部記憶装置63に格納されていても良いし、上記電子計算機が利用可能な記憶媒体69に格納されており、読み取り装置64を介して、必要に応じて読み出され、あるいは、上記電子計算機が利用可能な通信媒体であるネットワークまたはネットワーク上を伝搬する搬送波を利用する通信装置66と接続された他の装置から、必要に応じてダウンロードされて、外部記憶装置63に導入されるものであってもよい。   The predetermined program may be stored in the external storage device 63 in advance, or is stored in the storage medium 69 that can be used by the electronic computer, and is read out as necessary via the reading device 64. Alternatively, it is downloaded as necessary from the network, which is a communication medium that can be used by the electronic computer, or another device connected to the communication device 66 using a carrier wave propagating on the network, to the external storage device 63. It may be introduced.

次に、上記構成のVA装置(14)の動作を説明する。   Next, the operation of the VA device (14) configured as described above will be described.

本実施形態のVA装置(14)の動作は、パスの検索、検証および管理動作と、公開鍵証明書の有効性の確認動作とに分かれる。   The operation of the VA device (14) of the present embodiment is divided into a path search, verification and management operation, and a public key certificate validity confirmation operation.

図7〜図8のフロー図を用いて、VA装置(14)で行われるパスの検索、検証および管理動作を説明する。   The path search, verification, and management operations performed in the VA device (14) will be described with reference to the flowcharts of FIGS.

制御部55は、VAの運営者によって定められた所定時間(例えば1日)を経過すると(ステップS1001)、パスデータベース56の登録内容を一旦クリアし(ステップS1002)、パス検索部51にパス検索を依頼する。これを受けて、パス検索部51は、任意のCAをトラストアンカーCAとしたときの、EE証明書発行CAまでのパスを検索する(ステップS1003)。   When a predetermined time (for example, one day) determined by the operator of the VA has elapsed (step S1001), the control unit 55 once clears the registered contents of the path database 56 (step S1002), and searches the path search unit 51 for a path. Request. In response to this, the path search unit 51 searches for a path up to the EE certificate issuing CA when an arbitrary CA is the trust anchor CA (step S1003).

具体的には、パス検索部51は、トラストアンカーCAにアクセスし、トラストアンカーCAが発行し、発行先管理リスト保持部45に保持されている、公開鍵証明書の発行先の情報を入手する。そして、入手した各発行先がCAの場合は、各発行先にアクセして、発行先管理リスト保持部45に保持されている、各CAが発行した公開鍵証明書の発行先をさらに調べる。この処理を、公開鍵証明書の発行先がEEとなるまで続けることにより、トラストアンカーCAからEE証明書発行CAまでのパスを検索する。ここで、パスのループにより上記の処理が無限に繰り返されるのを防止するため、あるCAから入手した発行先に、それまでに形成された部分パスに存在するCAが含まれる場合は、当該CAを発行先とした上記の処理を行わないものとする。また、パスの端点に位置するEEへ証明書を発行したCAが発行するCRLを取得する。   Specifically, the path search unit 51 accesses the trust anchor CA, and obtains information on the issue destination of the public key certificate issued by the trust anchor CA and held in the issue destination management list holding unit 45. . If each issued issuer is a CA, each issuer is accessed and the issuer of the public key certificate issued by each CA held in the issuer management list holding unit 45 is further examined. By continuing this process until the public key certificate issuance destination is EE, the path from the trust anchor CA to the EE certificate issuance CA is searched. Here, in order to prevent the above processing from being repeated infinitely due to a loop of paths, if the issue destination obtained from a certain CA includes a CA existing in a partial path formed so far, the CA It is assumed that the above processing is not performed for the issue destination. Also, a CRL issued by the CA that issued the certificate to the EE located at the end point of the path is acquired.

ステップS1003でのパス検索処理を、各CAが図2に示す関係にある場合を例に取り、より具体的に説明する。   The path search process in step S1003 will be described more specifically, taking as an example the case where each CA has the relationship shown in FIG.

まず、パス検索部51は、トラストアンカーCAをCAbridgeとしてパス検索を行う。パス検索部51は、CAbridgeにアクセスし、発行先管理リスト保持部45に保持されている、CAbridgeが発行した公開鍵証明書の発行先の情報として、CA11、CA21の情報を入手する。 First, the path search unit 51 performs a path search using the trust anchor CA as CA bridge. The path search unit 51 accesses CAbridge and obtains information on CA 11 and CA 21 as information on the issue destination of the public key certificate issued by CA bridge and held in the issue destination management list holding unit 45.

次に、パス検索部51は、CAbridgeから入手した発行先(CA11、CA21
)のうちのいずれか1つに注目して、以下の処理を実行する。すなわち、注目した発行先がCA(以下、注目CAと呼ぶこととする)であるならば、CAbridge−注目CAという部分パスを設定する。そして、注目CAの発行先管理リスト保持部45にアクセスして、当該注目CAが発行した公開鍵証明書の発行先の情報をさらに入手する。ここでは、注目した発行先がCA11であるとして、CAbridge−CA11という部分パスを設定し、CA11から、発行先の情報として、CAbridge、CA12、CA13の情報を入手したものとする。
Next, the path search unit 51 issues the issue destination (CA 11 , CA 21) obtained from CA bridge.
), The following processing is executed. In other words, if the noticed issue destination is CA (hereinafter, referred to as noticeable CA), a partial path of CAbridge-attention CA is set. Then, the issuer management list holding unit 45 of the noticed CA is accessed to further obtain information on the issuer of the public key certificate issued by the noticed CA. Here, it is assumed that the notable issue destination is CA 11 , and a partial path of CA bridge-CA 11 is set, and information on CA bridge, CA 12 and CA 13 is obtained from CA 11 as issue destination information. .

次に、パス検索部51は、認証局CA11から入手した発行先(CAbridge、CA12、CA13)に、部分パス上のCA(以下、ループCAと呼ぶこととする)が含まれているか否かを調べる。含まれている場合はその発行先を注目対象から除外する。したがって、ここでは、CAbridgeを注目対象から除外することになる。次に、パス検索部51は、CA11から入手した発行先にEEが含まれるか否かを調べる。あるCAが発行した証明書の発行先にEEが含まれている場合、そのCAはEE証明書発行CAとなる。しかし、CA11から入手した発行先にEEは含まれていないので、CA11はEE証明書発行CAではない。したがって、CAbridge−CA11という部分パスを、EE証明書発行CAまで延長すべく、CA11から入手した、ループCAを除く発行先(CA12、CA13)のうちのいずれか1つに注目する。 Next, the path search unit 51 includes the CA (hereinafter referred to as a loop CA) on the partial path in the issue destination (CA bridge, CA 12 , CA 13 ) obtained from the certificate authority CA 11 . Check for no. If it is included, the issue destination is excluded from the target of attention. Therefore, here, CA bridge is excluded from the target of attention. Next, the path search unit 51 checks whether or not EE is included in the issue destination obtained from the CA 11 . When an EE is included in a certificate issued by a CA, the CA is an EE certificate issuing CA. However, since EE is not included in the issue destination obtained from CA 11 , CA 11 is not an EE certificate issuing CA. Therefore, attention is paid to any one of the issue destinations (CA 12 , CA 13 ) excluding the loop CA obtained from the CA 11 in order to extend the partial path CAbridge-CA 11 to the EE certificate issuing CA. .

注目した発行先がCAであるならば、それまでに設定した部分パスにこの注目CAを接続した部分パスを設定する。そして、この注目CAの発行先管理リスト保持部45にアクセスして、当該注目CAが発行した公開鍵証明書の発行先の情報をさらに入手する。ここでは、注目した発行先がCA12であるとして、CAbridge−CA11−CA12というパスを設定し、CA12から、発行先の情報として、EE、EEを入手したものとする。 If the noticed issue destination is CA, a partial path connecting this noticed CA is set to the partial path set so far. Then, the notable CA issue destination management list holding unit 45 is accessed to further obtain information on the issue destination of the public key certificate issued by the notable CA. Here, it is assumed that the noticed issue destination is CA 12 , and a path of CA bridge-CA 11 -CA 12 is set, and EE 1 and EE 2 are obtained from CA 12 as issue destination information.

次に、パス検索部51は、CA12から入手した発行先(EE、EE)に、ループ
CAが含まれているか否かを調べる。含まれている場合はその発行先を注目対象から除外する。ここでは、ループCAは含まれないので、パス検索部51は、次の処理へ移行し、CA12から入手した発行先にEEが含まれるか否かを調べる。ここで、入手した発行先はすべてEEであるので、CA12はEE証明書発行CAである。そこで、このCA12を端点とするパスを、トラストアンカーCAbridgeから、EE証明書発行CA12までのパス(CAbridge−CA11−CA12)として検出する。
Next, the path search unit 51 checks whether or not the issue destination (EE 1 , EE 2 ) obtained from the CA 12 includes the loop CA. If it is included, the issue destination is excluded from the target of attention. Here, since the loop CA is not included, the path search unit 51 proceeds to the next processing, and checks whether or not the EE is included in the issue destination obtained from the CA 12 . Here, since all the issued destinations are EE, CA 12 is an EE certificate issuing CA. Therefore, the path to the CA 12 as an end point, from the trust anchor CAbridge, detected as the path to the EE certificate issuing CA 12 (CAbridge-CA 11 -CA 12).

さらに、パス検索部51は、EE証明書発行CAまでのパスを検出した場合、当該EE証明書発行CA12が発行するCRLを、失効証明書リスト保持部46にアクセスし、取得する。 Further, when the path search unit 51 detects a path to the EE certificate issuance CA, the path search unit 51 accesses the revocation certificate list holding unit 46 to acquire the CRL issued by the EE certificate issuance CA 12 .

次に、パス検索部51は、検出したパス上の端点に位置するCA12から入手した発行先の情報の中に、未だ注目していない発行先(ループCA以外のCA)があるか否かを調べ、そのような発行先があれば、これを注目CAとして、上記の処理を続ける。一方、そのような発行先がなければ、1つ前に位置するCA11から入手した発行先の情報の中に、未だ注目していない発行先(ループCA以外のCA)があるか否かを調べる。そして、そのような発行先があれば、これを注目CAとして、上記の処理を続ける。ここでは、CA11から入手した発行先の情報のうち、CA13について未だ注目していないので、これを注目CAとして上記の処理を行うことにより、CAbridgeからEE証明書発行CA13までのパス(CAbridge−CA11−CA13)およびCA13が発行するCRLを検出する。 Next, the path search unit 51 determines whether there is an issue destination (CA other than the loop CA) that has not been noticed in the issue destination information obtained from the CA 12 located at the end point on the detected path. If there is such an issue destination, this is set as the attention CA and the above processing is continued. On the other hand, if there is no such issue destination, it is determined whether or not there is an issue destination (CA other than the loop CA) not yet noticed in the issue destination information obtained from the previous CA 11. Investigate. If there is such an issue destination, the above processing is continued with this as a notable CA. Here, since CA 13 is not yet focused on the issue destination information obtained from CA 11 , by performing the above processing with this as the focused CA, the path from CA bridge to EE certificate issuing CA 13 ( CAbridge-CA 11 -CA 13) and CA 13 detects a CRL issuing.

このように、パス検索部51は、上記の処理を、検出したパス上に位置する全てのCA各々について、当該CAから入手した発行先の情報の中に、未だ注目していない発行先(ループCA以外のCA)がなくなるまで続けることにより、CAbridgeからEE証明書発行CAまでのパスを検出する。   In this way, the path search unit 51 performs the above processing for all the CAs located on the detected path in the issuer information obtained from the CAs, which has not yet been noted (loops). By continuing until there is no CA other than CA), the path from CA bridge to the EE certificate issuing CA is detected.

以上が、任意のCAをトラストアンカーCAとした場合のステップ1003の処理である。   The above is the processing of step 1003 when an arbitrary CA is a trust anchor CA.

後述するように、CA11、CA21各々のCAをトラストアンカーCAとした場合に
ついても、同様にパス検索を行う。
As will be described later, the path search is similarly performed when each CA 11 and CA 21 is a trust anchor CA.

制御部55は、パス検索部51によりパスが検出されると(ステップS1004でYes)、パス検証部52にパスの検証を依頼する。これを受けて、パス検証部52は、パス検索部51により検出されたパスの検証を行う(ステップS1005)。   When the path is detected by the path search unit 51 (Yes in step S1004), the control unit 55 requests the path verification unit 52 to verify the path. In response, the path verification unit 52 verifies the path detected by the path search unit 51 (step S1005).

具体的には、パス検索部51により検出されたパス各々について、以下の処理を行う。   Specifically, the following processing is performed for each path detected by the path search unit 51.

すなわち、まず、パス検証部52は、パス上の各CAの公開鍵証明書データベース44にアクセスし、各CAが当該パス上の1つ次に位置するCA(アクセス先CAがEE証明書発行CAの場合はEE)に対して発行した公開鍵証明書を入手する。   That is, first, the path verification unit 52 accesses the public key certificate database 44 of each CA on the path, and each CA is located next to the CA on the path (the access destination CA is the EE certificate issuing CA). In the case of, obtain a public key certificate issued to EE).

次に、パス検証部52は、パスの最後に位置するEE証明書発行CAが発行した公開鍵証明書の署名を、EE証明書発行CAの公開鍵証明書で検証し、検証できた場合は当該EE証明書発行CAの公開鍵証明書の署名をさらに1つ前に位置するCAの公開鍵証明書で検証する。この処理を、当該1つ前に位置する認証局CAがトラストアンカーCAとなるまで続けることにより、当該パスを検証する。さらに、当該EE証明書発行CAが発行するCRLについて、当該EE証明書発行CAの公開鍵証明書で検証する。   Next, the path verification unit 52 verifies the signature of the public key certificate issued by the EE certificate issuing CA located at the end of the path with the public key certificate of the EE certificate issuing CA. The signature of the public key certificate of the CA issuing the EE certificate is verified with the public key certificate of the CA positioned immediately before. By continuing this process until the certificate authority CA located immediately before becomes the trust anchor CA, the path is verified. Further, the CRL issued by the EE certificate issuing CA is verified with the public key certificate of the EE certificate issuing CA.

例えば、図2においてCAbridgeからEE証明書発行CA12までのパス(CAbridge−CA11−CA12)およびCRLを検証する場合、まず、EE証明書発行CA12の公開鍵証明書の署名を、パス中でCA12の1つ前に位置するCA11の公
開鍵証明書を用いて検証する。そして、検証できた場合は、CA11の公開鍵証明書の署名を、パス中でCA11より1つ前に位置するCAbridgeの公開鍵証明書を用いて検証する。そして、この検証できた場合、さらに、当該EE証明書発行CA12が発行するCRLについて、当該EE証明書発行CA12の公開鍵証明書で検証する。この、パスおよびCRLの検証できた場合に、CAbridgeからEE証明書発行CA12までのパスが仮に検証できたものとする。
For example, in FIG. 2, when verifying the path from CA bridge to EE certificate issuing CA 12 (CA bridge-CA 11 -CA 12 ) and the CRL, first, the signature of the public key certificate of EE certificate issuing CA 12 is passed. It verified using the public key certificate of the CA 11 which is located in front one of the CA 12 in the middle. When it be verified, the signature of the public key certificate of the CA 11, is verified using the public key certificate of CAbridge located before one from CA 11 in the path. If the verification is successful, the CRL issued by the EE certificate issuing CA 12 is further verified by the public key certificate of the EE certificate issuing CA 12 . When the path and CRL can be verified, it is assumed that the path from CA bridge to the EE certificate issuing CA 12 has been verified.

次に、パス検証部52は、パスが仮に検証できたならば、当該パス上の各認証局CAから入手した公開鍵証明書中に、信頼しない他の認証局の名称(Name Constrains)や当該公開鍵証明書の有効性確認のために許容される最大パス長(パス上の許容最大認証局数)などの制限の記述があるか否かを調べる。そのような記述がある場合は、当該パスがその制限を満たしているか否かを調べ、満たしている場合にのみ、当該パスが検証できたものとする。   Next, if the path verification unit 52 can verify the path, the name of the other untrusted certificate authority (Name Contrains) in the public key certificate obtained from each certificate authority CA on the path, It is checked whether there is a description of restrictions such as the maximum path length (maximum allowable number of certificate authorities on the path) allowed for checking the validity of the public key certificate. If there is such a description, it is checked whether or not the path satisfies the restriction. Only when the path satisfies the restriction, the path can be verified.

さて、制御部55は、上記のようにして、パス検索部51により検出されたパス各々に対するパス検証部52での検証が終了したならば、登録処理を行う。制御部55は、パス検証部52でパスが検証できた場合(ステップS1006でYes)、当該パスをトラストアンカーCAと、EE証明書発行CAと、EE証明書発行CAが発行するCRLと、に対応付けて、有効なパスデータベース56Aに登録し(ステップS1007)、ステップS1003へ移行する。また、制御部55は、パス検証部52でパスが検証できなかった場合(ステップS1006でNo)、当該パスをトラストアンカーCAと、EE証明書発行CAと、EE証明書発行CAが発行するCRLと、に対応付けて、有効でないパスデータベース56Bに登録し(ステップS1008)、ステップ1003へ移行する。   When the verification by the path verification unit 52 for each of the paths detected by the path search unit 51 is completed as described above, the control unit 55 performs a registration process. When the path can be verified by the path verification unit 52 (Yes in step S1006), the control unit 55 determines that the path is a trust anchor CA, an EE certificate issuing CA, and a CRL issued by the EE certificate issuing CA. Correspondingly, it is registered in the valid path database 56A (step S1007), and the process proceeds to step S1003. If the path verification unit 52 cannot verify the path (No in step S1006), the control unit 55 issues the CRL issued by the trust anchor CA, the EE certificate issuing CA, and the EE certificate issuing CA. Are registered in the invalid path database 56B (step S1008), and the process proceeds to step 1003.

制御部55は、ステップS1003〜ステップS1008のステップを、パスが検出されなくなる(ステップS1004でNo)まで繰り返し、パスデータベース56を作成する。このとき、全てのCAをトラストアンカーとして、対応する全てのパスを検索する。   The control unit 55 repeats the steps S1003 to S1008 until no path is detected (No in step S1004), and creates the path database 56. At this time, all corresponding paths are searched using all CAs as trust anchors.

CAの構成が図2の場合は、CA11、CA21、CAbridgeの3つのCAをトラストアンカーとして、各々に対応する全てのパスを検索する。 When the CA configuration is shown in FIG. 2, all paths corresponding to the three CAs CA 11 , CA 21 , and CA bridge are searched as trust anchors.

ステップS1003〜ステップS1008までの処理を行った結果、各CAが図2に示す関係にある場合、パス検索部51により検出される、全てのパスは、図9に示すとおりとなる。   As a result of performing the processing from step S1003 to step S1008, when each CA has the relationship shown in FIG. 2, all the paths detected by the path search unit 51 are as shown in FIG.

一方、有効期限/失効状態調査部53は、有効なパスデータベース56Aに登録されている公開鍵証明書の中に、有効期限切れの公開鍵証明書があるか否かを調べる(ステップS1009)。有効期限切れの公開鍵証明書がある場合は、当該公開鍵証明書の発行元CAの公開鍵証明書データベース44にアクセスして、当該公開鍵証明書の発行先に対して新たに発行された公開鍵証明書を検索する(ステップS1010)。   On the other hand, the expiration date / revocation status checking unit 53 checks whether there is an expired public key certificate in the public key certificate registered in the valid path database 56A (step S1009). When there is an expired public key certificate, the public key certificate database 44 of the CA that issued the public key certificate is accessed, and the newly issued public key certificate is issued to the issuer of the public key certificate The key certificate is searched (step S1010).

そして、そのような公開鍵証明書が前記発行元CAの公開鍵証明書データベース44中になければ、前記有効期限切れの公開鍵証明書に対応付けて登録されているパスに関する情報を、有効なパスデータベース56Aから削除し、有効でないパスデータベース56Bへ登録する(ステップS1011)。一方、そのような公開鍵証明書が前記発行元CAの公開鍵証明書データベース44中にあればこれを入手する。そして、前記有効期限切れの公開鍵証明書に対応付けて、有効なパスデータベース56Aに登録されているパスの検証を、当該有効期限切れの公開鍵証明書の代わりに新たに入手した公開鍵証明書を用いて、上記のステップS1005と同じ要領で行う(ステップS1012)。   If there is no such public key certificate in the public key certificate database 44 of the issuing CA, information on the path registered in association with the expired public key certificate is displayed as a valid path. It is deleted from the database 56A and registered in the invalid path database 56B (step S1011). On the other hand, if such a public key certificate is in the public key certificate database 44 of the issuing CA, it is obtained. Then, the verification of the path registered in the valid path database 56A in association with the expired public key certificate is performed, and the newly obtained public key certificate is used instead of the expired public key certificate. The same procedure as in step S1005 is used (step S1012).

さて、パスが検証できた場合(ステップS1013でYes)は、当該パスに対応付けられて有効なパスデータベース56Aに登録されている前記有効期限切れの公開鍵証明書を、新たに入手した公開鍵証明書に置き換える(ステップS1014)。一方、パスが検証できなかった場合(ステップS1013でNo)は、前記有効期限切れの公開鍵証明書に対応付けて登録されているパスを、有効なパスデータベース31から削除し、新たに入手した公開鍵証明書に置き換えたパスを、有効でないパスデータベースに置き換える(ステップS1015)。   If the path can be verified (Yes in step S1013), the public key certificate newly obtained from the expired public key certificate associated with the path and registered in the valid path database 56A is obtained. (Step S1014). On the other hand, if the path could not be verified (No in step S1013), the path registered in association with the expired public key certificate is deleted from the valid path database 31 and newly obtained publicly obtained. The path replaced with the key certificate is replaced with an invalid path database (step S1015).

次に、有効期限/失効状態調査部53は、失効証明書リスト作成予定日時データベース57を調べ、既に経過した失効証明書リスト作成予定日時に対応付けられているCAを検索する(ステップS1016)。そのような認証局CAが存在する場合(ステップS1017でYes)は、当該CAの失効証明書リスト保持部46にアクセスして、当該CAが発行した最新の失効証明書リストを入手する(ステップS1018)。そして、失効証明書リスト作成予定日時データベース57にて、当該認証局CAに対応付けて登録されている失効証明書リスト作成予定日時を、入手した最新の失効証明書リストに記述されている失効証明書リスト作成予定日時に更新する(ステップS1019)。   Next, the expiration date / revocation status checking unit 53 searches the revocation certificate list creation scheduled date / time database 57 and searches for the CA associated with the revocation certificate list creation scheduled date / time that has already passed (step S1016). When such a certificate authority CA exists (Yes in step S1017), the revocation certificate list holding unit 46 of the CA is accessed to obtain the latest revocation certificate list issued by the CA (step S1018). ). Then, the revocation certificate list creation date and time database 57 stores the revocation certificate list creation date and time registered in association with the certificate authority CA in the revocation certificate described in the latest revocation certificate list obtained. The document list creation scheduled date and time are updated (step S1019).

それから、有効期限/失効状態調査部53は、入手した最新の失効証明書リストに記述されている公開鍵証明書が、有効なパスデータベース56Aに登録されているか否かを調べ(ステップS1020)、登録されている場合は、当該公開鍵証明書に対応付けられているパスに関する情報を有効なパスデータベース56Aから削除し、有効でないパスデータベース56Bへ登録する(ステップS1021)。   Then, the expiration date / revocation status checking unit 53 checks whether or not the public key certificate described in the obtained latest revocation certificate list is registered in the valid path database 56A (step S1020). If registered, the information about the path associated with the public key certificate is deleted from the valid path database 56A and registered in the invalid path database 56B (step S1021).

次に、公開鍵証明書の有効性の確認動作について説明する。   Next, the operation for confirming the validity of the public key certificate will be described.

図10〜図11は、本実施形態のVA装置(14)で行われる公開鍵証明書の有効性の確認動作を説明するためのフロー図である。   10 to 11 are flowcharts for explaining the operation of confirming the validity of the public key certificate performed by the VA device (14) of the present embodiment.

制御部55は、通信部50cを介して、EEから、少なくとも当該EEが信頼するトラストアンカーCAの名称を含んだ、他EEの公開鍵証明書の有効性確認依頼を受け取ると(ステップS2001)、その旨を有効性確認部54に通知する。   When the control unit 55 receives, from the EE, the validity check request for the public key certificate of the other EE including at least the name of the trust anchor CA trusted by the EE via the communication unit 50c (step S2001). This is notified to the validity confirmation unit 54.

これを受けて、有効性確認部54は、証明書の有効性確認依頼の記述から特定される、トラストアンカーCAと、当該証明書を発行したEE証明書発行CAと、に対応付けられたパスが、有効なパスデータベース56Aに登録されているか否かを調べる(ステップS2002)。   In response to this, the validity checking unit 54 specifies the path associated with the trust anchor CA and the EE certificate issuing CA that issued the certificate, which are specified from the description of the certificate validity checking request. Is registered in the valid path database 56A (step S2002).

その結果、証明書の有効性確認依頼に記述された、トラストアンカーCAと、当該証明書を発行したEE証明書発行CAと、に対応付けられたパスが、有効なパスデータベース56Aに登録されていることが確認できたならば(ステップS2002でYes)、有効性確認部54は、当該パスの端点であるEE証明書発行CAの公開鍵証明書を用いて、EE証明書の署名検証を行う。さらに、有効性確認部54は、当該パスと対応付けられて登録されているCRLを用いて、EE証明書が失効していないかどうかを確認する(ステップS2003)。   As a result, the path associated with the trust anchor CA described in the certificate validity check request and the EE certificate issuing CA that issued the certificate is registered in the valid path database 56A. If it can be confirmed (Yes in step S2002), the validity checking unit 54 verifies the signature of the EE certificate using the public key certificate of the EE certificate issuing CA that is the end point of the path. . Further, the validity confirmation unit 54 confirms whether or not the EE certificate has expired using the CRL registered in association with the path (step S2003).

EE証明書の署名検証が失敗した場合(ステップ2003でNo)、又はEE証明書がCRLに記述され失効されていた場合、有効性確認部54は、EE証明書有効でないものと判断し、その旨を、通信部50cを介して、依頼元のEEに通知する(ステップS2009)。   If the signature verification of the EE certificate fails (No in step 2003), or if the EE certificate is described in the CRL and has been revoked, the validity checking unit 54 determines that the EE certificate is not valid, This is notified to the requesting EE via the communication unit 50c (step S2009).

一方、各証明書には、信頼しない認証局名による制限や、当該公開鍵証明書の有効性確認のために許容される最大パス長(パス上の許容最大認証局数)を記述できる拡張項目がある。ステップ2003で、EE証明書の署名検証および、失効していないかどうかの確認が成功した場合(Yesの場合)、EE証明書および当該パスに含まれる各CAの証明書に、上述の制限が記述されているか否かをさらに調べる(ステップS2004)。   On the other hand, each certificate is an extension item that can describe restrictions by untrusted certificate authority names and the maximum path length (maximum number of allowable certificate authorities on the path) allowed for checking the validity of the public key certificate. There is. In step 2003, when the signature verification of the EE certificate and the confirmation of whether or not it has been revoked are successful (in the case of Yes), the above-mentioned restriction is applied to the EE certificate and each CA certificate included in the path. It is further checked whether it is described (step S2004).

そのような制限の記述がない場合、ステップS2006に移行する。   If there is no such restriction description, the process proceeds to step S2006.

そのような制限の記述がある場合は、ステップS2005に移行して、EE証明書がその制限に反していないか否かを調べる。EE証明書が制限事項に反している場合、有効性確認部54は、公開鍵証明書が有効性でない旨を、通信部50cを介して、依頼元のEE装置(11)に通知する(ステップS2009)。EE証明書が制限事項に反していない場合は、ステップS2006に移行する。   If there is such a restriction description, the process moves to step S2005 to check whether or not the EE certificate violates the restriction. If the EE certificate violates the restrictions, the validity confirmation unit 54 notifies the requesting EE device (11) via the communication unit 50c that the public key certificate is not valid (step) S2009). If the EE certificate does not violate the restrictions, the process proceeds to step S2006.

ステップS2006では、有効性確認部54は、EE装置(11)から受け取った確認依頼に、当該EEが行おうとしている電子手続の取引額等を示したポリシーが含まれているか否かを調べる。   In step S2006, the validity confirmation unit 54 checks whether or not the confirmation request received from the EE device (11) includes a policy indicating the transaction amount of the electronic procedure that the EE is about to perform.

ポリシーが含まれている場合は、EE証明書および当該パスを構成する各公開鍵証明書中に、前記ポリシーを満たすポリシーの記述があるか否かをさらに調べる(ステップS2007)。   If the policy is included, it is further examined whether or not there is a description of the policy satisfying the policy in the EE certificate and each public key certificate constituting the path (step S2007).

EE証明書および当該パスに、前記ポリシーを満たすポリシーの記述がない場合は、EE証明書を、依頼元のEEが行おうとしている電子手続のための公開鍵証明書の有効性確認に利用できないものと判断し、公開鍵証明書が有効でない旨を、通信部50cを介して、依頼元のEE装置(11)に通知する(ステップS2009)。   If the EE certificate and the path do not contain a policy description that satisfies the above policy, the EE certificate cannot be used to check the validity of the public key certificate for the electronic procedure that the requesting EE is trying to perform. It is determined that the public key certificate is not valid, and notifies the requesting EE device (11) via the communication unit 50c (step S2009).

一方、EEから受け取った確認依頼に当該EEが行おうとしている電子手続を示すポリシーが含まれていない場合(ステップS2006でNo)、あるいは、含まれていても、当該パスおよびEE証明書に記述されているポリシーが前記ポリシーを満たす場合(ステップS2007でYes)は、公開鍵証明書は有効であると判断し、公開鍵証明書が有効である旨を、通信部50cを介して、依頼元のEEに通知する(ステップS2008)。   On the other hand, if the confirmation request received from the EE does not include the policy indicating the electronic procedure that the EE intends to perform (No in step S2006), or even if included, it is described in the path and EE certificate. If the assigned policy satisfies the policy (Yes in step S2007), it is determined that the public key certificate is valid, and a request source is notified via the communication unit 50c that the public key certificate is valid. Is notified to the EE (step S2008).

また、ステップS2002において、証明書の有効性確認依頼に記述された、トラストアンカーCAと、当該証明書を発行したEE証明書発行CAと、に対応付けられたパスが、有効なパスデータベース56Aに登録されていない場合(ステップS2002でNo)、当該パスが有効でないパスデータベース56Bに登録されているか否かを確認する(ステップS2010)。有効でないデータベース56Bに、当該パスが登録されていない場合(ステップS2010でNo)、図11のステップS2012に移行する。   In step S2002, the path associated with the trust anchor CA described in the certificate validity check request and the EE certificate issuing CA that issued the certificate is stored in the valid path database 56A. If it is not registered (No in step S2002), it is confirmed whether or not the path is registered in the invalid path database 56B (step S2010). If the path is not registered in the invalid database 56B (No in step S2010), the process proceeds to step S2012 in FIG.

ステップS2012では、パス検索部51が、確認依頼記述されたトラストアンカーCAから、確認対象のEE証明書までのパスを検索する。この検索は、パス検索部51が予め定められた所定の規則に従って行うものとは異なり、臨時に行う。   In step S2012, the path search unit 51 searches for a path from the trust anchor CA described in the confirmation request to the EE certificate to be confirmed. This search is performed temporarily, unlike the path search unit 51 that performs in accordance with a predetermined rule.

パス検索部51が、トラストアンカーCAから、EE証明書までのパスを検出しなかった場合(ステップS2013でNo)、有効性確認部54は、EE証明書が有効性でない旨を、通信部50cを介して、依頼元のEEに通知する(ステップS2019)。一方、パス検索部51が、トラストアンカーCAから、EE証明書までのパスを検出した場合(ステップS2013でYes)、パス検証部52において、検出したパスを検証する(ステップS2014)。   When the path search unit 51 does not detect the path from the trust anchor CA to the EE certificate (No in step S2013), the validity confirmation unit 54 indicates that the EE certificate is not valid, and the communication unit 50c Via the above, the requesting EE is notified (step S2019). On the other hand, when the path search unit 51 detects a path from the trust anchor CA to the EE certificate (Yes in step S2013), the path verification unit 52 verifies the detected path (step S2014).

検出したパスが検証できた場合(ステップS2015でYes)、当該パスのトラストアンカーCAから、EE証明書発行CAまでのパスと、EE証明書発行CAが発行するCRLを、有効なパスデータベースへ登録する(ステップS2016)。そして、有効性確認部54は、EE証明書が有効性である旨を、通信部50cを介して、依頼元のEEに通知する(ステップS2017)。   If the detected path can be verified (Yes in step S2015), the path from the trust anchor CA of the path to the EE certificate issuing CA and the CRL issued by the EE certificate issuing CA are registered in a valid path database. (Step S2016). Then, the validity confirmation unit 54 notifies the requesting EE via the communication unit 50c that the EE certificate is valid (step S2017).

一方、ステップ2015において、検出したパスが検証できなかった場合(S2015でNo)、当該パスのトラストアンカーCAから、EE証明書発行CAまでのパスと、EE証明書発行CAが発行するCRLを、有効でないパスデータベースへ登録する(ステップS2018)。そして、ステップS2011へ移行し、これまで検出したパス以外に、パスが存在するかどうか検索を行い、それ以降のステップを同じように実行する。   On the other hand, if the detected path could not be verified in step 2015 (No in S2015), the path from the trust anchor CA of the path to the EE certificate issuing CA and the CRL issued by the EE certificate issuing CA are: Registration is made in an invalid path database (step S2018). Then, the process proceeds to step S2011, where a search is performed as to whether there is a path other than the paths detected so far, and the subsequent steps are executed in the same manner.

また、図10のステップ2010において、有効でないパスデータベース56Bに、当該パスが登録されていた場合(ステップS2010でYes)、さらに当該登録されていたパス以外に、有効性確認依頼に対応するパスを検出した場合(ステップS2011でYes)、ステップS2014に移行し、当該検出したパスの検証、登録処理を行う(ステップS2014〜ステップS2019)。   In addition, when the path is registered in the invalid path database 56B in step 2010 of FIG. 10 (Yes in step S2010), a path corresponding to the validity check request is added in addition to the registered path. If it is detected (Yes in step S2011), the process proceeds to step S2014, and the detected path is verified and registered (steps S2014 to S2019).

一方、当該登録されていたパス以外に、有効性確認依頼に対応するパスを検出しなかった場合(ステップS2011でNo)、有効性確認部54は、公開鍵証明書が有効性でない旨を、通信部50cを介して、依頼元のEEに通知する(ステップS2009)。   On the other hand, if no path corresponding to the validity check request is detected other than the registered path (No in step S2011), the validity check unit 54 indicates that the public key certificate is not valid. The requesting EE is notified via the communication unit 50c (step S2009).

以上の実施形態では、トラストアンカーCAから各EE証明書発行CAまでのパスの検索および検証を、EEからの公開鍵証明書の有効性確認依頼とは独立した所定の規則に従って、例えば定期的に行う。   In the above embodiment, the search and verification of the path from the trust anchor CA to each EE certificate issuing CA is performed according to a predetermined rule independent of the public key certificate validity confirmation request from the EE, for example, periodically. Do.

検索、検証したパスは、有効なパスまたは有効でないパスに分類し、パスデータベースに登録しておく。そして、有効性確認依頼に対応するパスが、有効なパスとして登録されているか、有効でないパスとして登録されているかを調べることにより、当該EE証明書が有効であるか否かを判断する。   The searched and verified paths are classified into valid paths or invalid paths and registered in the path database. Then, it is determined whether or not the EE certificate is valid by checking whether the path corresponding to the validity check request is registered as a valid path or an invalid path.

このとき、当該有効性確認依頼に対するパスが、有効でないパスに登録されている場合は、当該有効でないパス以外に対応するパスがあるかどうかを、検索、検証し、確認を行う。また、当該有効性確認依頼に対するパスが、パスデータベースに登録されていない場合には、パス検索、検証を臨時に行う。したがって、認証局の構成が変化した場合にも、最新のパス情報により検証を行うため、適切な有効性確認結果を応答することができる。また、有効でないパスをキャッシュしておくことにより、公開鍵証明書を受け付けてから、当該有効性を確認するまでにかかる時間を短縮することができる。   At this time, if the path for the validity check request is registered as a path that is not valid, whether or not there is a corresponding path other than the path that is not valid is searched, verified, and confirmed. Further, when the path for the validity check request is not registered in the path database, path search and verification are performed temporarily. Therefore, even when the configuration of the certificate authority is changed, verification is performed using the latest path information, so that an appropriate validity check result can be returned. In addition, by caching an invalid path, it is possible to shorten the time taken from receipt of a public key certificate to confirmation of the validity.

また、本実施形態では、パスを登録する際に、パスの端点となるEE証明書発行CAが発行するCRLを、当該CRLの検証結果とともに登録しておく。そして、あるEEから公開鍵証明書の有効性確認依頼を受けた場合、当該EE証明書が失効しているかどうかを、当該CRLを用いて確認する。したがって、公開鍵証明書の有効性確認にかかる時間をより短縮することができる。   In this embodiment, when a path is registered, the CRL issued by the EE certificate issuing CA that is the end point of the path is registered together with the verification result of the CRL. When receiving a public key certificate validity check request from a certain EE, the CRL is used to check whether the EE certificate has expired. Therefore, it is possible to further reduce the time required for checking the validity of the public key certificate.

なお、本発明は、上記の実施形態に限定されるものではなく、その要旨の範囲内数々の変形が可能である。   In addition, this invention is not limited to said embodiment, Many deformation | transformation are possible within the range of the summary.

例えば、上記の実施形態では、VAは、パスをデータベースに登録する際に、有効なパスデータベース56Aと、有効でないパスデータベース56Bの、二つのデータベースに分類して登録している。しかし、一つのデータベースに、当該パスの状態を示すフラグをつけて、有効なパスと、有効でないパスを分類してもよい。   For example, in the above embodiment, when registering a path in the database, the VA is classified and registered into two databases, a valid path database 56A and an invalid path database 56B. However, a valid path and an invalid path may be classified by attaching a flag indicating the state of the path to one database.

また、上記の実施形態では、説明をわかりやすくするため、図2に示すように、EE証明書発行CAはEEに対してのみ公開鍵証明書を発行し、その他のCAはCAに対してのみ公開鍵証明書を発行するものと仮定したが、EEとCAの両方に対して公開鍵証明書を発行するCAを含む場合でも、本発明は適用できる。   Further, in the above embodiment, for the sake of easy understanding, as shown in FIG. 2, the EE certificate issuing CA issues a public key certificate only to the EE, and the other CAs only to the CA. Although it is assumed that a public key certificate is issued, the present invention can be applied even when a CA that issues public key certificates is included for both EE and CA.

また、上記の実施形態では、説明を分かりやすくするため、図2に示すように、CAの構成を階層構造と仮定したが、CAの構成がより複雑なメッシュ構造となっている場合でも、本発明は適用できる。   Further, in the above embodiment, in order to make the explanation easy to understand, the CA configuration is assumed to have a hierarchical structure as shown in FIG. 2, but even when the CA configuration has a more complicated mesh structure, The invention is applicable.

CA・・・認証局,VA・・・証明書の有効性確認局,EE・・・エンドエンティティ,SD・・・セキュリティドメイン,11・・・EE,12・・・EE,13・・・CA,14・・・CA,15・・・VA,16・・・VA,30a,40a,50a・・・処理部,30b,40b,50b・・・記憶部,30c,40c,50c・・・通信部,30d,40d,50d・・・入出力部,31・・・署名生成部,32・・・署名検証部,33,43,55・・・制御部,34・・・電子文書保持部,35・・・鍵保持部,36・・・検証対象保持部,41・・・発行部,42・・・管理部,44・・・公開鍵証明書データベース,45・・・発行先管理リスト保持部,46・・・失効証明書リスト保持部,51・・・パス検索部,52・・・パス検証部,53・・・有効期限/執行状態調査部,54・・・有効性確認部,56・・・パスデータベース,56A・・・有効なパスデータベース,56B・・・有効でないパスデータベース,57・・・失効証明書リスト作成予定日時データベース,61・・・CPU、62・・・メモリ、63・・・外部記憶装置、64・・・読取装置、65・・・通信装置、66・・・入力装置、67・・・出力装置、68・・・インタフェース、69・・・記憶媒体。 CA ··· certification authority, VA ··· certificate of validation stations, EE ··· end entity, SD ··· security domain, 11 ··· EE 1, 12 ··· EE N, 13 ·· · CA 1, 14 ··· CA M , 15 ··· VA, 16 ··· VA, 30a, 40a, 50a ··· processing unit, 30b, 40b, 50b ··· storage unit, 30c, 40c, 50c ... Communication unit, 30d, 40d, 50d ... Input / output unit, 31 ... Signature generation unit, 32 ... Signature verification unit, 33, 43,55 ... Control unit, 34 ... Electronics Document holding unit 35 ... Key holding unit 36 ... Verification target holding unit 41 ... Issuing unit 42 ... Management unit 44 ... Public key certificate database 45 ... Issuing Destination management list holding unit, 46... Revocation certificate list holding unit, 51. Search unit 52... Path verification unit 53. Expiration date / execution state survey unit 54... Validity confirmation unit 56... Path database 56 A. ·················································· 57 Communication device 66 ... input device 67 ... output device 68 ... interface 69 ... storage medium.

Claims (8)

証明書の有効性確認局装置により実施する、公開鍵証明書の有効性確認方法であって、
パスの検索と、検索したパスの検証と、を行うステップと、
前記検索と検証の結果を、記憶部に登録する、パス登録ステップと、
公開鍵証明書の有効性確認要求に基づいて、当該有効性確認要求に対応する有効なパスが前記記憶部に登録されている場合、該パスを用いて検証し、当該有効性確認要求に対応する有効なパスが前記記憶部に登録されていない場合、新たにパス検索、および検証する、有効性確認ステップと、を有する。
A method for verifying the validity of a public key certificate performed by a certificate validity checking authority device,
Performing a path search and verifying the searched path;
A path registration step of registering the search and verification results in a storage unit;
Based on the validity check request of the public key certificate, if a valid path corresponding to the validity check request is registered in the storage unit, the verification is performed using the path, and the validity check request is supported. When a valid path to be performed is not registered in the storage unit, there is a validity check step of newly searching and verifying the path.
請求項1記載の公開鍵証明書の有効性確認方法であって、
前記パス登録ステップにおいて、前記パスの検索と、該検索したパスの検証結果に応じて、前記有効なパスか、有効でないパスかを示す情報を前記記憶部に登録し、
前記有効性確認ステップにおいて、当該有効性確認要求に対応するパスが、前記有効なパス、または前記有効でないパスとして、前記記憶部に登録されている場合は、前記登録結果に従って、前記依頼された公開鍵証明書の有効性確認を行う。
A method for confirming the validity of a public key certificate according to claim 1,
In the path registration step, according to the path search and the verification result of the searched path, information indicating whether the path is valid or invalid is registered in the storage unit,
In the validity check step, if the path corresponding to the validity check request is registered in the storage unit as the valid path or the invalid path, the requested is made according to the registration result. Check the validity of the public key certificate.
請求項2記載の公開鍵証明書の有効性確認方法であって、
前記有効性確認ステップにおいて、当該有効性確認要求に対応するパスが、前記有効なパスとして前記記憶部に登録されている場合でも、当該公開鍵証明書または当該パスに含まれる公開鍵証明書に、制限事項が記述されている場合は、前記有効性確認要求に応じてパス検証を行い、
当該公開鍵証明書および当該パスが前記制限事項を満たしているかどうかを調べるステップと、
制限事項を満たしていれば、前記有効なパスと判断するステップと、を有する。
A method for confirming the validity of a public key certificate according to claim 2,
In the validity check step, even if the path corresponding to the validity check request is registered in the storage unit as the valid path, the public key certificate or the public key certificate included in the path is included. , If any restrictions are described, perform path verification according to the validity check request,
Checking whether the public key certificate and the path meet the restrictions; and
And determining that the path is valid if the restriction is satisfied.
請求項2記載の公開鍵証明書の有効性確認方法であって、
前記有効性確認ステップにおいて、当該有効性確認要求に対応するパスが、前記有効なパスとして前記記憶部に登録されている場合でも、当該有効性確認要求または当該公開鍵証明書または当該パスに含まれる公開鍵証明書に、ポリシーが記載されている場合は、前記有効性確認要求に応じてパス検証を行い、当該公開鍵証明書および当該パスが、電子手続きのポリシーを満たしているかどうかを調べるステップと、
前記ポリシーを満たしている場合に、前記有効なパスと判断するステップと、を有する。
A method for confirming the validity of a public key certificate according to claim 2,
In the validity check step, even if the path corresponding to the validity check request is registered in the storage unit as the valid path, it is included in the validity check request or the public key certificate or the path. If the policy is described in the public key certificate, the path verification is performed in response to the validity check request, and it is checked whether the public key certificate and the path satisfy the electronic procedure policy. Steps,
Determining that the path is valid when the policy is satisfied.
請求項2記載の、公開鍵証明書の有効性確認方法であって、
前記パス登録ステップは、トラストアンカー認証局から、エンドエンティティ証明書を発行する認証局までのパスを検索するステップと、
当該エンドエンティティ証明書を発行する認証局が発行する、エンドエンティティ証明書に関する失効リストを取得、検証するステップと、
当該失効リストの検証結果とともに、失効リストを登録するステップと、を有する。
The method for confirming the validity of a public key certificate according to claim 2,
The path registration step includes searching a path from a trust anchor certificate authority to a certificate authority that issues an end entity certificate; and
Obtaining and verifying a revocation list for an end entity certificate issued by a certificate authority that issues the end entity certificate;
Registering the revocation list together with the revocation list verification result.
請求項5記載の公開鍵証明書の有効性確認方法であって、
前記有効性確認ステップにおいて、当該有効性確認要求に対応するパスが、前記記憶部に有効なパスとして登録されている場合、前記失効リストの検証を行わずに、当該公開鍵証明書が失効していないことを確認する。
A method for confirming the validity of a public key certificate according to claim 5,
In the validity check step, if the path corresponding to the validity check request is registered as a valid path in the storage unit, the public key certificate is revoked without verifying the revocation list. Make sure not.
コンピュータに、請求項1乃至6の何れか1項に記載の公開鍵証明書の有効性確認方法を実行させるためのプログラム。   A program for causing a computer to execute the public key certificate validity checking method according to any one of claims 1 to 6. コンピュータにより読み出し可能なプログラムを格納した記憶媒体であって、請求項7記載のプログラムを格納したことを特徴とする記憶媒体。   A storage medium storing a program readable by a computer, wherein the program according to claim 7 is stored.
JP2010096580A 2010-04-20 2010-04-20 Public key certificate validity checking method, program, and storage medium Expired - Lifetime JP5158125B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010096580A JP5158125B2 (en) 2010-04-20 2010-04-20 Public key certificate validity checking method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010096580A JP5158125B2 (en) 2010-04-20 2010-04-20 Public key certificate validity checking method, program, and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006103728A Division JP4529936B2 (en) 2006-04-05 2006-04-05 Method and apparatus for speeding up public key certificate verification

Publications (2)

Publication Number Publication Date
JP2010161821A true JP2010161821A (en) 2010-07-22
JP5158125B2 JP5158125B2 (en) 2013-03-06

Family

ID=42578576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010096580A Expired - Lifetime JP5158125B2 (en) 2010-04-20 2010-04-20 Public key certificate validity checking method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP5158125B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1145259A (en) * 1997-07-25 1999-02-16 Canon Inc Device and method for hypertext browsing and storage medium
JP2002072876A (en) * 2000-08-30 2002-03-12 Hitachi Ltd Method and device for confirming validity of certificate
JP2002163395A (en) * 2000-11-27 2002-06-07 Hitachi Software Eng Co Ltd Method for supporting confirmation of electronic certificate validity and information processor used for the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1145259A (en) * 1997-07-25 1999-02-16 Canon Inc Device and method for hypertext browsing and storage medium
JP2002072876A (en) * 2000-08-30 2002-03-12 Hitachi Ltd Method and device for confirming validity of certificate
JP2002163395A (en) * 2000-11-27 2002-06-07 Hitachi Software Eng Co Ltd Method for supporting confirmation of electronic certificate validity and information processor used for the same

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CSNG200400123050; 藤城 孝宏 他: '複数PKIドメインにおける証明書検証の高速化方式の研究' コンピュータセキュリティシンポジウム2002 Vol.2002 No.16, 20021030, p.373〜378, 社団法人情報処理学会 *
CSNG200400408004; 藤城 孝宏 他: '政府認証基盤(GPKI)における証明書検証方式の提案' 電子情報通信学会技術研究報告 Vol.101 No.664, 20020225, p.19〜24, 社団法人電子情報通信学会 *
JPN6012049927; 藤城 孝宏 他: '複数PKIドメインにおける証明書検証の高速化方式の研究' コンピュータセキュリティシンポジウム2002 Vol.2002 No.16, 20021030, p.373〜378, 社団法人情報処理学会 *
JPN6012049928; 藤城 孝宏 他: '政府認証基盤(GPKI)における証明書検証方式の提案' 電子情報通信学会技術研究報告 Vol.101 No.664, 20020225, p.19〜24, 社団法人電子情報通信学会 *

Also Published As

Publication number Publication date
JP5158125B2 (en) 2013-03-06

Similar Documents

Publication Publication Date Title
JP3894181B2 (en) Method and apparatus for speeding up public key certificate verification
JP3588042B2 (en) Certificate validity checking method and device
JP5452099B2 (en) Certificate validity checking method, certificate verification server, program, and storage medium
JP5576985B2 (en) Method for determining cryptographic algorithm used for signature, verification server, and program
JP4594962B2 (en) Verification server, program, and verification method
JP4474845B2 (en) Authentication infrastructure system with CRL issue notification function
US7409553B2 (en) Public key certificate generation method, validation method and apparatus thereof
US20100122081A1 (en) Method of validation public key certificate and validation server
JP2008041016A (en) Document management device and program
JP2011193416A (en) Method of verifying certificate, verification server, program, and storage medium
JP5743946B2 (en) Service providing apparatus, joint signature verification apparatus, user identification / authentication method and program
JP4529936B2 (en) Method and apparatus for speeding up public key certificate verification
JP5158125B2 (en) Public key certificate validity checking method, program, and storage medium
JP2006277186A (en) Distributed computer management program, distributed computer management device, and distributed computer management method
JP2013225938A (en) Verification method of public key certificate and verification server
JP5899351B2 (en) Certificate authority apparatus, certificate update apparatus, and certificate management method
JP5018849B2 (en) Authentication infrastructure system with CRL issue notification function
JP4582030B2 (en) Authentication infrastructure system with CRL issue notification function
JP2004297639A (en) Method and apparatus for providing invalidity information of public key certificate
JP2011244213A (en) Public key certificate verification processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120925

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121018

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121113

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121126

R151 Written notification of patent or utility model registration

Ref document number: 5158125

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3

EXPY Cancellation because of completion of term