JP2003087237A - Contents utilization management system, its method, information processor, and computer program - Google Patents

Contents utilization management system, its method, information processor, and computer program

Info

Publication number
JP2003087237A
JP2003087237A JP2001274853A JP2001274853A JP2003087237A JP 2003087237 A JP2003087237 A JP 2003087237A JP 2001274853 A JP2001274853 A JP 2001274853A JP 2001274853 A JP2001274853 A JP 2001274853A JP 2003087237 A JP2003087237 A JP 2003087237A
Authority
JP
Japan
Prior art keywords
content
key
certificate
service provider
usage
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
JP2001274853A
Other languages
Japanese (ja)
Other versions
JP2003087237A5 (en
Inventor
Hiroshi Abe
博 阿部
Yoshito Ishibashi
義人 石橋
Noboru Shimada
昇 島田
Makoto Oka
誠 岡
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2001274853A priority Critical patent/JP2003087237A/en
Publication of JP2003087237A publication Critical patent/JP2003087237A/en
Publication of JP2003087237A5 publication Critical patent/JP2003087237A5/ja
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize a contents utilization management system excluding the necessity of managing the contents utilization right of each user by a service provider as to a system for delivering ciphered contents. SOLUTION: A system for delivering ciphered contents and allowing only a legal user to utilize the contents ciphers a contents key stores the ciphered key in a contents utilization right certificate and stores and delivers the ciphered key together with contents utilization conditions such as a contents utilization period, utilization frequency, on-line processing, and off-line processing. Since the satisfaction of the contents utilization conditions is set as a condition for starting contents key deciphering processing, the legal user can acquire the various contents key different by user only when the utilization conditions are satisfied without managing contents utilization rights by the service provider for each user.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、コンテンツ利用管
理システム、コンテンツ利用管理方法、および情報処理
装置、並びにコンピュータ・プログラムに関する。特
に、暗号化されたコンテンツを配信するシステムにおい
て、コンテンツの利用権限情報等を含むコンテンツ利用
権限証明書、例えば属性証明書を利用したコンテンツ鍵
の配送により、コンテンツの不正利用を防止するととも
に、コンテンツの利用管理を可能としたコンテンツ利用
管理システム、コンテンツ利用管理方法、および情報処
理装置、並びにコンピュータ・プログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a content usage management system, a content usage management method, an information processing apparatus, and a computer program. In particular, in a system that distributes encrypted content, content content authorization certificates including content usage authorization information, such as attribute keys, are used to deliver content keys to prevent unauthorized use of the content and The present invention relates to a content use management system, a content use management method, an information processing device, and a computer program capable of managing the use of a computer.

【0002】[0002]

【従来の技術】昨今、音楽データ、画像データ、ゲーム
プログラム等、様々なソフトウエアデータ(以下、これ
らをコンテンツ(Content)と呼ぶ)を、インターネッ
ト、衛星を介した通信他、有線、無線の各種通信網を介
して配信するサービスが盛んになってきている。また、
DVD、CD、メモリカード等の流通可能な記憶媒体を
介したコンテンツ流通も盛んになってきている。これら
の流通コンテンツは、ユーザの所有する例えば、TV、
PC(Personal Computer)、再生専用器、あるいはゲ
ーム機器等において、再生、利用される。
2. Description of the Related Art Recently, various software data such as music data, image data, game programs, etc. (hereinafter referred to as “contents”) are communicated via the Internet, satellites, various wired and wireless. Services for delivering via communication networks have become popular. Also,
Content distribution through a distributable storage medium such as a DVD, a CD, and a memory card has become popular. These distribution contents are owned by the user, such as a TV,
It is reproduced and used in a PC (Personal Computer), a reproduction-only device, a game machine, or the like.

【0003】通信網を介して配信されるコンテンツは、
例えば通信機能を有するセットトップボックスによって
受信され、TV他の再生装置において再生可能なデータ
に変換されて再生されたり、あるいは通信インタフェー
スを備えたTV、再生装置、ゲーム機器、PC等の情報
機器によって受信されて再生される。
The contents distributed via the communication network are
For example, it is received by a set-top box having a communication function, converted into data that can be reproduced by a reproducing device such as a TV and reproduced, or by an information device such as a TV, a reproducing device, a game machine, or a PC having a communication interface. Received and played.

【0004】ゲームプログラム、音楽データ、画像デー
タ等、多くのソフトウエア・コンテンツは、一般的にそ
の作成者、販売者に頒布権等が保有されている。従っ
て、これらのコンテンツの配布に際しては、一定の利用
制限、すなわち、正規なユーザに対してのみ、ソフトウ
エアの使用を許諾し、許可のない複製等が行われないよ
うにする、すなわちセキュリティを考慮した構成をとる
のが一般的となっている。
Many software contents such as game programs, music data, image data, etc. are generally owned by their creators and sellers. Therefore, when distributing these contents, certain usage restrictions, that is, only authorized users are permitted to use the software and unauthorized copying is not performed, that is, security is considered It is common to adopt the above configuration.

【0005】ユーザに対する利用制限を実現する1つの
手法が、配布コンテンツの暗号化処理である。例えば著
作権保護の要請されるコンテンツを衛星通信あるいはイ
ンターネット通信等を介した配信、あるいはDVD等の
メディアに格納して配布する場合にコンテンツを暗号化
して配信または格納し、正規ユーザに対してのみコンテ
ンツ復号に利用可能な復号鍵を配布する。正規ユーザは
配布された復号鍵によって暗号化コンテンツの復号を実
行し、コンテンツを再生する構成である。
[0007] One method of realizing usage restrictions on users is encryption processing of distributed contents. For example, when content for which copyright protection is requested is distributed via satellite communication or Internet communication, or is stored in a medium such as a DVD and distributed, the content is encrypted and distributed or stored, and only for authorized users. Distribute the decryption key that can be used to decrypt the content. The authorized user decrypts the encrypted content using the distributed decryption key and reproduces the content.

【0006】暗号化データは、復号鍵を用いた復号化処
理によって復号データ(平文)に戻すことができる。デ
ータ暗号化処理に暗号化鍵を用い、復号化処理に復号化
鍵を用いるデータ暗号化、復号化方法は従来からよく知
られている。
The encrypted data can be returned to the decrypted data (plain text) by the decryption process using the decryption key. Data encryption and decryption methods that use an encryption key for the data encryption process and a decryption key for the decryption process have been well known.

【0007】暗号化鍵と復号化鍵を用いるデータ暗号化
・復号化方法の態様には様々な種類あるが、その1つの
例としていわゆる共通鍵暗号化方式と呼ばれている方式
がある。共通鍵暗号化方式は、データの暗号化処理に用
いる暗号化鍵とデータの復号化に用いる復号化鍵を共通
のものとして、正規のユーザにこれら暗号化処理、復号
化に用いる共通鍵を付与して、鍵を持たない不正ユーザ
によるデータアクセスを排除するものである。この方式
の代表的な方式にDES(データ暗号標準:Data encry
ption standard)がある。
There are various types of data encryption / decryption methods using an encryption key and a decryption key, and one example thereof is a so-called common key encryption method. In the common key encryption method, the encryption key used for the data encryption process and the decryption key used for the data decryption are common, and the common key used for the encryption process and the decryption is given to the authorized user. Then, data access by an unauthorized user who does not have a key is excluded. A typical method of this method is DES (Data encryption standard: Data encry
ption standard).

【0008】上述の暗号化処理、復号化に用いられる暗
号化鍵、復号化鍵は、例えばあるパスワード等に基づい
てハッシュ関数等の一方向性関数を適用して得ることが
できる。一方向性関数とは、その出力から逆に入力を求
めるのは非常に困難となる関数である。例えばユーザが
決めたパスワードを入力として一方向性関数を適用し
て、その出力に基づいて暗号化鍵、復号化鍵を生成する
ものである。このようにして得られた暗号化鍵、復号化
鍵から、逆にそのオリジナルのデータであるパスワード
を求めることは実質上不可能となる。
The encryption key and the decryption key used for the above-mentioned encryption processing and decryption can be obtained by applying a one-way function such as a hash function based on a certain password or the like. A one-way function is a function that makes it very difficult to find an input from its output. For example, a one-way function is applied with a password determined by the user as an input, and an encryption key and a decryption key are generated based on the output. From the encryption key and the decryption key obtained in this way, it is virtually impossible to find the password that is the original data.

【0009】また、暗号化するときに使用する暗号化鍵
による処理と、復号するときに使用する復号化鍵の処理
とを異なる鍵で行なう方式がいわゆる公開鍵暗号方式と
呼ばれる方式である。公開鍵暗号方式は、不特定のユー
ザが使用可能な公開鍵を使用する方法であり、特定個人
に対する暗号化文書を、その特定個人が生成した公開鍵
を用いて暗号化処理を行なう。公開鍵によって暗号化さ
れた文書は、その暗号化処理に使用された公開鍵に対応
する秘密鍵によってのみ復号化処理が可能となる。秘密
鍵は、公開鍵を生成した個人のみが所有するので、その
公開鍵によって暗号化された文書は秘密鍵を持つ個人の
みが復号することができる。公開鍵暗号方式の代表的な
ものには、楕円曲線暗号、あるいはRSA(Rivest-Sha
mir-Adleman)暗号がある。このような暗号化方式を利
用することにより、暗号化コンテンツを正規ユーザに対
してのみ復号可能とするシステムが可能となる。
A system in which a process using an encryption key used for encryption and a process for a decryption key used in decryption are performed with different keys is a so-called public key cryptosystem. The public key cryptosystem is a method of using a public key that can be used by an unspecified user, and encrypts an encrypted document for a specific individual using the public key generated by the specific individual. The document encrypted by the public key can be decrypted only by the private key corresponding to the public key used for the encryption process. Since the private key is owned only by the individual who generated the public key, the document encrypted by the public key can be decrypted only by the individual who has the private key. Elliptic curve cryptography or RSA (Rivest-Shape) is a typical public key cryptosystem.
mir-Adleman) There is a cipher. By using such an encryption method, it becomes possible to provide a system in which the encrypted content can be decrypted only by the authorized user.

【0010】[0010]

【発明が解決しようとする課題】上記のようなコンテン
ツ利用管理システムでは、コンテンツを暗号化してユー
ザにネットワーク、あるいはDVD、CD等の記録媒体
に格納して提供し、暗号化コンテンツを復号するコンテ
ンツ鍵を正当なユーザにのみ提供する構成が多く採用さ
れている。コンテンツ鍵自体の不正な利用等を防ぐため
のコンテンツ鍵を暗号化して正当なユーザに提供し、正
当なユーザのみが有する復号キーを用いて暗号化コンテ
ンツ鍵を復号してコンテンツ鍵を使用可能とする構成が
提案されている。
In the content use management system as described above, the content is encrypted and provided to the user by being stored in a network or a recording medium such as a DVD or a CD, and the encrypted content is decrypted. Many configurations have been adopted in which the key is provided only to authorized users. It is possible to use the content key by encrypting the content key to prevent unauthorized use of the content key itself and providing it to the legitimate user, and decrypting the encrypted content key using the decryption key that only the legitimate user has. A configuration to do so has been proposed.

【0011】正当なユーザであるか否かの判定は、一般
には、例えばコンテンツの送信者であるコンテンツプロ
バイダとユーザデバイス間において、コンテンツ、ある
いはコンテンツ鍵の配信前に認証処理を実行することに
よって行なう。一般的な認証処理においては、相手の確
認を行なうとともに、その通信でのみ有効なセッション
キーを生成して、認証が成立した場合に、生成したセッ
ションキーを用いてデータ、例えばコンテンツあるいは
コンテンツ鍵を暗号化して通信を行なう。
The determination as to whether or not the user is a legitimate user is generally performed by executing an authentication process between the content provider, which is the sender of the content, and the user device before the distribution of the content or the content key. . In a general authentication process, while confirming the other party, a session key valid only for the communication is generated, and when the authentication is established, the generated session key is used to transmit data such as content or content key. Encrypt and communicate.

【0012】しかし、このような認証処理をベースとし
てユーザの確認を行なってコンテンツまたはコンテンツ
鍵を配信する構成においては、コンテンツ鍵を配信する
側で、ユーザ毎のコンテンツ利用権限情報を管理するこ
とが必要となる。すなわち、ユーザが正当なコンテンツ
利用権限をもつか否かを判定するため、すべてのユーザ
のコンテンツ利用権限情報をデータベースに格納し、権
限情報に基づいて、コンテンツまたはコンテンツ鍵の配
布を行なう処理が必要となる。
However, in the configuration in which the user is confirmed and the content or the content key is distributed based on such an authentication process, the content key distribution side may manage the content use authority information for each user. Will be needed. That is, in order to determine whether or not the user has the proper content use authority, it is necessary to store the content use authority information of all users in the database and distribute the content or the content key based on the authority information. Becomes

【0013】このような処理、すなわちユーザのコンテ
ンツ利用権限の確認処理は、コンテンツを利用するユー
ザ数が限られた範囲の少数であれば何ら問題ないが、ユ
ーザ数が膨大になると、処理負荷が大きくなり、コンテ
ンツの配信、またはコンテンツ鍵の配信処理の効率を低
下させることになる。
Such a process, that is, the process of confirming the user's content usage authority, is not problematic if the number of users who use the content is a small number within a limited range, but if the number of users becomes enormous, the processing load will increase. Therefore, the efficiency of the content distribution or the content key distribution processing is reduced.

【0014】本発明は、上述の問題点に鑑みてなされた
ものであり、ユーザのコンテンツ利用権限を、サービス
プロバイダ側でユーザ毎に管理することなく、正当なユ
ーザにおいてのみコンテンツ利用を可能とし、さらに、
期間制限、回数制限等、ユーザに対応した様々な利用制
限を設定することを可能としたコンテンツ利用管理シス
テム、コンテンツ利用管理方法、および情報処理装置、
並びにコンピュータ・プログラムを提供することを目的
とする。
The present invention has been made in view of the above-mentioned problems, and enables the use of contents only by a legitimate user without managing the contents use authority of the user for each user on the service provider side, further,
A content usage management system, a content usage management method, and an information processing apparatus capable of setting various usage restrictions corresponding to a user such as a time limit and a number of times limit
It is also intended to provide a computer program.

【0015】[0015]

【課題を解決するための手段】本発明の第1の側面は、 コンテンツ鍵:Kcにより暗号化されたコンテンツの利
用を行なうユーザデバイスと、 前記コンテンツ鍵:Kcを暗号化した暗号化コンテンツ
鍵を格納したコンテンツ利用権限証明書をユーザデバイ
スに対して配信するサービスプロバイダとを有し、前記
ユーザデバイスは、前記サービスプロバイダから受信し
たコンテンツ利用権限証明書に格納された暗号化コンテ
ンツ鍵に対するユーザデバイス内の格納鍵を適用した復
号化処理、または前記サービスプロバイダにおける復号
化処理のいずれかの復号化処理を実行することによりコ
ンテンツ鍵:Kcを取得し、取得したコンテンツ鍵:K
cを適用した暗号化コンテンツの復号化処理を実行して
コンテンツを取得する構成を有することを特徴とするコ
ンテンツ利用管理システムにある。
According to a first aspect of the present invention, there is provided a user device that uses content encrypted with a content key: Kc, and an encrypted content key obtained by encrypting the content key: Kc. A service provider that distributes the stored content usage right certificate to the user device, wherein the user device stores the encrypted content key stored in the content usage right certificate received from the service provider in the user device. The content key: Kc is obtained by executing either the decryption process to which the storage key is applied or the decryption process in the service provider, and the obtained content key: K
The content usage management system is characterized by having a configuration for executing a decryption process of encrypted content to which c is applied to acquire the content.

【0016】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書には、コンテンツ利用条件が記録され、前記ユーザ
デバイスは、前記コンテンツ利用条件を満足するコンテ
ンツ利用であるか否かの判定処理を実行し、前記コンテ
ンツ利用権限証明書に記録されたコンテンツ利用条件を
満足するコンテンツ利用であることを条件として、前記
コンテンツ利用権限証明書に格納された暗号化コンテン
ツ鍵についての、ユーザデバイス内の格納鍵を適用した
復号化処理を実行する構成であることを特徴とする。
Further, in one embodiment of the content use management system of the present invention, content use conditions are recorded in the content use authority certificate, and the user device is content use that satisfies the content use conditions. The encrypted content key stored in the content usage right certificate is subjected to a determination process as to whether or not the content usage condition recorded in the content usage right certificate is satisfied. Is characterized in that the decryption process is performed by applying the storage key in the user device.

【0017】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書には、コンテンツ利用条件が記録され、前記サービ
スプロバイダは、前記コンテンツ利用条件を満足するコ
ンテンツ利用であるか否かの判定処理を実行し、前記コ
ンテンツ利用権限証明書に記録されたコンテンツ利用条
件を満足するコンテンツ利用であることを条件として、
前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵についての復号化処理を実行する構成であるこ
とを特徴とする。
Further, in one embodiment of the content use management system of the present invention, content use conditions are recorded in the content use authority certificate, and the service provider is content use that satisfies the content use conditions. It is determined whether or not the content usage satisfies the content usage conditions recorded in the content usage authorization certificate,
It is characterized in that the decryption process is executed for the encrypted content key stored in the content usage right certificate.

【0018】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記ユーザデバイス内のメ
モリには、前記コンテンツ利用権限証明書に格納された
暗号化コンテンツ鍵の復号用の鍵を格納したサービスプ
ロバイダ毎の管理領域が設定登録され、ユーザデバイス
は、前記復号用の鍵を適用して、前記コンテンツ利用権
限証明書に格納された暗号化コンテンツ鍵の復号化処理
を実行してコンテンツ鍵:Kcを取得する構成であるこ
とを特徴とする。
Further, in an embodiment of the content use management system of the present invention, a service in which a key for decrypting the encrypted content key stored in the content use authority certificate is stored in the memory in the user device. The management area for each provider is set and registered, and the user device applies the decryption key to execute the decryption processing of the encrypted content key stored in the content usage right certificate to obtain the content key: Kc. Is obtained.

【0019】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記ユーザデバイス内のメ
モリには、前記コンテンツ利用権限証明書に格納された
暗号化コンテンツ鍵の復号用の鍵として、サービスプロ
バイダ対応秘密鍵を格納したサービスプロバイダ毎の管
理領域が設定登録され、前記コンテンツ利用権限証明書
に格納された暗号化コンテンツ鍵は、前記サービスプロ
バイダ対応秘密鍵に対応して生成された公開鍵によって
暗号化された暗号化コンテンツ鍵であり、前記ユーザデ
バイスは、前記サービスプロバイダ対応秘密鍵を適用し
て、前記コンテンツ利用権限証明書に格納された暗号化
コンテンツ鍵の復号化処理を実行してコンテンツ鍵:K
cを取得する構成であることを特徴とする。
Further, in one embodiment of the content use management system of the present invention, a service provider is provided in a memory in the user device as a key for decrypting the encrypted content key stored in the content use authority certificate. The management area for each service provider storing the corresponding private key is set and registered, and the encrypted content key stored in the content usage right certificate is encrypted by the public key generated corresponding to the service provider corresponding private key. The encrypted content key is the encrypted content key, and the user device applies the service provider compatible private key to execute the decryption processing of the encrypted content key stored in the content usage right certificate to execute the content key. : K
It is characterized in that it is configured to acquire c.

【0020】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記ユーザデバイス内のメ
モリには、サービスプロバイダとの相互認証に必要な認
証処理適用データを格納したサービスプロバイダ毎の管
理領域が設定登録され、ユーザデバイスは、前記認証処
理適用データを取得してサービスプロバイダとの認証を
実行し、前記コンテンツ利用権限証明書を前記サービス
プロバイダに送付して、サービスプロバイダによる暗号
化コンテンツ鍵の復号化処理によりコンテンツ鍵:Kc
を取得する構成であることを特徴とする。
Furthermore, in one embodiment of the content use management system of the present invention, the memory in the user device has a management area for each service provider, which stores authentication processing application data necessary for mutual authentication with the service provider. The user device, which has been set and registered, acquires the authentication processing application data, authenticates with the service provider, sends the content usage authorization certificate to the service provider, and decrypts the encrypted content key by the service provider. Content key: Kc
Is obtained.

【0021】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書に格納された暗号化コンテンツ鍵は、サービスプロ
バイダの保有する共通鍵方式の鍵によって暗号化された
暗号化コンテンツ鍵であり、前記サービスプロバイダ
は、ユーザデバイスから、前記コンテンツ利用権限証明
書を受信し、受信したコンテンツ利用権限証明書に格納
された暗号化コンテンツ鍵に対して、前記サービスプロ
バイダの保有する共通鍵方式の鍵を適用した復号化処理
を実行することによりコンテンツ鍵:Kcを取得し、取
得したコンテンツ鍵:Kcをユーザデバイスに送付する
構成であることを特徴とする。
Furthermore, in one embodiment of the content usage management system of the present invention, the encrypted content key stored in the content usage authorization certificate is encrypted by a common key system key held by the service provider. Encrypted content key, the service provider receives the content usage right certificate from the user device, and the service provider holds the encrypted content key stored in the received content usage right certificate. The content key: Kc is acquired by executing the decryption process to which the key of the common key system is applied, and the acquired content key: Kc is sent to the user device.

【0022】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書は、コンテンツ利用条件として、サービスプロバイ
ダにおける利用権限判定処理を必須条件とするオンライ
ン利用処理、または、サービスプロバイダにおける利用
権限判定処理を不要とするオフライン利用処理のいずれ
かを設定したデータを有し、ユーザデバイスはコンテン
ツ利用に際して、前記コンテンツ利用権限証明書に記録
されたコンテンツ利用条件としてのオンライン利用また
はオフライン利用を選択的に実行する構成であることを
特徴とする。
Further, in one embodiment of the content use management system of the present invention, the content use right certificate is an online use process or service in which a use right judgment process in a service provider is an essential condition as a content use condition. The user device has data in which any one of offline usage processing that does not require usage authority determination processing is set, and the user device uses online or offline as content usage conditions recorded in the content usage certificate when using the content. The feature is that the usage is selectively executed.

【0023】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書は、コンテンツ利用条件として、コンテンツ利用期
間を制限した期間制限、コンテンツ利用回数を制限した
回数制限、利用制限の無い買い切りのいずれかを設定し
たデータを有し、ユーザデバイスはコンテンツ利用に際
して、前記コンテンツ利用権限証明書に記録されたコン
テンツ利用条件としての期間制限、または回数制限、ま
たは買い切りに応じて、コンテンツ利用が利用条件を満
足するか否かの判定処理を実行し、利用条件を満足する
ことを条件として前記コンテンツ利用権限証明書に格納
された暗号化コンテンツ鍵の復号化処理を実行してコン
テンツ鍵:Kcを取得する構成であることを特徴とす
る。
Further, in one embodiment of the content use management system of the present invention, the content use authority certificate is, as content use conditions, a period limit that limits the content use period, a number limit that limits the number of times of content use, and use. Having any of the data set to unlimited purchase, the user device, when using the content, the period limit as the content use condition recorded in the content use authority certificate, or the number of times limit, or according to the purchase, Content is executed by determining whether the content usage satisfies the usage condition, and decrypting the encrypted content key stored in the content usage right certificate is executed on condition that the usage condition is satisfied. It is characterized in that the key: Kc is acquired.

【0024】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書は、該コンテンツ利用権限証明書の発行エンティテ
イの電子署名が付加された構成であり、前記コンテンツ
利用権限証明書内の暗号化コンテンツ鍵の復号化処理
は、前記電子署名の検証によりデータ改竄のないことの
確認を条件として実行する構成であることを特徴とす
る。
Furthermore, in one embodiment of the content usage management system of the present invention, the content usage authority certificate is configured such that an electronic signature of the issuing entity of the content usage authority certificate is added to the content usage authority certificate. The decryption process of the encrypted content key in the certificate is executed under the condition that the verification of the electronic signature confirms that the data has not been tampered with.

【0025】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書は、該コンテンツ利用権限証明書に対応する公開鍵
証明書に関するリンク情報を格納した構成であり、前記
コンテンツ利用権限証明書内の暗号化コンテンツ鍵の復
号化処理は、前記リンク情報によって取得される公開鍵
証明書の検証により、該コンテンツ利用権限証明書の正
当性確認を条件として実行する構成であることを特徴と
する。
Further, in an embodiment of the content use management system of the present invention, the content use authority certificate has a configuration in which link information regarding a public key certificate corresponding to the content use authority certificate is stored. The decryption process of the encrypted content key in the content usage right certificate is executed on condition that the validity of the content usage right certificate is confirmed by the verification of the public key certificate acquired by the link information. It is characterized by

【0026】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書は、属性証明書認証局の発行する属性証明書であ
り、前記暗号化コンテンツ鍵は、属性証明書中の属性情
報フィールドに格納された構成であることを特徴とす
る。
Further, in one embodiment of the content use management system of the present invention, the content use authority certificate is an attribute certificate issued by an attribute certificate certificate authority, and the encrypted content key is an attribute certificate. It is characterized in that it is stored in the attribute information field inside.

【0027】さらに、本発明のコンテンツ利用管理シス
テムの一実施態様において、前記コンテンツ利用権限証
明書は、属性証明書認証局の発行する属性証明書であ
り、属性証明書中の属性情報フィールドに、コンテンツ
の利用条件を格納した構成であることを特徴とする。
Further, in one embodiment of the content use management system of the present invention, the content use authority certificate is an attribute certificate issued by an attribute certificate certification authority, and the attribute information field in the attribute certificate contains: It is characterized in that it has a configuration in which content usage conditions are stored.

【0028】さらに、本発明の第2の側面は、 コンテンツ鍵:Kcにより暗号化されたコンテンツの利
用を行なう情報処理装置であり、 前記コンテンツ鍵:Kcを暗号化した暗号化コンテンツ
鍵を格納したコンテンツ利用権限証明書をサービスプロ
バイダから受信し、受信コンテンツ利用権限証明書に格
納された暗号化コンテンツ鍵についての情報処理装置内
の格納鍵を適用した復号化処理、または、前記サービス
プロバイダに対する前記コンテンツ利用権限証明書の送
付による前記サービスプロバイダにおける復号化処理に
よりコンテンツ鍵:Kcを取得し、取得したコンテンツ
鍵:Kcを適用した暗号化コンテンツの復号化処理を実
行してコンテンツを取得する構成を有することを特徴と
する情報処理装置にある。
Further, a second aspect of the present invention is an information processing apparatus for utilizing the content encrypted by the content key: Kc, wherein the encrypted content key obtained by encrypting the content key: Kc is stored. Decryption processing for receiving a content usage right certificate from a service provider and applying a storage key in an information processing device for an encrypted content key stored in the received content usage right certificate, or the content for the service provider The content key: Kc is obtained by the decryption process in the service provider by sending the usage right certificate, and the decryption process of the encrypted content to which the obtained content key: Kc is applied is executed to obtain the content. An information processing device characterized by the above.

【0029】さらに、本発明の情報処理装置の一実施態
様において、前記コンテンツ利用権限証明書には、コン
テンツ利用条件が記録され、前記情報処理装置は、前記
コンテンツ利用条件を満足するコンテンツ利用であるか
否かの判定処理を実行し、前記コンテンツ利用権限証明
書に記録されたコンテンツ利用条件を満足するコンテン
ツ利用であることを条件として、前記コンテンツ利用権
限証明書に格納された暗号化コンテンツ鍵についての情
報処理装置内の格納鍵を適用した復号化処理を実行する
構成であることを特徴とする。
Further, in one embodiment of the information processing apparatus of the present invention, content usage conditions are recorded in the content usage authorization certificate, and the information processing apparatus is content usage that satisfies the content usage conditions. The encrypted content key stored in the content usage right certificate is subjected to a determination process as to whether or not the content usage condition recorded in the content usage right certificate is satisfied. It is characterized in that it is configured to execute a decryption process to which a storage key in the information processing apparatus is applied.

【0030】さらに、本発明の情報処理装置の一実施態
様において、前記情報処理装置内のメモリには、前記コ
ンテンツ利用権限証明書に格納された暗号化コンテンツ
鍵の復号用の鍵を格納したサービスプロバイダ毎の管理
領域が設定登録され、前記情報処理装置は、前記復号用
の鍵を適用して、前記コンテンツ利用権限証明書に格納
された暗号化コンテンツ鍵の復号化処理を実行してコン
テンツ鍵:Kcを取得する構成であることを特徴とす
る。
Further, in one embodiment of the information processing apparatus of the present invention, a service in which a key for decrypting the encrypted content key stored in the content usage right certificate is stored in the memory in the information processing apparatus. The management area is set and registered for each provider, and the information processing apparatus applies the decryption key and executes the decryption processing of the encrypted content key stored in the content usage right certificate to execute the content key. : Kc is acquired.

【0031】さらに、本発明の情報処理装置の一実施態
様において、前記情報処理装置内のメモリには、前記コ
ンテンツ利用権限証明書に格納された暗号化コンテンツ
鍵の復号用の鍵として、サービスプロバイダ対応秘密鍵
を格納したサービスプロバイダ毎の管理領域が設定登録
され、前記コンテンツ利用権限証明書に格納された暗号
化コンテンツ鍵は、前記サービスプロバイダ対応秘密鍵
に対応して生成された公開鍵によって暗号化された暗号
化コンテンツ鍵であり、前記情報処理装置は、前記サー
ビスプロバイダ対応秘密鍵を適用して、前記コンテンツ
利用権限証明書に格納された暗号化コンテンツ鍵の復号
化処理を実行してコンテンツ鍵:Kcを取得する構成で
あることを特徴とする。
Further, in an embodiment of the information processing apparatus of the present invention, the memory in the information processing apparatus has a service provider as a key for decrypting the encrypted content key stored in the content usage right certificate. The management area for each service provider storing the corresponding private key is set and registered, and the encrypted content key stored in the content usage right certificate is encrypted by the public key generated corresponding to the service provider corresponding private key. The encrypted content key that has been encrypted, and the information processing apparatus applies the service provider-corresponding private key to execute decryption processing of the encrypted content key stored in the content usage right certificate, It is characterized in that the key: Kc is acquired.

【0032】さらに、本発明の情報処理装置の一実施態
様において、前記情報処理装置内のメモリには、サービ
スプロバイダとの相互認証に必要な認証処理適用データ
を格納したサービスプロバイダ毎の管理領域が設定登録
され、前記情報処理装置は、前記認証処理適用データを
取得してサービスプロバイダとの認証を実行し、前記コ
ンテンツ利用権限証明書を前記サービスプロバイダに送
付して、サービスプロバイダによる暗号化コンテンツ鍵
の復号化処理によりコンテンツ鍵:Kcを取得する構成
であることを特徴とする。
Further, in one embodiment of the information processing apparatus of the present invention, the memory in the information processing apparatus has a management area for each service provider that stores authentication processing application data necessary for mutual authentication with the service provider. Registered by setting, the information processing apparatus acquires the authentication processing application data, authenticates with the service provider, sends the content usage authorization certificate to the service provider, and then the encrypted content key by the service provider. The content key: Kc is obtained by the decryption process of.

【0033】さらに、本発明の情報処理装置の一実施態
様において、前記コンテンツ利用権限証明書は、コンテ
ンツ利用条件として、サービスプロバイダにおける利用
権限判定処理を必須条件とするオンライン利用処理、ま
たは、サービスプロバイダにおける利用権限判定処理を
不要とするオフライン利用処理のいずれかを設定したデ
ータを有し、前記情報処理装置は、コンテンツ利用に際
して、前記コンテンツ利用権限証明書に記録されたコン
テンツ利用条件としてのオンライン利用またはオフライ
ン利用を選択的に実行する構成であることを特徴とす
る。
Further, in one embodiment of the information processing apparatus of the present invention, the content usage right certificate is an online usage process which requires a usage right determination process in a service provider as a content usage condition, or a service provider. The information processing apparatus has data in which any one of the offline usage processing that does not require the usage authority determination processing is set, and when the content is used, the information processing apparatus uses the online usage as the content usage condition recorded in the content usage authority certificate. Alternatively, the configuration is characterized in that the offline use is selectively executed.

【0034】さらに、本発明の情報処理装置の一実施態
様において、前記コンテンツ利用権限証明書は、コンテ
ンツ利用条件として、コンテンツ利用期間を制限した期
間制限、コンテンツ利用回数を制限した回数制限、利用
制限の無い買い切りのいずれかを設定したデータを有
し、前記情報処理装置はコンテンツ利用に際して、前記
コンテンツ利用権限証明書に記録されたコンテンツ利用
条件としての期間制限、または回数制限、または買い切
りに応じて、コンテンツ利用が利用条件を満足するか否
かの判定処理を実行し、利用条件を満足することを条件
として前記コンテンツ利用権限証明書に格納された暗号
化コンテンツ鍵の復号化処理を実行してコンテンツ鍵:
Kcを取得する構成であることを特徴とする。
Further, in one embodiment of the information processing apparatus of the present invention, the content usage right certificate is, as content usage conditions, a time limit that limits a content usage period, a number restriction that limits the number of times of content usage, a usage restriction In the case of using the content, the information processing apparatus has data in which any one of the following items is set to be used, and in response to the content use condition recorded in the content use authority certificate, a period limit, a number limit, or a use-out. , Executing a determination process of whether or not the content usage satisfies the usage condition, and performing a decryption processing of the encrypted content key stored in the content usage right certificate on condition that the usage condition is satisfied. Content key:
It is characterized in that it is configured to acquire Kc.

【0035】さらに、本発明の情報処理装置の一実施態
様において、前記コンテンツ利用権限証明書は、該コン
テンツ利用権限証明書の発行エンティテイの電子署名が
付加された構成であり、前記コンテンツ利用権限証明書
内の暗号化コンテンツ鍵の復号化処理は、前記電子署名
の検証によりデータ改竄のないことの確認を条件として
実行する構成であることを特徴とする。
Further, in an embodiment of the information processing apparatus of the present invention, the content usage right certificate is a structure to which a digital signature of an issuing entity of the content usage right certificate is added, and the content usage right certificate The decryption process of the encrypted content key in the document is configured to be executed on condition that the verification of the electronic signature does not result in data tampering.

【0036】さらに、本発明の情報処理装置の一実施態
様において、前記コンテンツ利用権限証明書は、該コン
テンツ利用権限証明書に対応する公開鍵証明書に関する
リンク情報を格納した構成であり、前記コンテンツ利用
権限証明書内の暗号化コンテンツ鍵の復号化処理は、前
記リンク情報によって取得される公開鍵証明書の検証に
より、該コンテンツ利用権限証明書の正当性確認を条件
として実行する構成であることを特徴とする。
Further, in an embodiment of the information processing apparatus of the present invention, the content usage right certificate is a structure in which link information relating to a public key certificate corresponding to the content usage right certificate is stored. The decryption process of the encrypted content key in the usage right certificate is executed on condition that the validity of the content usage right certificate is confirmed by verifying the public key certificate acquired by the link information. Is characterized by.

【0037】さらに、本発明の第3の側面は、暗号化コ
ンテンツの復号化処理によるコンテンツ利用の管理を行
なうコンテンツ利用管理方法であり、 コンテンツ鍵:Kcにより暗号化されたコンテンツの利
用を行なうユーザデバイスと、 前記コンテンツ鍵:Kcを暗号化した暗号化コンテンツ
鍵を格納したコンテンツ利用権限証明書をユーザデバイ
スに対して配信するサービスプロバイダとを有し、前記
ユーザデバイスにおいて、前記サービスプロバイダから
コンテンツ利用権限証明書を受信するステップと、前記
コンテンツ利用権限証明書に格納された暗号化コンテン
ツ鍵に対するユーザデバイス内の格納鍵を適用した復号
化処理、または前記サービスプロバイダにおける復号化
処理のいずれかの復号化処理を実行してコンテンツ鍵:
Kcを取得するステップと、取得したコンテンツ鍵:K
cを適用した暗号化コンテンツの復号化処理を実行して
コンテンツを取得するステップと、を有することを特徴
とするコンテンツ利用管理方法にある。
Furthermore, a third aspect of the present invention is a content usage management method for managing content usage by decrypting encrypted content, wherein a user who uses content encrypted with a content key: Kc. A device and a service provider that distributes a content usage authorization certificate storing an encrypted content key obtained by encrypting the content key: Kc to the user device, wherein the user device uses the content from the service provider. A step of receiving the authority certificate, and a decryption processing in which a storage key in the user device is applied to the encrypted content key stored in the content usage authority certificate, or a decryption processing in the service provider. Content key by executing the encryption process:
Step of acquiring Kc and acquired content key: K
and a step of executing a decryption process of the encrypted content to which c is applied to acquire the content, the content usage managing method.

【0038】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記コンテンツ利用権限証明書
には、コンテンツ利用条件が記録され、前記ユーザデバ
イスは、前記コンテンツ利用条件を満足するコンテンツ
利用であるか否かの判定処理を実行し、前記コンテンツ
利用権限証明書に記録されたコンテンツ利用条件を満足
するコンテンツ利用であることを条件として、前記コン
テンツ利用権限証明書に格納された暗号化コンテンツ鍵
についての、ユーザデバイス内の格納鍵を適用した復号
化処理を実行することを特徴とする。
Further, in one embodiment of the content usage management method of the present invention, content usage conditions are recorded in the content usage authorization certificate, and the user device is content usage that satisfies the content usage conditions. The encrypted content key stored in the content usage right certificate is subjected to a determination process as to whether or not the content usage condition recorded in the content usage right certificate is satisfied. Is characterized by executing the decryption process to which the storage key in the user device is applied.

【0039】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記コンテンツ利用権限証明書
には、コンテンツ利用条件が記録され、前記サービスプ
ロバイダは、前記コンテンツ利用条件を満足するコンテ
ンツ利用であるか否かの判定処理を実行し、前記コンテ
ンツ利用権限証明書に記録されたコンテンツ利用条件を
満足するコンテンツ利用であることを条件として、前記
コンテンツ利用権限証明書に格納された暗号化コンテン
ツ鍵についての復号化処理を実行することを特徴とす
る。
Furthermore, in one embodiment of the content usage management method of the present invention, content usage conditions are recorded in the content usage authorization certificate, and the service provider is content usage that satisfies the content usage conditions. The encrypted content key stored in the content usage right certificate is subjected to a determination process as to whether or not the content usage condition recorded in the content usage right certificate is satisfied. The decoding process is executed.

【0040】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記ユーザデバイス内のメモリ
には、前記コンテンツ利用権限証明書に格納された暗号
化コンテンツ鍵の復号用の鍵を格納したサービスプロバ
イダ毎の管理領域が設定登録され、ユーザデバイスは、
前記復号用の鍵を適用して、前記コンテンツ利用権限証
明書に格納された暗号化コンテンツ鍵の復号化処理を実
行してコンテンツ鍵:Kcを取得することを特徴とす
る。
Further, in an embodiment of the content usage management method of the present invention, a service in which a key for decrypting the encrypted content key stored in the content usage authorization certificate is stored in the memory in the user device. The management area for each provider is set and registered, and the user device
It is characterized in that the decryption key is applied to execute the decryption processing of the encrypted content key stored in the content usage right certificate to obtain the content key: Kc.

【0041】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記ユーザデバイス内のメモリ
には、前記コンテンツ利用権限証明書に格納された暗号
化コンテンツ鍵の復号用の鍵として、サービスプロバイ
ダ対応秘密鍵を格納したサービスプロバイダ毎の管理領
域が設定登録され、前記コンテンツ利用権限証明書に格
納された暗号化コンテンツ鍵は、前記サービスプロバイ
ダ対応秘密鍵に対応して生成された公開鍵によって暗号
化された暗号化コンテンツ鍵であり、前記ユーザデバイ
スは、前記サービスプロバイダ対応秘密鍵を適用して、
前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵の復号化処理を実行してコンテンツ鍵:Kcを
取得することを特徴とする。
Furthermore, in one embodiment of the content usage management method of the present invention, the memory in the user device has a service provider as a key for decrypting the encrypted content key stored in the content usage authorization certificate. The management area for each service provider storing the corresponding private key is set and registered, and the encrypted content key stored in the content usage right certificate is encrypted by the public key generated corresponding to the service provider corresponding private key. An encrypted encrypted content key, wherein the user device applies the service provider compatible private key,
The content key: Kc is obtained by executing the decryption process of the encrypted content key stored in the content usage right certificate.

【0042】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記ユーザデバイス内のメモリ
には、サービスプロバイダとの相互認証に必要な認証処
理適用データを格納したサービスプロバイダ毎の管理領
域が設定登録され、ユーザデバイスは、前記認証処理適
用データを取得してサービスプロバイダとの認証を実行
し、前記コンテンツ利用権限証明書を前記サービスプロ
バイダに送付して、サービスプロバイダによる暗号化コ
ンテンツ鍵の復号化処理によりコンテンツ鍵:Kcを取
得することを特徴とする。
Further, in one embodiment of the content use management method of the present invention, the memory in the user device has a management area for each service provider, which stores authentication processing application data necessary for mutual authentication with the service provider. The user device, which has been set and registered, acquires the authentication processing application data, authenticates with the service provider, sends the content usage authorization certificate to the service provider, and decrypts the encrypted content key by the service provider. The content key: Kc is obtained by the encryption processing.

【0043】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記コンテンツ利用権限証明書
に格納された暗号化コンテンツ鍵は、サービスプロバイ
ダの保有する共通鍵方式の鍵によって暗号化された暗号
化コンテンツ鍵であり、前記サービスプロバイダは、ユ
ーザデバイスから、前記コンテンツ利用権限証明書を受
信し、受信したコンテンツ利用権限証明書に格納された
暗号化コンテンツ鍵に対して、前記サービスプロバイダ
の保有する共通鍵方式の鍵を適用した復号化処理を実行
することによりコンテンツ鍵:Kcを取得し、取得した
コンテンツ鍵:Kcをユーザデバイスに送付することを
特徴とする。
Further, in one embodiment of the content usage management method of the present invention, the encrypted content key stored in the content usage authorization certificate is encrypted by a common key system key held by the service provider. Encrypted content key, the service provider receives the content usage right certificate from the user device, and the service provider holds the encrypted content key stored in the received content usage right certificate. The content key: Kc is acquired by executing the decryption process to which the key of the common key system is applied, and the acquired content key: Kc is sent to the user device.

【0044】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記コンテンツ利用権限証明書
は、コンテンツ利用条件として、サービスプロバイダに
おける利用権限判定処理を必須条件とするオンライン利
用処理、または、サービスプロバイダにおける利用権限
判定処理を不要とするオフライン利用処理のいずれかを
設定したデータを有し、ユーザデバイスはコンテンツ利
用に際して、前記コンテンツ利用権限証明書に記録され
たコンテンツ利用条件としてのオンライン利用またはオ
フライン利用を選択的に実行することを特徴とする。
Furthermore, in one embodiment of the content usage management method of the present invention, the content usage authorization certificate is an online usage processing or service that requires usage authorization judgment processing at a service provider as a content usage requirement. The user device has data in which any one of offline usage processing that does not require usage authority determination processing is set, and the user device uses online or offline as content usage conditions recorded in the content usage certificate when using the content. It is characterized in that usage is selectively executed.

【0045】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記コンテンツ利用権限証明書
は、コンテンツ利用条件として、コンテンツ利用期間を
制限した期間制限、コンテンツ利用回数を制限した回数
制限、利用制限の無い買い切りのいずれかを設定したデ
ータを有し、ユーザデバイスはコンテンツ利用に際し
て、前記コンテンツ利用権限証明書に記録されたコンテ
ンツ利用条件としての期間制限、または回数制限、また
は買い切りに応じて、コンテンツ利用が利用条件を満足
するか否かの判定処理を実行し、利用条件を満足するこ
とを条件として前記コンテンツ利用権限証明書に格納さ
れた暗号化コンテンツ鍵の復号化処理を実行してコンテ
ンツ鍵:Kcを取得することを特徴とする。
Further, in one embodiment of the content usage management method of the present invention, the content usage authorization certificate includes, as content usage conditions, a term restriction that limits the content usage period, a frequency restriction that limits the number of times of content usage, and usage. Having any of the data set to unlimited purchase, the user device, when using the content, the period limit as the content use condition recorded in the content use authority certificate, or the number of times limit, or according to the purchase, Content is executed by determining whether the content usage satisfies the usage condition, and decrypting the encrypted content key stored in the content usage right certificate is executed on condition that the usage condition is satisfied. The key is to obtain Kc.

【0046】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記コンテンツ利用権限証明書
は、該コンテンツ利用権限証明書の発行エンティテイの
電子署名が付加された構成であり、前記コンテンツ利用
権限証明書内の暗号化コンテンツ鍵の復号化処理は、前
記電子署名の検証によりデータ改竄のないことの確認を
条件として実行することを特徴とする。
Further, in an embodiment of the content usage management method of the present invention, the content usage authority certificate is a structure to which an electronic signature of the issuing entity of the content usage authority certificate is added. The decryption process of the encrypted content key in the certificate is executed on condition that the verification of the electronic signature confirms that there is no data tampering.

【0047】さらに、本発明のコンテンツ利用管理方法
の一実施態様において、前記コンテンツ利用権限証明書
は、該コンテンツ利用権限証明書に対応する公開鍵証明
書に関するリンク情報を格納した構成であり、前記コン
テンツ利用権限証明書内の暗号化コンテンツ鍵の復号化
処理は、前記リンク情報によって取得される公開鍵証明
書の検証により、該コンテンツ利用権限証明書の正当性
確認を条件として実行することを特徴とする。
Further, in an embodiment of the content usage management method of the present invention, the content usage authorization certificate has a configuration in which link information regarding a public key certificate corresponding to the content usage authorization certificate is stored. The decryption process of the encrypted content key in the content usage right certificate is executed on condition that the validity of the content usage right certificate is confirmed by the verification of the public key certificate acquired by the link information. And

【0048】さらに、本発明の第4の側面は、暗号化コ
ンテンツの復号化処理によるコンテンツ利用の管理を行
なうコンテンツ利用管理処理をコンピュータ・システム
上で実行せしめるコンピュータ・プログラムであって、
サービスプロバイダからコンテンツ利用権限証明書を受
信するステップと、前記コンテンツ利用権限証明書に格
納された暗号化コンテンツ鍵に対するユーザデバイス内
の格納鍵を適用した復号化処理、または前記サービスプ
ロバイダにおける復号化処理のいずれかの復号化処理を
実行してコンテンツ鍵:Kcを取得するステップと、取
得したコンテンツ鍵:Kcを適用した暗号化コンテンツ
の復号化処理を実行してコンテンツを取得するステップ
と、を有することを特徴とするコンピュータ・プログラ
ムにある。
Further, a fourth aspect of the present invention is a computer program for causing a computer system to execute a content use management process for managing content use by decrypting an encrypted content,
A step of receiving a content usage right certificate from a service provider, a decryption processing applying a storage key in a user device to an encrypted content key stored in the content usage right certificate, or a decryption processing in the service provider And performing a decryption process to obtain the content key: Kc, and performing a decryption process on the encrypted content to which the obtained content key: Kc is applied to obtain the content. It is in a computer program characterized by that.

【0049】なお、本発明のコンピュータ・プログラム
は、例えば、様々なプログラム・コードを実行可能なコ
ンピュータ・システムに対して、コンピュータ可読な形
式で提供する記憶媒体、通信媒体、例えば、CDやF
D、MOなどの記録媒体、あるいは、ネットワークなど
の通信媒体によって提供可能なコンピュータ・プログラ
ムである。このようなプログラムをコンピュータ可読な
形式で提供することにより、コンピュータ・システム上
でプログラムに応じた処理が実現される。
The computer program of the present invention is, for example, a storage medium or communication medium provided in a computer-readable format for a computer system capable of executing various program codes, such as a CD or F.
It is a computer program that can be provided by a recording medium such as D or MO or a communication medium such as a network. By providing such a program in a computer-readable format, processing according to the program is realized on the computer system.

【0050】本発明のさらに他の目的、特徴や利点は、
後述する本発明の実施例や添付する図面に基づくより詳
細な説明によって明らかになるであろう。なお、本明細
書においてシステムとは、複数の装置の論理的集合構成
であり、各構成の装置が同一筐体内にあるものには限ら
ない。
Still other objects, features and advantages of the present invention are as follows.
It will be clarified by a more detailed description based on embodiments of the present invention described below and the accompanying drawings. In this specification, the system is a logical set configuration of a plurality of devices, and is not limited to a device in which each configuration is provided in the same housing.

【0051】[0051]

【発明の実施の形態】[システム概要]図1に本発明の
コンテンツ利用管理システムにおける各エンティテイ、
および各エンティテイの処理の概要を説明する図を示
す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS [System Outline] FIG. 1 shows each entity in the content use management system of the present invention.
9A and 9B are diagrams illustrating an outline of processing of each entity.

【0052】ユーザデバイス101は、コンテンツを利
用する各ユーザの端末であり、具体的には、PC、ゲー
ム端末、DVD,CD等の再生装置、記録再生装置等で
ある。これらの端末には、後段で説明する暗号処理、コ
ンテンツ利用処理を制御する制御手段を備えた耐タンパ
構成のセキュリティチップが装着されている。コンテン
ツ配信エンティテイ(コンテンツディストリビュータ)
としてのサービスプロバイダ(SP−CD)102、そ
の他のエンティテイとユーザデバイス101間で実行さ
れるデータ転送等におけるユーザデバイス101側のセ
キュアな処理の多くは、セキュリティチップ内で制御、
実行される。
The user device 101 is a terminal of each user who uses the content, specifically, a PC, a game terminal, a reproducing device such as a DVD or a CD, a recording / reproducing device, or the like. These terminals are equipped with a tamper-proof security chip having control means for controlling encryption processing and content usage processing described later. Content distribution entity (content distributor)
Most of the secure processing on the user device 101 side in the data transfer executed between the user device 101 and the service provider (SP-CD) 102 as another entity is controlled in the security chip.
To be executed.

【0053】サービスプロバイダ(コンテンツディスト
リビュータ)(SP−CD)102は、セキュリティチ
ップを持つユーザデバイス101に対してコンテンツを
提供するサービスプロバイダである。コンテンツクリエ
ータ103は、サービスプロバイダ(コンテンツディス
トリビュータ)(SP−CD)102に対してサービス
に供するためのコンテンツを提供する。ユーザデバイス
製造者(Manufacturer)104は、ユーザデバイス10
1を製造するエンティテイである。
The service provider (content distributor) (SP-CD) 102 is a service provider that provides contents to the user device 101 having a security chip. The content creator 103 provides the service provider (content distributor) (SP-CD) 102 with the content to be used for the service. The user device manufacturer (Manufacturer) 104 is the user device 10
It is an entity that manufactures 1.

【0054】サポートセンタ105は、ユーザデバイス
101に装着されたユーザデバイスでの様々な処理に対
するサポートを実行するセンタであり、例えばユーザが
認証情報として利用するパスワードを忘れた場合のパス
ワードのリカバリ処理、あるいはユーザデバイスが生成
したコンテンツのバックアップデータを利用したリスト
ア(復旧)処理など、ユーザデバイスに対する様々なサ
ポート処理を実行する。認証局(CA:Certification
Authority)106は各エンティテイに対して公開鍵証
明書(PKC:Public Key Certificate)を発行する。
The support center 105 is a center for executing support for various processes in the user device attached to the user device 101. For example, a password recovery process when the user forgets the password used as the authentication information, Alternatively, various support processes for the user device are executed, such as a restore (recovery) process using backup data of the content generated by the user device. Certification Authority (CA)
Authority) 106 issues a public key certificate (PKC) to each entity.

【0055】なお、ユーザデバイス101、サービスプ
ロバイダ(コンテンツディストリビュータ)(SP−C
D)102、コンテンツクリエータ103、ユーザデバ
イス製造者(Manufacturer)104、サポートセンタ1
05、認証局(CA:Certification Authority)10
6、各エンティテイの数は任意である。特に、図1にお
いて、認証局(CA:Certification Authority)10
6を1つのみ示してあるが、認証局は、各エンティテイ
での処理に応じて必要となる公開鍵証明書を発行する複
数の認証局が存在してよい。
The user device 101, the service provider (content distributor) (SP-C)
D) 102, content creator 103, user device manufacturer (Manufacturer) 104, support center 1
05, Certification Authority (CA) 10
6. The number of each entity is arbitrary. In particular, in FIG. 1, a certification authority (CA) 10
Although only one 6 is shown, the certificate authority may include a plurality of certificate authorities that issue public key certificates necessary for processing in each entity.

【0056】ユーザデバイス101は、衛星通信、イン
ターネット通信、あるいはその他、有線、無線のデータ
通信ネットワークを介してサービスプロバイダ(コンテ
ンツディストリビュータ)102から暗号化されたコン
テンツを受信し、コンテンツを利用する。暗号化コンテ
ンツを復号するための鍵:コンテンツ鍵:Kcは暗号化
されてコンテンツ利用権限を示す権限情報証明書として
のコンテンツ利用権限証明書、例えば属性証明書(A
C:Attribute Certificate)110に格納されてお
り、ユーザ端末101がコンテンツを復号して利用する
ためには、サービスプロバイダ(コンテンツディストリ
ビュータ)102から属性証明書(AC:Attribute Ce
rtificate)110を受領し、セキュリティチップを持
つユーザデバイスにおいて属性証明書から鍵を取り出し
て復号することが必要となる。
The user device 101 receives the encrypted content from the service provider (content distributor) 102 via satellite communication, Internet communication, or other wired or wireless data communication network and uses the content. Key for decrypting encrypted content: Content key: Kc is encrypted and is a content usage right certificate as an authority information certificate indicating the content usage right, for example, an attribute certificate (A
C: Attribute Certificate) 110, and in order for the user terminal 101 to decrypt and use the content, an attribute certificate (AC: Attribute Ce) from the service provider (content distributor) 102.
rtificate) 110, the user device having the security chip needs to extract the key from the attribute certificate and decrypt it.

【0057】コンテンツ利用権限を示す権限情報証明書
としてのコンテンツ利用権限証明書、例えば属性証明書
(AC:Attribute Certificate)110には、暗号化
されたコンテンツ鍵:Kcの他に、コンテンツの利用制
限回数や利用期限など、コンテンツの利用制限情報が記
録されており、ユーザデバイス101は、コンテンツ利
用権限証明書としての属性証明書(AC)110に記録
されたコンテンツ利用制限に従ったコンテンツの利用が
可能となる。
In the content use authority certificate as an authority information certificate indicating the content use authority, for example, the attribute certificate (AC: Attribute Certificate) 110, in addition to the encrypted content key: Kc, content use restriction Content usage restriction information such as the number of times and the expiration date is recorded, and the user device 101 can use the content according to the content usage restriction recorded in the attribute certificate (AC) 110 as the content usage authorization certificate. It will be possible.

【0058】なお、以下、実施例の説明では、属性証明
書(AC:Attribute Certificate)110にコンテン
ツの利用情報、暗号化コンテンツ鍵を格納した構成とし
て説明するが、コンテンツの利用情報、暗号化コンテン
ツ鍵を格納した証明書は、いわゆる規定に従った属性証
明書(AC)に限らず、任意のデータフォーマットの証
明書として構成可能である。すなわちコンテンツの利用
権限を証明するデータを格納し、データ改竄検証のため
の発行エンティテイの署名データが付加された構成であ
れば、任意のデータ形式のコンテンツ利用権限証明書が
利用可能である。
In the following description of the embodiment, the attribute certificate (AC: Attribute Certificate) 110 stores the content usage information and the encrypted content key. However, the content usage information and the encrypted content key are stored. The certificate in which the key is stored is not limited to the attribute certificate (AC) according to the so-called regulation, but can be configured as a certificate of any data format. That is, if the configuration is such that data for certifying content usage authority is stored and signature data of the issuing entity for data tampering verification is added, a content usage authority certificate of any data format can be used.

【0059】なお、サービスプロバイダからユーザデバ
イスに対するコンテンツ配信あるいは属性証明書(A
C:Attribute Certificate)の配信形態としては、ユ
ーザ側からサービスプロバイダに対する要求に基づいて
実行される形態と、ユーザの要求の有無に関係なく例え
ばサブスクライバ契約を結んでいるユーザに対して、サ
ービスプロバイダから一方的に送信するいわゆるプッシ
ュ型の形態(プッシュ型モデル)のいずれの形態も可能で
ある。
The content distribution from the service provider to the user device or the attribute certificate (A
C: Attribute Certificate) is distributed based on the request from the user to the service provider, and from the service provider to the user who has a subscriber contract regardless of the user's request. Any form of so-called push type (push type model) of unilaterally transmitting is possible.

【0060】図1で示す各エンティテイ中、認証局10
6以外のエンティテイ、すなわちユーザデバイス10
1、サービスプロバイダ(コンテンツディストリビュー
タ)(SP−CD)102、コンテンツクリエータ10
3、およびユーザデバイス製造者(Manufacturer)10
4、サポートセンタ105のエンティテイは、所定のル
ールに従ってコンテンツ利用、コンテンツ配信を可能と
するため、各エンティテイでの処理を所定のルールに従
って実行する。このルールを設定し、管理するエンティ
テイとして図示しないシステムホルダ(SH:System Ho
lder)がある。図1の101〜105の各エンティテイ
は、システムホルダ(SH)の設定したコンテンツ利用
インフラ、ルールの下で各エンティテイでの処理を実行
する。
During each entity shown in FIG. 1, the certificate authority 10
Entities other than 6, ie user device 10
1. Service provider (content distributor) (SP-CD) 102, content creator 10
3 and user device manufacturer (Manufacturer) 10
4. The support center 105 entity executes the processing in each entity according to a predetermined rule in order to use and distribute the content according to the predetermined rule. As an entity for setting and managing this rule, a system holder (SH: System Ho
lder). Each of the entities 101 to 105 in FIG. 1 executes the process in each entity under the content use infrastructure and rules set by the system holder (SH).

【0061】例えばユーザデバイス製造者(Manufactur
er)104は、製造するユーザデバイス内の耐タンパ構
成を持つセキュリティチップ内に、コンテンツ配信にお
いて適用するデバイス識別子(ID)、および各種の暗
号処理鍵を格納する。ユーザデバイス101、サービス
プロバイダ(コンテンツディストリビュータ)102、
コンテンツクリエータ(CC)103、サポートセンタ
105間でのコンテンツ転送、属性証明書の転送、その
他のデータ転送処理においては、システムホルダ(S
H)の設定したルールに基づいて、例えば相互認証処
理、データ暗号化処理を実行する。
For example, a user device manufacturer (Manufactur
er) 104 stores a device identifier (ID) applied in content distribution and various cryptographic processing keys in a security chip having a tamper resistant structure in a user device to be manufactured. User device 101, service provider (content distributor) 102,
In content transfer between the content creator (CC) 103 and the support center 105, attribute certificate transfer, and other data transfer processing, the system holder (S
For example, mutual authentication processing and data encryption processing are executed based on the rule set in H).

【0062】また、ユーザデバイス101におけるコン
テンツ利用に際しては、属性証明書に記録された利用制
限を遵守したコンテンツ利用を実行する。例えば回数制
限の設定されたコンテンツの利用に際してデバイス内の
セキュリティチップの制御部の制御の下に、コンテンツ
利用可能回数を係数するカウンタを更新する処理等を実
行する。このような各エンティテイでの処理のルールを
規定したプラットホームを構築し、管理するエンティテ
イがシステムホルダ(SH)である。
When using the content in the user device 101, the content is used in compliance with the usage restrictions recorded in the attribute certificate. For example, under the control of the control unit of the security chip in the device when using the content for which the number of times limitation is set, a process of updating a counter that counts the number of times the content can be used is executed. The system holder (SH) is an entity that constructs and manages the platform that defines the processing rules of each entity.

【0063】[公開鍵証明書,属性証明書]図1の構成
において利用される公開鍵証明書、属性証明書につい
て、その概要を説明する。
[Public Key Certificate, Attribute Certificate] The public key certificate and attribute certificate used in the configuration of FIG. 1 will be briefly described.

【0064】(公開鍵証明書(PKC))公開鍵証明書
について図2,図3、図4を用いて説明する。公開鍵証
明書は、認証局(CA:Certification Authority)が
発行する証明書であり、ユーザ、各エンティテイが自己
のID、公開鍵等を認証局に提出することにより、認証
局側が認証局のIDや有効期限等の情報を付加し、さら
に認証局による署名を付加して作成される証明書であ
る。
(Public Key Certificate (PKC)) The public key certificate will be described with reference to FIGS. 2, 3 and 4. The public key certificate is a certificate issued by a certification authority (CA), and the user and each entity submit their own ID, public key, etc. to the certification authority so that the certification authority side can identify the certification authority ID. The certificate is created by adding information such as the expiration date and the expiration date, and also by adding a signature from the certificate authority.

【0065】公開鍵証明書のフォーマット例を図2〜図
4に示す。これは、公開鍵証明書フォーマットITU−
T X.509に準拠した例である。
Format examples of the public key certificate are shown in FIGS. This is the public key certificate format ITU-
T X. This is an example based on 509.

【0066】バージョン(version)は、証明書フォー
マットのバージョンを示す。シリアルナンバ(Serial N
umber)は、公開鍵証明書発行局(CA)によって設定
される公開鍵証明書のシリアルナンバである。シグネチ
ャ(Signature)は、証明書の署名アルゴリズムであ
る。なお、署名アルゴリズムとしては、楕円曲線暗号お
よびRSAがあり、楕円曲線暗号が適用されている場合
はパラメータおよび鍵長が記録され、RSAが適用され
ている場合には鍵長が記録される。発行者(issuer)
は、公開鍵証明書の発行者、すなわち公開鍵証明書発行
局(IA)の名称が識別可能な形式(Distinguished Na
me)で記録されるフィールドである。有効期限(validit
y)は、証明書の有効期限である開始日時、終了日時が記
録される。サブジェクト公開鍵情報(subject Public Ke
y Info)は、証明書所有者の公開鍵情報として鍵のアル
ゴリズム、鍵が格納される。
The version indicates the version of the certificate format. Serial N
umber) is the serial number of the public key certificate set by the public key certificate issuing authority (CA). Signature is a signature algorithm of a certificate. Note that there are elliptic curve cryptography and RSA as the signature algorithm, and the parameter and the key length are recorded when the elliptic curve cryptography is applied, and the key length is recorded when the RSA is applied. Issuer
Is a format in which the name of the issuer of the public key certificate, that is, the name of the public key certificate issuing authority (IA) can be identified (Distinguished Na
It is a field recorded by me). Expiration date
In y), the start date and time and the end date and time, which are the expiration dates of the certificate, are recorded. Subject public key information
y Info) stores the key algorithm and key as the public key information of the certificate holder.

【0067】証明局鍵識別子(authority Key Identifi
er−key Identifier、authority Cert Issuer、authori
ty Cert Serial Number)は、署名検証に用いる証明書
発行者の鍵を識別する情報であり、鍵識別子、機関証明
書発行者の名称、機関証明書シリアル番号を格納する。
サブジェクト鍵識別子(subject key Identifier)は、
複数の鍵を公開鍵証明書において証明する場合に各鍵を
識別するための識別子を格納する。鍵使用目的(key us
age)は、鍵の使用目的を指定するフィールドであり、
(0)ディジタル署名用、(1)否認防止用、(2)鍵
の暗号化用、(3)メッセージの暗号化用、(4)共通
鍵配送用、(5)認証の署名確認用、(6)失効リスト
の署名確認用の各使用目的が設定される。秘密鍵有効期
限(private Key Usage Period)は、証明書に格納した公
開鍵に対応する秘密鍵の有効期限を記録する。認証局ポ
リシー(certificate Policies)は、公開鍵証明書発行
者の証明書発行ポリシーを記録する。例えばISO/I
EC9384−1に準拠したポリシーID、認証基準で
ある。ポリシー・マッピング(policy Mapping)は、認
証パス中のポリシー関係の制限に関する情報を格納する
フィールドであり、認証局(CA)証明書にのみ必要と
なる。サブジェクト別名(subject Alt Name)は、証明
書所有者の別名を記録するフィールドである。発行者別
名(issuer Alt Name)は、証明書発行者の別名を記録
するフィールドである。サブジェクト・ディレクトリ・
アトリビュート(subject Directory Attribute)は、
証明書所有者のために必要とされるディレクトリの属性
を記録するフィールドである。基本制約(basic Constr
aint)は、証明対象の公開鍵が認証局(CA)の署名用
か、証明書所有者のものかを区別するためのフィールド
である。許容サブツリー制約名(name Constraints per
mitted Subtrees)は、発行者が発行する証明書の名前
の制限情報を格納するフィールドである。制約ポリシー
(policy Constraints)は、認証パス中のポリシーの関
係の制限情報を格納するフィールドである。CRL参照
ポイント(Certificate Revocation List Distribution
Points)は、証明書所有者が証明書を利用する際に、
証明書が失効していないか、どうかを確認するための失
効リストの参照ポイントを記述するフィールドである。
署名アルゴリズム(Signature Algotithm)は、証明書
の署名付けに用いるアルゴリズムを格納するフィールド
である。署名は、公開鍵証明書発行者の署名フィールド
である。電子署名は、証明書全体に対しハッシュ関数を
適用してハッシュ値を生成し、そのハッシュ値に対して
発行者の秘密鍵を用いて生成したデータである。署名付
けやハッシュをとるだけでは改竄は可能であるが、検出
できれば実質的に改竄できないことと同様の効果があ
る。
Certificate Authority Key Identifier
er−key Identifier, authority Cert Issuer, authori
ty Cert Serial Number) is information that identifies the key of the certificate issuer used for signature verification, and stores the key identifier, the name of the issuer of the institutional certificate, and the serial number of the institutional certificate.
The subject key identifier is
Stores an identifier for identifying each key when certifying multiple keys in a public key certificate. Purpose of key usage (key us
age) is a field that specifies the purpose of use of the key,
(0) Digital signature, (1) Non-repudiation, (2) Key encryption, (3) Message encryption, (4) Common key delivery, (5) Authentication signature confirmation, ( 6) Each purpose of use for signature confirmation of the revocation list is set. The private key usage period records the expiration date of the private key corresponding to the public key stored in the certificate. The Certificate Policies record the certificate issuing policy of the public key certificate issuer. For example ISO / I
It is a policy ID and authentication standard based on EC9384-1. The policy mapping is a field that stores information regarding policy-related restrictions in the certification path, and is required only for a certificate authority (CA) certificate. The subject alternative name (subject Alt Name) is a field for recording the alternative name of the certificate owner. The issuer alias (issuer Alt Name) is a field for recording the alias of the certificate issuer. Subject directory
The attribute (subject Directory Attribute) is
A field that records the attributes of the directory needed for the certificate owner. Basic constraints
aint) is a field for distinguishing whether the public key to be certified is for the signature of the certificate authority (CA) or for the certificate owner. Allowable subtree constraint names (name Constraints per
Committed Subtrees) is a field for storing restriction information on the name of the certificate issued by the issuer. The constraint policy (policy Constraints) is a field that stores the constraint information of the relationship between the policies in the authentication path. CRL Reference Point (Certificate Revocation List Distribution
Points), when the certificate holder uses the certificate,
This is a field that describes the reference point of the revocation list for confirming whether the certificate has been revoked.
Signature algorithm (Signature Algotithm) is a field that stores an algorithm used for signing a certificate. The signature is the signature field of the public key certificate issuer. The electronic signature is data generated by applying a hash function to the entire certificate to generate a hash value and using the private key of the issuer for the hash value. It is possible to tamper with just by adding a signature or hashing, but if it can be detected, it has the same effect as being virtually untamperable.

【0068】認証局は、図2〜図4に示す公開鍵証明書
を発行するとともに、有効期限が切れた公開鍵証明書を
更新し、不正を行った利用者の排斥を行うための失効リ
スト(Revocation List)の作成、管理、配布(これを
リボケーション:Revocationと呼ぶ)を行う。また、必
要に応じて公開鍵・秘密鍵の生成も行う。
The certificate authority issues the public key certificate shown in FIGS. 2 to 4, updates the expired public key certificate, and revokes a list of revoked users who have committed fraud. (Revocation List) is created, managed, and distributed (this is called revocation: Revocation). It also generates public and private keys as needed.

【0069】一方、この公開鍵証明書を利用する際に
は、利用者は自己が保持する認証局の公開鍵を用い、当
該公開鍵証明書の電子署名を検証し、電子署名の検証に
成功した後に公開鍵証明書から公開鍵を取り出し、当該
公開鍵を利用する。従って、公開鍵証明書を利用する全
ての利用者は、共通の認証局の公開鍵を保持している必
要がある。
On the other hand, when using this public key certificate, the user verifies the electronic signature of the public key certificate using the public key of the certificate authority held by the user and succeeds in verifying the electronic signature. After that, the public key is extracted from the public key certificate and the public key is used. Therefore, all users who use the public key certificate must hold the public key of the common certificate authority.

【0070】(属性証明書(AC))属性証明書につい
て図5を用いて説明する。属性証明書には大きく分けて
2つの種類があり、1つは、コンテンツの利用権といっ
た権利や権限に関する所有者の属性情報を含む証明書で
ある。もう1つは、サービスプロバイダ(SP)用領域
確保または削除用属性証明書(AC)であり、ユーザデ
バイス内のメモリにサービスプロバイダ(SP)用情報
格納領域を確保または削除する場合の領域確保または削
除の許諾情報を含む属性証明書(AC)である。
(Attribute Certificate (AC)) The attribute certificate will be described with reference to FIG. There are roughly two types of attribute certificates, and one is a certificate that includes the attribute information of the owner regarding the right and authority such as content usage right. The other is a service provider (SP) area securing or deleting attribute certificate (AC), which secures or deletes a service provider (SP) information storage area in the memory of the user device. It is an attribute certificate (AC) including deletion permission information.

【0071】属性証明書フォーマットはITU-T X.509で
規定されており,IETF PKIX WGでProfileを策定してい
る。公開鍵証明書とは異なり所有者の公開鍵を含まな
い。しかし属性証明書認証局(Attribute Certificate A
uthority)の署名がついているため、改竄されていない
かどうかの判定はこの署名を検証することで行える、と
いう点は公開鍵証明書と同様である。
The attribute certificate format is defined by ITU-T X.509, and the IETF PKIX WG defines the Profile. Unlike the public key certificate, it does not include the owner's public key. However, Attribute Certificate A
It is the same as a public key certificate in that it can be judged whether it has been tampered with by verifying this signature because it has a signature of (uthority).

【0072】本発明の構成においては、属性証明書(A
C)の発行管理を行なう属性証明書認証局(Attribute C
ertificate Authority)は、サービスプロバイダ(コン
テンツディストリビュータ)(SP−CD)102が兼
務することが可能である。別の構成としてもよい。属性
証明書は常に公開鍵証明書と関連づけて利用する。すな
わち所有者の本人性自体は公開鍵証明書で確認し、その
上で所有者にいかなる権限が与えられているかのみを示
すものが属性証明書である。属性証明書の検証にあたっ
ては,当該証明書の署名検証を行った後、それに関連づ
けられている公開鍵証明書の検証も行う。
In the configuration of the present invention, the attribute certificate (A
C) Issuing management of Attribute Certificate Authority (Attribute C
The service provider (content distributor) (SP-CD) 102 can also serve as an ertificate authority. It may be configured differently. The attribute certificate is always used in association with the public key certificate. That is, the identity of the owner is confirmed by the public key certificate, and the attribute certificate shows only what authority the owner has. When verifying the attribute certificate, the signature of the certificate is verified and then the public key certificate associated with it is also verified.

【0073】なお、その際、原則的には証明書連鎖をた
どって最上位の公開鍵証明書まで順に検証を実施するこ
とが好ましい。複数の認証局(CA)が存在し、階層構
成をなす認証局構成では、下位の認証局自身の公開鍵証
明書は、その公開鍵証明書を発行する上位認証局によっ
て署名されている。すなわち、下層の公開鍵証明書発行
局(CA−Low)に対して上位の公開鍵証明書発行局
(CA−High)が公開鍵証明書を発行するという連
鎖的な公開鍵証明書発行構成をとる。公開鍵証明書の連
鎖検証とは、下位から上位へ証明書連鎖をたどって最上
位の公開鍵証明書までの連鎖情報を取得して、最上位
(ル−トCA)までの公開鍵証明書の署名検証を行なう
ことを意味する。
At that time, in principle, it is preferable to carry out the verification in sequence up to the highest public key certificate following the certificate chain. In a hierarchical certificate authority configuration in which there are a plurality of certificate authorities (CAs), the public key certificate of the lower certificate authority itself is signed by the higher certificate authority that issues the public key certificate. That is, a chained public key certificate issuing configuration in which the upper public key certificate issuing authority (CA-High) issues a public key certificate to the lower layer public key certificate issuing authority (CA-Low). To take. Chain verification of public key certificates is the chain of public key certificates up to the highest level (root CA) obtained by tracing the certificate chain from the lower level to the higher level to obtain chain information up to the highest level public key certificate. Means to verify the signature of.

【0074】属性証明書の有効期間を短期間とすること
により、失効処理を行わないことも可能である。この場
合、証明書の失効手続きや失効情報の参照手順等を省く
ことができ、システムが簡易となる長所がある。ただし
証明書の不正利用に対しては失効以外の何らかの対策が
必要となるため、十分に注意しなければならない。本認
証システムにおいては、コンテンツに対する利用権限の
他に、コンテンツを復号するためのコンテンツ鍵を属性
証明書に埋め込んでおく構成であるので、正当なコンテ
ンツ利用権限のあるユーザデバイスは、正当な属性証明
書を受領することにより、コンテンツを利用可能であ
る。
By making the validity period of the attribute certificate short, it is possible not to perform the revocation process. In this case, it is possible to omit the certificate revocation procedure, the revocation information reference procedure, and the like, which has the advantage of simplifying the system. However, it is necessary to take sufficient precautions against illegal use of certificates, as some measures other than revocation are required. In this authentication system, in addition to the authority to use the content, the content key for decrypting the content is embedded in the attribute certificate. The content is available by receiving the document.

【0075】図5に示す属性証明書の構成について説明
する。証明書のバージョン番号は、証明書フォーマット
のバージョンを示す。AC保持者の公開鍵証明書情報、
これは属性証明書(AC)の発行者に対応する公開鍵証
明書(PKC)に関する情報であり、PKC発行者名、
PKCシリアル番号、PKC発行者固有識別子等の情報
であり、対応公開鍵証明書を関連づけるリンクデータと
しての機能を持つ。属性証明書の発行者の名前は、属性
証明書の発行者、すなわち属性証明書認証局(AA)の
名称が識別可能な形式(Distinguished Name)で記録さ
れるフィールドである。署名アルゴリズム識別子は、属
性証明書の署名アルゴリズム識別子を記録するフィール
ドである。証明書の有効期限は、証明書の有効期限であ
る開始日時、終了日時が記録される。属性情報フィール
ドは、属性証明書の利用形態に応じて、(1)メモリ領
域確保、削除情報、または、(2)コンテンツ利用条件
関連情報のいずれかが格納される。コンテンツ利用条件
関連情報には、暗号化されたコンテンツ鍵を含む。
The structure of the attribute certificate shown in FIG. 5 will be described. The certificate version number indicates the version of the certificate format. AC holder public key certificate information,
This is information about the public key certificate (PKC) corresponding to the issuer of the attribute certificate (AC), the PKC issuer name,
It is information such as a PKC serial number and a PKC issuer unique identifier, and has a function as link data for associating a corresponding public key certificate. The name of the issuer of the attribute certificate is a field in which the name of the issuer of the attribute certificate, that is, the name of the attribute certificate authentication authority (AA) is recorded in a distinguishable format (Distinguished Name). The signature algorithm identifier is a field for recording the signature algorithm identifier of the attribute certificate. As the certificate expiration date, the start date and time and the end date and time, which are the certificate expiration date, are recorded. The attribute information field stores either (1) memory area reservation, deletion information or (2) content usage condition related information, depending on the usage form of the attribute certificate. The content usage condition related information includes an encrypted content key.

【0076】(1)メモリ領域確保、削除情報は、サー
ビスプロバイダがユーザデバイスのセキュリティチップ
内のメモリにサービスプロバイダ毎の管理領域を登録設
定、または削除処理を目的として発行される属性証明書
に記録される。記録情報は、例えば以下の情報である。 サービスプロバイダ識別子(ID) サービスプロバイダ・ネーム 処理:メモリ領域確保、メモリ領域削除のいずれか 領域サイズ:メモリ領域のサイズ
(1) Memory area reservation / deletion information is recorded in an attribute certificate issued for the purpose of registering or setting a management area for each service provider in the memory in the security chip of the user device by the service provider or deleting the information. To be done. The record information is, for example, the following information. Service provider identifier (ID) Service provider name processing: Memory area secured or memory area deleted Either area size: Memory area size

【0077】サービスプロバイダは、上記各項目を属性
情報フィールドに格納した属性証明書をユーザデバイス
に対して送付し、ユーザデバイスは属性証明書の検証の
後、自己のセキュリティチップ内のメモリに、受信した
属性証明書の属性情報フィールドの記録に従ったメモリ
領域の確保処理、または確保済みのメモリ領域の削除処
理を実行する。
The service provider sends an attribute certificate in which the above items are stored in the attribute information field to the user device, and after the user device verifies the attribute certificate, the user device receives it in the memory in its own security chip. The memory area securing process or the secured memory region deleting process is executed according to the recording of the attribute information field of the attribute certificate.

【0078】(2)コンテンツ利用条件関連情報は、サ
ービスプロバイダの提供するコンテンツに対応して発行
される属性証明書の属性情報フィールドに格納する情報
であり、コンテンツの利用制限回数、利用期限等の様々
な利用条件を含み、さらにコンテンツを暗号化したコン
テンツ鍵の暗号化データを含む。記録情報は、例えば以
下の情報である。 サービスプロバイダ識別子(ID) サービスプロバイダ・ネーム アプリケーション識別子(ID):コンテンツの識別情
報である。 条件:オンライン利用コンテンツか、オフライン利用コ
ンテンツか、さらに、買い切りコンテンツ、期間制限コ
ンテンツ、オンライン回数制限コンテンツ、オフライン
回数制限コンテンツのいずれであるかを示す情報であ
る。 有効期限:期間制限の場合の有効期限情報 利用制限回数:回数制限の場合の利用可能回数 支払条件:コンテンツの対価の支払条件を記録 コンテンツ鍵:暗号化されたコンテンツ鍵を暗号化アル
ゴリズム情報とともに格納
(2) The content usage condition related information is information stored in the attribute information field of the attribute certificate issued corresponding to the content provided by the service provider, such as the number of times of usage limitation of the content and the usage deadline. It includes various usage conditions and further includes encrypted data of a content key obtained by encrypting the content. The record information is, for example, the following information. Service Provider Identifier (ID) Service Provider Name Application Identifier (ID): Content identification information. Condition: This is information indicating whether the content is an online usage content, an offline usage content, a purchased content, a period limited content, an online number limited content, or an offline number limited content. Expiration date: Expiration date information when the period is limited Number of times usage is limited: Number of times when the number of times is limited Payment conditions: Record payment conditions for content consideration Content key: Store encrypted content key with encryption algorithm information

【0079】コンテンツの利用態様には、上記条件フィ
ールドに記載のように、(1)オンライン利用か、
(2)オフライン利用かの区別と、(a)コンテンツを
買い切りし、買い切り以後のコンテンツ利用をフリーと
する態様、(b)期間制限を設けてコンテンツの利用期
間を設定した態様、(c)回数制限を設けてコンテンツ
の利用回数を制限した態様の各態様がある。また期間制
限と回数制限の両制限を伴うコンビネーション制限態様
もある。ユーザデバイスでは、属性証明書に記録された
これらの態様に従ってコンテンツの利用が実行される。
これらの具体的な処理態様については、後段で説明す
る。
As to the usage mode of the content, as described in the above condition field, (1) online usage,
(2) Distinguishing whether to use offline, (a) a mode in which content is bought out and content usage after purchase is free, (b) a mode in which a content use period is set by setting a period limit, and (c) the number of times There are various modes of restricting the number of times the content is used. There is also a combination restriction mode involving both a time restriction and a frequency restriction. In the user device, the content is used according to these aspects recorded in the attribute certificate.
These specific processing modes will be described later.

【0080】また、暗号化コンテンツの復号鍵として適
用するコンテンツ鍵:Kcを暗号化した暗号化コンテン
ツ鍵が格納される。コンテンツ鍵:Kcの暗号化処理に
直接あるいは間接的に適用する鍵の主な種類は以下に示
す通りである。 (a)ユーザデバイスのセキュリティチップの各サービ
スプロバイダ管理領域に格納されたSP対応ストレージ
秘密鍵に対応するサービスプロバイダ(SP)対応スト
レージ公開鍵:SC.Stopub.SP.K、(公開
鍵方式) (b)ユーザデバイスのセキュリティチップの各サービ
スプロバイダ管理領域に格納されたSP対応ストレージ
鍵(共通鍵方式) (c)サービスプロバイダの保有する秘密鍵:SP.S
to.K (d)システムホルダ(SH)とユーザデバイスで共有
する鍵として生成されるグローバル共通鍵:Kg これらの鍵を適用した処理については後段で詳細に説明
する。
Further, an encrypted content key obtained by encrypting a content key Kc applied as a decryption key for encrypted content is stored. The main types of keys that are directly or indirectly applied to the encryption processing of the content key: Kc are as follows. (A) Service provider (SP) compatible storage public key corresponding to the SP compatible storage private key stored in each service provider management area of the security chip of the user device: SC. Stoppub. SP. K, (public key method) (b) SP compatible storage key stored in each service provider management area of the security chip of the user device (common key method) (c) Private key held by the service provider: SP. S
to. K (d) Global common key generated as a key shared by the system holder (SH) and the user device: Kg The process to which these keys are applied will be described in detail later.

【0081】属性証明書には、さらに、署名アルゴリズ
ムが記録され、属性証明書発行者である属性証明書認証
局(AA)によって署名が施される。電子署名は、属性
証明書全体に対しハッシュ関数を適用してハッシュ値を
生成し、そのハッシュ値に対して属性証明書発行者(A
A)の秘密鍵を用いて生成したデータである。
The attribute certificate further has a signature algorithm recorded therein, and is signed by the attribute certificate authority (AA) which is the issuer of the attribute certificate. The digital signature applies a hash function to the entire attribute certificate to generate a hash value, and the attribute certificate issuer (A
This is data generated using the secret key of A).

【0082】[セキュリティチップ構成]次にコンテン
ツを利用する情報処理装置としてのユーザデバイス内に
構成されるセキュリティチップの構成について、図6を
参照しながら説明する。なお、ユーザデバイスは、デー
タ処理手段としてのCPU、通信機能を備えたPC、ゲ
ーム端末、DVD,CD等の再生装置、記録再生装置等
によって構成されるものであり、これらのユーザデバイ
スの中に耐タンパ構造を持つセキュリティチップが実装
されることになる。ユーザデバイス自体の構成例は本明
細書の末尾において説明する。セキュリティチップを持
つユーザデバイスは、図1におけるユーザデバイス製造
者104において製造される。
[Security Chip Configuration] Next, the configuration of the security chip formed in the user device as the information processing apparatus using the contents will be described with reference to FIG. The user device is constituted by a CPU as a data processing unit, a PC having a communication function, a game terminal, a reproducing device such as a DVD and a CD, a recording / reproducing device, and the like. A security chip having a tamper resistant structure will be mounted. An example configuration of the user device itself is described at the end of this specification. The user device having the security chip is manufactured by the user device manufacturer 104 in FIG.

【0083】図6に示すように、ユーザデバイス200
には、セキュリティチップ210が、ユーザデバイス側
制御部221に対して、相互にデータ転送可能な構成と
して内蔵される。セキュリティチップ210は、プログ
ラム実行機能、演算処理機能を持つCPU(Central Pr
ocessing Unit)201を有し、データ通信用のインタ
フェース機能を持つ通信インタフェース202、CPU
201によって実行される各種プログラム、例えば暗号
処理プログラム、デバイスの製造時に格納されるマスタ
ー鍵:Kmなどを記憶するROM(Read Only Memory)
203、実行プログラムのロード領域、また、各プログ
ラム処理におけるワーク領域として機能するRAM(Ra
ndom Access Memory)204、外部機器との認証処理、
電子署名の生成、検証処理、格納データの暗号化、復号
化処理等の暗号処理を実行する暗号処理部205、前述
したサービスプロバイダ毎の情報、各種鍵データを含む
デバイスの固有情報を格納した例えばEEPROM(Ele
ctrically Erasable Programmable ROM)によって構成さ
れるメモリ部206を有する。これら格納情報の詳細に
ついては後述する。
As shown in FIG. 6, the user device 200
The security chip 210 is built in the user device side control unit 221 as a structure capable of mutually transferring data. The security chip 210 has a CPU (Central Pr
a communication interface 202 having a data communication interface function, and a CPU
ROM (Read Only Memory) storing various programs executed by 201, for example, a cryptographic processing program, a master key: Km stored at the time of manufacturing the device, etc.
203, an execution program load area, and a RAM (Ra that functions as a work area in each program process).
ndom Access Memory) 204, authentication processing with external devices,
A cryptographic processing unit 205 that executes cryptographic processing such as generation of a digital signature, verification processing, encryption of stored data, and decryption processing, information for each service provider described above, and device-specific information including various key data are stored. EEPROM (Ele
The memory unit 206 includes a ctrically erasable programmable ROM). Details of the stored information will be described later.

【0084】ユーザデバイス200は、暗号化コンテン
ツ等を格納する領域としてのEEPROM、ハードディ
スク等によって構成される外部メモリ部222を有す
る。外部メモリ部222は、公開鍵証明書、属性証明書
の格納領域としても利用可能であり、また後段で説明す
るコンテンツの利用回数管理ファイルの格納領域として
も利用される。
The user device 200 has an external memory section 222 composed of an EEPROM, a hard disk, etc. as an area for storing encrypted contents and the like. The external memory unit 222 can be used as a storage area for a public key certificate and an attribute certificate, and also as a storage area for a content usage number management file described later.

【0085】セキュリティチップを搭載したユーザデバ
イスが、外部エンティテイ、例えばサービスプロバイダ
と接続し、データ転送処理を実行する場合には、必要に
応じて、セキュリティチップ210と、外部エンティテ
イ間の相互認証が行われ、また転送データの暗号化が行
なわれる。これらの処理の詳細については、後段で詳述
する。
When the user device equipped with the security chip is connected to an external entity, for example, a service provider and executes data transfer processing, mutual authentication between the security chip 210 and the external entity is performed as necessary. Also, the transfer data is encrypted. Details of these processes will be described later.

【0086】ユーザデバイスのセキュリティチップでの
処理対象となるデータ例を図7に示す。これらの多く
は、不揮発性メモリの一形態であるフラッシュメモリ等
のEEPROM(Electrically Erasable Programmable
ROM)によって構成されるメモリ部206に格納される
が、製造時に格納し、書き換え不可能とするデータ、例
えばマスター鍵:Kmは、ROM(Read Only Memory)
203に格納される。公開鍵証明書、属性証明書は、セ
キュリティチップ内のメモリに格納しても、外部メモリ
に格納してもよい。
FIG. 7 shows an example of data to be processed by the security chip of the user device. Most of these are EEPROM (Electrically Erasable Programmable) such as flash memory which is a form of non-volatile memory.
ROM (Read Only Memory) stores data that is stored in a memory unit 206 configured by a ROM but is not rewritable at the time of manufacture, for example, a master key: Km.
It is stored in 203. The public key certificate and the attribute certificate may be stored in the memory in the security chip or the external memory.

【0087】各データについて説明する。 公開鍵証明書(PKC):公開鍵証明書は、第三者に対
して正当な公開鍵であることを示す証明書で、証明書に
は配布したい公開鍵を含み、信頼のおける認証局により
ディジタル署名されている。ユーザデバイスには、前述
した階層構成の最上位認証局(ルートCA)の公開鍵証
明書、ユーザデバイスに登録されたサービスプロバイ
ダ、すなわち、ユーザデバイス内にメモリ領域が確保さ
れているサービスプロバイダの公開鍵証明書、さらに、
パスワード復帰処理等のサポートを実行するサポートセ
ンタの公開鍵証明書を格納する。
Each data will be described. Public Key Certificate (PKC): A public key certificate is a certificate that indicates to a third party that it is a legitimate public key, and the certificate contains the public key that you want to distribute. It is digitally signed. In the user device, the public key certificate of the highest-level certificate authority (root CA) in the hierarchical structure described above, the service provider registered in the user device, that is, the service provider in which the memory area is secured in the user device is disclosed. Key certificate,
Stores the public key certificate of the support center that executes support such as password recovery processing.

【0088】属性証明書(AC):公開鍵証明書が証明
書利用者(所有者)の“本人性”を示すのに対し、属性
証明書は証明書利用者の利用権限を示すものである。利
用者は属性証明書を提示することにより、属性証明書に
記載された権利・権限に基づいて、アプリケーションの
利用や、領域の確保などが行えるようになる。以下に、
属性証明書の種類を示し、それぞれの果たす役割を示
す。
Attribute certificate (AC): The public key certificate shows the "personality" of the certificate user (owner), while the attribute certificate shows the usage authority of the certificate user. . By presenting the attribute certificate, the user can use the application and secure the area based on the right / authority described in the attribute certificate. less than,
Indicates the type of attribute certificate and the role played by each.

【0089】(a)アプリケーション利用管理用属性証
明書(AC):アプリケーションとは、一般に言われる
コンテンツを広い意味で使用した表現であり、アプリケ
ーションの種類としては、ゲーム、音楽、映画、金融情
報等の各種アプリケーションがある。アプリケーション
利用管理用属性証明書(AC)では、アプリケーション
の利用権限に関しての記述があり、属性証明書(AC)
をサービスプロバイダ(SP)に対して提示して検証、
もしくは、ローカルで検証することにより、属性証明書
(AC)に記述された利用権限範囲内でのアプリケーシ
ョンの利用許諾が得られる。アプリケーションの利用権
限に関する記述としては、アプリケーションのオンライ
ン利用が可能であるかオフライン利用が可能であるか、
さらに、オンライン利用可能なコンテンツの場合には、
利用期間制限、利用回数制限情報があり、オフライン利
用可能なコンテンツの場合には、利用回数制限、買い切
りを示す記述がある。
(A) Attribute certificate for application use management (AC): An application is an expression in which a generally-used content is used in a broad sense, and types of applications include games, music, movies, financial information, etc. There are various applications. The application usage management attribute certificate (AC) has a description regarding application usage authority, and the attribute certificate (AC)
Is presented to the service provider (SP) for verification,
Alternatively, by performing verification locally, the application license within the usage authority range described in the attribute certificate (AC) can be obtained. As for the description about the application usage authority, whether the application can be used online or offline,
Furthermore, in the case of content available online,
There is information on usage period restrictions and usage number restrictions, and in the case of content that can be used offline, there is a description indicating usage number restrictions and purchase-out.

【0090】(b)サービスプロバイダ(SP)用メモ
リ領域管理(確保)用属性証明書(AC):ユーザデバ
イスにサービスプロバイダ(SP)を登録する場合、S
Pに関する情報格納領域をユーザデバイス内に確保する
必要がある。この時の領域確保の許諾情報を属性証明書
(AC)に格納し、ユーザデバイスでは、属性証明書
(AC)に格納された情報に従って、ユーザデバイス内
にSP用の領域を確保する。
(B) Service Provider (SP) Memory Area Management (Secure) Attribute Certificate (AC): When registering the service provider (SP) in the user device, S
It is necessary to secure an information storage area for P in the user device. The permission information for securing the area at this time is stored in the attribute certificate (AC), and the user device secures the SP area in the user device according to the information stored in the attribute certificate (AC).

【0091】(c)サービスプロバイダ(SP)用メモ
リ領域管理(削除)用属性証明書(AC):ユーザデバ
イス内に確保したSP用領域の削除の許諾情報を格納し
た属性証明書(AC)である。ユーザデバイスでは、属
性証明書(AC)に格納された情報に従って、ユーザデ
バイス内のSP用の領域の削除処理を実行する。
(C) Attribute certificate for memory area management (deletion) for service provider (SP) (AC): Attribute certificate (AC) storing permission information for erasing SP area secured in the user device is there. The user device executes the process of deleting the SP area in the user device according to the information stored in the attribute certificate (AC).

【0092】鍵データ:鍵データとしては、デバイスに
対して設定される公開鍵、秘密鍵のペア、コンテンツ等
のデータ保存の際の暗号処理用鍵として用いられるスト
レージ鍵、さらに、乱数生成用鍵、相互認証用鍵等が格
納される。
Key data: As key data, a public key set for the device, a secret key pair, a storage key used as an encryption key when storing data such as contents, and a random number generation key. , Mutual authentication keys, etc. are stored.

【0093】ストレージ鍵は、デバイスに保存するコン
テンツ鍵の暗号化または復号化処理の少なくともいずれ
かに適用する鍵である。ストレージ鍵には、デバイス対
応ストレージ鍵、サービスプロバイダ対応ストレージ鍵
があり、サービスプロバイダ対応ストレージ鍵は、デバ
イスに登録された個々のサービスプロバイダ毎に各サー
ビスプロバイダ管理領域内に格納される鍵であり、対応
するサービスプロバイダの提供するコンテンツ鍵に対応
して適用される。デバイス対応ストレージ鍵には、シス
テムホルダと、デバイスのみが共有する鍵として構成さ
れるグローバル共通鍵が含まれ、グローバル共通鍵は、
サービスプロバイダにおける復号化処理を防止した暗号
化コンテンツ鍵の配信処理を実行する際に用いられる。
これらの鍵を適用した処理の詳細については後段で説明
する。
The storage key is a key applied to at least one of encryption and decryption processing of the content key stored in the device. The storage key includes a device-compatible storage key and a service provider-compatible storage key, and the service provider-compatible storage key is a key stored in each service provider management area for each individual service provider registered in the device. It is applied according to the content key provided by the corresponding service provider. The device compatible storage key includes a system holder and a global common key configured as a key shared only by devices.
It is used when executing the distribution process of the encrypted content key that prevents the decryption process in the service provider.
Details of the processing to which these keys are applied will be described later.

【0094】識別情報:識別情報としては、ユーザデバ
イス自身の識別子としてのデバイスID、ユーザデバイ
スに登録したサービスプロバイダ(SP)の識別子とし
てのサービスプロバイダID、ユーザデバイスを利用す
るユーザに付与されたユーザID、なお、ユーザIDは
サービスプロバイダ等、外部エンティテイ毎に異なるユ
ーザIDが付与可能である。アプリケーションIDは、
サービスプロバイダ(SP)によって提供されるサービ
ス、コンテンツに対応する識別情報としてのIDであ
る。
Identification information: As the identification information, a device ID as an identifier of the user device itself, a service provider ID as an identifier of a service provider (SP) registered in the user device, and a user given to a user who uses the user device As the ID, the user ID may be different for each external entity such as a service provider. The application ID is
It is an ID as identification information corresponding to the service and content provided by the service provider (SP).

【0095】その他:ユーザデバイスには、さらに、認
証情報として、ユーザデバイス内に登録したサービスプ
ロバイダ(SP)情報の利用許諾を得るための認証情報
(例えばパスワード)が格納される。パスワードを入力
することにより、ユーザデバイス内に登録したサービス
プロバイダ(SP)情報の取得が可能となり、情報取得
後、サービスプロバイダの提供するアプリケーション、
コンテンツの利用が許可される。認証情報(パスワー
ド)を忘れた場合には、マスターパスワードを用いて認
証情報(パスワード)の初期化(リセット)処理が可能
である。
Others: The user device further stores, as the authentication information, authentication information (for example, a password) for obtaining the use permission of the service provider (SP) information registered in the user device. By entering the password, it becomes possible to acquire the service provider (SP) information registered in the user device, and after the information is acquired, the application provided by the service provider,
Use of content is permitted. When the authentication information (password) is forgotten, the master password can be used to initialize (reset) the authentication information (password).

【0096】さらに乱数生成用のシード情報が格納され
る。乱数は、認証処理、暗号処理等の際に、例えばAN
SI X9.17に従って生成する。
Further, seed information for random number generation is stored. Random numbers can be used, for example, in
Generate according to SI X9.17.

【0097】さらに、コンテンツ利用回数情報、あるい
はコンテンツ利用回数情報に基づいて算出されるハッシ
ュ値が格納される。これは、アプリケーション、コンテ
ンツに対応する属性証明書に格納された利用回数制限内
でのコンテンツ利用を厳格に実行するために必要となる
情報であり、コンテンツに対応する属性証明書の識別情
報としてのアプリケーションID、属性証明書のシリア
ル番号、コンテンツの利用制限回数を保存する。署名付
けやハッシュをとるだけでは改竄は可能であるが、検出
できれば実質的に改竄できないことと同様の効果があ
る。
Further, the content usage count information or a hash value calculated based on the content usage count information is stored. This is information that is necessary to strictly use the content within the usage count limit stored in the attribute certificate corresponding to the application and content, and is used as identification information of the attribute certificate corresponding to the content. The application ID, the serial number of the attribute certificate, and the number of times the content can be used are saved. It is possible to tamper with just by adding a signature or hashing, but if it can be detected, it has the same effect as being virtually untamperable.

【0098】[ユーザデバイス内のメモリ構成]不揮発
性メモリの一形態であるフラッシュメモリ等のEEPR
OM(Electrically Erasable Programmable ROM)によっ
て構成されるメモリ部206には、上述した様々なデー
タの少なくとも一部が格納されるが、これらは、メモリ
部206領域に分割管理された3つの領域、すなわち、
(1)デバイス管理領域、(2)システム管理領域、
(3)サービス・プロバイダ管理領域に区分されて格納
される。以下、これらの各領域毎の格納データについて
説明する。
[Memory Configuration in User Device] EEPR such as a flash memory which is a form of non-volatile memory
At least a part of the various data described above is stored in the memory unit 206 configured by an OM (Electrically Erasable Programmable ROM). These are divided into three regions in the memory unit 206, that is,
(1) device management area, (2) system management area,
(3) Stored in a service provider management area. The stored data for each of these areas will be described below.

【0099】(1)デバイス管理領域 デバイス管理領域は、デバイス固有のシステムに依存し
ない情報が保持されている。この領域はデバイス製造時
に、最初に領域が確保され、不揮発性メモリの先頭の複
数ブロックを占める領域である。デバイス管理領域で
は、少なくとも以下のデータを保持・管理する。 デバイスID 乱数生成用シード 乱数生成用暗号鍵 相互認証鍵 デバイス対応ストレージ鍵
(1) Device Management Area The device management area holds information that does not depend on the system specific to the device. This area is an area that is initially secured at the time of manufacturing the device and occupies a plurality of leading blocks of the nonvolatile memory. The device management area holds and manages at least the following data. Device ID Random number generation seed Random number generation encryption key Mutual authentication key Device compatible storage key

【0100】相互認証鍵は、セキュリティチップ内のデ
ータをセキュリティチップ外部に出力する場合等に出力
先となるエンティテイとの認証用の鍵である。なお、エ
ンティテイは、セキュリティチップを装着した例えばゲ
ーム端末、DVD,CD等の再生装置、記録再生装置で
あるユーザデバイスも含む。セキュリティチップと、セ
キュリティチップを持つユーザデバイス間でのデータ転
送、さらにはユーザデバイスを介した外部のサービスプ
ロバイダとのデータ通信時などに相互認証鍵を適用した
相互認証処理が実行される。相互認証の成立を条件とし
て、相互認証時に生成したセッション鍵で暗号化してセ
キュリティチップ内部と外部間のデータ転送が実行され
る。
The mutual authentication key is a key for authentication with the entity which is the output destination when the data in the security chip is output to the outside of the security chip. The entity also includes a user device such as a game terminal, a reproducing device such as a DVD, a CD, etc., and a recording / reproducing device equipped with a security chip. Data is transferred between the security chip and a user device having the security chip, and mutual authentication processing is performed by applying a mutual authentication key when data is communicated with an external service provider via the user device. On condition that mutual authentication is established, data is encrypted by the session key generated at the time of mutual authentication, and data is transferred between the inside and outside of the security chip.

【0101】デバイス対応ストレージ鍵は、セキュリテ
ィチップ内部のデータを外部に保持する場合に、データ
を暗号化し、閲覧・改竄を防ぐための鍵である。デバイ
ス・ストレージ鍵は、公開鍵系でも共通鍵系でもどちら
でもよい。乱数生成用シードは、擬似乱数を算術演算に
より求める際に、初期シードとして用いるデータであ
る。乱数生成用暗号鍵を用いて擬似乱数を算術演算して
乱数を生成する。
The device-corresponding storage key is a key for encrypting the data inside the security chip to prevent the data from being browsed or tampered when the data is held outside. The device storage key may be either a public key system or a common key system. The random number generation seed is data used as an initial seed when a pseudo random number is obtained by arithmetic operation. A pseudo random number is arithmetically operated using the random number generation encryption key to generate a random number.

【0102】共通鍵系デバイス対応ストレージ鍵には、
システムホルダと、デバイスのみが共有する鍵として構
成されるグローバル共通鍵が含まれ、グローバル共通鍵
は、サービスプロバイダにおける復号化処理を防止した
暗号化コンテンツ鍵の配信処理を実行する際に用いられ
る。グローバル共通鍵については、後段で詳細に説明す
る。
The common key type device-compatible storage key is
The system holder and the global common key configured as a key shared only by the devices are included, and the global common key is used when executing the distribution process of the encrypted content key that prevents the decryption process in the service provider. The global common key will be described in detail later.

【0103】(2)システム管理領域 システム管理領域は、デバイス管理領域と同様にメモリ
領域に確保される。システム管理領域では、以下のデー
タを保持・管理する。 ルート認証局(CA)公開鍵証明書 デバイス公開鍵証明書 デバイス秘密鍵
(2) System Management Area The system management area is secured in the memory area like the device management area. The system management area holds and manages the following data. Root Certificate Authority (CA) public key certificate device public key certificate device private key

【0104】ルート認証局(CA)公開鍵証明書は、セ
キュリティチップ内の認証系すべての根源となる証明書
で、他の証明書の署名検証を辿って、前述の連鎖検証を
行なうと、最後にはルート認証局(CA)の公開鍵証明
書に辿り着くことになる。
The root certificate authority (CA) public key certificate is a root certificate of all the authentication systems in the security chip. When the chain verification described above is performed by tracing the signature verification of other certificates, the To get to the public key certificate of the root certificate authority (CA).

【0105】デバイス公開鍵証明書は、サービスプロバ
イダとの相互認証時に用いる公開鍵証明書である。デバ
イス秘密鍵を外部で生成し、インポートする場合には、
デバイス公開鍵証明書も同時に生成される。デバイス側
でデバイス秘密鍵・公開鍵を生成する場合には、デバイ
ス内でデバイス秘密鍵・公開鍵が生成された後に、デバ
イス公開鍵がデバイスから読み出され、デバイス公開鍵
証明書の発行処理を行ない、発行されたデバイス公開鍵
証明書のインポートが行われる。
The device public key certificate is a public key certificate used at the time of mutual authentication with the service provider. To generate and import the device private key externally,
A device public key certificate is also generated at the same time. When the device private key / public key is generated on the device side, after the device private key / public key is generated in the device, the device public key is read from the device and the process of issuing the device public key certificate is performed. Then, the issued device public key certificate is imported.

【0106】デバイス秘密鍵は、データに対して署名付
けおよび認証するための鍵である。秘密鍵は、公開鍵と
ペアで生成されるが、予め外部で生成して、デバイスに
セキュアにインポートする構成とするか、デバイス内部
で生成し、決して外部に出さない構成とするかのいずれ
かの構成とする。
The device private key is a key for signing and authenticating data. The private key is generated as a pair with the public key, but it is either generated externally in advance and securely imported to the device, or it is generated internally in the device and never sent out. The configuration is as follows.

【0107】(3)サービスプロバイダ管理領域 サービスプロバイダ(SP)管理領域は、サービスプロ
バイダ(SP)管理テーブルとサービスプロバイダ(S
P)管理情報とからなる。サービスプロバイダ(SP)
管理テーブルは、サービスプロバイダ(SP)管理領域
内で各サービスプロバイダ(SP)情報の所在を示すた
めのテーブルでありサービスプロバイダの識別子に対応
させてメモリの各サービスプロバイダ(SP)情報の格
納位置情報を持つ。
(3) Service Provider Management Area The service provider (SP) management area is a service provider (SP) management table and a service provider (S).
P) management information. Service Provider (SP)
The management table is a table for indicating the location of each service provider (SP) information in the service provider (SP) management area, and storage location information of each service provider (SP) information in the memory in association with the identifier of the service provider. have.

【0108】なお、サービスプロバイダ(SP)管理領
域には、ユーザデバイスがサービスプロバイダ(SP)
毎に会員登録を行うことにより、サービスプロバイダ
(SP)毎の領域がデバイス内のメモリ領域に確保され
る。なお、領域確保あるいは削除処理は、属性証明書の
記述に基づいて実行される。サービスプロバイダ(S
P)管理領域には、以下の情報を保持する。
In the service provider (SP) management area, the user device is the service provider (SP).
By registering each member, an area for each service provider (SP) is secured in the memory area in the device. The area reservation or deletion processing is executed based on the description of the attribute certificate. Service provider (S
P) The management area holds the following information.

【0109】サービスプロバイダ(SP)対応秘密鍵 サービスプロバイダ(SP)対応ストレージ秘密鍵(公
開鍵方式) サービスプロバイダ(SP)対応ストレージ鍵(共通鍵
方式) 外部管理情報のハッシュ値 コンテンツ利用回数管理データ 認証情報 ユーザ情報
Service Provider (SP) Compatible Private Key Service Provider (SP) Compatible Storage Private Key (Public Key Method) Service Provider (SP) Compatible Storage Key (Common Key Method) External Management Information Hash Value Content Usage Count Management Data Authentication Information user information

【0110】サービスプロバイダ(SP)対応秘密鍵
は、登録サービスプロバイダ(SP)毎に対応して生成
した登録サービスプロバイダ(SP)との相互認証処理
または暗号化データ転送処理等に適用する公開鍵と秘密
鍵のペアの秘密鍵である。登録サービスプロバイダ(S
P)と、セキュリティチップとが相互認証する場合に必
要とする鍵である。
The private key corresponding to the service provider (SP) is a public key applied to mutual authentication processing with the registered service provider (SP) generated for each registered service provider (SP) or encrypted data transfer processing. It is the private key of a private key pair. Registered service provider (S
This is a key required when P) and the security chip mutually authenticate.

【0111】サービスプロバイダ(SP)対応ストレー
ジ秘密鍵(公開鍵方式)は、サービスプロバイダの提供
するコンテンツ利用をオフラインで利用可能である場
合、すなわち、取得したコンテンツを利用する毎にサー
ビスプロバイダとの接続を必要としないコンテンツであ
る場合、コンテンツに対応する暗号化コンテンツ鍵の復
号用の鍵である。暗号化コンテンツ鍵は、サービスプロ
バイダ(SP)対応ストレージ秘密鍵に対応するサービ
スプロバイダ(SP)対応ストレージ公開鍵によってサ
ービスプロバイダにおいて暗号化されて属性証明書(A
C)に格納されてユーザデバイスに送信され、ユーザデ
バイスのセキュリティチップ内でサービスプロバイダ
(SP)対応ストレージ秘密鍵で復号してコンテンツ鍵
の取得が可能となる。
The service provider (SP) compliant storage secret key (public key method) is used when the content usage provided by the service provider can be used offline, that is, each time the acquired content is used, connection with the service provider is made. If the content does not require, it is a key for decrypting the encrypted content key corresponding to the content. The encrypted content key is encrypted at the service provider by the service provider (SP) compatible storage public key corresponding to the service provider (SP) compatible storage private key, and then the attribute certificate (A
It is stored in C) and transmitted to the user device, and the content key can be obtained by decrypting it with the service provider (SP) compatible storage secret key in the security chip of the user device.

【0112】サービスプロバイダ(SP)対応ストレー
ジ鍵(共通鍵方式)は、サービスプロバイダの提供する
コンテンツ利用をオフラインで利用可能である場合、す
なわち、取得したコンテンツを利用する毎にサービスプ
ロバイダとの接続を必要としないコンテンツである場
合、コンテンツに対応する暗号化コンテンツ鍵の復号用
の鍵であり、暗号化、復号化処理に共通に適用可能な鍵
である。なお、サービスプロバイダ(SP)対応ストレ
ージ秘密鍵(公開鍵方式)と、サービスプロバイダ(S
P)対応ストレージ鍵(共通鍵方式)は、いずれか一方
のみを格納し適用する構成としてもよい。。
The service provider (SP) -compatible storage key (common key method) is used when the use of the content provided by the service provider can be used offline, that is, each time the acquired content is used, a connection with the service provider is made. When the content is not required, it is a key for decrypting the encrypted content key corresponding to the content, and is a key commonly applicable to the encryption / decryption processing. It should be noted that the storage private key (public key method) compatible with the service provider (SP) and the service provider (S
P) Only one of the corresponding storage keys (common key method) may be stored and applied. .

【0113】外部管理情報のハッシュ(Hash)値
は、セキュリティチップ内部で管理するには大きすぎる
データを外部メモリの特定領域に出し、その領域のハッ
シュ値をセキュリティチップ内で管理することにより、
改竄ができないようにするものである。例えば、コンテ
ンツの回数利用制限をかける場合に、残回数などがハッ
シュ値による管理対象となる。回数管理コンテンツの場
合、回数情報の閲覧自体は問題ないが、改竄は防がなく
てはならない。署名付けやハッシュをとるだけでは改竄
は可能であるが、検出できれば実質的に改竄できないこ
とと同様の効果がある。
Regarding the hash value of the external management information, by outputting the data which is too large to be managed inside the security chip to a specific area of the external memory and managing the hash value of the area within the security chip,
It prevents tampering. For example, when a content usage restriction is applied, the remaining number of times is subject to management by hash value. In the case of the number-of-times management content, browsing of the number-of-times information is not a problem, but tampering must be prevented. It is possible to tamper with just by adding a signature or hashing, but if it can be detected, it has the same effect as being virtually untamperable.

【0114】コンテンツ利用回数管理データ アプリケーション(コンテンツ)の利用可能回数をセキ
ュリティチップがローカルで管理する場合がある。この
時、セキュリティチップ内部では、アプリケーションI
D、属性証明書(AC)のシリアル、利用可能回数とを
保持・管理する。コンテンツ利用回数管理データの管理
処理については、後段で詳細に説明する。
Content Usage Count Management In some cases, the security chip locally manages the number of times the data application (content) can be used. At this time, inside the security chip, application I
Holds and manages D, serial of attribute certificate (AC), and usable count. The management process of the content usage count management data will be described in detail later.

【0115】認証情報 認証情報とは、サービスプロバイダ(SP)管理領域で
管理される管理情報を保護する目的の情報である。ユー
ザはサービスプロバイダ(SP)接続時にはサービスプ
ロバイダ(SP)との相互認証が必要となるが、相互認
証に必要な情報は、サービスプロバイダ(SP)管理領
域に格納される。この管理領域から必要情報を取得する
ために用いるのが認証情報である。認証情報は具体的に
は、例えばパスワードである。認証情報(パスワード)
をユーザが忘れた場合には、サービスプロバイダ(S
P)管理領域の管理情報の利用許諾が得られなくなる。
この場合には、マスター・パスワードを入力することに
より認証情報自体のリセット、または変更を行うことが
できる。これらの処理構成については、後段で詳細に説
明する。
Authentication Information Authentication information is information for the purpose of protecting the management information managed in the service provider (SP) management area. The user needs mutual authentication with the service provider (SP) when connecting to the service provider (SP), and the information necessary for the mutual authentication is stored in the service provider (SP) management area. Authentication information is used to acquire necessary information from this management area. Specifically, the authentication information is, for example, a password. Authentication information (password)
If the user forgets the service provider (S
P) The license for the management information in the management area cannot be obtained.
In this case, the authentication information itself can be reset or changed by inputting the master password. These processing configurations will be described in detail later.

【0116】ユーザ情報 ユーザ情報は、サービスプロバイダ(SP)により割り
振られたユーザIDなどのユーザ固有情報である。
User Information User information is user-specific information such as a user ID assigned by the service provider (SP).

【0117】[パスワード管理]以下、図1に示すユー
ザデバイス101が、サービスプロバイダ(コンテンツ
ディストリビュータ)102の提供するコンテンツを受
領し、属性証明書に従った利用制限の下にコンテンツを
利用する処理、およびコンテンツ利用に際して必要とな
る各種処理の詳細について説明する。まず、コンテンツ
を提供するサービスプロバイダに関する情報を格納した
ユーザデバイス内のメモリ領域のサービスプロバイダ管
理領域へのアクセス制御用の認証情報(パスワード)に
ついて説明する。
[Password Management] Hereinafter, a process in which the user device 101 shown in FIG. 1 receives the content provided by the service provider (content distributor) 102 and uses the content under the usage restriction according to the attribute certificate, The details of various processes necessary for using the content will be described. First, the authentication information (password) for controlling access to the service provider management area in the memory area in the user device that stores information about the service provider that provides the content will be described.

【0118】(1)認証情報(パスワード)登録処理 ユーザデバイスを購入したユーザがシステムホルダの管
理下にある様々なサービスプロバイダからコンテンツを
購入する処理、あるいは購入したコンテンツを利用する
処理を行なうためには、ユーザデバイス内のメモリ領域
にサービスプロバイダ管理領域を設定し、このサービス
プロバイダ管理領域にサービスプロバイダ毎の管理情報
を格納する処理が必要となる。ユーザデバイス内のメモ
リ領域にサービスプロバイダ管理領域の設定されたサー
ビスプロバイダを、以下登録サービスプロバイダと呼
ぶ。サービスプロバイダ管理領域の設定には、前述の属
性証明書を適用し、ユーザデバイスがサービスプロバイ
ダから受信した属性証明書に基づいて、ユーザデバイス
内のメモリ領域に属性証明書の記録に従ったサービスプ
ロバイダ管理領域の設定処理を実行する。
(1) Authentication Information (Password) Registration Processing In order for a user who has purchased a user device to purchase content from various service providers under the control of the system holder or to use the purchased content. Requires a process of setting a service provider management area in the memory area in the user device and storing management information for each service provider in this service provider management area. The service provider in which the service provider management area is set in the memory area in the user device is hereinafter referred to as a registered service provider. The above-mentioned attribute certificate is applied to the setting of the service provider management area, and the service provider according to the recording of the attribute certificate in the memory area in the user device based on the attribute certificate received by the user device from the service provider. Executes management area setting processing.

【0119】サービスプロバイダ管理領域を持つ登録サ
ービスプロバイダに対して、ユーザデバイスがアクセス
してコンテンツの購入、あるいは利用を行なうために
は、先ず、ユーザデバイス内のサービスプロバイダ管理
領域内の情報を取得することが必要となる。サービスプ
ロバイダ管理領域には、ユーザデバイスとサービスプロ
バイダ間の相互認証処理に必要な情報が格納されてお
り、これらの情報を取得してサービスプロバイダとの相
互認証を行なうことが必要となるからである。
In order for a user device to access a registered service provider having a service provider management area to purchase or use contents, first, information in the service provider management area in the user device is acquired. Will be required. This is because the service provider management area stores information necessary for mutual authentication processing between the user device and the service provider, and it is necessary to acquire this information and perform mutual authentication with the service provider. .

【0120】このサービスプロバイダ管理領域にアクセ
スするためにユーザは各登録サービスプロバイダ毎に設
定される認証情報(パスワード)を、ユーザデバイスの入
力手段を介して入力することが必要となる。なお、以下
の説明において、「サービスプロバイダ毎に」との記述
は、「各登録サービス毎かつ各ユーザ毎」と同義であ
る。セキュリティチップ側で入力パスワードと登録パス
ワードの一致検証を行ない、一致した場合に限り、セキ
ュリティチップ内のメモリに形成されたサービスプロバ
イダ管理領域内の情報取得が可能となり、その後のサー
ビスプロバイダとの相互認証処理、へのアクセスが可能
となる。
In order to access the service provider management area, the user needs to input the authentication information (password) set for each registered service provider through the input means of the user device. In the following description, the description “for each service provider” is synonymous with “for each registered service and for each user”. The security chip performs verification of the match between the input password and the registered password, and only if they match, information in the service provider management area formed in the memory of the security chip can be acquired, and mutual authentication with the service provider thereafter. Access to the process.

【0121】認証情報(パスワード)は、ユーザデバイ
スに登録されたサービスプロバイダ毎に設定される。こ
れらのパスワードの初期登録は、ユーザ自身が実行す
る。パスワードの初期登録処理について、図8を参照し
て説明する。図8のシーケンス図において、左側がセキ
ュリティチップ、右側がセキュリティチップを持つユー
ザデバイスにおけるユーザインタフェース側処理であ
る。
The authentication information (password) is set for each service provider registered in the user device. The initial registration of these passwords is performed by the user himself. Initial password registration processing will be described with reference to FIG. In the sequence diagram of FIG. 8, the left side is the security chip and the right side is the user interface side processing in the user device having the security chip.

【0122】まず、(1)パスワード登録対象となる対
応するサービスプロバイダを指定して認証情報(パスワ
ード)初期登録処理開始要求をユーザが入力する。
(2)セキュリティチップ側では、ユーザの指定したサ
ービスプロバイダが、セキュリティチップ内のメモリに
すでに管理領域を設定済みの登録サービスプロバイダで
あり、パスワード設定されていない状態であるか等のス
テータス確認処理を行ない、これらが確認された場合
に、(3)認証情報(パスワード)初期登録処理を許可
する。
First, (1) the user inputs the authentication information (password) initial registration processing start request by designating the corresponding service provider to be password-registered.
(2) On the security chip side, the service confirmation service specified by the user is a registered service provider whose management area has already been set in the memory of the security chip, and the status confirmation processing such as whether the password is not set is checked. When these are confirmed, (3) authentication information (password) initial registration processing is permitted.

【0123】次に、ユーザはユーザインタフェース側か
らキーボード等の入力手段を介し、(4)パスワードを
入力し、(5)セキュリティチップの制御部は入力され
た認証情報(パスワード)をテンポラリにメモリに保持
し、(6)同一パスワードの再入力要求を行ない、
(7)ユーザにより認証情報(パスワード)の再入力が
なされると、(8)セキュリティチップの制御部は再入
力認証情報(パスワード)とテンポラリにメモリに保持
してある認証情報(パスワード)の照合を実行し、照合
が成立した場合には、(9)認証情報(パスワード)の
書き込み処理を実行し、(10)書き込み結果をユーザ
に通知し、OKなら終了する。(11)NGの場合は、
(1)の処理に戻る。
Next, the user inputs (4) the password from the user interface side through the input means such as the keyboard, and (5) the control unit of the security chip temporarily stores the input authentication information (password) in the memory. Retain, (6) Request re-entry of the same password,
(7) When the user re-enters the authentication information (password), (8) the control unit of the security chip collates the re-input authentication information (password) with the authentication information (password) temporarily stored in the memory. When the collation is established, (9) the writing process of the authentication information (password) is executed, (10) the writing result is notified to the user, and if OK, the process ends. (11) In case of NG,
Return to the process of (1).

【0124】(2)認証情報(パスワード)変更処理 図9および図10にパスワードの変更処理のシーケンス
図を示す。パスワード変更は、登録済みパスワードを用
いた変更処理(通常時)と、マスターパスワードを用い
た変更処理(緊急時)の2つの処理態様がある。
(2) Authentication Information (Password) Change Process FIGS. 9 and 10 show sequence diagrams of the password change process. The password change has two processing modes: a change process using a registered password (normal time) and a change process using a master password (emergency time).

【0125】まず、図9のシーケンス図に基づいて、通
常時のパスワード変更処理、すなわち、登録済みパスワ
ードを用いた変更処理について説明する。左側がセキュ
リティチップ、右側がセキュリティチップを持つユーザ
デバイスのユーザインタフェース側処理である。
First, the password changing process in the normal state, that is, the changing process using the registered password will be described with reference to the sequence diagram of FIG. The left side is the security chip, and the right side is the user interface side processing of the user device having the security chip.

【0126】まず、(1)パスワード変更処理対象とな
る対応するサービスプロバイダを指定して認証情報(パ
スワード)変更処理開始要求をユーザが入力する。
(2)セキュリティチップ側では、ユーザの指定したサ
ービスプロバイダがメモリに管理領域を設定され登録済
みのサービスプロバイダ(SP)であり、パスワードの
設定されたSPであるか等のステータス確認を処理を行
ない、これらが確認されたことを条件として、(3)登
録済みの認証情報(パスワード)入力要求を行なう。ユ
ーザはユーザインタフェース側からキーボード等の入力
手段を介し、(4)登録済みパスワードを入力し、
(5)セキュリティチップの制御部は入力を確認する
と、サービスプロバイダ管理領域に書き込まれている登
録認証情報(パスワード)との照合処理を実行する。
First, (1) the user inputs the authentication information (password) change process start request by designating the corresponding service provider as the password change process target.
(2) On the security chip side, the service provider specified by the user is a registered service provider (SP) whose management area is set in the memory, and the status check is performed to determine whether the service provider (SP) has the password set. On the condition that these are confirmed, (3) the registered authentication information (password) input request is made. The user inputs the registered password from the user interface side through the input means such as a keyboard, (4)
(5) Upon confirming the input, the control unit of the security chip executes the collation process with the registration authentication information (password) written in the service provider management area.

【0127】照合が成立すると、(6)変更処理許可を
通知する。ユーザはユーザインタフェース側からキーボ
ード等の入力手段を介し、(7)新たな認証情報(パス
ワード)を入力し、(8)セキュリティチップの制御部
は入力された認証情報(パスワード)をテンポラリにメ
モリに保持し、(9)同一パスワードの再入力要求を行
ない、(10)ユーザにより認証情報(パスワード)の
再入力がなされると、(11)セキュリティチップの制
御部は再入力認証情報(パスワード)とテンポラリにメ
モリに保持してある認証情報(パスワード)の照合を実
行し、照合が成立した場合には、(12)認証情報(パ
スワード)の書き込み処理を実行し、(13)書き込み
結果をユーザに通知し、OKなら終了する。(14)N
Gの場合は、(1)の処理に戻る。
When the collation is established, (6) change processing permission is notified. The user inputs (7) new authentication information (password) from the user interface side via an input means such as a keyboard, and (8) the control unit of the security chip temporarily stores the input authentication information (password) in the memory. When it is held, (9) the same password is requested again, and (10) the user re-enters the authentication information (password), (11) the control unit of the security chip stores the re-input authentication information (password). The authentication information (password) stored in the memory is temporarily verified, and if the verification is successful, (12) the authentication information (password) write processing is executed, and (13) the write result is sent to the user. Notify and if OK, end. (14) N
In the case of G, the process returns to (1).

【0128】(3)マスターパスワードを用いた認証情
報(パスワード)リセット処理次に、図10のシーケン
ス図に基づいて、緊急時のパスワード変更処理等におい
て実行されるマスターパスワードを用いた認証情報(パ
スワード)リセット処理について説明する。左側がセキ
ュリティチップ、右側がセキュリティチップを持つユー
ザデバイスを装着した端末におけるユーザインタフェー
ス側処理である。
(3) Authentication Information (Password) Reset Processing Using Master Password Next, based on the sequence diagram of FIG. 10, the authentication information (password ) The reset process will be described. The left side is the security chip, and the right side is the user interface side processing in the terminal in which the user device having the security chip is mounted.

【0129】まず、(1)パスワード変更処理対象とな
る対応するサービスプロバイダを指定して認証情報(パ
スワード)リセット処理開始要求をユーザが入力する。
(2)セキュリティチップ側では、ユーザの指定したサ
ービスプロバイダがメモリに管理領域を設定され登録済
みのサービスプロバイダ(SP)であり、パスワードの
設定されたSPであるか等のステータス確認を処理を行
ない、これらの条件を満足する場合に、(3)マスター
パスワード入力要求を行なう。ユーザはユーザインタフ
ェース側からキーボード等の入力手段を介し、(4)マ
スターパスワードを入力し、(5)セキュリティチップ
の制御部は入力されたマスターパスワードの照合処理を
実行し、正しいマスターパスワードの入力であるか否か
を判定し、検証の結果、正しいマスターパスワード入力
であると判定すると、(6)サービスプロバイダ管理領
域に書き込まれている登録認証情報(パスワード)の初
期化、すなわち登録済み認証情報(パスワード)のリセ
ット処理を実行する。
First, (1) the user inputs the authentication information (password) reset process start request by designating the corresponding service provider as the password change process target.
(2) On the security chip side, the service provider specified by the user is a registered service provider (SP) whose management area is set in the memory, and the status check is performed to determine whether the service provider (SP) has the password set. When these conditions are satisfied, (3) a master password input request is issued. The user inputs (4) the master password from the user interface side via the input means such as a keyboard, and (5) the control unit of the security chip executes the collation process of the input master password, and the correct master password is input. If it is determined whether there is a correct master password input as a result of verification, (6) initialization of registration authentication information (password) written in the service provider management area, that is, registered authentication information ( Password) reset process is executed.

【0130】セキュリティチップの制御部は、リセット
処理の後、(7)処理結果通知をユーザに通知し、OK
であれば、例えば、ユーザは前述の認証情報(パスワー
ド)登録処理を実行する。これらの処理は、先に図8を
参照して説明した処理と同様であるので説明を省略す
る。(8)リセット処理結果がNGの場合は、(1)の
処理に戻る。
After the reset processing, the control unit of the security chip notifies (7) the processing result notification to the user, and OK.
If so, for example, the user executes the above-described authentication information (password) registration processing. Since these processes are similar to the processes described above with reference to FIG. 8, description thereof will be omitted. (8) If the reset process result is NG, the process returns to (1).

【0131】図10の処理シーケンスを用いて説明した
ように、マスターパスワードは、各登録サービスプロバ
イダについて登録済みの認証情報(パスワード)の初期化
処理、すなわちリセットする際に適用される。マスター
パスワードを用いた認証情報初期化(リセット)処理
は、セキュリティチップに登録されたサービスプロバイ
ダすべての認証情報に対して有効である。
As described using the processing sequence of FIG. 10, the master password is applied when initializing the registered authentication information (password) for each registered service provider, that is, when resetting. The authentication information initialization (reset) process using the master password is effective for all the authentication information of the service providers registered in the security chip.

【0132】図11にマスターパスワードと各登録サー
ビスプロバイダの認証情報(パスワード)との関係図を
示す。図11に示すようにマスターパスワードは、各サ
ービスプロバイダ対応認証情報に対する上位パスワード
として存在し、マスターパスワードの入力により、各各
登録サービスプロバイダの認証情報(パスワード)の初
期化(リセット)が実行され、新たな認証情報を各登録
サービスプロバイダの認証情報(パスワード)として再
登録することが可能となる。
FIG. 11 shows the relationship between the master password and the authentication information (password) of each registered service provider. As shown in FIG. 11, the master password exists as a higher-level password for each service provider corresponding authentication information, and by inputting the master password, the authentication information (password) of each registered service provider is initialized (reset), It becomes possible to re-register new authentication information as authentication information (password) of each registered service provider.

【0133】マスターパスワードは、図12に示すよう
に、ユーザデバイスの購入時に例えばプリントされた用
紙がデバイスに添付されて配布される。マスターパスワ
ードはデバイスの製造時に工場で書き込まれるが、ユー
ザによるマスターパスワードのデバイスからの読み出し
はできない構成となっている。マスターパスワードは、
デバイスに固有の識別子であるデバイスIDと、マスタ
ーキーに基づいて生成される。マスターキーは情報処理
装置個々または一群の情報処理装置に対応して設定され
るキーである。
As shown in FIG. 12, the master password is distributed, for example, with a printed sheet attached to the device when the user device is purchased. The master password is written at the factory when the device is manufactured, but the user cannot read the master password from the device. The master password is
It is generated based on the device ID, which is a unique identifier of the device, and the master key. The master key is a key set corresponding to each information processing device or a group of information processing devices.

【0134】マスターパスワードをユーザが忘れた場合
には、サポートセンターへの登録を条件としてマスター
パスワードの再発行処理が可能となる。図13にサポー
トセンタへのユーザ登録処理および、マスターパスワー
ドの再発行処理シーケンス図を示す。
If the user forgets the master password, the master password can be reissued on condition that the user has registered with the support center. FIG. 13 shows a sequence diagram of a user registration process to the support center and a master password reissue process.

【0135】図13の上段が、サポートセンタに対する
ユーザ登録処理シーケンス図を示す。ユーザは購入デバ
イスに添付された登録用紙の郵送、あるいはデバイスを
設定した端末を介してサポートセンタに接続してユーザ
登録を行なうことができる。ユーザ登録は、ユーザ住
所、電話番号、デバイスのID等のデータをサポートセ
ンタに登録する処理として実行され、サポートセンタに
おいてユーザ登録が完了すると、ユーザ登録完了通知が
サポートセンタからユーザに送付または送信される。
The upper part of FIG. 13 shows a user registration processing sequence diagram for the support center. The user can perform the user registration by mailing the registration form attached to the purchased device or connecting to the support center via the terminal in which the device is set. User registration is performed as a process of registering data such as a user address, a telephone number, and a device ID in the support center. When the user registration is completed in the support center, a user registration completion notification is sent or transmitted from the support center to the user. It

【0136】図13の下段が、ユーザがマスターパスワ
ードを忘れた場合に、ユーザと、サポートセンタ間で実
行されるマスターパスワード再発行処理のシーケンスで
ある。ユーザは、デバイスIDを伴うユーザ情報データ
とともに、マスターパスワードの再発行要求をサポート
センタに対して送信し、サポートセンタが要求を受信す
ると、サポートセンタは、ユーザ情報、ユーザIDが登
録済みデータと一致するかを判定し、一致した場合は、
ユーザデバイスIDに基づくマスターパスワードの検索
あるいはマスターキーを用いたマスターパスワードの生
成処理を実行する。サポートセンタは、情報処理装置と
してのユーザデバイスに対応して設定されたデバイス識
別子としてのデバイスIDと、マスターパスワードとを
対応させたマスターパスワード格納データベースを有す
る。あるいは、デバイスIDと、デバイス個々に固有の
キー、または一群のデバイスに共通するキーとして設定
されたマスターキーとを対応させたマスターキー格納デ
ータベースのいずれかを有し、マスターパスワード格納
データベースを有する場合には、デバイスIDに基づい
てデータベース検索を実行してマスターパスワードを取
得する。マスターキー格納データベースを有する場合に
は、デバイスIDに対する、マスターキーを適用した暗
号処理によるマスターパスワード生成処理を実行し、生
成したマスターパスワードをユーザデバイスに送付する
処理を実行する。
The lower part of FIG. 13 shows a sequence of master password reissue processing executed between the user and the support center when the user forgets the master password. The user sends a request for reissue of the master password to the support center together with the user information data accompanied by the device ID. When the support center receives the request, the support center matches the user information and the user ID with the registered data. If they match, if they match,
A master password search process based on the user device ID or a master password generation process using a master key is executed. The support center has a master password storage database in which a device ID as a device identifier set corresponding to a user device as an information processing device and a master password are associated with each other. Alternatively, a device has a master key storage database in which a device ID is associated with a key unique to each device or a master key set as a key common to a group of devices, and a master password storage database is provided. First, a database search is executed based on the device ID to acquire the master password. In the case of having a master key storage database, a master password generation process is executed by a cryptographic process to which a master key is applied to the device ID, and a process of sending the generated master password to the user device is executed.

【0137】ユーザデバイスIDに基づくマスターキー
によるマスターパスワードの生成処理フローを図14に
示す。図14のフローについて説明する。まず、ステッ
プS101において、マスターキーKm1を用いてデバ
イスIDの暗号化処理を実行する。その結果をステップ
S102において、MPaとする。さらに、結果MPa
に対してマスタキーKm2を適用した暗号化処理を実行
してパスワードMPを得て、ステップS103におい
て、ASCIIコードに変換する。暗号化処理は例えば
DES,トリプルDES等の暗号化アルゴリズムが適用
可能である。マスターキーKm1,Km2は、複数のデ
バイスに対して共通に設定されたキーであり、サポート
センタはユーザデバイスIDに基づいて、サポートセン
タで保持する複数のキーから適用すべきマスターキーを
選択して使用する。
FIG. 14 shows a processing flow for generating a master password by using a master key based on a user device ID. The flow of FIG. 14 will be described. First, in step S101, device ID encryption processing is executed using the master key Km1. The result is set to MPa in step S102. In addition, the result MPa
The master key Km2 is subjected to an encryption process to obtain a password MP, and the password is converted into an ASCII code in step S103. For the encryption process, an encryption algorithm such as DES or triple DES can be applied. The master keys Km1 and Km2 are keys commonly set for a plurality of devices, and the support center selects a master key to be applied from the plurality of keys held by the support center based on the user device ID. use.

【0138】図13のシーケンス図に戻って説明を続け
る。サポートセンタでマスターパスワードの生成が実行
されると、サポートセンタは、マスターパスワードをオ
ンラインまたはオフラインでユーザまたはユーザデバイ
スに対して送信または送付する。
Returning to the sequence diagram of FIG. 13, the description will be continued. When the support center performs the master password generation, the support center sends or sends the master password to the user or the user device online or offline.

【0139】以上のシーケンスに従って、ユーザは、サ
ポートセンタを利用してマスターパスワードの再発行処
理を行なうことができる。なお、ユーザデバイスと、サ
ポートセンタ間においては、データ送受信の前処理とし
て相互認証処理を実行し、送受信する秘密データ、例え
ばユーザID、マスターパスワード等は相互認証時に生
成したセッションキーで暗号化し、またデータの改竄防
止のために署名の生成、検証を行なうことが好ましい。
なお、これら相互認証処理、署名生成、検証処理等の詳
細については、コンテンツの配信処理の項目で詳しく説
明する。
According to the above sequence, the user can perform the master password reissue process using the support center. In addition, between the user device and the support center, mutual authentication processing is executed as a pre-processing of data transmission / reception, and secret data to be transmitted / received, such as user ID and master password, is encrypted with the session key generated at the time of mutual authentication. It is preferable to generate and verify a signature to prevent data tampering.
Details of the mutual authentication processing, signature generation, verification processing, and the like will be described in detail in the item of content distribution processing.

【0140】また、ユーザは、サポートセンタを利用し
たマスターパスワードの再発行処理をオフラインで行な
うことも可能である。この場合は、ハガキなどに本人確
認のための情報を記入して送付するなどの処理が行なわ
れることになる。
The user can also perform the master password reissue processing using the support center offline. In this case, processing such as filling in information for personal identification on a postcard and sending it will be performed.

【0141】[コンテンツ配信処理]ユーザデバイス内
のセキュリティチップ内のメモリ領域にサービスプロバ
イダの管理領域が登録され、サービスプロバイダとの認
証に必要な情報、上記パスワード等が登録されると、こ
れらの情報を用いてサービスプロバイダとの通信による
コンテンツ購入が可能となる。以下、コンテンツ購入処
理の詳細について説明する。
[Content Distribution Processing] When the management area of the service provider is registered in the memory area of the security chip in the user device, and the information necessary for authentication with the service provider and the password and the like are registered, these information are stored. It is possible to purchase contents by communicating with a service provider using. The details of the content purchase process will be described below.

【0142】コンテンツ購入処理における概要を説明す
るシーケンス図を図15に示す。左側がセキュリティチ
ップを持つユーザデバイス側処理であり、右側がサービ
スプロバイダ側処理である。
FIG. 15 shows a sequence diagram for explaining the outline of the content purchase processing. The left side is the processing on the user device side having the security chip, and the right side is the processing on the service provider side.

【0143】ユーザデバイスは、まず、コンテンツの購
入要求をサービスプロバイダに出力する。サービスプロ
バイダがコンテンツ購入要求を受信すると、ユーザデバ
イスとサービスプロバイダ間において相互認証が実行さ
れる。相互認証が成立し、双方の正当性が確認される
と、サービスプロバイダは、購入要求コンテンツに対応
する属性証明書(AC:Attribute Certificate)を生成
し、ユーザデバイスに送信する。属性証明書には、コン
テンツを復号するためのコンテンツ鍵:Kcが暗号化さ
れて格納され、また、利用回数、利用期限等のコンテン
ツ利用条件が記録されている。また格納データに対して
属性証明書発行者である属性証明書認証局(AA:Attri
bute Certificate Authority)の署名がなされており、
改竄防止を考慮したものとなっている。
The user device first outputs a content purchase request to the service provider. When the service provider receives the content purchase request, mutual authentication is performed between the user device and the service provider. When mutual authentication is established and the legitimacy of both parties is confirmed, the service provider generates an attribute certificate (AC: Attribute Certificate) corresponding to the purchase request content and sends it to the user device. In the attribute certificate, a content key: Kc for decrypting the content is encrypted and stored, and content usage conditions such as the number of times of use and the expiration date are recorded. For the stored data, the attribute certificate authority (AA: Attri
bute Certificate Authority) has been signed,
It is designed to prevent falsification.

【0144】属性証明書を受信したユーザデバイスは、
属性証明書の署名検証処理を実行し、改竄なしの判定に
基づいて属性証明書をメモリに保存する。さらに、ユー
ザデバイスは、コンテンツの要求をサービスプロバイダ
に対して行ない、サービスプロバイダは、先にユーザデ
バイスに送付した属性証明書内に格納されたコンテンツ
鍵:Kcで暗号化したコンテンツをユーザデバイスに送
付する。ユーザデバイス側では、属性証明書から取り出
した暗号化されたコンテンツ鍵の復号化処理を実行して
コンテンツ鍵を取り出し、取り出したコンテンツ鍵を適
用した暗号化コンテンツの復号化処理によりコンテンツ
を取得し、利用する。なお、属性証明書に格納したコン
テンツ鍵の復号化処理をサービスプロバイダ側で実行す
る態様(オンライン復号)もある。これらの具体的処理
例については、後段で説明する。
The user device receiving the attribute certificate
The signature verification process of the attribute certificate is executed, and the attribute certificate is stored in the memory based on the determination of no tampering. Further, the user device makes a request for the content to the service provider, and the service provider sends the content encrypted with the content key: Kc stored in the attribute certificate previously sent to the user device to the user device. To do. On the user device side, the encrypted content key extracted from the attribute certificate is decrypted, the content key is extracted, and the content is acquired by decrypting the encrypted content to which the extracted content key is applied. To use. There is also a mode (online decryption) in which the service provider side executes the decryption process of the content key stored in the attribute certificate. Specific examples of these processes will be described later.

【0145】コンテンツ配信に伴う大まかな流れは、以
上、図15を用いて説明した通りである。以下、各処理
の詳細について説明する。なお、図15に示した処理シ
ーケンスでは、コンテンツに対応する属性証明書を暗号
化コンテンツ送付の先に実行しているが、暗号化コンテ
ンツの配信と、属性証明書の配信はいずれが先でもよ
く、同時に配信する処理としてもよい。また、それぞれ
をディスク等の記録媒体に格納して配信するオフライン
配信を行なう構成とすることも可能である。
The general flow of content distribution is as described above with reference to FIG. The details of each process will be described below. In the processing sequence shown in FIG. 15, the attribute certificate corresponding to the content is executed at the destination of the encrypted content, but either the encrypted content or the attribute certificate may be delivered first. , And may be simultaneously delivered. Further, it is also possible to adopt a configuration in which each of them is stored in a recording medium such as a disk and is distributed for offline distribution.

【0146】また、サービスプロバイダからユーザデバ
イスに対するコンテンツ配信あるいは属性証明書(A
C:Attribute Certificate)の配信形態としては、ユ
ーザ側からサービスプロバイダに対する要求に基づいて
実行される形態と、ユーザの要求の有無に関係なく例え
ばサブスクライバ契約を結んでいるユーザに対して、サ
ービスプロバイダから一方的に送信するいわゆるプッシ
ュ型の形態(プッシュ型モデル)のいずれの形態も可能で
ある。プッシュ型モデルにおいては、サービスプロバイ
ダが予め目標ユーザ向けの属性証明書(AC)を作成し
て配信することになる。
In addition, content distribution from the service provider to the user device or attribute certificate (A
C: Attribute Certificate) is distributed based on the request from the user to the service provider, and from the service provider to the user who has a subscriber contract regardless of the user's request. Any form of so-called push type (push type model) of unilaterally transmitting is possible. In the push model, the service provider creates and distributes an attribute certificate (AC) for the target user in advance.

【0147】(1)相互認証処理、 コンテンツの購入要求エンティテイであるユーザデバイ
ス、およびコンテンツの提供元であるサービスプロバイ
ダ間では、まず相互認証処理が実行される。データ送受
信を実行する2つの手段間では、相互に相手が正しいデ
ータ通信者であるか否かを確認して、その後に必要なデ
ータ転送を行なうことが行われる。相手が正しいデータ
通信者であるか否かの確認処理が相互認証処理である。
相互認証処理時にセッション鍵の生成を実行して、生成
したセッション鍵を共有鍵として暗号化処理を実行して
データ送信を行なう構成が1つの好ましいデータ転送方
式である。相互認証方式としては、公開鍵暗号方式、共
通鍵暗号方式等、各方式の適用が可能である。
(1) Mutual authentication processing is first performed between the user device that is the content purchase request entity and the service provider that is the content provider. Between the two means for executing data transmission / reception, it is mutually confirmed whether or not the other party is a correct data communication party, and then necessary data transfer is performed. The process of confirming whether or not the other party is a correct data communicator is the mutual authentication process.
One preferable data transfer method is a configuration in which the session key is generated during the mutual authentication process, and the generated session key is used as the shared key to perform the encryption process and the data is transmitted. As the mutual authentication method, each method such as public key encryption method and common key encryption method can be applied.

【0148】ここでは、公開鍵暗号方式の1つの認証処
理方式であるハンドシェイクプロトコル(TLS1.
0)について図16のシーケンス図を参照して説明す
る。
Here, the handshake protocol (TLS1.
0) will be described with reference to the sequence diagram of FIG.

【0149】図16において、左側がユーザデバイス
(クライアント)の処理、右側がサービスプロバイダ(サ
ーバ)側の処理を示している。まず、(1)サービスプ
ロバイダ(サーバ)が暗号化仕様を決定するためのネゴ
シエーション開始要求をハローリクエストとしてユーザ
デバイス(クライアント)に送信する。(2)ユーザデ
バイス(クライアント)はハローリクエストを受信する
と、利用する暗号化アルゴリズム、セッションID、プ
ロトコルバージョンの候補をクライアントハローとし
て、サービスプロバイダ(サーバ)側に送信する。
In FIG. 16, the left side is the user device.
(Client) processing, the right side shows the service provider (server) side processing. First, (1) a service provider (server) transmits a negotiation start request for determining an encryption specification to a user device (client) as a hello request. (2) When the user device (client) receives the hello request, it sends the encryption algorithm, session ID, and protocol version candidate to be used as the client hello to the service provider (server) side.

【0150】(3)サービスプロバイダ(サーバ)側
は、利用を決定した暗号化アルゴリズム、セッションI
D、プロトコルバージョンをサーバーハローとしてユー
ザデバイス(クライアント)に送信する。(4)サービ
スプロバイダ(サーバ)は、自己の所有するルートCA
までの公開鍵証明書(X.509v3)一式をユーザデ
バイス(クライアント)に送信(サーバ・サーティフィ
ケート)する。なお、証明書連鎖をたどって最上位の公
開鍵証明書まで順に検証を実施しない場合には、必ずし
もルートCAまでの公開鍵証明書(X.509v3)一
式を送付する必要はない。(5)サービスプロバイダ
(サーバ)は、RSA公開鍵またはDiffie&He
llman公開鍵情報をユーザデバイス(クライアン
ト)に送信(サーバ・キー・エクスチェンジ)する。こ
れは証明書が利用できない場合に一時的に適用する公開
鍵情報である。
(3) The service provider (server) side uses the encryption algorithm, session I
D, the protocol version is transmitted to the user device (client) as a server hello. (4) The service provider (server) has its own root CA
The set of public key certificates (X.509v3) up to is transmitted to the user device (client) (server certificate). When the certificate chain is not followed and the verification is not performed up to the highest level public key certificate, it is not always necessary to send the set of public key certificates (X.509v3) up to the root CA. (5) The service provider (server) uses the RSA public key or Diffie & He
The llman public key information is transmitted to the user device (client) (server key exchange). This is public key information that is temporarily applied when the certificate cannot be used.

【0151】(6)次にサービスプロバイダ(サーバ)
側は、ユーザデバイス(クライアント)に対してサーテ
ィフイケート・リクエストとして、ユーザデバイス(ク
ライアント)の有する証明書を要求し、(7)サービス
プロバイダ(サーバ)によるネゴシエーション処理の終
了を知らせる(サーバハロー終了)。
(6) Next, service provider (server)
The side requests the certificate of the user device (client) as a certificate request to the user device (client), and (7) notifies the end of the negotiation process by the service provider (server) (end of server hello). ).

【0152】(8)サーバハロー終了を受信したユーザ
デバイス(クライアント)は、自己の所有するルートC
Aまでの公開鍵証明書(X.509v3)一式をサービ
スプロバイダ(サーバ)に送信(クライアント・サーテ
ィフィケート)する。なお、公開鍵証明書の連鎖検証を
行なわない場合は公開鍵証明書の一式送付は必須ではな
い。(9)ユーザデバイス(クライアント)は、48バ
イト乱数をサービスプロバイダ(サーバ)の公開鍵で暗
号化してサービスプロバイダ(サーバ)に送信する。サ
ービスプロバイダ(サーバ)、ユーザデバイス(クライ
アント)は、この値をもとに送受信データ検証処理のた
めのメッセージ認証コード:MAC(Message Authenti
cation Code)生成用のデータ等を含むマスターシーク
レットを生成する。
(8) The user device (client) which has received the server hello end notices the root C owned by itself.
A set of public key certificates (X.509v3) up to A is transmitted (client certificate) to the service provider (server). If the chain verification of public key certificates is not performed, sending the set of public key certificates is not essential. (9) The user device (client) encrypts the 48-byte random number with the public key of the service provider (server) and sends it to the service provider (server). Based on this value, the service provider (server) and user device (client) use the message authentication code: MAC (Message Authenti
cation code) Generate a master secret that includes data for generation.

【0153】(10)ユーザデバイス(クライアント)
は、クライアント証明書の正しさを確認するため、ここ
までのメッセージのダイジェストをクライアントの秘密
鍵で暗号化してサービスプロバイダ(サーバ)に送信
(クライアントサーティフィケート確認)し、(11)
先に決定した暗号化アルゴリズム、鍵利用の開始を通知
(チェンジ・サイファー・スペック)し、(12)認証
の終了を通知する。一方、(13)サービスプロバイダ
(サーバ)側からユーザデバイス(クライアント)に対
しても、先に決定した暗号化アルゴリズム、鍵利用の開
始を通知(チェンジ・サイファー・スペック)し、(1
4)認証の終了を通知する。
(10) User device (client)
Confirms the correctness of the client certificate by encrypting the message digest up to this point with the client's private key and sending it to the service provider (server) (confirming the client certificate), and (11)
The start of the encryption algorithm and the key use determined previously (change cipher specification) is notified, and (12) the end of the authentication is notified. On the other hand, (13) the service provider (server) side also notifies the user device (client) of the previously determined encryption algorithm and start of key usage (change cipher specifications), and (1
4) Notify the end of authentication.

【0154】上記処理において決定された暗号化アルゴ
リズムに従ってユーザデバイス(クライアント)とサー
ビスプロバイダ(サーバ)間のデータ転送が実行される
ことになる。
Data transfer between the user device (client) and the service provider (server) is executed according to the encryption algorithm determined in the above processing.

【0155】データ改竄の検証は、上述の認証処理でユ
ーザデバイス(クライアント)とサービスプロバイダ
(サーバ)間の合意のもとに生成されたマスターシーク
レットから算出されるメッセージ認証コード:MAC
(Message Authentication Code)を各エンティテイの
送信データに付加することでメッセージの改竄検証を行
なう。
Verification of data tampering is performed by the message authentication code: MAC calculated from the master secret generated under the agreement between the user device (client) and the service provider (server) in the above-mentioned authentication processing.
(Message Authentication Code) is added to the transmission data of each entity to verify the tampering of the message.

【0156】図17にメッセージ認証コード:MAC
(Message Authentication Code)の生成構成を示す。
データ送信側は、送信データに対して、認証処理におい
て生成したマスターシークレットに基づいて生成される
MACシークレットを付加し、これらの全体データから
ハッシュ値を計算し、さらにMACシークレット、パデ
ィング、ハッシュ値に基づいてハッシュ算出を行なって
メッセージ認証コード(MAC)を生成する。この生成
したMACを送信データに付加して、受信側で受信デー
タに基づいて生成したMACと受信MACとの一致が認
められればデータ改竄なしと判定し、一致が認められな
い場合には、データの改竄があったものと判定する。
FIG. 17 shows the message authentication code: MAC
The generation structure of (Message Authentication Code) is shown.
The data transmission side adds a MAC secret generated based on the master secret generated in the authentication process to the transmission data, calculates a hash value from these entire data, and further calculates the MAC secret, padding, and hash value. Based on the hash calculation, a message authentication code (MAC) is generated. When the generated MAC is added to the transmitted data and the MAC generated on the receiving side based on the received data and the received MAC match, it is determined that there is no data tampering. It is determined that there has been tampering with.

【0157】(2)コンテンツ利用権限情報証明書(属
性証明書)の生成、送信 ユーザデバイスからコンテンツの要求がなされたサービ
スプロバイダは、要求コンテンツの復号化処理に適用可
能なコンテンツ鍵:Kcを暗号化して格納し、コンテン
ツの利用制限情報を格納したコンテンツ利用権限情報証
明書、例えば属性証明書(AC)を生成して、ユーザに
対して送信する。
(2) Generation of Content Utilization Authority Information Certificate (Attribute Certificate) and Transmission The content provider requests the content from the service provider. The service provider encrypts the content key Kc applicable to the decryption processing of the requested content. The content usage authority information certificate that stores the content usage restriction information, for example, an attribute certificate (AC) is generated and transmitted to the user.

【0158】コンテンツ利用権限情報証明書、例えば属
性証明書(AC)を生成する主体は、サービスプロバイ
ダ自身であっても、またコンテンツ管理を実行する外部
エンティティであってもよい。外部エンティテイが属性
証明書(AC)を生成する場合は、サービスプロバイダ
の要求に従ってその外部エンティテイが属性証明書(A
C)を生成する。
The entity that generates the content use authority information certificate, for example, the attribute certificate (AC) may be the service provider itself or an external entity that executes content management. When an external entity generates an attribute certificate (AC), the external entity will generate the attribute certificate (A) according to the request from the service provider.
C) is generated.

【0159】属性証明書には対応暗号化コンテンツの復
号に適用可能なコンテンツ鍵:Kcが暗号化されて格納
される。コンテンツ鍵Kcの暗号化に適用する鍵には、
例えば、 (a)ユーザデバイスのセキュリティチップの各サービ
スプロバイダ管理領域に格納されたSP対応ストレージ
秘密鍵に対応するサービスプロバイダ(SP)対応スト
レージ公開鍵:SC.Stopub.SP.K (b)サービスプロバイダの保有する秘密鍵(共通鍵
系):SP.Sto.K (c)システムホルダ(SH)とユーザデバイスで共有
する鍵として生成されるグローバル共通鍵:Kg の各態様がある。なお、この他にも、いくつかの態様が
可能である。例えばサービスプロバイダの保有する公開
鍵で暗号化することも可能である。この場合は、ユーザ
デバイスから属性証明書(AC)を受信してサービスプ
ロバイダの保有する秘密鍵で復号化することになる。
In the attribute certificate, a content key: Kc applicable to decrypt the corresponding encrypted content is encrypted and stored. The key applied to the encryption of the content key Kc is
For example, (a) Service provider (SP) compatible storage public key corresponding to the SP compatible storage private key stored in each service provider management area of the security chip of the user device: SC. Stoppub. SP. K (b) Private key (common key system) held by the service provider: SP. Sto. K (c) There are various modes of global common key: Kg generated as a key shared by the system holder (SH) and the user device. In addition to this, several modes are possible. For example, it is possible to encrypt with a public key held by the service provider. In this case, the attribute certificate (AC) is received from the user device and decrypted with the private key held by the service provider.

【0160】なお、いずれの暗号化態様を適用した場合
でも、サービスプロバイダからユーザデバイスに対する
コンテンツ配信あるいは属性証明書(AC:Attribute
Certificate)の配信形態としては、ユーザ側からサー
ビスプロバイダに対する要求に基づいて実行される形態
と、ユーザの要求の有無に関係なく例えばサブスクライ
バ契約を結んでいるユーザに対して、サービスプロバイ
ダから一方的に送信するいわゆるプッシュ型の形態(プ
ッシュ型モデル)のいずれの形態も可能である。プッシ
ュ型モデルにおいては、サービスプロバイダが予め目標
ユーザ向けの属性証明書(AC)を作成して配信するこ
とになる。以下、上記(a)〜(c)の態様における処
理の詳細について説明する。
Note that whichever encryption mode is applied, content distribution or attribute certificate (AC: Attribute) from the service provider to the user device is performed.
As a delivery form of a Certificate), a form executed according to a request from the user side to the service provider, and a unilateral way from the service provider to a user who has a subscriber contract regardless of the user's request Either form of so-called push type (push type model) of transmitting is possible. In the push model, the service provider creates and distributes an attribute certificate (AC) for the target user in advance. Hereinafter, details of the processing in the above modes (a) to (c) will be described.

【0161】(a)SP対応ストレージ秘密鍵に対応す
るサービスプロバイダ(SP)対応ストレージ公開鍵:
SC.Stopub.SP.Kを適用した場合 前述したユーザデバイスのセキュリティチップのメモリ
領域についての説明中で示したように、ユーザデバイス
に登録された各登録サービスプロバイダについては、メ
モリに形成された各サービスプロバイダ管理領域にSP
対応ストレージ秘密鍵:SC.Stopri.SP.K
が格納される。ユーザデバイスのセキュリティチップで
は、サービスプロバイダから提供されるコンテンツに対
応する属性証明書の中からSP対応ストレージ秘密鍵に
対応するサービスプロバイダ(SP)対応ストレージ公
開鍵:SC.Stopub.SP.Kで暗号化されたコ
ンテンツ鍵:Kc、すなわち、[SC.Stopub.
SP.K(Kc)]を取り出して、SP対応ストレージ
秘密鍵:SC.Stopri.SP.Kで復号化処理を
実行することにより、コンテンツ鍵:Kcを取得する。
なお、[A(B)]は、Aで暗号化されたBからなるデ
ータを示すものとする。本形態では、ユーザデバイス
は、コンテンツの利用時、すなわち復号時にサービスプ
ロバイダと接続することなくユーザデバイス内の処理と
してコンテンツ復号、すなわちオフライン復号が可能と
なる。
(A) SP-compatible storage public key corresponding to SP-compatible storage private key:
SC. Stoppub. SP. When K is applied As described above in the description of the memory area of the security chip of the user device, each registered service provider registered in the user device has an SP in each service provider management area formed in the memory.
Corresponding storage secret key: SC. Stopri. SP. K
Is stored. In the security chip of the user device, the service provider (SP) storage public key corresponding to the SP corresponding storage secret key in the attribute certificate corresponding to the content provided by the service provider: SC. Stoppub. SP. Content key encrypted with K: Kc, that is, [SC. Stoppub.
SP. K (Kc)], and SP compatible storage secret key: SC. Stopri. SP. By executing the decryption process with K, the content key: Kc is acquired.
Note that [A (B)] indicates data composed of B encrypted with A. In this embodiment, the user device can perform content decryption, that is, offline decryption, as processing in the user device without connecting to the service provider when using the content, that is, decryption.

【0162】なお、上記例では、公開鍵暗号方式を適用
し、コンテンツ鍵の暗号化にSP対応ストレージ公開
鍵:SC.Stopub.SP.Kを用い、コンテンツ
鍵の復号にSP対応ストレージ秘密鍵:SC.Stop
ri.SP.Kを用いた構成例について説明したが、共
通鍵方式を適用することも可能であり、共通鍵方式を適
用する場合は、コンテンツ鍵の暗号化、復号化の双方の
処理にSP対応ストレージ鍵(共通鍵):SC.St
o.SP.Kを用いる。この場合、SP対応ストレージ
鍵(共通鍵):SC.Sto.SP.Kは、セキュリテ
ィチップのメモリの対応するサービスプロバイダのサー
ビスプロバイダ管理領域に格納する。
In the above example, the public key cryptosystem is applied, and the SP compatible storage public key: SC. Stoppub. SP. K, using SP compatible storage secret key: SC. Stop
ri. SP. Although the configuration example using K has been described, it is also possible to apply the common key method, and when the common key method is applied, the SP compatible storage key ( Common key): SC. St
o. SP. K is used. In this case, SP compatible storage key (common key): SC. Sto. SP. K is stored in the service provider management area of the corresponding service provider in the memory of the security chip.

【0163】(b)サービスプロバイダの保有する秘密
鍵(共通鍵系):SP.Sto.Kを適用した場合 サービスプロバイダは、ユーザデバイスに対して提供す
るコンテンツに対応して設定される属性証明書に格納す
るコンテンツ鍵:Kcをサービスプロバイダが保有する
秘密鍵:SP.Sto.Kを適用して暗号化する。ユー
ザデバイスは、属性証明書を受信しても、属性証明書に
格納された暗号化コンテンツ鍵:[SP.Sto.K
(Kc)]を復号することはできない。サービスプロバ
イダの保有する秘密鍵:SP.Sto.Kはユーザデバ
イスは保有していないからである。
(B) Private key (common key system) held by the service provider: SP. Sto. When K is applied, the service provider stores the content key: Kc stored in the attribute certificate set corresponding to the content provided to the user device: the private key held by the service provider: SP. Sto. Apply K to encrypt. Even if the user device receives the attribute certificate, the encrypted content key stored in the attribute certificate: [SP. Sto. K
(Kc)] cannot be decrypted. Private key held by the service provider: SP. Sto. This is because K has no user device.

【0164】従って、コンテンツを利用(復号化)する
ためには、次のような処理が必要となる。まず、ユーザ
デバイスは、サービスプロバイダに属性証明書を送付し
てコンテンツ鍵の復号要求を行ない、サービスプロバイ
ダにおいては、サービスプロバイダの保有する秘密鍵:
SP.Sto.Kによってコンテンツ鍵:Kcの復号化
を行なう。ユーザデバイスはサービスプロバイダより復
号化されたコンテンツ鍵:Kcを取得し、該コンテンツ
鍵:Kcで暗号化コンテンツの復号を行なう。本形態で
は、上述の(a)の形態と異なり、ユーザデバイスは、
コンテンツの利用時、すなわち復号時にサービスプロバ
イダと接続することが必須となる。すなわちオンライン
処理が必要となる。
Therefore, in order to use (decode) the content, the following processing is required. First, the user device sends an attribute certificate to the service provider to request decryption of the content key, and in the service provider, the private key held by the service provider:
SP. Sto. The content key: Kc is decrypted by K. The user device acquires the decrypted content key: Kc from the service provider, and decrypts the encrypted content with the content key: Kc. In the present mode, unlike the above-described mode (a), the user device is
It is essential to connect to the service provider when using the content, that is, when decrypting it. That is, online processing is required.

【0165】(c)システムホルダ(SH)とユーザデ
バイスで共有する鍵として生成されるグローバル共通
鍵:Kgを適用した場合 このグローバル共通鍵を利用する形態は、コンテンツの
配信を実行するサービスプロバイダにおいて、システム
ホルダの許可なくコンテンツが配布、利用されることを
防止し、システムホルダ(SH)による管理されたコン
テンツ配信を行なうための構成である。サービスプロバ
イダに対してコンテンツを提供するコンテンツクリエー
タの有するコンテンツ製作者鍵、コンテンツ配信を行な
うサービスプロバイダの有するコンテンツ配信者鍵、そ
してシステムホルダ(SH)とユーザデバイスで共有す
る鍵として生成されるグローバル共通鍵:Kgの各鍵を
組み合わせた暗号化処理を行なった暗号化鍵データを属
性証明書に格納し、コンテンツ利用者としてのエンドエ
ンティテイであるユーザデバイスに配布することで、サ
ービスプロバイダ自体もコンテンツ鍵を取り出すことを
防止し、ユーザデバイスにおいてのみコンテンツ鍵:K
cを取り出すことを可能とした構成である。
(C) When a global common key: Kg generated as a key shared by the system holder (SH) and the user device is applied. This global common key is used in a service provider that executes content distribution. This is a configuration for preventing contents from being distributed and used without permission of the system holder, and performing managed contents distribution by the system holder (SH). A global creator generated as a content creator key of a content creator that provides content to a service provider, a content distributor key of a service provider that distributes content, and a key shared by a system holder (SH) and a user device. By storing the encrypted key data that has been encrypted by combining each key of the key: Kg in the attribute certificate and distributing it to the user device that is the end entity as the content user, the service provider itself Prevents the key from being extracted, and only on the user device the content key: K
This is a configuration that enables the removal of c.

【0166】以下、これらの各形態について詳細に説明
する。まず、上記(a)〜(c)に共通する属性証明書
の発行処理シーケンスについて図18を用いて説明す
る。
Each of these forms will be described in detail below. First, the attribute certificate issuing processing sequence common to the above (a) to (c) will be described with reference to FIG.

【0167】図18の処理シーケンスは、先に説明した
図15のコンテンツ購入処理シーケンスの一部として構
成される属性証明書の生成、送信処理を詳細に説明した
ものである。ユーザデバイスはセキュリティチップを内
蔵し、セキュリティチップ内のメモリにはサービスプロ
バイダ管理領域が生成されており、サービスプロバイダ
管理情報が格納済みであるとする。
The processing sequence of FIG. 18 is a detailed description of the generation and transmission processing of the attribute certificate that is configured as a part of the content purchase processing sequence of FIG. 15 described above. It is assumed that the user device has a built-in security chip, a service provider management area has been created in the memory in the security chip, and the service provider management information has been stored.

【0168】図18の処理について説明する。ユーザデ
バイスとサービスプロバイダ間の相互認証が成立後、
(1)セキュリティチップを持つユーザデバイスは、サ
ービスプロバイダに対して属性証明書(AC)の要求を
行なう。属性証明書(AC)要求には、サービスプロバ
イダ管理領域に登録されたユーザID、コンテンツの指
定識別子としてのアプリケーションID、さらにユーザ
が選択した利用条件データにユーザの秘密鍵(サービス
プロバイダ対応秘密鍵)で署名したデータにユーザの公
開鍵証明書(PKC)を添付して送信する。利用条件デ
ータは、例えばコンテンツ利用制限回数、利用期限等の
指定データであり、ユーザによって選択可能である場合
にユーザ指定データとして含まれる。
The processing of FIG. 18 will be described. After mutual authentication between the user device and the service provider is established,
(1) A user device having a security chip makes a request for an attribute certificate (AC) to a service provider. In the attribute certificate (AC) request, the user ID registered in the service provider management area, the application ID as the designated identifier of the content, and the user's private key (private key corresponding to the service provider) in the usage condition data selected by the user. The user's public key certificate (PKC) is attached to the data signed in step 1 and sent. The usage condition data is, for example, designation data such as the number of times content is used and the expiration date, and is included as user designation data when it can be selected by the user.

【0169】署名は、データ改竄の検証を可能とするた
めに付加されるものであり、前述のMAC値を用いるこ
とも可能であり、公開鍵暗号方式を用いた電子署名を適
用することも可能である。
The signature is added to enable verification of data tampering, the MAC value described above can be used, and the electronic signature using the public key cryptosystem can also be applied. Is.

【0170】公開鍵暗号方式を用いた電子署名の生成方
法について、図19を用いて説明する。図19に示す処
理は、EC−DSA((Elliptic Curve Digital Signa
tureAlgorithm)、IEEE P1363/D3)を用いた電子署名デ
ータの生成処理フローである。なお、ここでは公開鍵暗
号として楕円曲線暗号(Elliptic Curve Cryptosystem
(以下、ECCと呼ぶ))を用いた例を説明する。な
お、本発明のデータ処理装置においては、楕円曲線暗号
以外にも、同様の公開鍵暗号方式における、例えばRS
A暗号((Rivest、Shamir、Adleman)など(ANSI X9.3
1))を用いることも可能である。
A method of generating an electronic signature using the public key cryptosystem will be described with reference to FIG. The process shown in FIG. 19 is performed by EC-DSA ((Elliptic Curve Digital Signa
tureAlgorithm), IEEE P1363 / D3) is used to generate digital signature data. In addition, here, as the public key cryptosystem, Elliptic Curve Cryptosystem
(Hereinafter, referred to as ECC)) will be described. In addition, in the data processing device of the present invention, in addition to the elliptic curve cryptosystem, for example, RS
A encryption ((Rivest, Shamir, Adleman), etc. (ANSI X9.3
It is also possible to use 1)).

【0171】図19の各ステップについて説明する。ス
テップS1において、pを標数、a、bを楕円曲線の係数
(楕円曲線:y2=x3+ax+b,4a3+27b2≠0
(mod p))、Gを楕円曲線上のベースポイント、r
をGの位数、Ksを秘密鍵(0<Ks<r)とする。ス
テップS2おいて、メッセージMのハッシュ値を計算
し、f=Hash(M)とする。
Each step of FIG. 19 will be described. In step S1, p is a characteristic, a and b are coefficients of an elliptic curve (elliptic curve: y 2 = x 3 + ax + b, 4a 3 + 27b 2 ≠ 0
(Mod p)), G is the base point on the elliptic curve, r
Is the order of G and Ks is the secret key (0 <Ks <r). In step S2, the hash value of the message M is calculated to be f = Hash (M).

【0172】ここで、ハッシュ関数を用いてハッシュ値
を求める方法を説明する。ハッシュ関数とは、メッセー
ジを入力とし、これを所定のビット長のデータに圧縮
し、ハッシュ値として出力する関数である。ハッシュ関
数は、ハッシュ値(出力)から入力を予測することが難
しく、ハッシュ関数に入力されたデータの1ビットが変
化したとき、ハッシュ値の多くのビットが変化し、ま
た、同一のハッシュ値を持つ異なる入力データを探し出
すことが困難である特徴を有する。ハッシュ関数として
は、MD4、MD5、SHA−1などが用いられる場合
もあるし、DES−CBCが用いられる場合もある。こ
の場合は、最終出力値となるMAC(チェック値:IC
Vに相当する)がハッシュ値となる。
Here, a method of obtaining a hash value using a hash function will be described. The hash function is a function that receives a message, compresses the message into data having a predetermined bit length, and outputs the data as a hash value. It is difficult for the hash function to predict the input from the hash value (output). When one bit of the data input to the hash function changes, many bits of the hash value change and the same hash value is changed. It has a feature that it is difficult to find out different input data. MD4, MD5, SHA-1, etc. may be used as the hash function, and DES-CBC may be used in some cases. In this case, the final output value MAC (check value: IC
(Corresponding to V) becomes the hash value.

【0173】続けて、ステップS3で、乱数u(0<u
<r)を生成し、ステップS4でベースポイントをu倍
した座標V(Xv,Yv)を計算する。なお、楕円曲線
上の加算、2倍算は次のように定義されている。
Succeedingly, in a step S3, a random number u (0 <u
<R) is generated, and the coordinate V (Xv, Yv) obtained by multiplying the base point by u is calculated in step S4. The addition and doubling on the elliptic curve are defined as follows.

【0174】[0174]

【数1】P=(Xa,Ya),Q=(Xb,Yb),R=(Xc,Y
c)=P+Qとすると、 P≠Qの時(加算)、 Xc=λ2−Xa−Xb Yc=λ×(Xa−Xc)−Ya λ=(Yb−Ya)/(Xb−Xa) P=Qの時(2倍算)、 Xc=λ2−2Xa Yc=λ×(Xa−Xc)−Ya λ=(3(Xa)2+a)/(2Ya)
## EQU1 ## P = (Xa, Ya), Q = (Xb, Yb), R = (Xc, Y
c) = P + Q, when P ≠ Q (addition), Xc = λ 2 −Xa−Xb Yc = λ × (Xa−Xc) −Ya λ = (Yb−Ya) / (Xb−Xa) When P = Q (doubled), Xc = λ 2 −2Xa Yc = λ × (Xa−Xc) −Ya λ = (3 (Xa) 2 + a) / (2Ya)

【0175】これらを用いて点Gのu倍を計算する(速
度は遅いが、最もわかりやすい演算方法として次のよう
に行う。G、2×G、4×G・・を計算し、uを2進数展
開して1が立っているところに対応する2i×G(Gをi
回2倍算した値(iはuのLSBから数えた時のビット
位置))を加算する。
These are used to calculate u times point G (the speed is slow, but the easiest way to calculate is as follows: G, 2 × G, 4 × G ... 2 i × G (where G is i
The value twice multiplied (i is the bit position when counting from the LSB of u) is added.

【0176】ステップS5で、c=Xvmod rを計
算し、ステップS6でこの値が0になるかどうか判定
し、0でなければステップS7でd=[(f+cKs)
/u]mod rを計算し、ステップS8でdが0であ
るかどうか判定し、dが0でなければ、ステップS9で
cおよびdを電子署名データとして出力する。仮に、r
を160ビット長の長さであると仮定すると、電子署名
データは320ビット長となる。
In step S5, c = Xvmod r is calculated, and in step S6 it is determined whether or not this value becomes 0. If it is not 0, d = [(f + cKs) in step S7.
/ U] mod r is calculated, and it is determined in step S8 whether or not d is 0. If d is not 0, c and d are output as electronic signature data in step S9. If r
Is 160 bits long, the electronic signature data has a length of 320 bits.

【0177】ステップS6において、cが0であった場
合、ステップS3に戻って新たな乱数を生成し直す。同
様に、ステップS8でdが0であった場合も、ステップ
S3に戻って乱数を生成し直す。
If c is 0 in step S6, the process returns to step S3 to regenerate a new random number. Similarly, if d is 0 in step S8, the process returns to step S3 to regenerate a random number.

【0178】次に、公開鍵暗号方式を用いた電子署名の
検証方法を、図20を用いて説明する。ステップS11
で、Mをメッセージ、pを標数、a、bを楕円曲線の係数
(楕円曲線:y2=x3+ax+b,4a3+27b2≠0
(mod p))、Gを楕円曲線上のベースポイント、r
をGの位数、GおよびKs×Gを公開鍵(0<Ks<
r)とする。ステップS12で電子署名データcおよび
dが0<c<r、0<d<rを満たすか検証する。これ
を満たしていた場合、ステップS13で、メッセージM
のハッシュ値を計算し、f=Hash(M)とする。次
に、ステップS14でh=1/d mod rを計算し、ステップ
S15でh1=fh mod r、h2=chmod
rを計算する。
Next, a method of verifying an electronic signature using the public key cryptosystem will be described with reference to FIG. Step S11
Where M is a message, p is a characteristic, a and b are coefficients of an elliptic curve (elliptic curve: y 2 = x 3 + ax + b, 4a 3 + 27b 2 ≠ 0
(Mod p)), G is the base point on the elliptic curve, r
Is the order of G, G and Ks × G are public keys (0 <Ks <
r). In step S12, it is verified whether the electronic signature data c and d satisfy 0 <c <r and 0 <d <r. If this is satisfied, in step S13, the message M
The hash value of is calculated to be f = Hash (M). Next, in step S14, h = 1 / d mod r is calculated, and in step S15, h1 = fh mod r and h2 = chmod.
Calculate r.

【0179】ステップS16において、既に計算したh
1およびh2を用い、点P=(Xp,Yp)=h1×G
+h2・Ks×Gを計算する。電子署名検証者は、ベー
スポイントGおよびKs×Gを知っているので、図19
のステップS4と同様に楕円曲線上の点のスカラー倍の
計算ができる。そして、ステップS17で点Pが無限遠
点かどうか判定し、無限遠点でなければステップS18
に進む(実際には、無限遠点の判定はステップS16で
できてしまう。つまり、P=(X,Y)、Q=(X,−
Y)の加算を行うと、λが計算できず、P+Qが無限遠
点であることが判明している)。ステップS18でXp
mod rを計算し、電子署名データcと比較する。最
後に、この値が一致していた場合、ステップS19に進
み、電子署名が正しいと判定する。
In step S16, h already calculated
1 and h2, the point P = (Xp, Yp) = h1 × G
Calculate + h2 · Ks × G. Since the electronic signature verifier knows the base points G and Ks × G, FIG.
Similar to step S4 of step 1, the scalar multiplication of the point on the elliptic curve can be calculated. Then, in step S17, it is determined whether the point P is the point at infinity, and if it is not the point at infinity, step S18.
(In practice, the point at infinity can be determined in step S16. That is, P = (X, Y), Q = (X,-
(Y) is added, λ cannot be calculated, and it is known that P + Q is the point at infinity). Xp in step S18
The mod r is calculated and compared with the electronic signature data c. Finally, when the values match, the process proceeds to step S19, and it is determined that the electronic signature is correct.

【0180】電子署名が正しいと判定された場合、デー
タは改竄されておらず、公開鍵に対応した秘密鍵を保持
する者が電子署名を生成したことがわかる。
When it is determined that the electronic signature is correct, it is understood that the data has not been tampered with and the person who holds the private key corresponding to the public key has generated the electronic signature.

【0181】ステップS12において、電子署名データ
cまたはdが、0<c<r、0<d<rを満たさなかっ
た場合、ステップS20に進む。また、ステップS17
において、点Pが無限遠点であった場合もステップS2
0に進む。さらにまた、ステップS18において、Xp
mod rの値が、電子署名データcと一致していなか
った場合にもステップS20に進む。
If the electronic signature data c or d does not satisfy 0 <c <r and 0 <d <r in step S12, the process proceeds to step S20. In addition, step S17
If the point P is the point at infinity in step S2, step S2
Go to 0. Furthermore, in step S18, Xp
Even when the value of mod r does not match the electronic signature data c, the process proceeds to step S20.

【0182】ステップS20において、電子署名が正し
くないと判定された場合、データは改竄されているか、
公開鍵に対応した秘密鍵を保持する者が電子署名を生成
したのではないことがわかる。上述したように、署名付
けやハッシュをとるだけでは改竄は可能であるが、検出
により実質的に改竄できないことと同様の効果がある。
If it is determined in step S20 that the digital signature is not correct, is the data falsified?
It can be seen that the person holding the private key corresponding to the public key did not generate the digital signature. As described above, the tampering can be performed only by taking a signature or hashing, but it has the same effect as that the tampering cannot be substantially performed by the detection.

【0183】属性証明書(AC)要求を受信したサービ
スプロバイダは、上述の署名検証処理等によって要求デ
ータに改竄がないことを確認すると、アプリケーション
IDで特定されるコンテンツに対応するコンテンツ鍵:
Kcを暗号化する。このコンテンツ鍵:Kcの暗号化に
適用する鍵は、前述の(a)ユーザデバイスのセキュリ
ティチップの各サービスプロバイダ管理領域に格納され
たSP対応ストレージ秘密鍵:SC.Stopri.S
P.K、(b)サービスプロバイダの保有する秘密鍵:
SP.Sto.K、(c)システムホルダ(SH)とユ
ーザデバイスで共有する鍵として生成されるグローバル
共通鍵:Kgのいずれかである。
When the service provider receiving the attribute certificate (AC) request confirms that the request data has not been tampered with by the above-mentioned signature verification process, etc., the content key corresponding to the content specified by the application ID:
Encrypt Kc. The key applied to the encryption of this content key: Kc is the SP-compatible storage secret key: SC.0 stored in each service provider management area of the above-described (a) user device security chip. Stopri. S
P. K, (b) Private key held by the service provider:
SP. Sto. K, (c) a global common key: Kg generated as a key shared by the system holder (SH) and the user device.

【0184】さらに、サービスプロバイダは、コンテン
ツの利用条件データ他の必要データを格納し、前述した
図5に示す属性証明書を生成する。生成した属性証明書
には、サービスプロバイダの秘密鍵を用いた電子署名が
付加される。電子署名の生成処理は、図19の処理フロ
ーと同様の処理に従って実行される。サービスプロバイ
ダによって生成された属性証明書はユーザデバイスに送
付され、ユーザデバイスにおいて、上述の図20の処理
フローと同様のシーケンスに従って署名検証処理を実行
する。
Further, the service provider stores the content use condition data and other necessary data, and generates the above-mentioned attribute certificate shown in FIG. An electronic signature using the private key of the service provider is added to the generated attribute certificate. The electronic signature generation process is executed according to the same process as the process flow of FIG. The attribute certificate generated by the service provider is sent to the user device, and the user device executes the signature verification process according to the same sequence as the process flow of FIG. 20 described above.

【0185】さらに、必要に応じてユーザデバイスは、
属性証明書(AC)内のAC保持者の公開鍵証明書情報
に従ってリンクする公開鍵証明書を取得して、公開鍵証
明書の検証を行なうことが好ましい。例えば属性証明書
(AC)の発行者の信頼度が不確かである場合には、属
性証明書(AC)の発行者の公開鍵証明書の検証を行な
うことによって、認証局の公開鍵証明書を正当に有して
いるか否かの判定が可能となる。なお、公開鍵証明書が
前述したように階層構成をなしている場合は、経路を上
位に辿って連鎖的な検証を行ない、ルート認証局(C
A)の発行した公開鍵証明書の検証まで実行することが
好ましい。なお、この連鎖検証が必須の場合もある。
Further, if necessary, the user device
It is preferable to obtain a public key certificate linked according to the public key certificate information of the AC holder in the attribute certificate (AC) and verify the public key certificate. For example, when the reliability of the issuer of the attribute certificate (AC) is uncertain, the public key certificate of the certificate authority is verified by verifying the public key certificate of the issuer of the attribute certificate (AC). It is possible to judge whether or not the user has it legally. When the public key certificate has the hierarchical structure as described above, the route certification is performed by tracing the route to the upper level and executing the chain verification.
It is preferable to execute the verification of the public key certificate issued by A). In some cases, this chain verification is essential.

【0186】属性証明書(AC)と公開鍵証明書(PK
C)との関連確認処理、および各証明書の検証処理の詳
細について、図を参照して説明する。図21のフロー
は、属性証明書(AC)の検証を実行する際に行なわれ
る属性証明書(AC)に関連する公開鍵証明書(PK
C)の確認処理である。
Attribute certificate (AC) and public key certificate (PK
The details of the relationship confirmation processing with C) and the verification processing of each certificate will be described with reference to the drawings. The flow of FIG. 21 is the public key certificate (PK) related to the attribute certificate (AC), which is performed when the verification of the attribute certificate (AC) is executed.
This is the confirmation processing of C).

【0187】確認対象の属性証明書(AC)がセット
(S21)されると、属性証明書のAC保持者の公開鍵
証明書情報(holder)フィールドを抽出(S2
2)し、抽出した公開鍵証明書情報(holder)フ
ィールド内に格納された公開鍵証明書の発行者情報(P
KC issuer)、公開鍵証明書シリアル番号(P
KC serial)を確認(S23)し、公開鍵証明
書の発行者情報(PKCissuer)、公開鍵証明書
シリアル番号(PKC serial)に基づいて公開
鍵証明書(PKC)を検索(S24)して、属性証明書
(AC)に関連付けられた公開鍵証明書(PKC)を取
得(S25)する。
When the attribute certificate (AC) to be confirmed is set (S21), the public key certificate information (holder) field of the AC holder of the attribute certificate is extracted (S2).
2) Then, the issuer information (P) of the public key certificate stored in the extracted public key certificate information (holder) field
KC issuer, public key certificate serial number (P
KC serial) is confirmed (S23), the public key certificate (PKC) is searched based on the public key certificate issuer information (PKCissuer) and public key certificate serial number (PKC serial) (S24), A public key certificate (PKC) associated with the attribute certificate (AC) is acquired (S25).

【0188】図21に示すように、属性証明書(AC)
と公開鍵証明書(PKC)とは、属性証明書に格納され
た公開鍵証明書情報(holder)フィールド内の公
開鍵証明書発行者情報(PKC issuer)、およ
び公開鍵証明書シリアル番号(PKC serial)
により関連付けがなされている。
As shown in FIG. 21, the attribute certificate (AC)
And the public key certificate (PKC) are the public key certificate issuer information (PKC issuer) in the public key certificate information (holder) field stored in the attribute certificate, and the public key certificate serial number (PKC). serial)
Is associated with.

【0189】次に、図22を参照して公開鍵証明書(P
KC)の検証処理について説明する。図22に示す公開
鍵証明書(PKC)の検証は、下位から上位へ証明書連
鎖をたどって最上位の公開鍵証明書までの連鎖情報を取
得して、最上位(ル−トCA)までの公開鍵証明書の署
名検証を行なう連鎖検証処理フローである。まず、検証
対象となる公開鍵証明書(PKC)をセット(S31)
し、公開鍵証明書(PKC)格納情報に基づいて、公開
鍵証明書(PKC)署名者を特定(S32)する。さら
に、検証対象となる証明書連鎖の最上位の公開鍵証明書
であるかを判定(S33)し、最上位でない場合は、最
上位公開鍵証明書を直接あるいはリポジトリなどから取
得(S34)する。最上位公開鍵証明書が取得されセッ
ト(S35)されると、署名検証に必要な検証鍵(公開
鍵)を取得(S36)し、検証対象の署名が自己署名で
あるか否かを判定し(S37)、自己署名でない場合
は、下位PKCをセット(S39)して、上位の公開鍵
証明書から取得した検証鍵(公開鍵)に基づいて署名検
証を実行(S40)する。なお、ステップS37におけ
る自己署名判定において、自己署名の場合は自己の公開
鍵を検証鍵とした検証を実行(S38)し、ステップS
41に進む。
Next, referring to FIG. 22, the public key certificate (P
The verification process of KC) will be described. The verification of the public key certificate (PKC) shown in FIG. 22 is performed by tracing the certificate chain from the lower level to the upper level to obtain chain information up to the highest level public key certificate, and then up to the highest level (root CA). 5 is a chain verification processing flow for verifying the signature of the public key certificate. First, set the public key certificate (PKC) to be verified (S31)
Then, based on the information stored in the public key certificate (PKC), the signer of the public key certificate (PKC) is specified (S32). Further, it is determined whether the certificate is the highest public key certificate in the certificate chain to be verified (S33), and if it is not the highest, the highest public key certificate is obtained directly or from a repository or the like (S34). . When the highest level public key certificate is acquired and set (S35), the verification key (public key) required for signature verification is acquired (S36), and it is determined whether the signature to be verified is a self-signature. (S37) If it is not a self-signature, the lower PKC is set (S39), and signature verification is executed based on the verification key (public key) obtained from the upper public key certificate (S40). In the self-signature determination in step S37, in the case of a self-signature, verification using the public key of the self is executed as a verification key (S38),
Proceed to 41.

【0190】署名検証に成功した場合(S41:Ye
s)は、目的とするPKCの検証が完了したか否かを判
定(S42)し、完了している場合は、PKC検証を終
了する。完了していない場合は、ステップS36に戻
り、署名検証に必要な検証鍵(公開鍵)の取得、下位の
公開鍵証明書の署名検証を繰り返し実行する。なお、署
名検証に失敗した場合(S41:No)は、ステップS
43に進み、エラー処理、例えばその後の手続きを停止
する等の処理を実行する。
When the signature verification is successful (S41: Ye
In step s), it is determined whether the verification of the target PKC is completed (S42), and if it is completed, the PKC verification is terminated. If not completed, the process returns to step S36, and the verification key (public key) necessary for signature verification and the signature verification of the lower public key certificate are repeatedly executed. If the signature verification fails (S41: No), the step S
In step 43, an error process, for example, a process of stopping the subsequent procedure is executed.

【0191】次に、図23を参照して属性証明書(A
C)の検証処理(例1)について説明する。まず、検証
対象となる属性証明書(AC)をセット(S51)し、
属性証明書(AC)格納情報に基づいて、属性証明書
(AC)の所有者および署名者を特定(S52)する。
さらに、属性証明書(AC)の所有者の公開鍵証明書を
直接あるいはリポジトリなどから取得(S53)して、
公開鍵証明書の検証処理を実行(S54)する。
Next, referring to FIG. 23, the attribute certificate (A
The verification process (example 1) of C) will be described. First, set the attribute certificate (AC) to be verified (S51),
The owner and the signer of the attribute certificate (AC) are specified based on the attribute certificate (AC) storage information (S52).
Furthermore, the public key certificate of the owner of the attribute certificate (AC) is obtained directly or from a repository or the like (S53),
A verification process of the public key certificate is executed (S54).

【0192】公開鍵証明書の検証に失敗した場合(S5
5でNo)は、ステップS56に進み、エラー処理を行
なう。例えばその後の処理を中止する。公開鍵証明書の
検証に成功した場合(S55でYes)は、属性証明書
(AC)の署名者に対応する公開鍵証明書を直接あるい
はリポジトリなどから取得(S57)して、公開鍵証明
書の検証処理を実行(S58)する。公開鍵証明書の検
証に失敗した場合(S59でNo)は、ステップS60
に進み、エラー処理を行なう。例えばその後の処理を中
止する。公開鍵証明書の検証に成功した場合(S59で
Yes)は、属性証明書(AC)の署名者に対応する公
開鍵証明書から公開鍵を取り出し(S61)て、取り出
した公開鍵を用いて属性証明書(AC)の署名検証処理
を実行(S62)する。署名検証に失敗した場合(S6
3でNo)は、ステップS64に進み、エラー処理を行
なう。例えばその後の処理を中止する。署名検証に成功
した場合(S63でYes)は、属性証明書検証を終了
し、その後の処理、例えば属性証明書内の暗号化コンテ
ンツ鍵の取得等に移行する。
When verification of the public key certificate fails (S5
If No in 5), the process proceeds to step S56, and error processing is performed. For example, the subsequent processing is stopped. When the verification of the public key certificate is successful (Yes in S55), the public key certificate corresponding to the signer of the attribute certificate (AC) is acquired directly or from a repository or the like (S57), and the public key certificate is acquired. The verification process of is executed (S58). If the verification of the public key certificate fails (No in S59), step S60
Go to and perform error handling. For example, the subsequent processing is stopped. If the verification of the public key certificate is successful (Yes in S59), the public key is extracted from the public key certificate corresponding to the signer of the attribute certificate (AC) (S61), and the extracted public key is used. Signature verification processing of the attribute certificate (AC) is executed (S62). If signature verification fails (S6
If No in 3), the process proceeds to step S64 and error processing is performed. For example, the subsequent processing is stopped. When the signature verification is successful (Yes in S63), the attribute certificate verification is terminated, and the process proceeds to the subsequent process, for example, acquisition of the encrypted content key in the attribute certificate.

【0193】次に、図24を参照して属性証明書(A
C)の検証処理(例2)について説明する。本例は、自
デバイス内に属性証明書(AC)の検証処理に必要とな
る公開鍵証明書が格納されているか否かを判定し、公開
鍵証明書が格納されている場合は、その検証を省略する
こととした例である。まず、検証対象となる属性証明書
(AC)をセット(S71)し、属性証明書(AC)格
納情報に基づいて、属性証明書(AC)の所有者および
署名者を特定(S72)する。さらに、属性証明書(A
C)の所有者の公開鍵証明書(PKC)が自デバイス内
のメモリに格納保存されていないかを検索(S73)す
る。保存されている場合(S74でYes)は、属性証
明書(AC)の所有者の公開鍵証明書を取り出し(S7
5)て、ステップS81に進む。
Next, referring to FIG. 24, the attribute certificate (A
The verification process (example 2) of C) will be described. In this example, it is determined whether or not the public key certificate necessary for the verification process of the attribute certificate (AC) is stored in the device itself, and if the public key certificate is stored, the verification is performed. Is an example in which is omitted. First, the attribute certificate (AC) to be verified is set (S71), and the owner and signer of the attribute certificate (AC) are specified based on the attribute certificate (AC) storage information (S72). Furthermore, the attribute certificate (A
It is searched whether the public key certificate (PKC) of the owner of C) is stored and saved in the memory of the own device (S73). If it is stored (Yes in S74), the public key certificate of the owner of the attribute certificate (AC) is taken out (S7).
5) Then, the process proceeds to step S81.

【0194】属性証明書(AC)の所有者の公開鍵証明
書(PKC)が自デバイス内のメモリに保存されていな
い場合(S74でNo)は、属性証明書(AC)の所有
者の公開鍵証明書(PKC)を直接あるいはリポジトリ
などから取得(S76)して、属性証明書(AC)の所
有者の公開鍵証明書(PKC)の検証処理を実行(S7
7)する。公開鍵証明書の検証に失敗した場合(S78
でNo)は、ステップS79に進み、エラー処理を行な
う。例えばその後の処理を中止する。公開鍵証明書の検
証に成功した場合(S78でYes)は、公開鍵証明書
の検証結果を保存(S80)した後、属性証明書(A
C)の署名者に対応する公開鍵証明書(PKC)が自デ
バイス内のメモリに格納保存されていないかを検索(S
81)する。保存されている場合(S82でYes)
は、属性証明書(AC)の署名者の公開鍵証明書を取り
出し(S83)て、ステップS88に進む。
When the public key certificate (PKC) of the owner of the attribute certificate (AC) is not stored in the memory of the device itself (No in S74), the owner of the attribute certificate (AC) is disclosed. The key certificate (PKC) is acquired directly or from a repository or the like (S76), and the verification process of the public key certificate (PKC) of the owner of the attribute certificate (AC) is executed (S7).
7) Do. If the verification of the public key certificate fails (S78
No), the process proceeds to step S79 and error processing is performed. For example, the subsequent processing is stopped. If the verification of the public key certificate is successful (Yes in S78), the verification result of the public key certificate is saved (S80), and then the attribute certificate (A
It is searched whether the public key certificate (PKC) corresponding to the signer of (C) is stored and saved in the memory of the self device (S).
81) If saved (Yes in S82)
Takes out the public key certificate of the signer of the attribute certificate (AC) (S83) and proceeds to step S88.

【0195】属性証明書(AC)の署名者の公開鍵証明
書(PKC)が自デバイス内のメモリに保存されていな
い場合(S82でNo)は、属性証明書(AC)の署名
者の公開鍵証明書(PKC)を直接あるいはリポジトリ
などから取得(S84)して、属性証明書(AC)の署
名者の公開鍵証明書(PKC)の検証処理を実行(S8
5)する。公開鍵証明書の検証に失敗した場合(S86
でNo)は、ステップS87に進み、エラー処理を行な
う。例えばその後の処理を中止する。公開鍵証明書の検
証に成功した場合(S86でYes)は、公開鍵証明書
から属性証明書(AC)の署名検証に適用する鍵(公開
鍵)を取り出し(S88)、属性証明書(AC)の署名
検証処理を実行(S89)する。署名検証に失敗した場
合(S90でNo)は、ステップS91に進み、エラー
処理を行なう。例えばその後の処理を中止する。署名検
証に成功した場合(S90でYes)は、属性証明書検
証を終了し、その後の処理、例えば属性証明書内の暗号
化コンテンツ鍵の取得等に移行する。
When the public key certificate (PKC) of the signer of the attribute certificate (AC) is not stored in the memory of the device itself (No in S82), the signer of the attribute certificate (AC) is disclosed. The key certificate (PKC) is obtained directly or from a repository or the like (S84), and the verification process of the public key certificate (PKC) of the signer of the attribute certificate (AC) is executed (S8).
5) Do. If the verification of the public key certificate fails (S86
No), the process proceeds to step S87 to perform error processing. For example, the subsequent processing is stopped. When the verification of the public key certificate is successful (Yes in S86), the key (public key) applied to the signature verification of the attribute certificate (AC) is extracted from the public key certificate (S88), and the attribute certificate (AC The signature verification process of () is executed (S89). If the signature verification fails (No in S90), the process proceeds to step S91 and error processing is performed. For example, the subsequent processing is stopped. If the signature verification is successful (Yes in S90), the attribute certificate verification is terminated, and the process proceeds to the subsequent process, for example, acquisition of the encrypted content key in the attribute certificate.

【0196】ユーザデバイスによる属性証明書の検証が
なされると、属性証明書はユーザデバイス内のセキュリ
ティチップのメモリ、あるいはセキュリティチップ外の
ユーザデバイス制御部の管理下の外部メモリに格納さ
れ、コンテンツの利用時に、属性証明書内の暗号化コン
テンツ鍵の取得、復号化処理を実行することになる。属
性証明書から暗号化されたコンテンツ鍵を取得して復号
する処理について、以下説明する。
When the attribute certificate is verified by the user device, the attribute certificate is stored in the memory of the security chip inside the user device or in the external memory under the control of the user device control unit outside the security chip, and the attribute certificate is stored. At the time of use, acquisition and decryption processing of the encrypted content key in the attribute certificate will be executed. The process of acquiring the encrypted content key from the attribute certificate and decrypting it will be described below.

【0197】(a)SP対応ストレージ秘密鍵に対応す
るサービスプロバイダ(SP)対応ストレージ公開鍵:
SC.Stopub.SP.Kを適用した場合 まず、前述の(a)SP対応ストレージ秘密鍵に対応す
るサービスプロバイダ(SP)対応ストレージ公開鍵:
SC.Stopub.SP.Kをコンテンツ鍵:Kcの
暗号化に適用し、[SC.Stopub.SP.K(K
c)]を格納した属性証明書に基づくコンテンツ利用処
理について説明する。
(A) SP-compatible storage public key corresponding to SP-compatible storage private key:
SC. Stoppub. SP. When K is applied First, the service provider (SP) compatible storage public key corresponding to the above-mentioned (a) SP compatible storage private key:
SC. Stoppub. SP. K is applied to the encryption of the content key: Kc, and [SC. Stoppub. SP. K (K
The content usage process based on the attribute certificate storing c)] will be described.

【0198】SP対応ストレージ秘密鍵:SC.Sto
pri.SP.Kは、サービスプロバイダ管理領域に格
納され、ユーザは前述した認証情報(パスワード)入力
により、この鍵を取り出して利用することができる。従
って、コンテンツ鍵:Kcはサービスプロバイダに接続
することなくオフライン処理として取得可能であり、コ
ンテンツの復号が可能となる。
Storage secret key corresponding to SP: SC. Sto
pri. SP. K is stored in the service provider management area, and the user can retrieve and use this key by inputting the authentication information (password) described above. Therefore, the content key: Kc can be acquired as offline processing without connecting to the service provider, and the content can be decrypted.

【0199】図25に属性証明書からの暗号化コンテン
ツ鍵取得、復号、コンテンツ鍵によるコンテンツ復号化
処理のシーケンスを説明する図を示す。
FIG. 25 is a diagram for explaining the sequence of acquisition of encrypted content key from the attribute certificate, decryption, and content decryption processing using the content key.

【0200】図25のシーケンス図に従って説明する。
図25は左からセキュリティチップ内部のメモリ、セキ
ュリティチップ制御部、ユーザデバイス制御部の処理を
示している。まず、ユーザデバイスに対してユーザの入
力したコンテンツ識別情報としてのアプリケーションI
Dをセキュリティチップ制御部に送信し、メモリからア
プリケーションIDに対応する属性証明書(AC)を取
得する。ユーザデバイスでは、アプリケーションIDに
対応する属性証明書であるかの検証を行ない、セキュリ
ティチップ制御部に属性証明書をセットし、コンテンツ
鍵:Kcの取得(復号)処理を要求する。
Description will be given according to the sequence diagram of FIG.
FIG. 25 shows the processing of the memory inside the security chip, the security chip control unit, and the user device control unit from the left. First, the application I as content identification information input by the user to the user device
D is transmitted to the security chip control unit, and the attribute certificate (AC) corresponding to the application ID is acquired from the memory. The user device verifies whether the attribute certificate corresponds to the application ID, sets the attribute certificate in the security chip control unit, and requests acquisition (decryption) processing of the content key: Kc.

【0201】セキュリティチップ制御部は、属性証明書
の署名検証を実行し、データ改竄のないことを確認し、
属性証明書内に格納された暗号化コンテンツ鍵:[S
C.Stopub.SP.K(Kc)]を取り出して、
サービスプロバイダ管理領域に格納されたSP対応スト
レージ秘密鍵:SC.Stopri.SP.Kを適用し
て復号化処理を実行し、コンテンツ鍵:Kcを取得す
る。コンテンツ鍵:Kcの取得に成功すると、セキュリ
ティチップ制御部は、ユーザデバイス制御部にコンテン
ツの復号準備が完了したことを通知する。
The security chip control unit executes signature verification of the attribute certificate and confirms that there is no data tampering.
Encrypted content key stored in the attribute certificate: [S
C. Stoppub. SP. K (Kc)],
SP compatible storage secret key stored in the service provider management area: SC. Stopri. SP. The decryption process is executed by applying K to obtain the content key: Kc. When the content key: Kc is successfully obtained, the security chip control unit notifies the user device control unit that the preparation for decrypting the content is completed.

【0202】次にユーザデバイス制御部は、取得したコ
ンテンツ鍵を適用して復号すべき暗号化コンテンツを、
セキュリティチップ制御部を介してメモリから取得す
る。暗号化コンテンツがセキュリティチップ内のメモリ
ではなく、外部メモリ(例えばハードディスク)等に格
納されている場合は、外部メモリから暗号化コンテンツ
を取得する。さらに、取得した暗号化コンテンツをセキ
ュリティチップに送信し、セキュリティチップ内で暗号
化コンテンツに対してコンテンツ鍵:Kcを適用した復
号化処理を実行し、復号化処理結果として得られるコン
テンツをユーザデバイス制御部に出力する。
Next, the user device control section applies the acquired content key to the encrypted content to be decrypted,
It is acquired from the memory via the security chip controller. When the encrypted content is stored in an external memory (for example, a hard disk) instead of the memory in the security chip, the encrypted content is acquired from the external memory. Further, the acquired encrypted content is transmitted to the security chip, the decryption process applying the content key: Kc is performed on the encrypted content in the security chip, and the content obtained as the decryption process result is controlled by the user device. Output to the department.

【0203】なお、上記構成例では、公開鍵暗号方式を
適用し、コンテンツ鍵の暗号化にSP対応ストレージ公
開鍵:SC.Stopub.SP.Kを用い、暗号化コ
ンテンツ鍵の復号にSP対応ストレージ秘密鍵:SC.
Stopri.SP.Kを用いた構成としたが、共通鍵
方式を適用することも可能であり、共通鍵方式を適用す
る場合は、コンテンツ鍵の暗号化、復号化の双方の処理
にSP対応ストレージ鍵(共通鍵):SC.Sto.S
P.Kを用いる。この場合、SP対応ストレージ鍵(共
通鍵):SC.Sto.SP.Kは、セキュリティチッ
プのメモリの対応するサービスプロバイダのサービスプ
ロバイダ管理領域に格納される。
In the above configuration example, the public key cryptosystem is applied, and the SP compatible storage public key: SC. Stoppub. SP. K.K., the SP compatible storage secret key: SC.
Stopri. SP. Although the configuration using K is used, it is also possible to apply the common key method. When the common key method is applied, the SP compatible storage key (common key) is used for both encryption and decryption processing of the content key. ): SC. Sto. S
P. K is used. In this case, SP compatible storage key (common key): SC. Sto. SP. K is stored in the service provider management area of the corresponding service provider in the memory of the security chip.

【0204】(b)サービスプロバイダの保有する秘密
鍵(共通鍵系):SP.Sto.Kを適用した場合 次に、前述の(b)サービスプロバイダの保有する秘密
鍵:SP.Sto.Kをコンテンツ鍵:Kcの暗号化に
適用し、[SP.Sto.K(Kc)]を格納した属性
証明書に基づくコンテンツ利用処理について説明する。
(B) Private key (common key system) held by the service provider: SP. Sto. When K is applied: Next, the private key held by the above-mentioned (b) service provider: SP. Sto. K is applied to the encryption of the content key: Kc, and [SP. Sto. The content usage process based on the attribute certificate storing K (Kc)] will be described.

【0205】サービスプロバイダの保有する秘密鍵:S
P.Sto.Kは、サービスプロバイダが保有し、ユー
ザデバイスには格納されていない鍵である。従って、ユ
ーザデバイスがコンテンツ鍵:Kcを取得するために
は、サービスプロバイダに接続して、コンテンツ鍵の復
号化処理をサービスプロバイダに対して要求することが
必要となり、オンライン処理によるコンテンツ復号を実
行することとなる。
Private key held by the service provider: S
P. Sto. K is a key held by the service provider and not stored in the user device. Therefore, in order for the user device to obtain the content key: Kc, it is necessary to connect to the service provider and request the service provider to decrypt the content key, and execute the content decryption by online processing. It will be.

【0206】図26に属性証明書からのコンテンツ鍵取
得、復号、コンテンツ鍵によるコンテンツ復号化処理の
シーケンスを説明する図を示す。
FIG. 26 is a diagram for explaining the sequence of content key acquisition from the attribute certificate, decryption, and content decryption processing using the content key.

【0207】図26のシーケンス図に従って説明する。
図26は左からセキュリティチップ内部のメモリ、セキ
ュリティチップ制御部、ユーザデバイス制御部、サービ
スプロバイダにおける処理を示している。
Description will be given according to the sequence diagram of FIG.
FIG. 26 shows the processing in the memory inside the security chip, the security chip controller, the user device controller, and the service provider from the left.

【0208】まず、ユーザデバイスに対してユーザの入
力したコンテンツ識別情報としてのアプリケーションI
Dをセキュリティチップ制御部に送信し、メモリからア
プリケーションIDに対応する属性証明書(AC)を取
得する。ユーザデバイスでは、アプリケーションIDに
対応する属性証明書であるかの検証を行ない、セキュリ
ティチップ制御部に属性証明書をセットし、コンテンツ
鍵:Kcの取得(復号)処理を要求する。
First, the application I as the content identification information input by the user to the user device is input.
D is transmitted to the security chip control unit, and the attribute certificate (AC) corresponding to the application ID is acquired from the memory. The user device verifies whether the attribute certificate corresponds to the application ID, sets the attribute certificate in the security chip control unit, and requests acquisition (decryption) processing of the content key: Kc.

【0209】セキュリティチップ制御部は、属性証明書
の検証の後、属性証明書の発行元であるサービスプロバ
イダに対してユーザデバイスを介して接続し、セキュリ
ティチップとサービスプロバイダ間の相互認証処理を実
行する。この相互認証処理は、先に説明した図16のT
LS1.0処理または、その他の方式、例えば公開鍵方
式による相互認証処理として実行される。この相互認証
処理においては、相互の公開鍵証明書の検証がなされ、
必要に応じてルート認証局(CA)までの公開鍵証明書
が連鎖的に検証される。この認証処理において、セキュ
リティチップと、サービスプロバイダはセッション鍵
(Kses)を共有する。
After verifying the attribute certificate, the security chip control unit connects to the service provider, which is the issuer of the attribute certificate, through the user device, and executes mutual authentication processing between the security chip and the service provider. To do. This mutual authentication process is performed by the T of FIG.
It is executed as a mutual authentication process by the LS1.0 process or another system, for example, a public key system. In this mutual authentication process, mutual public key certificate verification is performed,
The public key certificate up to the root certificate authority (CA) is chain-verified as necessary. In this authentication process, the security chip and the service provider share the session key (Kses).

【0210】相互認証が成立すると、セキュリティチッ
プの制御部は、サービスプロバイダに対して属性証明書
を送付する。属性証明書には、サービスプロバイダの保
有する秘密鍵:SP.Sto.Kで暗号化されたコンテ
ンツ鍵のデータ、すなわち、[SP.Sto.K(K
c)]が格納されている。
When mutual authentication is established, the control unit of the security chip sends the attribute certificate to the service provider. The attribute certificate contains the private key of the service provider: SP. Sto. The content key data encrypted with K, that is, [SP. Sto. K (K
c)] is stored.

【0211】セキュリティチップから属性証明書を受信
したサービスプロバイダは、属性証明書の署名検証処理
を実行する。また、この際、属性証明書にリンクする公
開鍵証明書、およびその上位公開鍵証明書を連鎖的に検
証することが好ましい。なお、この連鎖検証が必須の場
合もある。これらの検証処理により、属性証明書の正当
性が確認されると、サービスプロバイダは、自己の所有
する秘密鍵:SP.Sto.Kを用いて、属性証明書に
格納された暗号化コンテンツ鍵:[SP.Sto.K
(Kc)]の復号化処理を実行し、コンテンツ鍵:Kc
を取り出す。さらに、取り出したコンテンツ鍵:Kcを
先の相互認証処理において生成したセッションキー(K
ses)で暗号化して、ユーザデバイスのセキュリティ
チップに対して送信する。
Upon receiving the attribute certificate from the security chip, the service provider executes signature verification processing of the attribute certificate. Further, at this time, it is preferable to verify the public key certificate linked to the attribute certificate and the higher public key certificate in a chained manner. In some cases, this chain verification is essential. When the validity of the attribute certificate is confirmed by these verification processes, the service provider determines that the private key owned by the service provider: SP. Sto. Encrypted content key stored in the attribute certificate: [SP. Sto. K
(Kc)] decryption process is performed, and the content key: Kc
Take out. Furthermore, the extracted content key: Kc is used as the session key (K
ses) and transmits to the security chip of the user device.

【0212】セキュリティチップの制御部は、サービス
プロバイダからセッションキーで暗号化されたコンテン
ツ鍵、すなわち、[Kses(Kc)]を受信すると、
相互認証時に保有したセッションキーを用いて復号化処
理を実行してコンテンツ鍵:Kcを取得する。
When the control unit of the security chip receives the content key encrypted with the session key, that is, [Kses (Kc)], from the service provider,
The decryption process is executed using the session key held at the time of mutual authentication to obtain the content key: Kc.

【0213】コンテンツ鍵:Kcの取得に成功すると、
セキュリティチップ制御部は、ユーザデバイス制御部に
コンテンツの復号準備が完了したことを通知する。次に
ユーザデバイス制御部は、取得したコンテンツ鍵を適用
して復号すべき暗号化コンテンツをセキュリティチップ
制御部を介してメモリから取得する。暗号化コンテンツ
がセキュリティチップ内のメモリではなく、外部メモリ
(例えばハードディスク)等に格納されている場合は、
外部メモリから暗号化コンテンツを取得する。さらに、
取得した暗号化コンテンツをセキュリティチップに送信
し、セキュリティチップ内で暗号化コンテンツに対して
コンテンツ鍵:Kcを適用した復号化処理を実行し、復
号化処理結果として得られるコンテンツをユーザデバイ
ス制御部に出力する。
When the content key: Kc is successfully obtained,
The security chip control unit notifies the user device control unit that the content is ready for decryption. Next, the user device control unit acquires the encrypted content to be decrypted by applying the acquired content key from the memory via the security chip control unit. If the encrypted content is stored in an external memory (eg hard disk) instead of the memory in the security chip,
Get encrypted content from external memory. further,
The acquired encrypted content is transmitted to the security chip, the decryption process applying the content key: Kc is performed on the encrypted content in the security chip, and the content obtained as the decryption process result is sent to the user device controller. Output.

【0214】(c)システムホルダ(SH)とユーザデ
バイスで共有する鍵として生成されるグローバル共通
鍵:Kgを適用した場合 次に、システムホルダ(SH)とユーザデバイスで共有
する鍵として生成されるグローバル共通鍵:Kgを、コ
ンテンツ鍵:Kcの暗号化に間接的に適用して属性証明
書に格納する処理形態について説明する。このグローバ
ル共通鍵を利用する形態は、ユーザデバイスにおいての
みコンテンツ鍵:Kcを取り出すことを可能とし、コン
テンツの配信を実行するサービスプロバイダはコンテン
ツ鍵の取り出しを不可能とすることで、システムホルダ
の許可なくコンテンツが配布、利用されることを防止
し、システムホルダ(SH)による管理されたコンテン
ツ配信を行なうことが可能となる。
(C) When a global common key: Kg generated as a key shared by the system holder (SH) and the user device is applied Next, it is generated as a key shared by the system holder (SH) and the user device. A processing mode in which the global common key: Kg is indirectly applied to the encryption of the content key: Kc and stored in the attribute certificate will be described. This form using the global common key enables the content key: Kc to be retrieved only by the user device, and the service provider executing the content distribution cannot retrieve the content key. It is possible to prevent the content from being distributed and used, and to perform the managed content distribution by the system holder (SH).

【0215】具体的には、サービスプロバイダに対して
コンテンツを提供するコンテンツクリエータの有するコ
ンテンツ製作者鍵、コンテンツ配信を行なうサービスプ
ロバイダの有するコンテンツ配信者鍵、そしてシステム
ホルダ(SH)とユーザデバイスで共有する鍵として生
成されるグローバル共通鍵:Kgの各鍵を組み合わせた
暗号化処理を行なった暗号化鍵データを属性証明書に格
納する。
[0215] Specifically, the content creator key of the content creator who provides the content to the service provider, the content distributor key of the service provider who distributes the content, and the system holder (SH) shared by the user device. A global common key: Kg generated as a key to be encrypted is stored in the attribute certificate.

【0216】図27に、グローバル共通鍵:Kgをコン
テンツ鍵:Kcの暗号化に間接的に適用してコンテンツ
鍵:Kcの暗号化データを属性証明書に格納して配布す
る処理の詳細を説明する図を示す。
FIG. 27 shows the details of the process of indirectly applying the global common key: Kg to the encryption of the content key: Kc to store the encrypted data of the content key: Kc in the attribute certificate and distribute it. Fig.

【0217】図27には、コンテンツ配信のプラットホ
ームを構築、管理するシステムホルダ301、コンテン
ツ配信を実行するサービスプロバイダ(CD:コンテン
ツディストリビュータ)302、コンテンツを生成また
は管理し、サービスプロバイダ302に対して暗号化コ
ンテンツを提供するコンテンツクリエータ303、サー
ビスプロバイダ302からコンテンツを受領するエンド
エンティテイとしてのユーザデバイス304を示してい
る。なお、ユーザデバイス304は、前述の(a),
(b)の例と同様、セキュリティチップを有し、セキュ
リティチップ内のメモリ領域にはサービスプロバイダ管
理領域が生成されている。
FIG. 27 shows a system holder 301 for constructing and managing a content distribution platform, a service provider (CD: content distributor) 302 for executing content distribution, a content generating or managing content, and an encryption for the service provider 302. The content creator 303 that provides the encoded content and the user device 304 as the end entity that receives the content from the service provider 302 are illustrated. It should be noted that the user device 304 includes the above (a),
Similar to the example of (b), it has a security chip, and a service provider management area is generated in the memory area in the security chip.

【0218】図27の処理について説明する。まず、コ
ンテンツクリエータ303は、配信対象となるコンテン
ツを暗号化するための鍵:Kcを例えば乱数により生成
し、生成したコンテンツ鍵(共通鍵系):Kcを用い
て、(1)コンテンツを暗号化してサービスプロバイダ
302に提供する。
The processing of FIG. 27 will be described. First, the content creator 303 generates a key: Kc for encrypting the content to be distributed by, for example, a random number, and (1) encrypts the content using the generated content key (common key system): Kc. To the service provider 302.

【0219】さらに、システムホルダ301は、(2)
コンテンツクリエータ303から、コンテンツクリエー
タ303の保有するコンテンツクリエータ鍵(共通鍵
系):Kccを受信し、(3)サービスプロバイダ(C
D:コンテンツディストリビュータ)302からサービ
スプロバイダ302の保有するサービスプロバイダ鍵
(共通鍵系):Kcdを受信する。なお、これらの鍵は
事前に受け渡しを行なってもよい。
Further, the system holder 301 is (2)
The content creator key (common key system): Kcc held by the content creator 303 is received from the content creator 303, and (3) the service provider (C
D: A service provider key (common key system): Kcd held by the service provider 302 is received from the content distributor 302. Note that these keys may be delivered in advance.

【0220】システムホルダ301は、コンテンツクリ
エータ鍵:Kccをサービスプロバイダ鍵:Kcdで暗
号化し、さらに、この暗号化データをグローバル共通
鍵:Kgで暗号化する。すなわち暗号化鍵データ:[K
g([Kcd(Kcc)])]を生成し、(4)これを
コンテンツクリエータ303に送付する。なお、[Kg
([Kcd(Kcc)])]は事前に受け渡しを行なっ
てもよい。グローバル共通鍵:Kgは、システムホルダ
301と、ユーザデバイス304が共有する鍵である。
ユーザデバイス304には、(5)デバイス製造時、デ
バイス販売時まで、あるいは少なくともコンテンツの購
入開始前までに、1以上のグローバル共通鍵:Kg1〜
Kgnが格納され、これらはシステムホルダの管理の下
に更新処理が実行される。更新処理については、後述す
る。
The system holder 301 encrypts the content creator key: Kcc with the service provider key: Kcd, and further encrypts this encrypted data with the global common key: Kg. That is, encrypted key data: [K
g ([Kcd (Kcc)])] is generated, and (4) this is sent to the content creator 303. In addition, [Kg
([Kcd (Kcc)])] may be handed over in advance. Global common key: Kg is a key shared by the system holder 301 and the user device 304.
The user device 304 includes (5) one or more global common keys: Kg1 to before device manufacturing, device sales, or at least before the start of content purchase.
Kgn is stored, and these are updated under the control of the system holder. The update process will be described later.

【0221】コンテンツクリエータ303は、コンテン
ツ鍵:Kcをコンテンツクリエータ鍵:Kccで暗号化
したデータ:[Kcc(Kc)]を生成し、(6)これ
をサービスプロバイダ302に対して送信するととも
に、システムホルダ301から受信した、コンテンツク
リエータ鍵:Kccをサービスプロバイダ鍵:Kcdで
暗号化し、さらに、この暗号化データをグローバル共通
鍵:Kgで暗号化した暗号化鍵データ:[Kg([Kc
d(Kcc)])]をサービスプロバイダ302に対し
て送信する。なお、[Kg([Kcd(Kcc)])]
は事前に受け渡しを行なってもよい。
The content creator 303 generates data: [Kcc (Kc)] obtained by encrypting the content key: Kc with the content creator key: Kcc, and (6) transmits this to the service provider 302, and at the same time, the system The content creator key: Kcc received from the holder 301 is encrypted with the service provider key: Kcd, and this encrypted data is further encrypted with the global common key: Kg. Encryption key data: [Kg ([Kc ([Kc
d (Kcc)])] to the service provider 302. Note that [Kg ([Kcd (Kcc)])]
May be handed over in advance.

【0222】ユーザデバイス304がサービスプロバイ
ダ302に対して(7)コンテンツ購入要求を行なう
と、(8)サービスプロバイダは、要求コンテンツに対
応する属性証明書を生成して、ユーザデバイス304に
送信する。生成する属性証明書(AC)には、前述の暗
号鍵データ:[Kg([Kcd(Kcc)])]、すな
わち、コンテンツクリエータ鍵:Kccをサービスプロ
バイダ鍵:Kcdで暗号化し、さらに、この暗号化デー
タをグローバル共通鍵:Kgで暗号化したデータ、およ
び、コンテンツ鍵:Kcをコンテンツクリエータ鍵:K
ccで暗号化したデータ:[Kcc(Kc)]が格納さ
れる。その他、コンテンツの利用条件等のデータが格納
され、サービスプロバイダ302の電子署名がなされて
ユーザデバイス304に送信される。ユーザデバイス3
04は、受信した属性証明書(AC)をメモリに格納す
る。
When the user device 304 makes a (7) content purchase request to the service provider 302, the (8) service provider generates an attribute certificate corresponding to the requested content and sends it to the user device 304. In the generated attribute certificate (AC), the above-mentioned encryption key data: [Kg ([Kcd (Kcc)])], that is, the content creator key: Kcc is encrypted with the service provider key: Kcd, and this encryption is performed. Encrypted data with global common key: Kg, and content key: Kc with content creator key: K
Data encrypted by cc: [Kcc (Kc)] is stored. In addition, data such as content usage conditions are stored, and an electronic signature of the service provider 302 is made and transmitted to the user device 304. User device 3
04 stores the received attribute certificate (AC) in the memory.

【0223】コンテンツの利用時には、ユーザデバイス
304は、サービスプロバイダ302との間で(9)相
互認証を行なった後、(10)先に受信済みの属性証明
書(AC)をサービスプロバイダ302に送信する。相
互認証処理は、ユーザデバイスのセキュリティチップと
サービスプロバイダ間の相互認証処理として実行され
る。この相互認証処理は、先に説明した図16のTLS
1.0処理または、その他の方式、例えば公開鍵方式に
よる相互認証処理として実行される。この相互認証処理
においては、相互の公開鍵証明書の検証がなされ、必要
に応じてルート認証局(CA)までの公開鍵証明書が連
鎖的に検証される。この認証処理において、セキュリテ
ィチップと、サービスプロバイダはセッション鍵(Ks
es)を共有する。
When using the content, the user device 304 (9) performs mutual authentication with the service provider 302, and then (10) transmits the attribute certificate (AC) already received to the service provider 302. To do. The mutual authentication process is executed as a mutual authentication process between the security chip of the user device and the service provider. This mutual authentication processing is performed by the TLS of FIG. 16 described above.
1.0 processing or other methods, for example, mutual authentication processing using a public key method. In this mutual authentication processing, mutual public key certificates are verified, and public key certificates up to the root certificate authority (CA) are verified in a chained manner, if necessary. In this authentication process, the security chip and the service provider use the session key (Ks
es) share.

【0224】属性証明書には、前述のコンテンツクリエ
ータ鍵:Kccをサービスプロバイダ鍵:Kcdで暗号
化し、さらに、この暗号化データをグローバル共通鍵:
Kgで暗号化したデータ:[Kg([Kcd(Kc
c)])]、および、コンテンツ鍵:Kcをコンテンツ
クリエータ鍵:Kccで暗号化したデータ:[Kcc
(Kc)]が格納されている。
In the attribute certificate, the above-mentioned content creator key: Kcc is encrypted with the service provider key: Kcd, and this encrypted data is global common key:
Data encrypted with Kg: [Kg ([Kcd (Kc
c)])], and data obtained by encrypting the content key: Kc with the content creator key: Kcc: [Kcc
(Kc)] is stored.

【0225】セキュリティチップから属性証明書を受信
したサービスプロバイダは、属性証明書の署名検証処理
を実行する。また、この際、属性証明書にリンクする公
開鍵証明書、およびその上位公開鍵証明書を連鎖的に検
証することが好ましい。なお、この連鎖検証が必須の場
合もある。これらの検証処理により、属性証明書の正当
性が確認されると、(11)サービスプロバイダは、自
己の所有するサービスプロバイダ鍵:Kcdを、相互認
証時に生成したセッション鍵:Ksesで暗号化して、
暗号化鍵データ[Kses(Kcd)]を生成し、これ
をユーザデバイスに送信する。
Upon receiving the attribute certificate from the security chip, the service provider executes signature verification processing of the attribute certificate. Further, at this time, it is preferable to verify the public key certificate linked to the attribute certificate and the higher public key certificate in a chained manner. In some cases, this chain verification is essential. When the validity of the attribute certificate is confirmed by these verification processes, (11) the service provider encrypts the service provider key: Kcd owned by itself with the session key: Kses generated during mutual authentication,
The encrypted key data [Kses (Kcd)] is generated and transmitted to the user device.

【0226】ユーザデバイス304のセキュリティチッ
プ制御部は、(12)サービスプロバイダ302から受
信した暗号化鍵データ[Kses(Kcd)]につい
て、セッションキーを用いた復号化処理を実行してサー
ビスプロバイダ鍵:Kcdを取得する。なお、サービス
プロバイダ鍵:Kcdを事前にサービスプロバイダメモ
リ領域に保管しておいてもよい。
The security chip controller of the user device 304 (12) executes the decryption process using the session key on the encrypted key data [Kses (Kcd)] received from the service provider 302, and the service provider key: Get Kcd. The service provider key: Kcd may be stored in the service provider memory area in advance.

【0227】ユーザデバイス304のセキュリティチッ
プ制御部は、次に、(13)属性証明書中のコンテンツ
クリエータ鍵:Kccをサービスプロバイダ鍵:Kcd
で暗号化し、さらに、この暗号化データをグローバル共
通鍵:Kgで暗号化したデータ:[Kg([Kcd(K
cc)])]について、まず、自己の所有するグローバ
ル共通鍵:Kgで復号し、[Kcd(Kcc)]を取得
する。さらに、(14)サービスプロバイダ302から
受信した暗号化鍵データの復号により取得したサービス
プロバイダ鍵:Kcdを適用した復号化処理により、コ
ンテンツクリエータ鍵:Kccを取得する。
The security chip control unit of the user device 304 then (13) replaces the content creator key: Kcc in the attribute certificate with the service provider key: Kcd.
And encrypted with the global common key: Kg: [Kg ([Kcd (K
[ccd]])] is first decrypted with its own global common key: Kg to obtain [Kcd (Kcc)]. Further, (14) the content creator key: Kcc is obtained by the decryption processing to which the service provider key: Kcd obtained by decrypting the encrypted key data received from the service provider 302 is applied.

【0228】さらに、(15)ユーザデバイス304の
セキュリティチップ制御部は、属性証明書中のコンテン
ツ鍵:Kcをコンテンツクリエータ鍵:Kccで暗号化
したデータ:[Kcc(Kc)]を取り出して、前記処
理によって取得したコンテンツクリエータ鍵:Kccを
適用した復号化処理を実行してコンテンツ鍵:Kcを取
得する。
(15) The security chip control unit of the user device 304 takes out the data: [Kcc (Kc)] obtained by encrypting the content key: Kc in the attribute certificate with the content creator key: Kcc, The content creator key: Kcc obtained by the process is decrypted to obtain the content key: Kc.

【0229】コンテンツ鍵:Kcの取得に成功すると、
ユーザデバイス304のセキュリティチップ制御部は、
ユーザデバイス制御部にコンテンツの復号準備が完了し
たことを通知する。
[0229] When the content key: Kc is successfully obtained,
The security chip controller of the user device 304
Notify the user device control unit that the content is ready for decryption.

【0230】ユーザデバイス304は、サービスプロバ
イダ302から取得した暗号化コンテンツ((16)の
処理)をセキュリティチップに送信し、セキュリティチ
ップ内で暗号化コンテンツに対してコンテンツ鍵:Kc
を適用した復号化処理を実行する。
The user device 304 transmits the encrypted content (processing of (16)) acquired from the service provider 302 to the security chip, and the content key: Kc for the encrypted content in the security chip.
Execute the decryption process to which is applied.

【0231】なお、上述の各エンティテイ間における
鍵、暗号化鍵等のデータ送受信の前には、データ送受信
を実行するエンティテイ間で相互認証を実行し、認証成
立を条件としたデータ送受信を行なうことが好ましく、
また送受信データはセッションキーで暗号化し、署名を
付与した構成とすることが好ましい。
Before data transmission / reception of keys, encryption keys, etc. between the above-mentioned entities, mutual authentication is executed between the entities executing data transmission / reception, and data transmission / reception is performed on condition that the authentication is established. Is preferred,
Further, it is preferable that the transmitted / received data is encrypted with a session key and is given a signature.

【0232】このように、グローバル共通鍵は、ユーザ
デバイスとシステムホルダのみが所有し、その他のエン
ティテイは保有することがなく、他のエンティテイでは
取得不可能な鍵として構成される。従って、サービスプ
ロバイダにおいてもコンテンツ鍵の取得は不可能であ
り、システムホルダの許可のないコンテンツ鍵の流通、
コンテンツの流通が防止可能となる。
As described above, the global common key is configured as a key that is owned only by the user device and the system holder, does not hold other entities, and cannot be acquired by other entities. Therefore, even the service provider cannot obtain the content key, and the distribution of the content key without the permission of the system holder,
Distribution of contents can be prevented.

【0233】グローバル共通鍵は、必要に応じて更新さ
れる。更新を実行するのは、システムホルダの管理下に
あるサポートセンタである。サポートセンタとユーザデ
バイス間で実行されるグローバル共通鍵更新処理シーケ
ンスを図28に示す。ユーザデバイスのセキュリティチ
ップ内のメモリ領域には、2つのグローバル共通鍵Kg
1,Kg2が格納されているものとする。これらのいず
れかを使用して属性証明書内の鍵データの暗号化がなさ
れ、復号化処理が実行される。あるいは例えばトリプル
DESアルゴリズムを適用して2つの鍵を用いて属性証
明書内の鍵データの暗号化を行ない、2つの鍵を用いた
復号化処理を実行する構成としてもよい。
The global common key is updated as needed. It is the support center under the control of the system holder that performs the update. FIG. 28 shows a global common key update processing sequence executed between the support center and the user device. Two global common keys Kg are stored in the memory area of the security chip of the user device.
It is assumed that 1 and Kg2 are stored. The key data in the attribute certificate is encrypted using any of these, and the decryption process is executed. Alternatively, for example, the triple DES algorithm may be applied to encrypt the key data in the attribute certificate using two keys, and the decryption process using the two keys may be performed.

【0234】図28の処理シーケンスに示す各処理につ
いて説明する。図28は左からセキュリティチップ制御
部、ユーザデバイス制御部、システムホルダの管理下に
あるサポートセンタにおける処理を示している。
Each process shown in the process sequence of FIG. 28 will be described. FIG. 28 shows processing from the left in the security chip control unit, the user device control unit, and the support center under the control of the system holder.

【0235】まず、ユーザデバイス制御部がグローバル
共通鍵:Kg更新要求をセキュリティチップ制御部に送
信すると、セキュリティチップ制御部は、システムホル
ダの管理下にあるサポートセンタに対してユーザデバイ
スを介して接続し、セキュリティチップとサポートセン
タ間の相互認証処理を実行する。この相互認証処理は、
先に説明した図16のTLS1.0処理または、その他
の方式、例えば公開鍵方式による相互認証処理として実
行される。この相互認証処理においては、相互の公開鍵
証明書の検証がなされ、必要に応じてルート認証局(C
A)までの公開鍵証明書が連鎖的に検証される。この認
証処理において、セキュリティチップと、サポートセン
タはセッション鍵(Kses)を共有する。
First, when the user device controller sends a global common key: Kg update request to the security chip controller, the security chip controller connects to the support center under the control of the system holder via the user device. Then, the mutual authentication process between the security chip and the support center is executed. This mutual authentication process is
It is executed as the above-described TLS1.0 process in FIG. 16 or as a mutual authentication process using another method, for example, a public key method. In this mutual authentication processing, mutual public key certificates are verified and, if necessary, the root certificate authority (C
The public key certificates up to A) are verified in a chain. In this authentication processing, the security chip and the support center share the session key (Kses).

【0236】相互認証が成立すると、セキュリティチッ
プの制御部は、サポートセンタに対してグローバル共通
鍵:Kg更新要求を出力する。サポートセンタは、すで
に生成済みの更新用グローバル共通鍵:Kg3、あるい
は要求に応じて生成したグローバル共通鍵:Kg3を認
証処理において生成したセッション鍵:Ksesで暗号
化し、暗号化鍵データ:[Kses(Kg3)]をユー
ザデバイスのセキュリティチップに対して送信する。
When mutual authentication is established, the control unit of the security chip outputs a global common key: Kg update request to the support center. The support center encrypts the already generated global common key for update: Kg3, or the global common key: Kg3 generated in response to the request with the session key: Kses generated in the authentication process, and the encrypted key data: [Kses ( Kg3)] to the security chip of the user device.

【0237】セキュリティチップの制御部は、サポート
センタからセッションキーで暗号化されたグローバル共
通鍵:Kg3、すなわち、[Kses(Kg3)]を受
信すると、相互認証時に保有したセッションキーを用い
て復号化処理を実行してグローバル共通鍵:Kg3を取
得する。
When the control unit of the security chip receives the global common key: Kg3 encrypted with the session key from the support center, that is, [Kses (Kg3)], the control unit of the security chip decrypts it using the session key held at the time of mutual authentication. The processing is executed to obtain the global common key: Kg3.

【0238】グローバル共通鍵:Kg3の取得に成功す
ると、セキュリティチップ制御部は、グローバル共通
鍵:Kg1を、取得したグローバル共通鍵:Kg3に置
き換える。これにより、ユーザデバイスの保有するグロ
ーバル共通鍵は、Kg2、Kg3となる。ユーザデバイ
スの保有するグローバル共通鍵は、その順序関係も含め
て意味があるため、[Kg1,Kg2]の順序関係も併
せて[Kg2,Kg3]と修正する。グローバル共通鍵
は、鍵データと共にユーザデバイス内で保持されている
順序関係も合わせてデータを保持しているものとする。
When the global common key: Kg3 is successfully obtained, the security chip control section replaces the global common key: Kg1 with the obtained global common key: Kg3. As a result, the global common keys held by the user device are Kg2 and Kg3. Since the global common key held by the user device has meaning including its order relation, the order relation of [Kg1, Kg2] is also corrected to [Kg2, Kg3]. It is assumed that the global common key holds the data together with the key data and the order relationship held in the user device.

【0239】図29は、ユーザデバイスとサポートセン
タが直接データ送受信を行なうことなく、サービスプロ
バイダが仲介を行なってグローバル共通鍵の更新を実行
する処理シーケンス例を示した図である。
FIG. 29 is a diagram showing an example of a processing sequence in which the service provider mediates and updates the global common key without directly transmitting and receiving data between the user device and the support center.

【0240】図29の処理シーケンスに示す各処理につ
いて説明する。図29は左からセキュリティチップ制御
部、ユーザデバイス制御部、サービスプロバイダ、シス
テムホルダの管理下にあるサポートセンタにおける処理
を示している。
Each process shown in the process sequence of FIG. 29 will be described. FIG. 29 shows the processing in the support center under the control of the security chip controller, the user device controller, the service provider, and the system holder from the left.

【0241】サポートセンタでは、更新される新たなグ
ローバル共通鍵:Kg3を事前生成し、グローバル共通
鍵:Kg3をすでにユーザデバイスに配布済みのグロー
バル共通鍵:Kg2で暗号化してデータ:[Kg2(K
g3)]を生成し、これに、サポートセンタの秘密鍵:
Kssで署名を付してサービスプロバイダに送付する。
サービスプロバイダは、データ[Kg2(Kg3)],
Sig[Kss]を有する。なお、A,Sig[B]
は、データAに鍵Bで署名を付加したデータ構成を示す
ものとする。
At the support center, a new updated global common key: Kg3 is generated in advance, and the global common key: Kg3 is encrypted with the global common key: Kg2 already distributed to the user device, and the data: [Kg2 (K
g3)], and the private key of the support center:
Kss is signed and sent to the service provider.
The service provider uses the data [Kg2 (Kg3)],
Sig [Kss]. A, Sig [B]
Indicates a data structure in which a signature is added to the data A with the key B.

【0242】次に、ユーザデバイス制御部がグローバル
共通鍵:Kg更新要求をセキュリティチップ制御部に送
信すると、セキュリティチップ制御部は、サービスプロ
バイダに対してユーザデバイスを介して接続し、セキュ
リティチップとサービスプロバイダ間の相互認証処理を
実行する。この相互認証処理は、先に説明した図16の
TLS1.0処理または、その他の方式、例えば公開鍵
方式による相互認証処理として実行される。この相互認
証処理においては、相互の公開鍵証明書の検証がなさ
れ、必要に応じてルート認証局(CA)までの公開鍵証
明書が連鎖的に検証される。この認証処理において、セ
キュリティチップと、サービスプロバイダはセッション
鍵(Kses)を共有する。
Next, when the user device control unit transmits a global common key: Kg update request to the security chip control unit, the security chip control unit connects to the service provider via the user device, and the security chip and the service are connected. Perform mutual authentication between providers. This mutual authentication processing is executed as the above-described TLS1.0 processing of FIG. 16 or other method, for example, mutual authentication processing using a public key method. In this mutual authentication processing, mutual public key certificates are verified, and public key certificates up to the root certificate authority (CA) are verified in a chained manner, if necessary. In this authentication process, the security chip and the service provider share the session key (Kses).

【0243】相互認証が成立すると、セキュリティチッ
プの制御部は、サービスプロバイダに対してグローバル
共通鍵:Kg更新要求を出力する。サービスプロバイダ
はサポートセンタから受信済みのデータ[Kg2(Kg
3)],Sig[SuC]をユーザデバイスのセキュリ
ティチップに対して送信する。
When mutual authentication is established, the control unit of the security chip outputs a global common key: Kg update request to the service provider. The service provider receives the data [Kg2 (Kg2 (Kg2
3)], Sig [SuC] are transmitted to the security chip of the user device.

【0244】セキュリティチップの制御部は、サービス
プロバイダから、サポートセンタからのデータ[Kg2
(Kg3)],Sig[SuC]の転送を受けると、署
名検証処理を実行し、データ改竄のないことを確認した
後、自己の所有するグローバル共通鍵:Kg2で暗号化
されたグローバル共通鍵:Kg3、すなわち、[Kg2
(Kg3)]に対して、グローバル共通鍵:Kg2を用
いた復号化処理を実行してグローバル共通鍵:Kg3を
取得する。なお、サポートセンタの署名検証にサポート
センタの公開鍵を適用する場合は、サポートセンタの公
開鍵証明書をユーザデバイスに対してデータ[Kg2
(Kg3)],Sig[SuC]とともに送信するか、
あるいはユーザデバイスに予め配布しておく。
The control unit of the security chip receives data [Kg2 from the support center from the service provider.
(Kg3)], Sig [SuC] is received, a signature verification process is executed to confirm that there is no data tampering, and then a global common key possessed by itself: Global common key encrypted with Kg2: Kg3, that is, [Kg2
(Kg3)] is decrypted using the global common key: Kg2 to obtain the global common key: Kg3. When applying the public key of the support center to the signature verification of the support center, the public key certificate of the support center is sent to the user device as data [Kg2
(Kg3)], Sig [SuC], or
Alternatively, it is distributed in advance to the user device.

【0245】グローバル共通鍵:Kg3の取得に成功す
ると、セキュリティチップ制御部は、メモリの鍵格納領
域、例えば前述のデバイス管理領域内のグローバル共通
鍵:Kg1書き込み領域にグローバル共通鍵:Kg3を
上書きする。この更新処理により、ユーザデバイスの保
有するグローバル共通鍵は、Kg2、Kg3の2つに更
新される。
When the acquisition of the global common key: Kg3 is successful, the security chip controller overwrites the global common key: Kg3 in the key storage area of the memory, for example, the global common key: Kg1 write area in the device management area described above. . By this update process, the global common key held by the user device is updated to Kg2 and Kg3.

【0246】[デコーダを利用した復号化処理]暗号化
コンテンツ、あるいは暗号化コンテンツ鍵は、専用の復
号化処理機能を持つデコーダに処理を実行させる構成と
すると処理の高速化が可能となる。ただし、デコーダは
セキュリティチップと独立したハード構成を持つため、
デコーダの信頼性を確認した上でデコーダ内でのコンテ
ンツ鍵、コンテンツの復号化を行なうことが必要とな
る。以下、デコーダを用いた暗号化コンテンツ、あるい
は暗号化コンテンツ鍵の復号化処理について図を参照し
て説明する。
[Decryption Processing Using Decoder] The encrypted content or the encrypted content key can be processed at a high speed by using a decoder having a dedicated decryption processing function to execute the processing. However, since the decoder has a hardware configuration independent of the security chip,
It is necessary to confirm the reliability of the decoder and then decrypt the content key and content in the decoder. Hereinafter, the decryption process of the encrypted content or the encrypted content key using the decoder will be described with reference to the drawings.

【0247】図30にユーザデバイスにセキュリティチ
ップと、デコーダを有する場合のコンテンツ鍵、コンテ
ンツの復号化処理シーケンスを説明する図を示す。
FIG. 30 is a diagram for explaining the content key and content decryption processing sequence when the user device has a security chip and a decoder.

【0248】ユーザデバイスは、セキュリティチップ2
10と、デコーダ280、ハードディスク、フラッシュ
メモリ等からなるメモリ部222と、上位ソフトウェア
によりセキュリティチップ210と、デコーダ280、
メモリ部222に対してデータ入出力、各種処理実行命
令を行なうユーザデバイス側制御部221がある。
The user device is the security chip 2.
10, a decoder 280, a memory unit 222 including a hard disk, a flash memory, etc., a security chip 210 by higher-level software, a decoder 280,
There is a user device side control unit 221 that inputs / outputs data to / from the memory unit 222 and issues various processing execution instructions.

【0249】コンテンツ復号化処理時のシーケンスにつ
いて説明する。まず、ユーザによる入力手段の操作によ
り、コンテンツを指定したコンテンツ利用要求がユーザ
デバイス側制御部221に入力されると、ユーザデバイ
ス側制御部221は、メモリ部222に格納された指定
コンテンツに対応する属性証明書(AC)を検索する。
検索により抽出された属性証明書(AC)はセキュリテ
ィチップ210に転送され、セキュリティチップ210
内で、属性証明書(AC)の検証処理が実行される。
The sequence at the time of content decryption processing will be described. First, when a content use request designating a content is input to the user device side control unit 221 by the operation of the input unit by the user, the user device side control unit 221 corresponds to the designated content stored in the memory unit 222. Search for attribute certificate (AC).
The attribute certificate (AC) extracted by the search is transferred to the security chip 210, and the security chip 210
Inside, the attribute certificate (AC) verification process is executed.

【0250】属性証明書(AC)検証処理に成功する
と、セキュリティチップ210とデコーダ280間にお
いて相互認証およびセッション鍵の共有処理が実行され
る。相互認証が成立した後、セキュリティチップ210
は、属性証明書(AC)から取り出した暗号化コンテン
ツ鍵を復号化した後、相互認証時にデコーダ280と共
有したセッション鍵を用いてコンテンツ鍵を再暗号化し
てデコーダ280に送信する。暗号化コンテンツ鍵を受
信したデコーダ280は、セッション鍵を適用して暗号
化コンテンツ鍵の復号化を実行してコンテンツ鍵を取得
する。
If the attribute certificate (AC) verification processing is successful, mutual authentication and session key sharing processing is executed between the security chip 210 and the decoder 280. After mutual authentication is established, the security chip 210
Decrypts the encrypted content key extracted from the attribute certificate (AC), re-encrypts the content key using the session key shared with the decoder 280 during mutual authentication, and sends the content key to the decoder 280. Upon receiving the encrypted content key, the decoder 280 applies the session key to decrypt the encrypted content key to obtain the content key.

【0251】次に、ユーザデバイス側制御部221は、
メモリ部222に格納された暗号化コンテンツを検索し
て取り出し、デコーダ280に送信する。デコーダ28
0は、入力された暗号化コンテンツを先に取得したコン
テンツ鍵を適用して復号化処理を実行する。
Next, the user device side control section 221
The encrypted content stored in the memory unit 222 is searched, retrieved, and transmitted to the decoder 280. Decoder 28
0 executes the decryption process by applying the previously acquired content key to the input encrypted content.

【0252】上述したデコーダを適用した処理では、コ
ンテンツ鍵はセキュリティチップ210内では使用され
ない。また、デコーダは、暗号化コンテンツを復号化し
て、アナログ出力として音声または映像データを外部出
力する。なお、属性証明書(AC)には、認証するデコ
ーダのIDや認証方式を記述してもよく、この場合、セ
キュリティチップ210は、相互認証時にデコーダが属
性証明書(AC)に記述されたデコーダIDや認証方式
に適合するか否かを判定して、適合する場合にのみコン
テンツ鍵をデコーダに出力する。
In the processing to which the above-mentioned decoder is applied, the content key is not used in the security chip 210. Also, the decoder decrypts the encrypted content and externally outputs audio or video data as an analog output. The attribute certificate (AC) may describe the ID of the decoder to be authenticated and the authentication method. In this case, in the security chip 210, the decoder whose decoder is described in the attribute certificate (AC) at the time of mutual authentication is used. It is determined whether or not the ID and the authentication method are met, and the content key is output to the decoder only when the ID and the authentication method are met.

【0253】デコーダを用いた処理シーケンスについて
図31を用いて説明する。図31において、左からセキ
ュリティチップ、上位ソフトウェア(ユーザデバイス側
制御部)、デコーダの各処理を示している。
The processing sequence using the decoder will be described with reference to FIG. In FIG. 31, each processing of the security chip, upper software (user device side control unit), and decoder is shown from the left.

【0254】利用者による入力手段の操作により、コン
テンツを指定したコンテンツ利用要求が上位ソフトウェ
ア(ユーザデバイス側制御部)に入力されると、上位ソ
フトウェア(ユーザデバイス側制御部)は指定コンテン
ツに対応するアプリケーションIDを取得し、アプリケ
ーションIDに基づいて、ハードディスク等のメモリに
格納されたアプリケーションIDに対応する属性証明書
(AC)を検索する。
When a content use request designating a content is input to the higher-level software (user device side control section) by the user's operation of the input means, the higher-level software (user device side control section) corresponds to the specified content. The application ID is acquired, and the attribute certificate (AC) corresponding to the application ID stored in the memory such as the hard disk is searched based on the application ID.

【0255】検索により抽出された属性証明書(AC)
は、属性証明書(AC)検証処理命令とともにセキュリ
ティチップに転送され、セキュリティチップは、属性証
明書(AC)の検証処理を実行し、属性証明書(AC)
検証処理に成功すると、セキュリティチップは、属性証
明書(AC)から暗号化コンテンツ鍵を取り出して、復
号化処理を実行するとともに、上位ソフトウェア(ユー
ザデバイス側制御部)に応答メッセージを出力する。
Attribute certificate (AC) extracted by the search
Is transferred to the security chip together with the attribute certificate (AC) verification processing instruction, and the security chip executes the attribute certificate (AC) verification processing to obtain the attribute certificate (AC).
If the verification process is successful, the security chip extracts the encrypted content key from the attribute certificate (AC), executes the decryption process, and outputs a response message to the upper software (user device side control unit).

【0256】次に、セキュリティチップとデコーダ間に
おいて、上位ソフトウェア(ユーザデバイス側制御部)
を介して相互認証およびセッション鍵の共有処理が実行
される。相互認証が成立した後、セキュリティチップ
は、属性証明書(AC)から取り出した暗号化コンテン
ツ鍵を復号化した後、相互認証時にデコーダと共有した
セッション鍵を用いてコンテンツ鍵を再暗号化してデコ
ーダに送信する。暗号化コンテンツ鍵を受信したデコー
ダは、セッション鍵を適用して暗号化コンテンツ鍵の復
号化を実行してコンテンツ鍵を取得する。
Next, between the security chip and the decoder, upper software (user device side control unit)
Mutual authentication and session key sharing processing are executed via. After mutual authentication is established, the security chip decrypts the encrypted content key extracted from the attribute certificate (AC), and then re-encrypts the content key by using the session key shared with the decoder at the time of mutual authentication to decode the content key. Send to. The decoder that receives the encrypted content key applies the session key to decrypt the encrypted content key to obtain the content key.

【0257】次に、ユーザデバイス側制御部は、メモリ
に格納された暗号化コンテンツを検索して取り出し、デ
コーダに送信する。デコーダは、入力された暗号化コン
テンツを先に取得したコンテンツ鍵を適用して復号化処
理を実行する。
Next, the user device side control section searches for and retrieves the encrypted content stored in the memory, and sends it to the decoder. The decoder executes the decryption process by applying the previously acquired content key to the input encrypted content.

【0258】次に、デコーダを用いたコンテンツ復号化
処理について、図32のフローを参照して説明する。
Next, the content decoding process using the decoder will be described with reference to the flow in FIG.

【0259】ステップS101において、利用者による
入力手段の操作により、コンテンツを指定したコンテン
ツ利用要求が上位ソフトウェア(ユーザデバイス側制御
部)に入力されると、ステップS102において、上位
ソフトウェア(ユーザデバイス側制御部)は指定コンテ
ンツに対応するアプリケーションIDを取得し、ステッ
プS103において、アプリケーションIDに基づい
て、ハードディスク等のメモリに格納されたアプリケー
ションIDに対応する属性証明書(AC)を検索する。
検索により抽出された属性証明書(AC)は、ステップ
S104において、属性証明書(AC)検証処理命令と
ともにセキュリティチップに転送され、セキュリティチ
ップは、ステップS105において、属性証明書(A
C)の検証処理を実行し、属性証明書(AC)検証処理
に成功すると、セキュリティチップは、属性証明書(A
C)から暗号化コンテンツ鍵を取り出して、復号化処理
を実行する。また、ステップS106において、上位ソ
フトウェア(ユーザデバイス側制御部)に応答メッセー
ジを出力する。
In step S101, when the user operates the input means to input a content use request designating content to the upper-level software (user device side control unit), in step S102, the upper-level software (user device side control). Part) acquires the application ID corresponding to the designated content, and in step S103, searches the attribute certificate (AC) corresponding to the application ID stored in the memory such as the hard disk based on the application ID.
The attribute certificate (AC) extracted by the search is transferred to the security chip along with the attribute certificate (AC) verification processing instruction in step S104, and the security chip receives the attribute certificate (A) in step S105.
When the verification process of C) is executed and the attribute certificate (AC) verification process is successful, the security chip determines that the attribute certificate (A).
The encrypted content key is extracted from C) and the decryption process is executed. Further, in step S106, a response message is output to the upper software (user device side control unit).

【0260】属性証明書(AC)検証処理に成功しなか
った場合は、その後の処理は中止される。検証成功の場
合は、セキュリティチップとデコーダ間において、上位
ソフトウェア(ユーザデバイス側制御部)を介して相互
認証およびセッション鍵の共有処理が実行される。具体
的には、ステップS108において、上位ソフトウェア
(ユーザデバイス側制御部)からセキュリティチップに
第1認証コマンドが発行され、ステップS109におい
てセキュリティチップからの応答を上位ソフトウェア
(ユーザデバイス側制御部)が受信し、さらに、ステッ
プS110において、上位ソフトウェア(ユーザデバイ
ス側制御部)からデコーダに第2認証コマンドが発行さ
れ、ステップS111においてデコーダからの応答を上
位ソフトウェア(ユーザデバイス側制御部)が受信し、
さらに、ステップS112において、上位ソフトウェア
(ユーザデバイス側制御部)からセキュリティチップに
第3認証コマンドが発行され、ステップS113におい
てセキュリティチップからの応答を上位ソフトウェア
(ユーザデバイス側制御部)が受信する処理によって、
セキュリティチップによるデコーダの認証処理が実行さ
れる。認証処理が失敗した場合(S114でNG)は、
その後の処理は中止され、成功した場合は、ステップS
115に進む。
When the attribute certificate (AC) verification process is not successful, the subsequent process is stopped. If the verification is successful, mutual authentication and session key sharing processing is executed between the security chip and the decoder via the upper software (user device side control unit). Specifically, in step S108, the host software (user device side control unit) issues the first authentication command to the security chip, and in step S109, the host software (user device side control unit) receives a response from the security chip. Then, in step S110, the host software (user device side control unit) issues a second authentication command to the decoder, and in step S111, the host software (user device side control unit) receives the response from the decoder.
Furthermore, in step S112, the upper software (user device side control unit) issues a third authentication command to the security chip, and in step S113, the upper software (user device side control unit) receives a response from the security chip. ,
The authentication processing of the decoder by the security chip is executed. If the authentication process fails (NG in S114),
Subsequent processing is stopped, and if successful, step S
Proceed to 115.

【0261】ステップS115において、上位ソフトウ
ェア(ユーザデバイス側制御部)からデコーダに第4認
証コマンドが発行され、ステップS116においてデコ
ーダからの応答を上位ソフトウェア(ユーザデバイス側
制御部)が受信する。この処理によって、デコーダによ
るセキュリティチップの認証の成否が判定される。認証
処理が失敗の場合(S117でNG)は、その後の処理
は中止され、成功した場合は、ステップS118に進
む。
In step S115, the host software (user device side controller) issues a fourth authentication command to the decoder, and in step S116, the host software (user device side controller) receives a response from the decoder. By this processing, the success or failure of authentication of the security chip by the decoder is determined. If the authentication process is unsuccessful (NG in S117), the subsequent processes are stopped, and if successful, the process proceeds to step S118.

【0262】ステップS118において、セキュリティ
チップは、属性証明書(AC)から取り出した暗号化コ
ンテンツ鍵を復号化した後、相互認証時にデコーダと共
有したセッション鍵を用いてコンテンツ鍵を再暗号化
(S118)して、上位ソフトウェア(ユーザデバイス
側制御部)に送信(S119)する。上位ソフトウェア
(ユーザデバイス側制御部)は、受信した暗号化コンテ
ンツ鍵をデコーダに送信(S120)する。
In step S118, the security chip decrypts the encrypted content key extracted from the attribute certificate (AC), and then re-encrypts the content key using the session key shared with the decoder during mutual authentication (S118). ), And transmits to the upper software (user device side control unit) (S119). The upper software (user device side control unit) transmits the received encrypted content key to the decoder (S120).

【0263】暗号化コンテンツ鍵を受信したデコーダ
は、セッション鍵を適用して暗号化コンテンツ鍵の復号
化を実行してコンテンツ鍵を取得(S121)する。上
位ソフトウェア(ユーザデバイス側制御部)は、メモリ
に格納された暗号化コンテンツを検索(S122)して
取り出し、デコーダに送信(S123)する。デコーダ
は、入力された暗号化コンテンツを先に取得したコンテ
ンツ鍵を適用して復号化処理を実行(S124)する。
The decoder having received the encrypted content key applies the session key to decrypt the encrypted content key to obtain the content key (S121). The upper software (user device side control unit) retrieves and extracts the encrypted content stored in the memory (S122) and transmits it to the decoder (S123). The decoder executes the decryption process by applying the previously acquired content key to the input encrypted content (S124).

【0264】このように、デコーダを用いた復号化処理
においては、セキュリティチップとデコーダ間の相互認
証が実行されて、相互認証の成立を条件として、セッシ
ョン鍵で暗号化したコンテンツ鍵がデコーダに出力する
構成としたので、信頼される機器においてのみ復号が実
行され、正当なコンテンツ利用を確保することができ
る。
As described above, in the decryption process using the decoder, the mutual authentication between the security chip and the decoder is executed, and the content key encrypted with the session key is output to the decoder on condition that the mutual authentication is established. With this configuration, decryption can be executed only by a trusted device, and proper content use can be ensured.

【0265】[コンテンツの利用制限]先に説明したよ
うに、コンテンツの利用制限情報を格納したコンテンツ
対応の属性証明書中の属性情報フィールドに格納される
コンテンツ利用条件関連情報には、サービスプロバイダ
の提供するコンテンツの利用制限回数、利用期限等の様
々な利用条件が含まれる。すなわち、以下の情報であ
る。 条件:オンライン利用コンテンツか、オフライン利用コ
ンテンツか、さらに、買い切りコンテンツ、期間制限コ
ンテンツ、オンライン回数制限コンテンツ、オフライン
回数制限コンテンツのいずれであるかを示す情報 有効期限:期間制限の場合の有効期限情報 利用制限回数:回数制限の場合の利用可能回数
[Content Usage Restriction] As described above, the content usage condition related information stored in the attribute information field in the attribute certificate corresponding to the content storing the content usage restriction information includes the service provider's It includes various usage conditions such as the number of times of use of the provided content and the expiration date. That is, the following information. Condition: Information indicating whether the content is online usage content, offline usage content, and whether it is purchased content, time limit content, online number limit content, or offline number limit content Expiration date: Expiration date information use in case of period limitation Limit number of times: Number of times that can be used when the number of times is limited

【0266】コンテンツを買い切りし、買い切り以後の
コンテンツ利用をフリーとするコンテンツに対応する属
性証明書は、上記条件が買い切りとして設定される。利
用期間を設定したコンテンツに対応する属性証明書は、
上記条件が期間制限として設定され、有効期限が設定さ
れる。利用回数制限を設定したコンテンツに対応する属
性証明書は、上記条件が回数制限として設定され、利用
制限回数に設定値(回数値)が設定される。なお、回数
制限処理の場合には、ユーザデバイス内で利用可能回数
を管理してコンテンツ利用を実行するオフライン回数制
限と、サービスプロバイダにおいて回数検証をした後、
属性証明書に記録された設定回数以内のコンテンツ利用
を許可するオンライン回数制限がある。また期間制限と
回数制限の両制限を伴うコンビネーション制限態様もあ
る。ユーザデバイスでは、属性証明書に記録されたこれ
らの態様に従ってコンテンツが利用される。これらの具
体的な処理態様について、以下、説明する。
[0266] In the attribute certificate corresponding to the content that has been sold out and the usage of the content after the purchase is made free, the above condition is set as the sold out. The attribute certificate corresponding to the content for which the usage period is set is
The above conditions are set as a time limit, and the expiration date is set. In the attribute certificate corresponding to the content for which the use count limit is set, the above condition is set as the count limit, and the set value (count value) is set for the use limit count. In the case of the number of times limit process, after the number of times limit is verified by the service provider and the number of times of offline limit that manages the number of times of use available in the user device to execute content use,
There is a limit on the number of times online that allows the content to be used within the set number of times recorded in the attribute certificate. There is also a combination restriction mode involving both a time restriction and a frequency restriction. The user device uses the content according to these aspects recorded in the attribute certificate. These specific processing modes will be described below.

【0267】ユーザデバイスにおいてコンテンツを利用
するためには、利用対象となるコンテンツに対応する属
性証明書中から暗号化コンテンツ鍵を取り出して復号化
処理を実行してコンテンツ鍵:Kcを取得することが必
要となる。このコンテンツ鍵の取得処理には、デバイス
のセキュリティチップ内で実行するオフライン処理、サ
ービスプロバイダに属性証明書を送付して復号を依頼す
るオンライン処理があることは先に述べた通りである。
属性証明書に記載されたコンテンツの利用条件に従った
コンテンツ利用処理においても、利用条件をユーザデバ
イス内で確認するオフライン処理、サービスプロバイダ
での確認を必要とするオンライン処理がある。これらの
どちらを適用するかは、属性証明書の属性情報フィール
ドの記載に従って決定する。
In order to use the content in the user device, the encrypted content key is taken out from the attribute certificate corresponding to the content to be used, the decryption process is executed, and the content key: Kc is acquired. Will be needed. As described above, the content key acquisition process includes an offline process executed in the security chip of the device and an online process of sending the attribute certificate to the service provider and requesting the decryption.
Even in the content usage processing according to the usage conditions of the content described in the attribute certificate, there are offline processing for checking the usage conditions in the user device and online processing requiring confirmation by the service provider. Which of these is applied is determined according to the description in the attribute information field of the attribute certificate.

【0268】図33にコンテンツ利用時におけるユーザ
デバイスで実行される属性証明書(AC)の利用処理フ
ローを示す。処理フローの各ステップについて説明す
る。
FIG. 33 shows a process flow of using the attribute certificate (AC) executed by the user device when using the content. Each step of the processing flow will be described.

【0269】ユーザデバイスは、利用対象コンテンツに
対応する属性証明書をアプリケーションID(コンテン
ツ識別情報)に基づいて選択すると、まず、属性証明書
のフォーマット確認処理を実行(S201)する。属性
証明書に必要事項が記録され、証明書の有効期限が有効
であるか等である。フォーマット確認処理が済むと、ス
テップS202において署名検証が実行される。先にも
説明したように属性証明書には、属性証明書発行者(例
えばサービスプロバイダ)の電子署名が付加されてお
り、ユーザデバイスは、属性証明書発行者の公開鍵証明
書から公開鍵を取り出して署名検証処理(図20参照)
を行なう。なお、この際使用する公開鍵証明書の検証、
連鎖的公開鍵証明書の検証処理も必要に応じて実行する
ことが好ましい。なお、この連鎖検証が必須の場合もあ
る。
When the user device selects the attribute certificate corresponding to the usage target content based on the application ID (content identification information), first, the attribute certificate format confirmation process is executed (S201). Required items are recorded in the attribute certificate, and the validity period of the certificate is valid. When the format confirmation process is completed, signature verification is executed in step S202. As described above, the attribute certificate is attached with the digital signature of the attribute certificate issuer (for example, the service provider), and the user device obtains the public key from the attribute certificate issuer's public key certificate. Take out and verify signature (see Fig. 20)
Do. In addition, verification of the public key certificate used at this time,
It is preferable that the verification process of the chained public key certificate is also executed as necessary. In some cases, this chain verification is essential.

【0270】ステップS202の署名検証処理過程にお
いて、検証が成立し、属性証明書に改竄がないと判定さ
れた場合はステップS203に進む。一方、ステップS
202の署名検証処理過程において、検証が非成立とな
り、属性証明書に改竄ありと判定された場合は、ステッ
プS205に進み、その属性証明書を適用した処理は実
行されず、以降の処理、すなわちコンテンツ利用処理が
中止される。
In the signature verification process of step S202, if it is determined that the verification is successful and the attribute certificate is not tampered with, the process proceeds to step S203. On the other hand, step S
In the signature verification process of 202, if the verification is unsuccessful and it is determined that the attribute certificate is falsified, the process proceeds to step S205, the process to which the attribute certificate is applied is not executed, and The content usage process is stopped.

【0271】属性証明書に改竄がないと判定され、ステ
ップS203に進むと、属性証明書内の属性情報フィー
ルド内のコンテンツ利用条件情報を取得する。すなわ
ち、オンライン利用コンテンツか、オフライン利用コン
テンツか、さらに、買い切りコンテンツ、期間制限コン
テンツ、オンライン回数制限コンテンツ、オフライン回
数制限コンテンツのいずれであるかである。この条件に
従って、ステップS204のオンライン処理であるか、
オフラインである場合は、ステップS206において買
い切りか、回数制限であるかが判定される。
When it is determined that the attribute certificate has not been tampered with, and the process proceeds to step S203, the content use condition information in the attribute information field in the attribute certificate is acquired. That is, the content is an online usage content, an offline usage content, a purchase-out content, a period limited content, an online number limited content, or an offline number limited content. Whether the online processing in step S204 is performed according to this condition,
If it is offline, it is determined in step S206 whether the purchase is complete or the number of times is limited.

【0272】ステップS204において、オンライン利
用であると判定されると、先に図26を用いて説明した
と同様、属性証明書をサービスプロバイダに送付して属
性証明書内の利用制限情報の検証が実行される。オンラ
イン処理の場合は、期間制限、または回数制限のいずれ
かであり、サービスプロバイダはこれらのコンテンツ利
用条件情報を属性証明書から取得して利用制限内のコン
テンツ利用請求であれば、コンテンツ鍵の取得を可能と
する処理を行なう。利用制限を超えたコンテンツ利用請
求であれば、コンテンツ鍵の取得を可能とする処理を実
行せず、コンテンツ利用不可であるメッセージをユーザ
デバイスに送信する。
If it is determined in step S204 that online use is performed, the attribute certificate is sent to the service provider to verify the use restriction information in the attribute certificate, as described above with reference to FIG. To be executed. In the case of online processing, it is either a period limit or a frequency limit, and the service provider acquires these content usage condition information from the attribute certificate, and if the content usage request is within the usage restriction, acquires the content key. Is performed. If the content usage request exceeds the usage limit, the processing for enabling acquisition of the content key is not executed, and a message indicating that the content cannot be used is transmitted to the user device.

【0273】また、ステップS204において、オフラ
イン利用であると判定され、ステップS206で買い切
りコンテンツであると判定された場合には、属性証明書
には、ユーザデバイスのセキュリティチップのサービス
プロバイダ管理領域に格納されたSP対応ストレージ秘
密鍵に対応するサービスプロバイダ(SP)対応ストレ
ージ公開鍵:SC.Stopub.SP.Kで暗号化さ
れたコンテンツ鍵データ:[SC.Stopub.S
P.K(Kc)]が格納されており、ユーザデバイスで
は、サービスプロバイダ管理領域に格納されたSP対応
ストレージ秘密鍵SC.Stopri.SP.Kを用い
て復号化処理を実行してコンテンツ鍵:Kcを取得し
て、コンテンツの復号によりコンテンツを利用する。
If it is determined in step S204 that the content is used offline and if it is determined in step S206 that the content is sold-out, the attribute certificate is stored in the service provider management area of the security chip of the user device. The service provider (SP) compatible storage public key corresponding to the created SP compatible storage private key: SC. Stoppub. SP. Content key data encrypted with K: [SC. Stoppub. S
P. K (Kc)] is stored, and in the user device, the SP compatible storage secret key SC.K stored in the service provider management area is stored. Stopri. SP. The decryption process is executed using K to obtain the content key: Kc, and the content is used by decrypting the content.

【0274】さらに、ステップS204において、オフ
ライン利用であると判定され、ステップS206で回数
制限のコンテンツであると判定された場合には、ユーザ
デバイス内で、属性証明書の設定条件に基づいて回数管
理を実行して、コンテンツ利用の可否判定を実行した
後、利用可であるとの判定結果の取得を条件として、属
性証明書内に格納された暗号化コンテンツ鍵の復号化処
理を実行し、かつ、デバイス内で管理するコンテンツ利
用回数管理データの更新処理等を実行する。このために
デバイス内にコンテンツ利用回数の管理データを持つこ
とが必要となる。
Further, if it is determined in step S204 that the content is for offline use, and it is determined in step S206 that the content is limited in number of times, the number of times is managed in the user device based on the setting condition of the attribute certificate. After executing the content availability determination, execute the decryption processing of the encrypted content key stored in the attribute certificate, on condition that the result of the determination that the content is available is acquired, and Update processing of content usage count management data managed in the device is executed. For this reason, it is necessary to have management data on the number of times the content is used in the device.

【0275】ステップS207の利用回数管理データの
インポート処理は、コンテンツ利用回数の管理データ生
成処理である。なお、利用回数管理データのインポート
処理は、属性証明書に基づいて実行される。コンテンツ
利用回数の管理態様には、コンテンツ利用可能回数をユ
ーザデバイス内のセキュリティチップで管理する態様
と、回数管理ファイルをセキュリティチップ外の外部メ
モリ(例えばハードディスク)に格納管理し、管理デー
タのハッシュ値のみをセキュリティチップ内のメモリに
格納する2つの態様がある。これらの詳細については後
述する。ステップS208の属性証明書適用完了メッセ
ージ生成ステップは、上述のS207の利用回数管理デ
ータのインポート処理が完了したことをセキュリティチ
ップからセキュリティチップ外のユーザデバイスに通知
する処理である。
The import processing of the number-of-uses management data of step S207 is a management-data generation processing of the number of times of contents use. The import processing of the usage count management data is executed based on the attribute certificate. As for the management mode of the number of times of content usage, the security chip inside the user device manages the number of times the content can be used, and the number management file is stored and managed in an external memory (for example, a hard disk) outside the security chip, and the hash value of the management data is managed. There are two ways of storing only the memory in the security chip. Details of these will be described later. The attribute certificate application completion message generation step of step S208 is processing for notifying the user device outside the security chip from the security chip that the import processing of the number-of-uses management data of step S207 has been completed.

【0276】以下、属性証明書(AC)に記載されたコ
ンテンツ利用条件を以下の4態様に区別して、順次、説
明する。 (A)オンライン−利用期間制限コンテンツ (B)オンライン−利用回数制限コンテンツ (C)オフライン−買い切りコンテンツ (D)オフライン−利用回数制限コンテンツ
The content use conditions described in the attribute certificate (AC) will be sequentially described below by distinguishing them into the following four modes. (A) Online-usage limited content (B) Online-usage limited content (C) Offline-buy-out content (D) Offline-usage limited content

【0277】(A)オンライン−利用期間制限コンテン
ツ まず、属性証明書に記録されたコンテンツ利用条件がオ
ンライン処理であり、利用期間が制限されたコンテンツ
である場合の属性証明書の取得から、コンテンツ取得ま
での処理を図34のシーケンス図に従って説明する。
(A) Online-usage period restricted content First, when the content usage condition recorded in the attribute certificate is online processing and the usage period is restricted, the content is acquired from the acquisition of the attribute certificate. The process up to is described with reference to the sequence diagram of FIG.

【0278】図34に示す処理シーケンスは、すでにサ
ービスプロバイダから暗号化コンテンツを受領済みであ
り、また、コンテンツに対応する利用条件、暗号化コン
テンツ鍵を格納した属性証明書を受領済みであるユーザ
デバイスにおける処理を示しており、左からユーザデバ
イス内のセキュリティチップ制御部、ユーザデバイス制
御部(上位ソフトウェア)、およびサービスプロバイダ
の処理を示している。
In the processing sequence shown in FIG. 34, the user device has already received the encrypted content from the service provider, and has also received the attribute certificate storing the usage rule and the encrypted content key corresponding to the content. The processing is performed by the security chip controller, the user device controller (upper software) in the user device, and the service provider from the left.

【0279】図34では、最上段(a)は、属性証明書
がセキュリティチップの内部メモリに格納されている場
合における属性証明書からのサービスプロバイダID取
得処理、(b)は、属性証明書がセキュリティチップの
外部メモリ、すなわちユーザデバイス制御部単独の制御
でアクセス可能なメモリに格納されている場合における
属性証明書からのサービスプロバイダID取得処理を示
し、これら(a),(b)は属性証明書の格納位置に応
じて選択的に実行する。(c)の相互認証処理、(d)
のコンテンツ取得処理は共通に実行される。
In FIG. 34, the uppermost row (a) shows the service provider ID acquisition processing from the attribute certificate when the attribute certificate is stored in the internal memory of the security chip, and (b) shows the attribute certificate. The service provider ID acquisition processing from the attribute certificate when stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control unit alone, (a) and (b) are attribute certifications. Selectively execute according to the storage location of the book. (C) Mutual authentication processing, (d)
The content acquisition process of is commonly executed.

【0280】まず、(a)の処理から説明する。(a
1)ユーザデバイス制御部は、利用対象コンテンツに対
応する属性証明書の検索をセキュリティチップ制御部に
要求する。(a2)セキュリティチップ制御部は、チッ
プのメモリに格納済みの属性証明書のリストをユーザデ
バイス制御部に出力し、(a3)ユーザデバイスでは付
属のブラウザによりリストを表示する。(a4)ユーザ
は表示されたリストから利用予定コンテンツに対応する
属性証明書(AC)を指定し、読み出し命令をセキュリ
ティチップ制御部に送信する。(a5)セキュリティチ
ップ制御部は、指定された属性証明書を内部メモリから
読み出してユーザデバイス制御部に出力し、(a6)ユ
ーザデバイスでは付属のブラウザにより属性証明書を表
示し、属性証明書格納データ中のサービスプロバイダ識
別子(SP ID)を取得する。
First, the process (a) will be described. (A
1) The user device control unit requests the security chip control unit to search for the attribute certificate corresponding to the usage target content. (A2) The security chip control unit outputs the list of attribute certificates stored in the memory of the chip to the user device control unit, and (a3) the user device displays the list by the attached browser. (A4) The user specifies the attribute certificate (AC) corresponding to the content to be used from the displayed list, and sends a read command to the security chip control unit. (A5) The security chip control unit reads the specified attribute certificate from the internal memory and outputs it to the user device control unit. (A6) The user device displays the attribute certificate by the attached browser and stores the attribute certificate. Get the service provider identifier (SP ID) in the data.

【0281】属性証明書がセキュリティチップの外部メ
モリ、すなわちユーザデバイス制御部単独の制御でアク
セス可能なメモリに格納されている場合は、(b)の処
理となる。(b1)ユーザデバイス制御部は、利用対象
コンテンツに対応する属性証明書の検索を実行し、(b
2)ユーザデバイスでは付属のブラウザにより表示され
たACリストから利用予定コンテンツに対応する属性証
明書(AC)を指定し、(b3)読み出して属性証明書
を表示し、(b4)属性証明書格納データ中のサービス
プロバイダ識別子(SP ID)を取得する。
When the attribute certificate is stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control section alone, the processing of (b) is performed. (B1) The user device control unit searches for an attribute certificate corresponding to the content to be used, and (b1)
2) In the user device, specify the attribute certificate (AC) corresponding to the content to be used from the AC list displayed by the attached browser, (b3) read out and display the attribute certificate, and (b4) store the attribute certificate. Get the service provider identifier (SP ID) in the data.

【0282】上記(a)、(b)のいずれかの処理によ
って取得されたサービスプロバイダ識別子(SP I
D)は、サービスプロバイダ管理領域から、相互認証に
必要な情報を取得するために用いられる。前述したよう
に、サービスプロバイダ管理領域へのアクセスにはサー
ビスプロバイダ毎に設定されたパスワード入力が必要で
あり、ユーザは、属性証明書から取得したサービスプロ
バイダ識別子(SP ID)に対応するパスワード入力
により、サービスプロバイダ管理領域へのアクセスを実
行し、図34の(c1)に示すセキュリティチップとサ
ービスプロバイダ間の相互認証処理を実行する。
[0282] The service provider identifier (SP I obtained by any of the processes (a) and (b) above.
D) is used to acquire information necessary for mutual authentication from the service provider management area. As described above, access to the service provider management area requires the password input set for each service provider, and the user inputs the password corresponding to the service provider identifier (SP ID) acquired from the attribute certificate. , Access to the service provider management area, and mutual authentication processing between the security chip and the service provider shown in (c1) of FIG. 34 is executed.

【0283】この相互認証処理は、先に説明した図16
のTLS1.0処理または、その他の方式、例えば公開
鍵方式による相互認証処理として実行される。この相互
認証処理においては、相互の公開鍵証明書の検証がなさ
れ、必要に応じてルート認証局(CA)までの公開鍵証
明書が連鎖的に検証される。この認証処理において、セ
キュリティチップと、サポートセンタはセッション鍵
(Kses)を共有する。相互認証が成立すると、次
に、図34(d)に示す処理、すなわちコンテンツ取得
処理を実行する。
This mutual authentication processing is the same as that shown in FIG.
TLS 1.0 process of step 1 or other method, for example, a mutual authentication process using a public key method. In this mutual authentication processing, mutual public key certificates are verified, and public key certificates up to the root certificate authority (CA) are verified in a chained manner, if necessary. In this authentication processing, the security chip and the support center share the session key (Kses). When the mutual authentication is established, next, the process shown in FIG. 34D, that is, the content acquisition process is executed.

【0284】(d1)ユーザは、ユーザデバイスの付属
のブラウザにより表示された属性証明書の権限情報(コ
ンテンツ利用条件)を確認し、属性証明書を適用したコ
ンテンツ利用要求をセキュリティチップに対して出力す
る。この例における属性証明書に記録されたコンテンツ
利用条件は、オンライン期間制限である。
(D1) The user confirms the authority information (content usage condition) of the attribute certificate displayed by the browser attached to the user device, and outputs the content usage request to which the attribute certificate is applied to the security chip. To do. The content use condition recorded in the attribute certificate in this example is an online period limitation.

【0285】(d2)セキュリティチップ制御部は、ユ
ーザデバイス制御部からの属性証明書(AC)適用要求
を受信すると、属性証明書の検証処理を実行する。検証
処理には、権限情報(コンテンツ利用条件)の確認、フ
ォーマット確認、署名検証処理が含まれる。署名検証処
理は、例えば先に説明した図20の処理フローと同様の
シーケンスに従って実行される。
(D2) Upon receiving the attribute certificate (AC) application request from the user device controller, the security chip controller executes the attribute certificate verification process. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above.

【0286】さらに、必要に応じてセキュリティチップ
の制御部は、属性証明書(AC)内のAC保持者の公開
鍵証明書情報に従ってリンクする公開鍵証明書を取得し
て、公開鍵証明書の検証を行なうことが好ましい。例え
ば属性証明書(AC)の発行者の信頼度が不確かである
場合には、属性証明書(AC)の発行者の公開鍵証明書
の検証を行なうことによって、認証局の公開鍵証明書を
正当に有しているか否かの判定が可能となる。なお、公
開鍵証明書が前述したように階層構成をなしている場合
は、経路を上位に辿って連鎖的な検証を行ない、ルート
認証局(CA)の発行した公開鍵証明書の検証まで実行
することが好ましい。なお、この連鎖検証が必須の場合
もある。
Further, if necessary, the control unit of the security chip acquires the public key certificate linked according to the public key certificate information of the AC holder in the attribute certificate (AC), and acquires the public key certificate of the public key certificate. It is preferable to perform verification. For example, when the reliability of the issuer of the attribute certificate (AC) is uncertain, the public key certificate of the certificate authority is verified by verifying the public key certificate of the issuer of the attribute certificate (AC). It is possible to judge whether or not the user has it legally. If the public key certificate has a hierarchical structure as described above, the route is traced upward to perform chained verification, and the public key certificate issued by the root certification authority (CA) is also verified. Preferably. In some cases, this chain verification is essential.

【0287】(d3)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対して属性証明書
を送付する。属性証明書には、利用条件としてオンライ
ン期間制限コンテンツであることが記録され、また有効
期限データが格納されている。さらに、サービスプロバ
イダの保有する秘密鍵:SP.Sto.Kで暗号化され
たコンテンツ鍵のデータ、すなわち、[SP.Sto.
K(Kc)]が格納されている。
(D3) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the control unit of the security chip sends the attribute certificate to the service provider. The attribute certificate records that the content is an online period limited content as usage conditions, and also stores expiration date data. Furthermore, the private key held by the service provider: SP. Sto. The content key data encrypted with K, that is, [SP. Sto.
K (Kc)] is stored.

【0288】(d4)セキュリティチップから属性証明
書を受信したサービスプロバイダは、属性証明書の署名
検証処理を実行する。また、この際、属性証明書にリン
クする公開鍵証明書、およびその上位公開鍵証明書を連
鎖的に検証することが好ましい。なお、この連鎖検証が
必須の場合もある。これらの検証処理により、属性証明
書の正当性が確認されると、属性証明書に格納された利
用条件データ、有効期限データを確認する。属性証明書
に記録されている利用条件としての有効期限内のコンテ
ンツ利用要求であると判定されると、属性証明書中に格
納されたコンテンツの復号に適用するコンテンツ鍵:K
cの暗号化データ:[SP.Sto.K(Kc)]の復
号を実行する。
(D4) The service provider which has received the attribute certificate from the security chip executes signature verification processing of the attribute certificate. Further, at this time, it is preferable to verify the public key certificate linked to the attribute certificate and the higher public key certificate in a chained manner. In some cases, this chain verification is essential. When the validity of the attribute certificate is confirmed by these verification processes, the usage condition data and expiration date data stored in the attribute certificate are confirmed. When it is determined that the content usage request is within the expiration date as the usage condition recorded in the attribute certificate, the content key applied to decrypt the content stored in the attribute certificate: K
Encrypted data of c: [SP. Sto. K (Kc)] is decrypted.

【0289】サービスプロバイダは、自己の所有する秘
密鍵:SP.Sto.Kを用いて、属性証明書に格納さ
れた暗号化コンテンツ鍵:[SP.Sto.K(K
c)]の復号化処理を実行し、コンテンツ鍵:Kcを取
り出す。さらに、取り出したコンテンツ鍵:Kcを先の
相互認証処理において生成したセッションキー(Kse
s)で暗号化して、ユーザデバイスのセキュリティチッ
プに対して送信する。
The service provider owns the private key: SP. Sto. Encrypted content key stored in the attribute certificate: [SP. Sto. K (K
c)] is executed to extract the content key: Kc. Furthermore, the extracted content key: Kc is used as the session key (Kse
encrypted in step s) and transmitted to the security chip of the user device.

【0290】(d5)セキュリティチップの制御部は、
サービスプロバイダからセッションキーで暗号化された
コンテンツ鍵、すなわち、[Kses(Kc)]を受信
すると、相互認証時に保有したセッションキーを用いて
復号化処理を実行してコンテンツ鍵:Kcを取得する。
コンテンツ鍵:Kcの取得に成功すると、セキュリティ
チップ制御部は、ユーザデバイス制御部にコンテンツの
復号準備が完了したことを通知する。
(D5) The control unit of the security chip is
When the content key encrypted with the session key, that is, [Kses (Kc)] is received from the service provider, the decryption process is executed using the session key held at the time of mutual authentication to obtain the content key: Kc.
When the content key: Kc is successfully obtained, the security chip control unit notifies the user device control unit that the preparation for decrypting the content is completed.

【0291】(d6)次にユーザデバイス制御部は、取
得したコンテンツ鍵を適用して復号すべき暗号化コンテ
ンツ[Kc(Content)]をユーザデバイス内の
メモリ(例えばハードディスク)、あるいはセキュリテ
ィチップ制御部を介してセキュリティチップ内のメモリ
から取得する。さらに、取得した暗号化コンテンツをセ
キュリティチップに送信し、(d7)セキュリティチッ
プ内で暗号化コンテンツに対してコンテンツ鍵:Kcを
適用した復号化処理を実行し、復号化処理結果として得
られるコンテンツをユーザデバイス制御部に出力し、
(d8)ユーザデバイスは、コンテンツを取得する。こ
れらの処理が終了すると、(d9)セキュリティチップ
の制御部は、復号化処理によって取得したコンテンツ
鍵:Kc、およびコンテンツ(Content)を破棄
する。
(D6) Next, the user device control section applies the acquired content key to the encrypted content [Kc (Content)] to be decrypted and stores it in the memory (eg hard disk) in the user device or the security chip control section. Through the memory in the security chip via. Furthermore, the acquired encrypted content is transmitted to the security chip, and (d7) the decryption process in which the content key: Kc is applied to the encrypted content is executed in the security chip, and the content obtained as the decryption process result is displayed. Output to the user device controller,
(D8) The user device acquires the content. When these processes are completed, (d9) the control unit of the security chip discards the content key: Kc and the content (Content) acquired by the decryption process.

【0292】これらの処理によって、サービスプロバイ
ダによる属性証明書(AC)に基づく利用期間の確認処
理が行われ、制限された利用期間内である場合にのみ、
コンテンツ鍵:Kcがセキュリティチップにおいて復号
可能な状態で再暗号化されて送付され、セキュリティチ
ップにおいてコンテンツ鍵が取得され、取得したコンテ
ンツ鍵によるコンテンツの復号が実行されてユーザデバ
イスにおいてコンテンツ利用が可能となる。
Through these processes, the service provider confirms the usage period based on the attribute certificate (AC), and only when the usage period is within the limited usage period,
The content key: Kc is re-encrypted and sent in a decryptable state in the security chip, the content key is acquired in the security chip, the content is decrypted by the acquired content key, and the content can be used in the user device. Become.

【0293】なお、サービスプロバイダからユーザデバ
イスに対するコンテンツ配信あるいは属性証明書(A
C:Attribute Certificate)の配信形態としては、ユ
ーザ側からサービスプロバイダに対する要求に基づいて
実行される形態と、ユーザの要求の有無に関係なく例え
ばサブスクライバ契約を結んでいるユーザに対して、サ
ービスプロバイダから一方的に送信するいわゆるプッシ
ュ型の形態(プッシュ型モデル)のいずれの形態も可能で
ある。プッシュ型モデルにおいては、サービスプロバイ
ダが予め目標ユーザ向けの属性証明書(AC)を作成し
て配信することになる。
[0293] Note that content distribution from the service provider to the user device or attribute certificate (A
C: Attribute Certificate) is distributed based on the request from the user to the service provider, and from the service provider to the user who has a subscriber contract regardless of the user's request. Any form of so-called push type (push type model) of unilaterally transmitting is possible. In the push model, the service provider creates and distributes an attribute certificate (AC) for the target user in advance.

【0294】(B)オンライン−利用回数制限コンテン
ツ 次に、属性証明書に記録されたコンテンツ利用条件がオ
ンライン処理であり、利用回数が制限されたコンテンツ
である場合の属性証明書の取得から、コンテンツ取得ま
での処理を図35のシーケンス図に従って説明する。
(B) Online-Use Count Restricted Content Next, when the content use condition recorded in the attribute certificate is online processing and the use count is restricted, the content is acquired from the acquisition of the attribute certificate. The process up to acquisition will be described with reference to the sequence diagram of FIG.

【0295】図35に示す処理シーケンスは、先に説明
した図34の処理シーケンスと同様、すでにサービスプ
ロバイダから暗号化コンテンツを受領済みであり、ま
た、コンテンツに対応する利用条件、暗号化コンテンツ
鍵を格納した属性証明書を受領済みであるユーザデバイ
スにおける処理を示しており、左からユーザデバイス内
のセキュリティチップ制御部、ユーザデバイス制御部
(上位ソフトウェア)、およびサービスプロバイダの処
理を示している。
The processing sequence shown in FIG. 35 has already received the encrypted content from the service provider, and the usage conditions and the encrypted content key corresponding to the content have been received, as in the processing sequence of FIG. 34 described above. The processing in the user device that has received the stored attribute certificate is shown, and the processing from the security chip control unit, the user device control unit (upper software) in the user device, and the service provider is shown from the left.

【0296】図35に示す処理中、最上段(a)は、属
性証明書がセキュリティチップの内部メモリに格納され
ている場合における属性証明書からのサービスプロバイ
ダID取得処理、(b)は、属性証明書がセキュリティ
チップの外部メモリ、すなわちユーザデバイス制御部単
独の制御でアクセス可能なメモリに格納されている場合
における属性証明書からのサービスプロバイダID取得
処理を示し、これら(a),(b)は属性証明書の格納
位置に応じて選択的に実行する。(a)、(b)の各処
理と、(c)の相互認証処理は、図34を参照して説明
したオンライン期間制限の場合の処理と同様であるので
説明を省略する。(c)の相互認証が成立すると、次
に、図35(d)に示す処理、すなわちコンテンツ取得
処理を実行する。
In the process shown in FIG. 35, the uppermost stage (a) is the service provider ID acquisition process from the attribute certificate when the attribute certificate is stored in the internal memory of the security chip, and (b) is the attribute. The service provider ID acquisition processing from the attribute certificate in the case where the certificate is stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control unit alone, is shown (a) and (b). Is executed selectively according to the storage location of the attribute certificate. The processes of (a) and (b) and the mutual authentication process of (c) are the same as the processes in the case of the online period limitation described with reference to FIG. When the mutual authentication of (c) is established, next, the process shown in FIG. 35 (d), that is, the content acquisition process is executed.

【0297】(d1)ユーザは、ユーザデバイスの付属
のブラウザにより表示された属性証明書の権限情報(コ
ンテンツ利用条件)を確認し、属性証明書を適用したコ
ンテンツ利用要求をセキュリティチップに対して出力す
る。この例における属性証明書に記録されたコンテンツ
利用条件は、オンライン回数制限である。
(D1) The user confirms the authority information (content usage condition) of the attribute certificate displayed by the browser attached to the user device, and outputs the content usage request to which the attribute certificate is applied to the security chip. To do. The content use condition recorded in the attribute certificate in this example is the online count limit.

【0298】(d2)セキュリティチップ制御部は、ユ
ーザデバイス制御部からの属性証明書(AC)適用要求
を受信すると、属性証明書の検証処理を実行する。検証
処理には、権限情報(コンテンツ利用条件)の確認、フ
ォーマット確認、署名検証処理が含まれる。署名検証処
理は、例えば先に説明した図20の処理フローと同様の
シーケンスに従って実行される。この検証処理におい
て、セキュリティチップの制御部は、属性証明書(A
C)内のAC保持者の公開鍵証明書情報に従ってリンク
する公開鍵証明書から、上位に辿って連鎖的な検証を行
ない、ルート認証局(CA)の発行した公開鍵証明書の
検証まで実行することが好ましい。なお、この連鎖検証
が必須の場合もある。
(D2) Upon receiving the attribute certificate (AC) application request from the user device controller, the security chip controller executes the attribute certificate verification process. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. In this verification process, the control unit of the security chip uses the attribute certificate (A
From the public key certificate linked according to the public key certificate information of the AC holder in C), the chained verification is performed up to the upper level, and the verification of the public key certificate issued by the root certification authority (CA) is executed. Preferably. In some cases, this chain verification is essential.

【0299】(d3)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対して属性証明書
を送付する。属性証明書には、利用条件としてオンライ
ン回数制限コンテンツであることが記録され、また利用
制限回数が格納されている。さらに、サービスプロバイ
ダの保有する秘密鍵:SP.Sto.Kで暗号化された
コンテンツ鍵のデータ、すなわち、[SP.Sto.K
(Kc)]が格納されている。
(D3) If the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the control unit of the security chip sends the attribute certificate to the service provider. In the attribute certificate, it is recorded that the content is a limited number of times online, and the limited number of times of use is stored. Furthermore, the private key held by the service provider: SP. Sto. The content key data encrypted with K, that is, [SP. Sto. K
(Kc)] is stored.

【0300】(d4)セキュリティチップから属性証明
書を受信したサービスプロバイダは、属性証明書の署名
検証処理を実行する。また、この際、属性証明書にリン
クする公開鍵証明書、およびその上位公開鍵証明書を連
鎖的に検証することが好ましい。なお、この連鎖検証が
必須の場合もある。これらの検証処理により、属性証明
書の正当性が確認されると、属性証明書に格納された利
用条件データ、利用制限回数を確認する。利用可能回数
は、サービスプロバイダ内のデータベースに格納されて
おり、サービスプロバイダでは、データベース内の管理
データを参照して属性証明書に記録された回数制限内の
コンテンツ利用であるか否かを判定する。
(D4) The service provider receiving the attribute certificate from the security chip executes signature verification processing of the attribute certificate. Further, at this time, it is preferable to verify the public key certificate linked to the attribute certificate and the higher public key certificate in a chained manner. In some cases, this chain verification is essential. When the validity of the attribute certificate is confirmed by these verification processes, the use condition data and the use limit number of times stored in the attribute certificate are confirmed. The number of times of use is stored in the database in the service provider, and the service provider refers to the management data in the database and determines whether the content is used within the number of times limit recorded in the attribute certificate. .

【0301】属性証明書に記録された回数制限内のコン
テンツ利用であると判定されると、属性証明書中に格納
されたコンテンツの復号に適用するコンテンツ鍵:Kc
の暗号化データ:[SP.Sto.K(Kc)]の復号
を実行する。サービスプロバイダは、自己の所有する秘
密鍵:SP.Sto.Kを用いて、属性証明書に格納さ
れた暗号化コンテンツ鍵:[SP.Sto.K(K
c)]の復号化処理を実行し、コンテンツ鍵:Kcを取
り出す。
When it is determined that the content is recorded within the limit of the number of times recorded in the attribute certificate, the content key applied to decrypt the content stored in the attribute certificate: Kc
Encrypted data: [SP. Sto. K (Kc)] is decrypted. The service provider owns the private key: SP. Sto. Encrypted content key stored in the attribute certificate: [SP. Sto. K (K
c)] is executed to extract the content key: Kc.

【0302】さらに、サービスプロバイダは、データベ
ース内のコンテンツ利用回数管理データを更新し、利用
対象コンテンツの対応する利用可能回数を1デクリメン
トする処理を行なう。さらに、サービスプロバイダで
は、取り出したコンテンツ鍵:Kcを先の相互認証処理
において生成したセッションキー(Kses)で暗号化
して、ユーザデバイスのセキュリティチップに対して送
信する。
Further, the service provider updates the content usage count management data in the database and decrements the corresponding usage count of the usage target content by one. Further, the service provider encrypts the extracted content key: Kc with the session key (Kses) generated in the mutual authentication process, and transmits the encrypted content key: Kc to the security chip of the user device.

【0303】(d5)セキュリティチップの制御部は、
サービスプロバイダからセッションキーで暗号化された
コンテンツ鍵、すなわち、[Kses(Kc)]を受信
すると、相互認証時に保有したセッションキーを用いて
復号化処理を実行してコンテンツ鍵:Kcを取得する。
コンテンツ鍵:Kcの取得に成功すると、セキュリティ
チップ制御部は、ユーザデバイス制御部にコンテンツの
復号準備が完了したことを通知する。
(D5) The control unit of the security chip is
When the content key encrypted with the session key, that is, [Kses (Kc)] is received from the service provider, the decryption process is executed using the session key held at the time of mutual authentication to obtain the content key: Kc.
When the content key: Kc is successfully obtained, the security chip control unit notifies the user device control unit that the preparation for decrypting the content is completed.

【0304】(d6)次にユーザデバイス制御部は、取
得したコンテンツ鍵を適用して復号すべき暗号化コンテ
ンツ[Kc(Content)]をユーザデバイス内の
メモリ(例えばハードディスク)、あるいはセキュリテ
ィチップ制御部を介してセキュリティチップ内のメモリ
から取得する。さらに、取得した暗号化コンテンツをセ
キュリティチップに送信し、(d7)セキュリティチッ
プ内で暗号化コンテンツに対してコンテンツ鍵:Kcを
適用した復号化処理を実行し、復号化処理結果として得
られるコンテンツをユーザデバイス制御部に出力し、
(d8)ユーザデバイスは、コンテンツを取得する。こ
れらの処理が終了すると、(d9)セキュリティチップ
の制御部は、復号化処理によって取得したコンテンツ
鍵:Kc、およびコンテンツ(Content)を破棄
する。
(D6) Next, the user device control section applies the acquired content key to the encrypted content [Kc (Content)] to be decrypted and stores it in the memory (eg hard disk) of the user device or the security chip control section. Through the memory in the security chip via. Furthermore, the acquired encrypted content is transmitted to the security chip, and (d7) the decryption process in which the content key: Kc is applied to the encrypted content is executed in the security chip, and the content obtained as the decryption process result is displayed. Output to the user device controller,
(D8) The user device acquires the content. When these processes are completed, (d9) the control unit of the security chip discards the content key: Kc and the content (Content) acquired by the decryption process.

【0305】これらの処理によって、サービスプロバイ
ダによる属性証明書(AC)に基づくコンテンツ利用回
数の確認処理が行われ、制限された利用回数内である場
合にのみ、コンテンツ鍵:Kcがセキュリティチップに
おいて復号可能な状態で再暗号化されて送付され、セキ
ュリティチップにおいてコンテンツ鍵が取得され、取得
したコンテンツ鍵によるコンテンツの復号が実行されて
ユーザデバイスにおいてコンテンツ利用が可能となる。
By these processes, the service provider confirms the number of times of use of the content based on the attribute certificate (AC), and only when the number of times of use is limited, the content key: Kc is decrypted in the security chip. The content is re-encrypted and sent in a possible state, the content key is acquired by the security chip, the content is decrypted by the acquired content key, and the content can be used by the user device.

【0306】なお、サービスプロバイダからユーザデバ
イスに対するコンテンツ配信あるいは属性証明書(A
C:Attribute Certificate)の配信形態としては、ユ
ーザ側からサービスプロバイダに対する要求に基づいて
実行される形態と、ユーザの要求の有無に関係なく例え
ばサブスクライバ契約を結んでいるユーザに対して、サ
ービスプロバイダから一方的に送信するいわゆるプッシ
ュ型の形態(プッシュ型モデル)のいずれの形態も可能で
ある。プッシュ型モデルにおいては、サービスプロバイ
ダが予め目標ユーザ向けの属性証明書(AC)を作成し
て配信することになる。
[0306] Note that the content distribution or attribute certificate (A
C: Attribute Certificate) is distributed based on the request from the user to the service provider, and from the service provider to the user who has a subscriber contract regardless of the user's request. Any form of so-called push type (push type model) of unilaterally transmitting is possible. In the push model, the service provider creates and distributes an attribute certificate (AC) for the target user in advance.

【0307】(C)オフライン−買い切りコンテンツ 次に、属性証明書に記録されたコンテンツ利用条件がオ
フライン処理であり、買い切りコンテンツである場合の
属性証明書の取得から、コンテンツ取得までの処理を図
36のシーケンス図に従って説明する。
(C) Off-line-purchase content Next, the processing from the acquisition of the attribute certificate to the content acquisition when the content usage condition recorded in the attribute certificate is offline processing and the content is purchase-out content is shown in FIG. It will be described according to the sequence diagram of FIG.

【0308】図36に示す処理シーケンスは、先に説明
した図34、図35の処理シーケンスと同様、すでにサ
ービスプロバイダから暗号化コンテンツを受領済みであ
り、また、コンテンツに対応する利用条件、暗号化コン
テンツ鍵を格納した属性証明書を受領済みであるユーザ
デバイスにおける処理を示しており、左からユーザデバ
イス内のセキュリティチップ制御部、ユーザデバイス制
御部(上位ソフトウェア)、およびサービスプロバイダ
の処理を示している。
The processing sequence shown in FIG. 36 has already received the encrypted content from the service provider, and the usage conditions and the encryption corresponding to the content are similar to the processing sequences of FIGS. 34 and 35 described above. The processing in the user device that has received the attribute certificate storing the content key is shown, and from the left, the processing of the security chip control unit, the user device control unit (upper software) in the user device, and the service provider is shown. There is.

【0309】図36に示す処理中、最上段(a)は、属
性証明書がセキュリティチップの内部メモリに格納され
ている場合における属性証明書からのサービスプロバイ
ダID取得処理、(b)は、属性証明書がセキュリティ
チップの外部メモリ、すなわちユーザデバイス制御部単
独の制御でアクセス可能なメモリに格納されている場合
における属性証明書からのサービスプロバイダID取得
処理を示し、これら(a),(b)は属性証明書の格納
位置に応じて選択的に実行する。(a)、(b)の各処
理は、図34を参照して説明したオンライン期間制限の
場合の処理と同様であるので説明を省略する。(a)、
(b)のいずれかの処理によって、サービスプロバイダ
IDが取得されると、次に、図36(c)に示す処理、
すなわちコンテンツ取得処理を実行する。
In the process shown in FIG. 36, the uppermost stage (a) is the service provider ID acquisition process from the attribute certificate when the attribute certificate is stored in the internal memory of the security chip, and (b) is the attribute. The service provider ID acquisition processing from the attribute certificate in the case where the certificate is stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control unit alone, is shown (a) and (b). Is executed selectively according to the storage location of the attribute certificate. The processes (a) and (b) are the same as the processes for the online period limitation described with reference to FIG. (A),
When the service provider ID is acquired by any of the processes of (b), next, the process shown in FIG.
That is, the content acquisition process is executed.

【0310】(c1)ユーザは、ユーザデバイスの付属
のブラウザにより表示された属性証明書の権限情報(コ
ンテンツ利用条件)を確認し、属性証明書を適用したコ
ンテンツ利用要求をセキュリティチップに対して出力す
る。この例における属性証明書に記録されたコンテンツ
利用条件は、オフライン買い切りである。
(C1) The user confirms the authority information (content usage condition) of the attribute certificate displayed by the browser attached to the user device, and outputs the content usage request to which the attribute certificate is applied to the security chip. To do. The content usage condition recorded in the attribute certificate in this example is offline purchase.

【0311】(c2)セキュリティチップ制御部は、ユ
ーザデバイス制御部からの属性証明書(AC)適用要求
を受信すると、属性証明書の検証処理を実行する。検証
処理には、権限情報(コンテンツ利用条件)の確認、フ
ォーマット確認、署名検証処理が含まれる。署名検証処
理は、例えば先に説明した図20の処理フローと同様の
シーケンスに従って実行される。この検証処理におい
て、セキュリティチップの制御部は、属性証明書(A
C)内のAC保持者の公開鍵証明書情報に従ってリンク
する公開鍵証明書から、上位に辿って連鎖的な検証を行
ない、ルート認証局(CA)の発行した公開鍵証明書の
検証まで実行することが好ましい。なお、この連鎖検証
が必須の場合もある。
(C2) Upon receiving the attribute certificate (AC) application request from the user device controller, the security chip controller executes the attribute certificate verification process. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. In this verification process, the control unit of the security chip uses the attribute certificate (A
From the public key certificate linked according to the public key certificate information of the AC holder in C), the chained verification is performed up to the upper level, and the verification of the public key certificate issued by the root certification authority (CA) is executed. Preferably. In some cases, this chain verification is essential.

【0312】(c3)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プ制御部は、属性証明書内に格納された暗号化コンテン
ツ鍵:[SC.Stopub.SP.K(Kc)]を取
り出して、サービスプロバイダ管理領域に格納されたS
P対応ストレージ秘密鍵:SC.Stopri.SP.
Kを適用して復号化処理を実行し、コンテンツ鍵:Kc
を取得する。コンテンツ鍵:Kcの取得に成功すると、
セキュリティチップ制御部は、ユーザデバイス制御部に
コンテンツの復号準備が完了したことを通知する。
(C3) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the security chip controller determines the encrypted content key: [SC. Stoppub. SP. K (Kc)], and S stored in the service provider management area
P-compatible storage secret key: SC. Stopri. SP.
The decryption process is executed by applying K, and the content key: Kc
To get. When the content key: Kc is successfully obtained,
The security chip control unit notifies the user device control unit that the content is ready for decryption.

【0313】(c4)次にユーザデバイス制御部は、取
得したコンテンツ鍵を適用して復号すべき暗号化コンテ
ンツ[Kc(Content)]をユーザデバイス内の
メモリ(例えばハードディスク)、あるいはセキュリテ
ィチップ制御部を介してセキュリティチップ内のメモリ
から取得する。さらに、取得した暗号化コンテンツをセ
キュリティチップに送信し、(c5)セキュリティチッ
プ内で暗号化コンテンツに対してコンテンツ鍵:Kcを
適用した復号化処理を実行し、復号化処理結果として得
られるコンテンツをユーザデバイス制御部に出力し、
(c6)ユーザデバイスは、コンテンツを取得する。こ
れらの処理が終了すると、(c7)セキュリティチップ
の制御部は、復号化処理によって取得したコンテンツ
鍵:Kc、およびコンテンツ(Content)を破棄
する。
(C4) Next, the user device control section applies the acquired content key to the encrypted content [Kc (Content)] to be decrypted and stores it in the memory (eg hard disk) in the user device or the security chip control section. Through the memory in the security chip via. Furthermore, the acquired encrypted content is transmitted to the security chip, and (c5) the decryption process in which the content key: Kc is applied to the encrypted content is executed in the security chip, and the content obtained as the decryption process result is displayed. Output to the user device controller,
(C6) The user device acquires the content. When these processes are completed, the control unit of the security chip (c7) discards the content key: Kc and the content (Content) acquired by the decryption process.

【0314】これらの処理によって、属性証明書(A
C)に基づく買い切りコンテンツであることの確認処理
が行われ、コンテンツ鍵:Kcがセキュリティチップに
おいて復号され、コンテンツ鍵が取得され、取得したコ
ンテンツ鍵によるコンテンツの復号が実行されてユーザ
デバイスにおいてコンテンツ利用が可能となる。
By these processes, the attribute certificate (A
Based on C), confirmation processing is performed that the content is a purchased content, the content key: Kc is decrypted by the security chip, the content key is acquired, the content is decrypted by the acquired content key, and the content is used by the user device. Is possible.

【0315】なお、上記構成例では、公開鍵暗号方式を
適用し、コンテンツ鍵の暗号化にSP対応ストレージ公
開鍵:SC.Stopub.SP.Kを用い、コンテン
ツ鍵の復号にSP対応ストレージ秘密鍵:SC.Sto
pri.SP.Kを用いた構成としたが、共通鍵方式を
適用することも可能であり、共通鍵方式を適用する場合
は、コンテンツ鍵の暗号化、復号化の双方の処理にSP
対応ストレージ鍵(共通鍵):SC.Sto.SP.K
を用いる。この場合、SP対応ストレージ鍵(共通
鍵):SC.Sto.SP.Kは、セキュリティチップ
のメモリの対応するサービスプロバイダのサービスプロ
バイダ管理領域に格納される。
In the above configuration example, the public key cryptosystem is applied, and the SP compatible storage public key: SC. Stoppub. SP. K, using SP compatible storage secret key: SC. Sto
pri. SP. Although the configuration using K is used, it is also possible to apply the common key method. When the common key method is applied, SP is used for both encryption and decryption of the content key.
Corresponding storage key (common key): SC. Sto. SP. K
To use. In this case, SP compatible storage key (common key): SC. Sto. SP. K is stored in the service provider management area of the corresponding service provider in the memory of the security chip.

【0316】なお、サービスプロバイダからユーザデバ
イスに対するコンテンツ配信あるいは属性証明書(A
C:Attribute Certificate)の配信形態としては、ユ
ーザ側からサービスプロバイダに対する要求に基づいて
実行される形態と、ユーザの要求の有無に関係なく例え
ばサブスクライバ契約を結んでいるユーザに対して、サ
ービスプロバイダから一方的に送信するいわゆるプッシ
ュ型の形態(プッシュ型モデル)のいずれの形態も可能で
ある。プッシュ型モデルにおいては、サービスプロバイ
ダが予め目標ユーザ向けの属性証明書(AC)を作成し
て配信することになる。
[0316] Note that the content distribution or attribute certificate (A
C: Attribute Certificate) is distributed based on the request from the user to the service provider, and from the service provider to the user who has a subscriber contract regardless of the user's request. Any form of so-called push type (push type model) of unilaterally transmitting is possible. In the push model, the service provider creates and distributes an attribute certificate (AC) for the target user in advance.

【0317】(D)オフライン−利用回数制限コンテン
ツ 次に、属性証明書に記録されたコンテンツ利用条件がオ
フライン処理であり、利用回数の制限されたコンテンツ
である場合の属性証明書の取得から、コンテンツ取得ま
での処理について説明する。属性証明書の利用条件がオ
フライン利用で、回数制限のあるコンテンツである場
合、ユーザデバイス内で、属性証明書の設定条件に基づ
いて回数管理を実行するために、デバイス内にコンテン
ツ利用回数の管理データを持つことが必要となる。コン
テンツ利用回数の管理データの保有処理が利用回数管理
データのインポート処理である。
(D) Offline-Use count restricted content Next, when the content use condition recorded in the attribute certificate is offline processing and the use count is restricted, the content is acquired from the attribute certificate acquisition. The process up to acquisition will be described. When the usage condition of the attribute certificate is offline usage and the content has a limited number of times, the number of times the content is used is managed in the device to execute the number of times management based on the setting condition of the attribute certificate in the user device. It is necessary to have data. The process of retaining the management data of the number of times of use of content is the import process of the management data of the number of times of use.

【0318】(D−1)インポート処理 まず、利用回数管理データのインポート処理について説
明する。コンテンツ利用回数の管理態様には、コンテン
ツ利用可能回数をユーザデバイス内のセキュリティチッ
プで管理する態様と、回数管理ファイルをセキュリティ
チップ外の外部メモリ(例えばハードディスク)に格納
管理し、管理データのハッシュ値のみをセキュリティチ
ップ内のメモリに格納する2つの態様がある。
(D-1) Import Processing First, the import processing of the number-of-uses management data will be described. As for the management mode of the number of times of content usage, the security chip inside the user device manages the number of times the content can be used, and the number management file is stored and managed in an external memory (for example, a hard disk) outside the security chip, and the hash value of the management data is managed. There are two ways of storing only the memory in the security chip.

【0319】最初に図37を参照して、コンテンツ利用
可能回数をユーザデバイス内のセキュリティチップで管
理する態様とした場合の利用回数管理データのインポー
ト処理シーケンスを説明する。左からユーザデバイス内
のセキュリティチップ制御部、ユーザデバイス制御部
(上位ソフトウェア)、およびサービスプロバイダの処
理を示している。図37の処理シーケンスは、すでにコ
ンテンツ購入処理に伴うセキュリティチップと、サービ
スプロバイダ間の相互認証が成立し、サービスプロバイ
ダからセキュリティチップに対する、購入コンテンツに
対応する属性証明書の発行処理以降の処理を示してい
る。ここで、サービスプロバイダの発行する属性証明書
は、コンテンツ利用条件として、オフライン利用での利
用回数制限コンテンツであることが記録され、コンテン
ツ利用制限回数が記録されている。
First, with reference to FIG. 37, a description will be given of an import processing sequence of the usage count management data in the case where the number of times the content can be used is managed by the security chip in the user device. From the left, the processing of the security chip controller in the user device, the user device controller (upper software), and the service provider is shown. The processing sequence of FIG. 37 shows the processing after the issuance processing of the attribute certificate corresponding to the purchased content from the service provider to the security chip when mutual authentication between the security chip associated with the content purchasing processing and the service provider has already been established. ing. Here, the attribute certificate issued by the service provider is recorded as a content usage condition that the content is the usage-restricted content for offline usage, and the content usage-restricted content is recorded.

【0320】(1)属性証明書がサービスプロバイダか
ら発行され、送信されると、(2)セキュリティチップ
の制御部は、属性証明書の検証処理を実行する。検証処
理には、権限情報(コンテンツ利用条件)の確認、フォ
ーマット確認、署名検証処理が含まれる。署名検証処理
は、例えば先に説明した図20の処理フローと同様のシ
ーケンスに従って実行される。この検証処理において、
セキュリティチップの制御部は、属性証明書(AC)内
のAC保持者の公開鍵証明書情報に従ってリンクする公
開鍵証明書から、上位に辿って連鎖的な検証を行ない、
ルート認証局(CA)の発行した公開鍵証明書の検証ま
で実行することが好ましい。なお、この連鎖検証が必須
の場合もある。
(1) When the attribute certificate is issued and transmitted from the service provider, (2) the control unit of the security chip executes the verification processing of the attribute certificate. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. In this verification process,
The control unit of the security chip performs a chained verification from the public key certificate linked according to the public key certificate information of the AC holder in the attribute certificate (AC) to a higher level,
It is preferable to execute the verification of the public key certificate issued by the root certificate authority (CA). In some cases, this chain verification is essential.

【0321】(3)セキュリティチップの制御部は、属
性証明書に記録されたコンテンツ利用条件がオフライン
利用回数制限コンテンツであると判定すると、属性証明
書からコンテンツ識別子に対応するアプリケーションI
D、属性証明書(AC)シリアル番号、コンテンツ利用
制限回数の各データを取得する。さらに、コンテンツの
購入処理時にユーザにより入力されたユーザID、サー
ビスプロバイダIDの各データをユーザデバイス制御部
を介して取得し、これらの取得したアプリケーションI
D、属性証明書(AC)シリアル番号、ユーザIDの各
データに対応するコンテンツ利用回数管理データが、セ
キュリティチップ内のメモリのサービスプロバイダ管理
領域に登録済みであるか否かを検証する。なお、ユーザ
がユーザデバイスにログインしている場合には、ユーザ
ID等は保持されているので、ユーザID、サービスプ
ロバイダIDはユーザが入力する代わりにユーザデバイ
スが送信してもよい。
(3) When the control unit of the security chip determines that the content use condition recorded in the attribute certificate is the offline use count restricted content, the application I corresponding to the content identifier is determined from the attribute certificate.
D, attribute certificate (AC) serial number, and content usage limit number of times data are acquired. Further, each data of the user ID and the service provider ID input by the user during the content purchase processing is acquired via the user device control unit, and the acquired application I
It is verified whether or not the content usage count management data corresponding to each data of D, attribute certificate (AC) serial number, and user ID has been registered in the service provider management area of the memory in the security chip. When the user is logged in to the user device, the user ID and the like are retained, so the user device and the service provider ID may be transmitted by the user device instead of being input by the user.

【0322】セキュリティチップのメモリには、前述し
たように、登録されたサービスプロバイダ毎にサービス
プロバイダ管理領域が設定され、その管理領域内にコン
テンツ利用回数管理データが登録されることになる。図
38にセキュリティチップ内のメモリのサービスプロバ
イダ管理領域内に設定されるコンテンツ利用回数管理デ
ータの構成例を示す。
In the memory of the security chip, as described above, the service provider management area is set for each registered service provider, and the content usage count management data is registered in the management area. FIG. 38 shows a configuration example of content usage count management data set in the service provider management area of the memory in the security chip.

【0323】図38に示すように、サービスプロバイダ
管理領域には、サービスプロバイダID、ユーザID毎
に、コンテンツ識別子としてのアプリケーションID
(App.ID#n)、対応する属性証明書(AC)の
識別子であるACシリアル(AC Serial#
n)、さらに残りの利用可能回数データ(Count#
n)が対応付けられて格納される。同一のコンテンツで
あっても利用ユーザ毎に異なる属性証明書に基づく利用
回数カウントを可能としたデータ構成となっている。
As shown in FIG. 38, in the service provider management area, an application ID as a content identifier for each service provider ID and user ID.
(App.ID # n), AC serial (AC Serial #) that is the identifier of the corresponding attribute certificate (AC).
n), and the remaining usable count data (Count #
n) are stored in association with each other. Even if the same content is used, the data structure is such that it is possible to count the number of times of use based on a different attribute certificate for each user.

【0324】図37に戻って利用回数管理データのイン
ポート処理のシーケンスについて説明を続ける。(3)
セキュリティチップの制御部は、属性証明書から取得し
たコンテンツ識別子に対応するアプリケーションID、
属性証明書(AC)シリアル番号、コンテンツ利用制限
回数の各データ、ユーザにより入力されたユーザID、
サービスプロバイダIDの各データに対応するコンテン
ツ利用回数管理データが、セキュリティチップ内のメモ
リのサービスプロバイダ管理領域に登録済みであるか否
かを検証し、コンテンツ利用回数管理データが登録され
ていないことを確認すると、(4)コンテンツ利用回数
管理データをサービスプロバイダ管理領域に追加登録
し、(5)追加登録の終了後、属性証明書受信メッセー
ジを生成して、サービスプロバイダに送信する。
Returning to FIG. 37, the sequence of the import processing of the usage count management data will be continued. (3)
The control unit of the security chip has an application ID corresponding to the content identifier acquired from the attribute certificate,
Attribute certificate (AC) serial number, each piece of content usage limit data, user ID input by the user,
It is verified whether the content usage count management data corresponding to each data of the service provider ID is already registered in the service provider management area of the memory in the security chip, and it is confirmed that the content usage count management data is not registered. If confirmed, (4) the content usage count management data is additionally registered in the service provider management area, and (5) after the additional registration is completed, an attribute certificate reception message is generated and transmitted to the service provider.

【0325】図37の例では、サービスプロバイダから
受領した属性証明書(AC)は、 アプリケーションID:0001 属性証明書(AC)シリアル:1345 コンテンツ利用制限回数:5 の各データが記録され、ユーザ入力データは、 ユーザID:6737 サービスプロバイダID:5678 である。
In the example of FIG. 37, the attribute certificate (AC) received from the service provider is the application ID: 0001 attribute certificate (AC) serial: 1345. The data is user ID: 6737 service provider ID: 5678.

【0326】セキュリティチップの制御部は、これらの
データに対応するコンテンツ利用回数管理データがメモ
リ内の対応するサービスプロバイダ管理領域にあるか否
かを検証する。図37に示すSP管理領域データ(更新
前)のデータ中には、サービスプロバイダID:567
8、ユーザID:6737に対応するコンテンツ利用回
数管理データとして、アプリケーションID:000
1、属性証明書(AC)シリアル:1345に対応する
データは存在しない。
The control unit of the security chip verifies whether the content usage count management data corresponding to these data is in the corresponding service provider management area in the memory. In the SP management area data (before updating) shown in FIG. 37, the service provider ID is 567.
8. Application ID: 000 as content usage count management data corresponding to user ID: 6737
1, attribute certificate (AC) serial: There is no data corresponding to 1345.

【0327】従って、今回サービスプロバイダから受領
した属性証明書に対応するコンテンツ利用回数管理デー
タをサービスプロバイダID:5678、ユーザID:
6737に対応するコンテンツ利用回数管理データとし
て、新たに追加する処理を行なう。その結果、図の下段
に示すSP管理領域データ(更新後)のデータ中に、ア
プリケーションID:0001、属性証明書(AC)シ
リアル:1345の回数管理データが追加され、利用可
能回数として、受領した属性証明書に記録されたコンテ
ンツ利用制限回数:5が設定される。
Therefore, the content use frequency management data corresponding to the attribute certificate received from the service provider this time is stored as service provider ID: 5678, user ID:
A new addition process is performed as content usage count management data corresponding to 6737. As a result, the number management data of application ID: 0001 and attribute certificate (AC) serial: 1345 was added to the data of the SP management area data (after updating) shown in the lower part of the figure, and received as the number of times available. The content usage limit number recorded in the attribute certificate: 5 is set.

【0328】コンテンツの利用時には、このコンテンツ
利用回数管理データが参照され、利用毎に利用可能回数
を1デクリメントして、5→4→3→2→1→0とする
データ更新が実行され、利用可能回数が0となった以後
のコンテンツ利用が拒否され、属性証明書に記録された
利用制限回数内でのコンテンツ利用が可能となる。この
コンテンツ利用処理については、後述する。
When the content is used, this content use count management data is referred to, the usable count is decremented by 1 for each use, and the data is updated to 5 → 4 → 3 → 2 → 1 → 0 and used. The content use is rejected after the permitted number of times becomes 0, and the content can be used within the limited number of use recorded in the attribute certificate. This content use processing will be described later.

【0329】なお、サービスプロバイダから受領した属
性証明書のアプリケーションID、属性証明書(AC)
シリアルと同一のデータがすでに、対応するサービスプ
ロバイダID、ユーザIDのサービスプロバイダ管理領
域内のコンテンツ利用回数管理データとして登録済みで
ある場合には、重複した属性証明書の発行であると判定
し、その属性証明書に基づくコンテンツ利用回数管理デ
ータの追加登録は実行しない。
The application ID of the attribute certificate received from the service provider, the attribute certificate (AC)
If the same data as the serial data has already been registered as the content usage count management data in the service provider management area of the corresponding service provider ID and user ID, it is determined that a duplicate attribute certificate is issued, The additional registration of the content usage count management data based on the attribute certificate is not executed.

【0330】また、サービスプロバイダから受領した属
性証明書のアプリケーションIDと同一であるが、属性
証明書(AC)シリアルが異なるデータがすでに、対応
するサービスプロバイダID、ユーザIDのサービスプ
ロバイダ管理領域内のコンテンツ利用回数管理データと
して登録済みである場合には、異なる属性証明書に基づ
く同一コンテンツの新たな利用を可能とする属性証明書
であると判定し、その属性証明書に基づくコンテンツ利
用回数管理データの追加登録を実行する。
Further, data having the same application ID as the attribute certificate received from the service provider but different attribute certificate (AC) serial is already stored in the service provider management area of the corresponding service provider ID and user ID. If it has been registered as content usage count management data, it is determined that it is an attribute certificate that enables new usage of the same content based on a different attribute certificate, and the content usage count management data based on the attribute certificate. Perform additional registration of.

【0331】すなわち、同一のサービスプロバイダI
D、同一ユーザIDのサービスプロバイダ管理領域内の
コンテンツ利用回数管理データとして、すでに、例えば アプリケーションID:0001、 ACシリアル:0001 残りコンテンツ利用回数:2 のデータが存在する場合であっても、
That is, the same service provider I
D, even if, for example, data of application ID: 0001, AC serial: 0001, remaining content usage count: 2 already exists as content usage count management data in the service provider management area of the same user ID,

【0332】アプリケーションID:0001 ACシリアル:0002 残りコンテンツ利用回数:5 の新たな管理データが追加登録される。Application ID: 0001 AC serial: 0002 Number of remaining contents used: 5 The new management data of is additionally registered.

【0333】図39に、コンテンツ利用可能回数をユー
ザデバイス内のセキュリティチップで管理する態様とし
た場合のセキュリティチップ内で実行される利用回数管
理データのインポート処理フローを示す。各ステップに
ついて説明する。
FIG. 39 shows an import processing flow of the usage count management data executed in the security chip when the number of times the content can be used is managed by the security chip in the user device. Each step will be described.

【0334】まず、ステップS221において、属性証
明書(検証済み)からアプリケーションID、利用制限
回数、属性証明書シリアル番号を取り出す。ステップS
222において、セキュリティチップ内のメモリに設定
済みのサービスプロバイダ管理領域内に、属性証明書に
格納されたと同一のアプリケーションIDの回数管理デ
ータがあるか否かを検索する。
First, in step S221, the application ID, the number of times of use limitation, and the attribute certificate serial number are extracted from the attribute certificate (verified). Step S
In 222, it is searched whether or not the number management data of the same application ID stored in the attribute certificate is stored in the service provider management area set in the memory of the security chip.

【0335】ステップS223で、同一のアプリケーシ
ョンIDの回数管理データの登録がないと判定された場
合は、ステップS225に進み、属性証明書に従ってア
プリケーションID:nnnn、属性証明書(AC)シ
リアル:mmmm、利用可能回数として、受領した属性
証明書に記録されたコンテンツ利用制限回数:xを設定
して利用回数管理データ登録を行なう。
If it is determined in step S223 that the number-of-times management data of the same application ID has not been registered, the process proceeds to step S225 and the application ID: nnnn, attribute certificate (AC) serial: mmmm, according to the attribute certificate. As the number of times of use permitted, the number of times of limited use of content: x recorded in the received attribute certificate is set, and the number-of-uses management data is registered.

【0336】一方、ステップS223において、同一の
アプリケーションIDの回数管理データが登録済みと判
定された場合は、ステップS224に進み、さらに、属
性証明書から取得した属性証明書(AC)シリアルと一
致する回数管理データがメモリ内のサービスプロバイダ
管理領域に登録済みであるか否かを判定し、登録済みで
ある場合は、同一の属性証明書に対する重複処理である
と判定して、新たなデータ登録は実行せず処理を終了す
る。一方、属性証明書から取得した属性証明書(AC)
シリアルと一致する回数管理データがメモリ内のサービ
スプロバイダ管理領域に登録済みでないと判定した場合
は、ステップS225に進み、属性証明書に従ってアプ
リケーションID:nnnn、属性証明書(AC)シリ
アル:mmmm、利用可能回数データとして、受領した
属性証明書に記録されたコンテンツ利用制限回数:xを
設定して利用回数管理データの登録を行なう。
On the other hand, if it is determined in step S223 that the number-of-times management data of the same application ID has been registered, the process proceeds to step S224, and the attribute certificate (AC) serial obtained from the attribute certificate is matched. It is determined whether or not the number-of-times management data has been registered in the service provider management area in the memory. If registered, it is determined that the same attribute certificate is duplicated, and new data registration is The process ends without execution. On the other hand, the attribute certificate (AC) obtained from the attribute certificate
If it is determined that the number-of-times management data matching the serial has not been registered in the service provider management area in the memory, the process proceeds to step S225, and the application ID: nnnn, attribute certificate (AC) serial: mmmm, use according to the attribute certificate. As the permitted number of times data, the number of times of limited use of contents: x recorded in the received attribute certificate is set, and the number of times of use management data is registered.

【0337】次に、図40を参照して、回数管理ファイ
ルをセキュリティチップ外の外部メモリ(例えばハード
ディスク)に格納管理し、管理データのハッシュ値のみ
をセキュリティチップ内のメモリに格納する処理態様と
した場合の利用回数管理データのインポート処理シーケ
ンスを説明する。左からユーザデバイス内のセキュリテ
ィチップ制御部、ユーザデバイス制御部(上位ソフトウ
ェア)、およびサービスプロバイダの処理を示してい
る。図40の処理シーケンスは、すでにコンテンツ購入
処理に伴うセキュリティチップと、サービスプロバイダ
間の相互認証が成立し、サービスプロバイダからセキュ
リティチップに対する、購入コンテンツに対応する属性
証明書の発行処理以降の処理を示している。ここで、サ
ービスプロバイダの発行する属性証明書は、コンテンツ
利用条件として、オフライン利用での利用回数制限コン
テンツであることが記録され、コンテンツ利用制限回数
が記録されている。
Next, referring to FIG. 40, a processing mode for storing and managing the number-of-times management file in an external memory (eg hard disk) outside the security chip and storing only the hash value of the management data in the memory inside the security chip will be described. The import processing sequence of the usage count management data in the case of doing so will be described. From the left, the processing of the security chip controller in the user device, the user device controller (upper software), and the service provider is shown. The processing sequence of FIG. 40 shows the processing after the issuance processing of the attribute certificate corresponding to the purchased content from the service provider to the security chip when the mutual authentication between the security chip involved in the content purchasing processing and the service provider has already been established. ing. Here, the attribute certificate issued by the service provider is recorded as a content usage condition that the content is the usage-restricted content for offline usage, and the content usage-restricted content is recorded.

【0338】この処理態様は、セキュリティチップ内の
限られたメモリ領域を有効に活用する構成であり、回数
管理データの実データファイルをセキュリティチップ外
の外部メモリ(例えばハードディスク)に格納管理し、
この外部管理ファイル情報のハッシュ(Hash)値
を、セキュリティチップ内部で管理することで、外部管
理ファイル情報の改竄を検証することを可能としたもの
である。ハッシュ関数とは、メッセージを入力とし、こ
れを所定のビット長のデータに圧縮し、ハッシュ値とし
て出力する関数である。ハッシュ関数は、ハッシュ値
(出力)から入力を予測することが難しく、ハッシュ関
数に入力されたデータの1ビットが変化したとき、ハッ
シュ値の多くのビットが変化し、また、同一のハッシュ
値を持つ異なる入力データを探し出すことが困難である
特徴を有する。ハッシュ関数としては、MD4、MD
5、SHA−1などが用いられる場合もあるし、DES
−CBCが用いられる場合もある。この場合は、最終出
力値となるMACがハッシュ値となる。
In this processing mode, the limited memory area in the security chip is effectively utilized, and the actual data file of the number management data is stored and managed in the external memory (eg hard disk) outside the security chip,
By managing the hash value of this external management file information inside the security chip, it is possible to verify the tampering of the external management file information. The hash function is a function that receives a message, compresses the message into data having a predetermined bit length, and outputs the data as a hash value. It is difficult for the hash function to predict the input from the hash value (output). When one bit of the data input to the hash function changes, many bits of the hash value change and the same hash value is changed. It has a feature that it is difficult to find out different input data. Hash functions include MD4 and MD
5, SHA-1 may be used, and DES may be used.
-CBC may be used in some cases. In this case, the MAC which is the final output value becomes the hash value.

【0339】図40に示す処理シーケンスについて説明
する。(1)属性証明書がサービスプロバイダから発行
され、送信されると、(2)セキュリティチップの制御
部は、属性証明書の検証処理を実行する。検証処理に
は、権限情報(コンテンツ利用条件)の確認、フォーマ
ット確認、署名検証処理が含まれる。署名検証処理は、
例えば先に説明した図20の処理フローと同様のシーケ
ンスに従って実行される。この検証処理において、セキ
ュリティチップの制御部は、属性証明書(AC)内のA
C保持者の公開鍵証明書情報に従ってリンクする公開鍵
証明書から、上位に辿って連鎖的な検証を行ない、ルー
ト認証局(CA)の発行した公開鍵証明書の検証まで実
行することが好ましい。なお、この連鎖検証が必須の場
合もある。
The processing sequence shown in FIG. 40 will be described. (1) When the attribute certificate is issued and transmitted from the service provider, (2) the control unit of the security chip executes the verification processing of the attribute certificate. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is
For example, it is executed according to the same sequence as the processing flow of FIG. 20 described above. In this verification process, the control unit of the security chip uses A in the attribute certificate (AC).
It is preferable that the public key certificate linked according to the public key certificate information of the C holder is traced to a higher level to perform chained verification, and even the verification of the public key certificate issued by the root certificate authority (CA) is executed. . In some cases, this chain verification is essential.

【0340】セキュリティチップの制御部は、属性証明
書に記録されたコンテンツ利用条件がオフライン利用回
数制限コンテンツであると判定すると、外部のメモリか
らの回数管理ファイルの読み出し処理を実行する。図で
はユーザデバイス制御部の管理するHDDに回数管理フ
ァイルがあり、(3)ユーザデバイス制御部において回
数管理ファイルが読み出されてセキュリティチップに出
力される。この読み出し対象は、管理ファイル全データ
であっても、あるいはコンテンツに対応するサービスプ
ロバイダに関するデータのみであってもよい。
When the control unit of the security chip determines that the content use condition recorded in the attribute certificate is the off-line use count limited content, it executes the process of reading the count management file from the external memory. In the figure, the HDD managed by the user device controller has a count management file, and (3) the user device controller reads the count management file and outputs it to the security chip. This read target may be all data of the management file or only data relating to the service provider corresponding to the content.

【0341】次に、セキュリティチップの制御部は、
(4)ユーザデバイス制御部から受信した回数管理ファ
イルをセキュリティチップ内のRAMに展開し、展開デ
ータに基づいてハッシュ値を計算する。回数管理データ
は、サービスプロバイダIDとユーザIDに対応付けら
れた複数の回数管理データを格納したフィールド構成を
持つ。セキュリティチップのメモリ内のサービスプロバ
イダ管理領域には、サービスプロバイダIDとユーザI
Dに対応付けられたフィールドデータに対してハッシュ
値が生成され格納されている。
Next, the control unit of the security chip
(4) The number-of-times management file received from the user device control unit is expanded in the RAM in the security chip, and the hash value is calculated based on the expanded data. The frequency management data has a field structure in which a plurality of frequency management data associated with a service provider ID and a user ID is stored. In the service provider management area in the memory of the security chip, the service provider ID and the user I
A hash value is generated and stored for the field data associated with D.

【0342】セキュリティチップの制御部は、ユーザデ
バイス制御部から受信し、RAMに展開した回数管理フ
ァイルから、ユーザにより指定されているサービスプロ
バイダID、ユーザIDに対応するフィールドデータを
抽出してハッシュ値を計算し、計算された値と、セキュ
リティチップ内のメモリのサービスプロバイダ管理領域
に格納されたハッシュ値とを比較する。算出ハッシュ値
と、格納ハッシュ値が一致すれば、データに改竄がない
と判定し、次の処理に進む。
The control unit of the security chip extracts the field data corresponding to the service provider ID and the user ID designated by the user from the number-of-times management file received from the user device control unit and expanded in the RAM to obtain the hash value. Is calculated, and the calculated value is compared with the hash value stored in the service provider management area of the memory in the security chip. If the calculated hash value and the stored hash value match, it is determined that the data has not been tampered with, and the process proceeds to the next process.

【0343】図の例では、RAM展開データの、サービ
スプロバイダID:5678、ユーザID:6737の
フィールドデータに基づいてハッシュ値が算出され、セ
キュリティチップ内の対応するサービスプロバイダ(S
P)管理領域内に格納された対応するフィールド、すな
わち、サービスプロバイダID:5678、ユーザI
D:6737のハッシュ値:290aと比較することに
なる。
In the example of the figure, the hash value is calculated based on the field data of the service data having the service provider ID: 5678 and the user ID: 6737 of the RAM expansion data, and the corresponding service provider (S
P) Corresponding field stored in the management area, ie service provider ID: 5678, user I
It will be compared with the hash value of D: 6737: 290a.

【0344】(5)ハッシュ値が一致した場合は、一致
した旨を示す通知をユーザデバイス制御部に送信し、一
致が得られなかった場合はエラーメッセージをユーザデ
バイス制御部に送信する。(6)次に、セキュリティチ
ップの制御部は、属性証明書からコンテンツ識別子に対
応するアプリケーションID、属性証明書(AC)シリ
アル番号、コンテンツ利用制限回数の各データを取得す
る。さらに、コンテンツの購入処理時にユーザにより入
力されたユーザID、サービスプロバイダIDの各デー
タをユーザデバイス制御部を介して取得し、これらの取
得したアプリケーションID、属性証明書(AC)シリ
アル番号、ユーザIDの各データに対応するコンテンツ
利用回数管理データが、ユーザデバイス制御部から受信
し、RAMに展開した回数管理ファイルに登録済みであ
るか否かを検証する。
(5) If the hash values match, a notification indicating that they match is sent to the user device controller, and if no match is found, an error message is sent to the user device controller. (6) Next, the control unit of the security chip acquires each data of the application ID corresponding to the content identifier, the attribute certificate (AC) serial number, and the content usage limit number of times from the attribute certificate. Further, each data of the user ID and the service provider ID input by the user during the content purchase processing is acquired via the user device control unit, and the acquired application ID, attribute certificate (AC) serial number, and user ID are acquired. It is verified whether or not the content usage count management data corresponding to each of the data is received from the user device control unit and registered in the count management file expanded in the RAM.

【0345】コンテンツ利用回数管理データが登録され
ていないことを確認すると、(7)コンテンツの利用回
数管理データを属性証明書(AC)から取り出し、RA
Mに展開した回数管理ファイルに追加登録し、(8)追
加データに基づく新たなハッシュ値を計算して、(9)
セキュリティチップ内の対応するサービスプロバイダ
(SP)管理領域内に格納された対応するフィールドに
格納する。(10)追加登録の終了後、属性証明書受信
メッセージを更新した回数管理ファイルとともに、ユー
ザデバイスに送信し、(11)ユーザデバイスは、受信
した回数管理ファイルをハードデイスクに格納する。
When it is confirmed that the content use count management data is not registered, (7) the content use count management data is extracted from the attribute certificate (AC), and RA
It is additionally registered in the number management file expanded in M, (8) a new hash value is calculated based on the additional data, and (9)
It is stored in the corresponding field stored in the corresponding service provider (SP) management area in the security chip. (10) After the additional registration is completed, the attribute certificate reception message is transmitted to the user device together with the updated number management file, and (11) the user device stores the received number management file in the hard disk.

【0346】図40の例では、サービスプロバイダから
受領した属性証明書(AC)は、 アプリケーションID:0001 属性証明書(AC)シリアル:1345 コンテンツ利用制限回数:5 の各データが記録され、ユーザ入力データは、 ユーザID:6737 サービスプロバイダID:5678 である。
In the example of FIG. 40, as the attribute certificate (AC) received from the service provider, each data of application ID: 0001 attribute certificate (AC) serial: 1345 content use limit number: 5 is recorded, and user input The data is user ID: 6737 service provider ID: 5678.

【0347】セキュリティチップの制御部は、これらの
データに対応するコンテンツ利用回数管理データがRA
Mに展開した回数管理ファイルに登録済みであるか否か
を検証する。図40に示す最上段のSC内RAMのデー
タ中には、サービスプロバイダID:5678、ユーザ
ID:6737に対応するコンテンツ利用回数管理デー
タとして、アプリケーションID:0001、属性証明
書(AC)シリアル:1345に対応するデータは存在
しない。
The control unit of the security chip determines that the content usage count management data corresponding to these data is RA.
It is verified whether or not it has been registered in the number management file expanded in M. In the data in the SC innermost RAM shown in FIG. 40, application ID: 0001, attribute certificate (AC) serial: 1345 as content usage count management data corresponding to service provider ID: 5678, user ID: 6737. There is no data corresponding to.

【0348】従って、今回サービスプロバイダから受領
した属性証明書に対応するコンテンツ利用回数管理デー
タをサービスプロバイダID:5678、ユーザID:
6737に対応するコンテンツ利用回数管理データとし
て、新たに追加する処理を行なう。その結果、図の中段
に示すSC内RAMのデータ中に、アプリケーションI
D:0001、属性証明書(AC)シリアル:1345
の回数管理データが追加され、利用可能回数として、受
領した属性証明書に記録されたコンテンツ利用制限回
数:5が設定される。
Therefore, the content use frequency management data corresponding to the attribute certificate received from the service provider this time is stored as service provider ID: 5678, user ID:
A new addition process is performed as content usage count management data corresponding to 6737. As a result, the application I
D: 0001, Attribute Certificate (AC) Serial: 1345
The number-of-times management data is added, and the usable number of times is set to the content use limit number: 5 recorded in the received attribute certificate.

【0349】さらに、サービスプロバイダID:567
8、ユーザID:6737に対応するフィールドデータ
に基づいてハッシュ値が算出される。図の例では、デー
タ更新前のハッシュ値は290aであり、データ更新後
のハッシュ値が8731であり、図の最下段のSP管理
領域のハッシュ値:8731が更新値として格納される
ことになる。
Furthermore, service provider ID: 567
8. The hash value is calculated based on the field data corresponding to the user ID: 6737. In the example of the figure, the hash value before data update is 290a, the hash value after data update is 8731, and the hash value: 8731 of the SP management area at the bottom of the figure is stored as the update value. .

【0350】コンテンツの利用時には、このコンテンツ
利用回数管理データが参照され、利用毎に利用可能回数
を1デクリメントして、5→4→3→2→1→0とする
データ更新が実行されるとともに、更新データに基づい
て新たなハッシュ値が算出されて、更新処理が実行され
ることになる。このコンテンツ利用処理については、後
述する。
At the time of using the content, the content use count management data is referred to, the usable count is decremented by 1 for each use, and the data is updated to 5 → 4 → 3 → 2 → 1 → 0. , A new hash value is calculated based on the update data, and the update process is executed. This content use processing will be described later.

【0351】なお、サービスプロバイダから受領した属
性証明書のアプリケーションID、属性証明書(AC)
シリアルと同一のデータがすでに、ユーザデバイスから
受信し、RAMに展開した回数管理ファイルの対応する
サービスプロバイダID、ユーザIDのフィールドのコ
ンテンツ利用回数管理データとして登録済みである場合
には、重複した属性証明書の発行であると判定し、その
属性証明書に基づくコンテンツ利用回数管理データの追
加登録は実行しない。
The application ID of the attribute certificate received from the service provider, the attribute certificate (AC)
If the same data as the serial data has already been received from the user device and has been registered in the RAM as the content usage count management data of the corresponding service provider ID and user ID field of the count management file, duplicate attributes are registered. It is determined that the certificate is issued, and the additional registration of the content usage count management data based on the attribute certificate is not executed.

【0352】また、サービスプロバイダから受領した属
性証明書のアプリケーションIDと同一であるが、属性
証明書(AC)シリアルが異なるデータがすでに、ユー
ザデバイスから受信し、RAMに展開した回数管理ファ
イルの対応するサービスプロバイダID、ユーザIDの
フィールドのコンテンツ利用回数管理データとして登録
済みである場合には、異なる属性証明書に基づく同一コ
ンテンツの新たな利用を可能とする属性証明書であると
判定し、その属性証明書に基づくコンテンツ利用回数管
理データの追加登録、ハッシュ値更新処理を実行する。
Data corresponding to the application ID of the attribute certificate received from the service provider but different in attribute certificate (AC) serial has already been received from the user device and expanded in the RAM. If it is already registered as content usage count management data in the fields of the service provider ID and the user ID to be used, it is determined that the attribute certificate enables new use of the same content based on a different attribute certificate, and Executes additional registration of content usage count management data and hash value update processing based on the attribute certificate.

【0353】図41に、回数管理ファイルをセキュリテ
ィチップ外の外部メモリ(例えばハードディスク)に格
納管理し、管理データのハッシュ値のみをセキュリティ
チップ内のメモリに格納する処理態様とした場合の利用
回数管理データのインポート処理フローを示す。各ステ
ップについて説明する。
FIG. 41 shows the number-of-uses management when the number-of-times management file is stored and managed in an external memory (eg hard disk) outside the security chip and only the hash value of the management data is stored in the memory inside the security chip. The data import processing flow is shown. Each step will be described.

【0354】まず、ステップS241において、外部メ
モリから回数管理ファイルを読み込み、ステップS24
2において、サービスプロバイダID、ユーザIDに基
づいて特定されるフィールドデータに基づくハッシュ値
を算出し、算出ハッシュ値と、セキュリティチップのメ
モリ内のサービスプロバイダ管理領域に格納ずみのハッ
シュ値と一致するか否かを検証(S243)する。一致
しない場合は、外部メモリから読み出した回数管理ファ
イルが改竄されていると判定し、エラー処理、例えばそ
の後の処理を中止する。
First, in step S241, the count management file is read from the external memory, and in step S24
In 2, the hash value based on the field data specified based on the service provider ID and the user ID is calculated, and whether the calculated hash value matches the hash value stored in the service provider management area in the memory of the security chip. Whether or not it is verified (S243). If they do not match, it is determined that the number-of-times management file read from the external memory has been tampered with, and error processing, for example, subsequent processing is stopped.

【0355】ハッシュ値が一致し、外部メモリから読み
出した回数管理ファイルが改竄されていないと判定した
場合は、ステップS244に進み、属性証明書(検証済
み)からアプリケーションID、利用制限回数、属性証
明書シリアル番号を取り出す。次に、ステップS245
において、ユーザデバイス制御部から受信し、RAMに
展開した回数管理ファイルに、属性証明書に格納された
ものと同一のアプリケーションIDの回数管理データが
あるか否かを検索する。
If the hash values match and it is determined that the number-of-times management file read from the external memory has not been tampered with, the flow advances to step S244 to check the attribute ID (verified), application ID, usage limit number, attribute proof. Take out the serial number. Next, step S245.
In step S1, the number of times management data received from the user device controller and expanded in the RAM is searched for the number of times management data having the same application ID as that stored in the attribute certificate.

【0356】ステップS246で、同一のアプリケーシ
ョンIDの回数管理データの登録がないと判定された場
合は、ステップS247に進み、属性証明書に従ってア
プリケーションID:nnnn、属性証明書(AC)シ
リアル:mmmm、利用可能回数として、受領した属性
証明書に記録されたコンテンツ利用制限回数:xを設定
して利用回数管理データの登録を行なう。
If it is determined in step S246 that the number-of-times management data of the same application ID is not registered, the process proceeds to step S247, and the application ID: nnnn, attribute certificate (AC) serial: mmmm, according to the attribute certificate. As the usable number of times, the content use limit number: x recorded in the received attribute certificate is set and the use number management data is registered.

【0357】一方、ステップS246において、同一の
アプリケーションIDの回数管理データの登録が登録済
みと判定された場合は、ステップS251に進み、さら
に、属性証明書から取得した属性証明書(AC)シリア
ルと一致する回数管理データがRAMに展開した回数管
理ファイルに登録済みであるか否かを判定し、登録済み
である場合は、同一の属性証明書に対する重複処理であ
ると判定して、新たなデータ登録は実行せず処理を終了
する。一方、属性証明書から取得した属性証明書(A
C)シリアルと一致する回数管理データがRAMに展開
した回数管理ファイルに登録済みでないと判定した場合
は、ステップS247に進み、属性証明書に従ってアプ
リケーションID:nnnn、属性証明書(AC)シリ
アル:mmmm、利用可能回数として、受領した属性証
明書に記録されたコンテンツ利用制限回数:xを設定し
て利用回数管理データ登録を行なう。
On the other hand, if it is determined in step S246 that the number-of-times management data of the same application ID has been registered, the process proceeds to step S251, and the attribute certificate (AC) serial obtained from the attribute certificate is added. It is determined whether or not the matching count management data is registered in the count management file expanded in the RAM. If it is registered, it is determined that the same attribute certificate is duplicated, and new data is added. The process is terminated without executing the registration. On the other hand, the attribute certificate (A
C) If it is determined that the number-of-times management data matching the serial number has not been registered in the number-of-times management file expanded in the RAM, the process proceeds to step S247, and the application ID: nnnn and the attribute certificate (AC) serial: mmmm according to the attribute certificate. The number of times of use management data is registered by setting the number of times of limited use of content: x recorded in the received attribute certificate as the number of times of use.

【0358】ステップS247において、属性証明書に
従って、新たな回数管理データが、RAMに展開した回
数管理ファイルに書き込まれると、ステップS248に
おいて、新規追加データを含めたデータに基づいて新た
なハッシュ値が計算され、新たなハッシュ値をセキュリ
ティチップ内の対応するサービスプロバイダ(SP)管
理領域内に格納された対応するフィールドに格納する。
さらに、ステップS249において、更新した回数管理
ファイルに基づいて外部メモリ(例えばハードディス
ク)に格納された回数管理ファイルの更新が実行され
る。
At step S247, new count management data is written in the count management file expanded in the RAM in accordance with the attribute certificate. At step S248, a new hash value is created based on the data including the new addition data. The calculated new hash value is stored in the corresponding field stored in the corresponding service provider (SP) management area in the security chip.
Further, in step S249, the number management file stored in the external memory (for example, hard disk) is updated based on the updated number management file.

【0359】次に、属性証明書に記録されたコンテンツ
利用条件がオフライン処理であり、利用回数制限コンテ
ンツである場合の属性証明書の取得から、コンテンツ取
得までの処理を図42のシーケンス図に従って説明す
る。
Next, the process from the acquisition of the attribute certificate to the acquisition of the content when the content use condition recorded in the attribute certificate is offline processing and the use count is limited content will be described with reference to the sequence diagram of FIG. To do.

【0360】図42に示す処理シーケンスは、先に説明
した図34、図35、図36の処理シーケンスと同様、
すでにサービスプロバイダから暗号化コンテンツを受領
済みであり、また、コンテンツに対応する利用条件、暗
号化コンテンツ鍵を格納した属性証明書を受領済みであ
るユーザデバイスにおける処理を示しており、左からユ
ーザデバイス内のセキュリティチップ制御部、ユーザデ
バイス制御部(上位ソフトウェア)、およびサービスプ
ロバイダの処理を示している。
The processing sequence shown in FIG. 42 is similar to the processing sequences of FIGS. 34, 35 and 36 described above.
It shows the processing in the user device that has already received the encrypted content from the service provider, and has also received the usage certificate corresponding to the content and the attribute certificate storing the encrypted content key. From the left, the user device is shown. The processing of the security chip control unit, the user device control unit (upper software), and the service provider in FIG.

【0361】図42に示す処理中、最上段(a)は、属
性証明書がセキュリティチップの内部メモリに格納され
ている場合における属性証明書からのサービスプロバイ
ダID取得処理、(b)は、属性証明書がセキュリティ
チップの外部メモリ、すなわちユーザデバイス制御部単
独の制御でアクセス可能なメモリに格納されている場合
における属性証明書からのサービスプロバイダID取得
処理を示し、これら(a),(b)は属性証明書の格納
位置に応じて選択的に実行する。(a)、(b)の各処
理は、図34を参照して説明したオンライン期間制限の
場合の処理と同様であるので説明を省略する。(a)、
(b)のいずれかの処理によって、サービスプロバイダ
IDが取得されると、次に、図42(c)に示す処理、
すなわちコンテンツ取得処理を実行する。
In the process shown in FIG. 42, the uppermost stage (a) is the service provider ID acquisition process from the attribute certificate when the attribute certificate is stored in the internal memory of the security chip, and (b) is the attribute. The service provider ID acquisition processing from the attribute certificate in the case where the certificate is stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control unit alone, is shown (a) and (b). Is executed selectively according to the storage location of the attribute certificate. The processes (a) and (b) are the same as the processes for the online period limitation described with reference to FIG. (A),
When the service provider ID is acquired by any of the processes in (b), next, the process shown in FIG.
That is, the content acquisition process is executed.

【0362】(c1)ユーザは、ユーザデバイスの付属
のブラウザにより表示された属性証明書の権限情報(コ
ンテンツ利用条件)を確認し、属性証明書を適用したコ
ンテンツ利用要求をセキュリティチップに対して出力す
る。この例における属性証明書に記録されたコンテンツ
利用条件は、オフライン利用回数制限である。
(C1) The user confirms the authority information (content usage condition) of the attribute certificate displayed by the browser attached to the user device, and outputs the content usage request to which the attribute certificate is applied to the security chip. To do. The content use condition recorded in the attribute certificate in this example is an offline use count limit.

【0363】(c2)セキュリティチップ制御部は、ユ
ーザデバイス制御部からの属性証明書(AC)適用要求
を受信すると、属性証明書の検証処理を実行する。検証
処理には、権限情報(コンテンツ利用条件)の確認、フ
ォーマット確認、署名検証処理が含まれる。署名検証処
理は、例えば先に説明した図20の処理フローと同様の
シーケンスに従って実行される。この検証処理におい
て、セキュリティチップの制御部は、属性証明書(A
C)内のAC保持者の公開鍵証明書情報に従ってリンク
する公開鍵証明書から、上位に辿って連鎖的な検証を行
ない、ルート認証局(CA)の発行した公開鍵証明書の
検証まで実行することが好ましい。なお、この連鎖検証
が必須の場合もある。
(C2) Upon receipt of the attribute certificate (AC) application request from the user device controller, the security chip controller executes the attribute certificate verification processing. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. In this verification process, the control unit of the security chip uses the attribute certificate (A
From the public key certificate linked according to the public key certificate information of the AC holder in C), the chained verification is performed up to the upper level, and the verification of the public key certificate issued by the root certification authority (CA) is executed. Preferably. In some cases, this chain verification is essential.

【0364】(c3)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プ制御部は、回数管理データの更新処理を実行する。回
数管理データの更新処理の詳細については、後述する。
さらに、セキュリティチップ制御部は、(c4)属性証
明書内に格納された暗号化コンテンツ鍵:[SC.St
opub.SP.K(Kc)]を取り出して、サービス
プロバイダ管理領域に格納されたSP対応ストレージ秘
密鍵:SC.Stopri.SP.Kを適用して復号化
処理を実行し、コンテンツ鍵:Kcを取得する。コンテ
ンツ鍵:Kcの取得に成功すると、セキュリティチップ
制御部は、ユーザデバイス制御部にコンテンツの復号準
備が完了したことを通知する。
(C3) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the security chip control section executes the update processing of the number management data. Details of the update processing of the number management data will be described later.
Further, the security chip control unit controls the encrypted content key: [SC. St
opub. SP. K (Kc)], and the SP-compatible storage secret key: SC. Stopri. SP. The decryption process is executed by applying K to obtain the content key: Kc. When the content key: Kc is successfully obtained, the security chip control unit notifies the user device control unit that the preparation for decrypting the content is completed.

【0365】(c5)次にユーザデバイス制御部は、取
得したコンテンツ鍵を適用して復号すべき暗号化コンテ
ンツ[Kc(Content)]をユーザデバイス内の
メモリ(例えばハードディスク)、あるいはセキュリテ
ィチップ制御部を介してセキュリティチップ内のメモリ
から取得する。さらに、取得した暗号化コンテンツをセ
キュリティチップに送信し、(c6)セキュリティチッ
プ内で暗号化コンテンツに対してコンテンツ鍵:Kcを
適用した復号化処理を実行し、復号化処理結果として得
られるコンテンツをユーザデバイス制御部に出力し、
(c7)ユーザデバイスは、コンテンツを取得する。こ
れらの処理が終了すると、(c8)セキュリティチップ
の制御部は、復号化処理によって取得したコンテンツ
鍵:Kc、およびコンテンツ(Content)を破棄
する。
(C5) Next, the user device control section applies the acquired content key to the encrypted content [Kc (Content)] to be decrypted, and stores it in the memory (eg hard disk) in the user device or the security chip control section. Through the memory in the security chip via. Furthermore, the acquired encrypted content is transmitted to the security chip, and (c6) the decryption process in which the content key: Kc is applied to the encrypted content is executed in the security chip, and the content obtained as the decryption process result is displayed. Output to the user device controller,
(C7) The user device acquires the content. When these processes are completed, the control unit of the security chip (c8) discards the content key: Kc and the content (Content) acquired by the decryption process.

【0366】これらの処理によって、属性証明書(A
C)に基づくコンテンツの利用回数制限内のコンテンツ
利用である場合に限り、コンテンツ鍵:Kcがセキュリ
ティチップにおいて復号され、コンテンツ鍵が取得さ
れ、取得したコンテンツ鍵によるコンテンツの復号が実
行されてユーザデバイスにおいてコンテンツ利用が可能
となる。
By these processes, the attribute certificate (A
The content key: Kc is decrypted by the security chip, the content key is acquired, and the decryption of the content is executed by the acquired content key only when the content is used within the content usage limit based on C). The contents can be used in.

【0367】なお、上記構成例では、公開鍵暗号方式を
適用し、コンテンツ鍵の暗号化にSP対応ストレージ公
開鍵:SC.Stopub.SP.Kを用い、コンテン
ツ鍵の復号にSP対応ストレージ秘密鍵:SC.Sto
pri.SP.Kを用いた構成としたが、共通鍵方式を
適用することも可能であり、共通鍵方式を適用する場合
は、コンテンツ鍵の暗号化、復号化の双方の処理にSP
対応ストレージ鍵(共通鍵):SC.Sto.SP.K
を用いる。この場合、SP対応ストレージ鍵(共通
鍵):SC.Sto.SP.Kは、セキュリティチップ
のメモリの対応するサービスプロバイダのサービスプロ
バイダ管理領域に格納される。
In the above configuration example, the public key cryptosystem is applied, and the SP compatible storage public key: SC. Stoppub. SP. K, using SP compatible storage secret key: SC. Sto
pri. SP. Although the configuration using K is used, it is also possible to apply the common key method. When the common key method is applied, SP is used for both encryption and decryption of the content key.
Corresponding storage key (common key): SC. Sto. SP. K
To use. In this case, SP compatible storage key (common key): SC. Sto. SP. K is stored in the service provider management area of the corresponding service provider in the memory of the security chip.

【0368】なお、サービスプロバイダからユーザデバ
イスに対するコンテンツ配信あるいは属性証明書(A
C:Attribute Certificate)の配信形態としては、ユ
ーザ側からサービスプロバイダに対する要求に基づいて
実行される形態と、ユーザの要求の有無に関係なく例え
ばサブスクライバ契約を結んでいるユーザに対して、サ
ービスプロバイダから一方的に送信するいわゆるプッシ
ュ型の形態(プッシュ型モデル)のいずれの形態も可能で
ある。プッシュ型モデルにおいては、サービスプロバイ
ダが予め目標ユーザ向けの属性証明書(AC)を作成し
て配信することになる。
It should be noted that the content distribution or attribute certificate (A
C: Attribute Certificate) is distributed based on the request from the user to the service provider, and from the service provider to the user who has a subscriber contract regardless of the user's request. Any form of so-called push type (push type model) of unilaterally transmitting is possible. In the push model, the service provider creates and distributes an attribute certificate (AC) for the target user in advance.

【0369】次に、図43、図44を参照して、利用回
数管理データの更新処理について説明する。コンテンツ
利用可能回数の管理態様には、前述したようにコンテン
ツ利用可能回数をユーザデバイス内のセキュリティチッ
プで管理する態様と、回数管理ファイルをセキュリティ
チップ外の外部メモリ(例えばハードディスク)に格納
管理し、管理データのハッシュ値のみをセキュリティチ
ップ内のメモリに格納する2つの態様がある。図43は
前者、図44は後者の態様における回数管理データの更
新処理シーケンスを説明する図である。
Next, with reference to FIG. 43 and FIG. 44, the update processing of the number-of-uses management data will be described. As the management mode of the number of times the content can be used, as described above, the security chip in the user device manages the number of times the content can be used, and the frequency management file is stored and managed in an external memory (for example, hard disk) outside the security chip. There are two modes in which only the hash value of management data is stored in the memory in the security chip. FIG. 43 is a diagram for explaining the update processing sequence of the number-of-times management data in the former case, and FIG.

【0370】最初に図43を参照して、コンテンツ利用
可能回をユーザデバイス内のセキュリティチップで管理
する態様とした場合の回数管理データの更新処理シーケ
ンスを説明する。左からユーザデバイス内のセキュリテ
ィチップ制御部、ユーザデバイス制御部(上位ソフトウ
ェア)の処理を示している。図43の処理シーケンス
は、すでにセキュリティチップ内で属性証明書の検証が
済んでいるものとして、その後の処理を示している。
First, with reference to FIG. 43, a description will be given of an update processing sequence of the number-of-times management data in the case where the content available times are managed by the security chip in the user device. From the left, the processing of the security chip control unit and the user device control unit (upper software) in the user device is shown. The processing sequence of FIG. 43 shows the subsequent processing assuming that the attribute certificate has already been verified in the security chip.

【0371】(1)セキュリティチップの制御部は、検
証済みの属性証明書に記録されたコンテンツ利用条件が
オフライン利用回数制限コンテンツであると判定する
と、属性証明書からコンテンツ識別子に対応するアプリ
ケーションID、属性証明書(AC)シリアル番号、コ
ンテンツ利用制限回数の各データを取得する。さらに、
コンテンツの購入処理時にユーザにより入力されたユー
ザID、サービスプロバイダIDの各データをユーザデ
バイス制御部を介して取得し、これらの取得したアプリ
ケーションID、属性証明書(AC)シリアル番号、ユ
ーザIDの各データに対応するコンテンツ利用回数管理
データが、セキュリティチップ内のメモリのサービスプ
ロバイダ管理領域に登録済みであるか否かを検証する。
(1) When the control unit of the security chip determines that the content use condition recorded in the verified attribute certificate is the off-line use count limited content, the application ID corresponding to the content identifier from the attribute certificate, Acquires each data of the attribute certificate (AC) serial number and the limited number of times of content use. further,
Each data of the user ID and the service provider ID input by the user during the content purchase process is acquired via the user device control unit, and the acquired application ID, attribute certificate (AC) serial number, and user ID are acquired. It is verified whether the content usage count management data corresponding to the data has been registered in the service provider management area of the memory in the security chip.

【0372】セキュリティチップのメモリには、前述し
たように、登録されたサービスプロバイダ毎にサービス
プロバイダ管理領域が設定され、その管理領域内にコン
テンツ利用回数管理データが登録されることになる。
In the memory of the security chip, as described above, the service provider management area is set for each registered service provider, and the content use frequency management data is registered in the management area.

【0373】図43に示す例では、属性証明書(AC)
は、 アプリケーションID:0002 属性証明書(AC)シリアル:3278 コンテンツ利用制限回数:10 の各データが記録され、ユーザ入力データは、 ユーザID:6737 サービスプロバイダID:5678 である。
In the example shown in FIG. 43, the attribute certificate (AC)
Is recorded with application ID: 0002 attribute certificate (AC) serial: 3278, content usage limit number: 10 2, and user input data is user ID: 6737 service provider ID: 5678.

【0374】セキュリティチップの制御部は、これらの
データに対応するコンテンツ利用回数管理データがメモ
リ内の対応するサービスプロバイダ管理領域にあるか否
かを検証する。図43に示すSP管理領域データ(更新
前)のデータ中には、サービスプロバイダID:567
8、ユーザID:6737に対応するコンテンツ利用回
数管理データとして、アプリケーションID:000
2、属性証明書(AC)シリアル:3278に対応する
データが存在し、利用可能回数(残回数):7と設定さ
れている。
The control unit of the security chip verifies whether the content usage count management data corresponding to these data is in the corresponding service provider management area in the memory. In the data of the SP management area data (before updating) shown in FIG. 43, the service provider ID: 567.
8. Application ID: 000 as content usage count management data corresponding to user ID: 6737
2. There is data corresponding to the attribute certificate (AC) serial: 3278, and the number of usable times (remaining number of times): 7 is set.

【0375】(2)セキュリティチップ制御部は、この
抽出データから利用可能回数(残回数):7>0である
こと、さらに、属性証明書に記録された制限回数以下、
10≧7であることを確認し、これらが確認されたこと
を条件としてコンテンツの利用を許可、すなわち、属性
証明書に格納された(3)暗号化コンテンツ鍵の復号化
処理を実行する。
(2) From the extracted data, the security chip control unit determines that the usable number of times (remaining number of times): 7> 0, and the number of times of limitation recorded in the attribute certificate is less than or equal to
It is confirmed that 10 ≧ 7, and the use of the content is permitted on the condition that these are confirmed, that is, the decryption process of the (3) encrypted content key stored in the attribute certificate is executed.

【0376】(4)さらに、セキュリティチップ制御部
は、メモリ内の対応するサービスプロバイダ管理領域の
対応データの利用可能回数を1減少させるデータ更新処
理を実行する。この場合は、アプリケーションID:0
002、属性証明書(AC)シリアル:3278に対応
するデータ中の、利用可能回数(残回数):7を6に更
新する処理を実行する。なお、(3)の暗号化コンテン
ツ鍵の復号化処理と、(4)の回数管理データの更新処
理は、処理手順を(4)を先に(3)を後にする構成と
してもよく、また並列に実行してもよい。
(4) Further, the security chip control unit executes a data update process for reducing the usable number of times of the corresponding data of the corresponding service provider management area in the memory by one. In this case, application ID: 0
002, attribute certificate (AC) serial: The number of available times (remaining number): 7 in the data corresponding to 3278 is updated to 6. The decryption processing of the encrypted content key in (3) and the update processing of the number-of-times management data in (4) may be configured such that (4) precedes (3) and parallel processing is performed. May be run on.

【0377】次に、図44を参照して、回数管理ファイ
ルをセキュリティチップ外の外部メモリ(例えばハード
ディスク)に格納管理し、管理データのハッシュ値のみ
をセキュリティチップ内のメモリに格納する態様とした
場合の回数管理データの更新処理シーケンスを説明す
る。左からユーザデバイス内のセキュリティチップ制御
部、ユーザデバイス制御部(上位ソフトウェア)の処理
を示している。図44の処理シーケンスは、すでにセキ
ュリティチップ内で属性証明書の検証が済んでいるもの
として、その後の処理を示している。
Next, referring to FIG. 44, the number-of-times management file is stored and managed in an external memory (eg hard disk) outside the security chip, and only the hash value of the management data is stored in the memory inside the security chip. The update processing sequence of the number-of-times management data in this case will be described. From the left, the processing of the security chip control unit and the user device control unit (upper software) in the user device is shown. The processing sequence of FIG. 44 shows the subsequent processing assuming that the attribute certificate has already been verified in the security chip.

【0378】セキュリティチップの制御部は、属性証明
書に記録されたコンテンツ利用条件がオフライン利用回
数制限コンテンツであると判定すると、外部のメモリか
らの回数管理ファイルの読み出し処理を実行する。図で
はユーザデバイス制御部の管理するHDDに回数管理フ
ァイルがあり、(1)ユーザデバイス制御部において回
数管理ファイルが読み出されてセキュリティチップに出
力される。この読み出し対象は、管理ファイル全データ
であっても、あるいはコンテンツに対応するサービスプ
ロバイダに関するデータのみであってもよい。
When the control unit of the security chip determines that the content use condition recorded in the attribute certificate is the offline use count limited content, the control unit executes the process of reading the count management file from the external memory. In the figure, the HDD managed by the user device controller has a count management file. (1) The user device controller reads the count management file and outputs it to the security chip. This read target may be all data of the management file or only data relating to the service provider corresponding to the content.

【0379】次に、セキュリティチップの制御部は、
(2)ユーザデバイス制御部から受信した回数管理ファ
イルをセキュリティチップ内のRAMに展開し、展開デ
ータに基づいてハッシュ値を計算する。回数管理データ
は、サービスプロバイダIDとユーザIDに対応付けら
れた複数の回数管理データを格納したフィールド構成を
持つ。セキュリティチップのメモリ内のサービスプロバ
イダ管理領域には、サービスプロバイダIDとユーザI
Dに対応付けられたフィールドデータに対してハッシュ
値が生成され格納されている。
Next, the control unit of the security chip
(2) The number-of-times management file received from the user device control unit is expanded in the RAM in the security chip, and the hash value is calculated based on the expanded data. The frequency management data has a field structure in which a plurality of frequency management data associated with a service provider ID and a user ID is stored. In the service provider management area in the memory of the security chip, the service provider ID and the user I
A hash value is generated and stored for the field data associated with D.

【0380】セキュリティチップの制御部は、ユーザデ
バイスから受信し、RAMに展開した回数管理ファイル
から、ユーザにより指定されているサービスプロバイダ
ID、ユーザIDに対応するフィールドデータを抽出し
てハッシュ値を計算し、計算された値と、セキュリティ
チップ内のメモリのサービスプロバイダ管理領域に格納
されたハッシュ値とを比較する。算出ハッシュ値と、格
納ハッシュ値が一致すれば、データに改竄がないと判定
し、次の処理に進む。
The control unit of the security chip extracts the field data corresponding to the service provider ID and the user ID designated by the user from the frequency management file received from the user device and expanded in the RAM, and calculates the hash value. Then, the calculated value is compared with the hash value stored in the service provider management area of the memory in the security chip. If the calculated hash value and the stored hash value match, it is determined that the data has not been tampered with, and the process proceeds to the next process.

【0381】図の例では、RAM展開データの、サービ
スプロバイダID:5678、ユーザID:6737の
フィールドデータに基づいてハッシュ値が算出され、セ
キュリティチップ内の対応するサービスプロバイダ(S
P)管理領域内に格納された対応するフィールド、すな
わち、サービスプロバイダID:5678、ユーザI
D:6737のハッシュ値:8731と比較することに
なる。
In the example of the figure, the hash value is calculated based on the field data of the service data of the service provider ID: 5678 and the user ID: 6737 of the RAM expansion data, and the corresponding service provider (S
P) Corresponding field stored in the management area, ie service provider ID: 5678, user I
It will be compared with the hash value: 8731 of D: 6737.

【0382】(3)ハッシュ値が一致した場合は、一致
した旨を示す通知をユーザデバイスに送信し、一致が得
られなかった場合はエラーメッセージをユーザデバイス
に送信する。(4)次に、セキュリティチップの制御部
は、属性証明書からコンテンツ識別子に対応するアプリ
ケーションID、属性証明書(AC)シリアル番号、コ
ンテンツ利用制限回数の各データを取得する。さらに、
コンテンツの購入処理時にユーザにより入力されたユー
ザID、サービスプロバイダIDの各データをユーザデ
バイス制御部を介して取得し、これらの取得したアプリ
ケーションID、属性証明書(AC)シリアル番号、ユ
ーザIDの各データに対応するコンテンツ利用回数管理
データが、ユーザデバイスから受信し、RAMに展開し
た回数管理ファイルに登録済みであるか否かを検証す
る。
(3) If the hash values match, a notification indicating the match is sent to the user device, and if no match is found, an error message is sent to the user device. (4) Next, the control unit of the security chip acquires each data of the application ID corresponding to the content identifier, the attribute certificate (AC) serial number, and the content use limit number from the attribute certificate. further,
Each data of the user ID and the service provider ID input by the user during the content purchase process is acquired via the user device control unit, and the acquired application ID, attribute certificate (AC) serial number, and user ID are acquired. It is verified whether the content usage count management data corresponding to the data has been received from the user device and registered in the count management file expanded in the RAM.

【0383】図44に示す例では、属性証明書(AC)
は、 アプリケーションID:0002 属性証明書(AC)シリアル:3278 コンテンツ利用制限回数:10 の各データが記録され、ユーザ入力データは、 ユーザID:6737 サービスプロバイダID:5678 である。
In the example shown in FIG. 44, the attribute certificate (AC)
Is recorded with application ID: 0002 attribute certificate (AC) serial: 3278, content usage limit number: 10 2, and user input data is user ID: 6737 service provider ID: 5678.

【0384】セキュリティチップの制御部は、これらの
データに対応するコンテンツ利用回数管理データがRA
Mに展開した回数管理ファイルに登録済みであるか否か
を検証する。図44に示す最上段のSC内RAMのデー
タ中には、サービスプロバイダID:5678、ユーザ
ID:6737に対応するコンテンツ利用回数管理デー
タとして、アプリケーションID:0002、属性証明
書(AC)シリアル:3278に対応するデータが存在
し、利用可能回数(残回数):7と設定されている。
The control unit of the security chip determines that the content usage count management data corresponding to these data is RA.
It is verified whether or not it has been registered in the number management file expanded in M. In the data in the SC innermost RAM shown in FIG. 44, application ID: 0002, attribute certificate (AC) serial: 3278 are stored as content usage count management data corresponding to service provider ID: 5678 and user ID: 6737. There is data corresponding to, and the available number of times (remaining number of times): 7 is set.

【0385】(5)セキュリティチップ制御部は、この
抽出データから利用可能回数(残回数):7>0である
こと、さらに、属性証明書に記録された制限回数以下、
10≧7であることを確認し、これらが確認されたこと
を条件としてコンテンツの利用を許可、すなわち、属性
証明書に格納された(6)暗号化コンテンツ鍵の復号化
処理を実行する。
(5) From the extracted data, the security chip control unit determines that the usable number of times (remaining number of times): 7> 0, and the number of times of limitation recorded in the attribute certificate is less than or equal to
It is confirmed that 10 ≧ 7, and the use of the content is permitted on the condition that these are confirmed, that is, the decryption processing of the (6) encrypted content key stored in the attribute certificate is executed.

【0386】(7)さらに、セキュリティチップ制御部
は、RAMに展開した回数管理ファイルの対応データの
利用可能回数を1減少させるデータ更新処理を実行す
る。この場合は、アプリケーションID:0002、属
性証明書(AC)シリアル:3278に対応するデータ
中の、利用可能回数(残回数):7を6に更新する処理
を実行する。
(7) Further, the security chip control section executes a data update process for reducing the usable count of the corresponding data of the count management file expanded in the RAM by one. In this case, a process of updating the usable number (remaining number): 7 in the data corresponding to the application ID: 0002 and the attribute certificate (AC) serial: 3278 to 6 is executed.

【0387】さらに、セキュリティチップ制御部は、
(8)更新データに基づく新たなハッシュ値を計算し
て、(9)セキュリティチップ内の対応するサービスプ
ロバイダ(SP)管理領域内に格納された対応するフィ
ールドに格納する。図44の例では、更新前のアプリケ
ーションID:0002、属性証明書(AC)シリア
ル:3278に対応するフィールドデータに基づくハッ
シュ値は8731であり、更新後の同フィールドのデー
タに基づくハッシュ値はbc35となり、サービスプロ
バイダID:5678、ユーザID:6737に対応す
る図の最下段のSP管理領域のハッシュ値:bc35が
更新ハッシュ値として格納されることになる。
Further, the security chip controller is
(8) A new hash value based on the updated data is calculated, and (9) it is stored in the corresponding field stored in the corresponding service provider (SP) management area in the security chip. In the example of FIG. 44, the hash value based on the field data corresponding to the application ID: 0002 before update and the attribute certificate (AC) serial: 3278 is 8731, and the hash value based on the data of the same field after update is bc35. Therefore, the hash value: bc35 of the SP management area at the bottom of the figure corresponding to the service provider ID: 5678 and the user ID: 6737 is stored as the updated hash value.

【0388】(10)更新処理の終了後、更新した回数
管理ファイルを、ユーザデバイス制御部に送信し、ユー
ザデバイス制御部は、受信した回数管理ファイルをハー
ドデイスクに格納する。
(10) After the updating process is completed, the updated count management file is transmitted to the user device controller, and the user device controller stores the received count management file in the hard disk.

【0389】このように、コンテンツの利用時には、こ
のコンテンツ利用回数管理データが参照され、利用毎に
利用可能回数を1デクリメントして、5→4→3→2→
1→0とするデータ更新が実行されるとともに、更新デ
ータに基づいて新たなハッシュ値が算出されて、更新処
理が実行され、属性証明書に記録された利用制限回数内
でのコンテンツ利用が可能となる。
As described above, when the content is used, the content use count management data is referred to, the usable count is decremented by 1 for each use, and 5 → 4 → 3 → 2 →
The data is updated from 1 to 0, a new hash value is calculated based on the updated data, the update process is executed, and the content can be used within the usage limit number recorded in the attribute certificate. Becomes

【0390】以上、属性証明書のコンテンツ利用条件に
従ったコンテンツの利用について説明した。なお、上記
説明においては、期間制限と回数制限とを別々に説明し
たが、期間制限と回数制限の両制限を持つ属性証明書も
可能であり、これらの場合は2つの条件に基づいてコン
テンツ利用可否を判定した上で、属性証明書に設定され
た利用条件内の期限内、回数内のコンテンツ利用である
ことの確認を条件として、コンテンツ鍵の復号を行なう
ものとする。
The use of the content according to the content use condition of the attribute certificate has been described above. In the above description, the period limit and the number limit are separately described, but an attribute certificate having both the period limit and the number limit can be used. In these cases, the content usage is based on two conditions. It is assumed that the content key is decrypted on the condition that the content is confirmed to be used within the time limit and the number of times within the use condition set in the attribute certificate after determining whether the content key is usable.

【0391】[アップグレード処理]属性証明書には、
コンテンツの利用条件として期間制限、回数制限、買い
切り等の各種利用条件が設定され、これらの利用条件に
基づいてセキュリティチップを持つユーザデバイスにお
いてコンテンツの利用が行なわれることを説明した。次
に、例えば属性証明書に設定されたコンテンツ利用制限
回数の変更、あるいは期間制限の延長など、コンテンツ
の利用制限を変更する処理、すなわちアップグレード処
理について説明する。
[Upgrade process] In the attribute certificate,
It has been described that various usage conditions such as a time limit, a frequency limit, and a purchase limit are set as the usage conditions of the content, and the content is used in the user device having the security chip based on these usage conditions. Next, a description will be given of a process of changing the content use restriction, for example, changing the content use restriction number set in the attribute certificate or extending the period restriction, that is, an upgrade process.

【0392】アップグレード処理には、具体的には、以
下に説明する各種の態様がある。 (1)利用回数制限をコンテンツ利用条件として記録し
た属性証明書の利用可能回数を増やす。例えば、10回
券を買って、5回残っていて、10回に増やす。10回
券を買って、使い切って、10回券に増やす。 (2)利用期間制限をコンテンツ利用条件として記録し
た属性証明書の利用期間を延長する。例えば、1週間後
までしか使えないものを、1ヶ月後まで使えるように期
間を延長する。期間が切れて使えなくなったものを、1
ヶ月後まで使えるように期間を延長する。 (3)回数制限や期間制限をコンテンツ利用条件として
記録した属性証明書の利用条件の変更。例えば、回数制
限を期間制限に変更する。期間制限を回数制限に変更す
る。回数制限を買い切りに変更する。期間制限を買い切
りに変更する。 (4)アルバム化アップグレード 一連のアルバム化されたコンテンツデータ、例えば1枚
のCDあるいはDVD等に格納された複数(n)のコン
テンツ1〜n、あるいは何らかのシリーズ化されたコン
テンツ1〜nがあり、これらのいくつかを購入済であ
り、購入済みコンテンツに対応する属性証明書1〜属性
証明書nの複数をユーザがユーザデバイス内に保持して
いる場合、例えば、コンテンツ1に対応する属性証明書
1、コンテンツ3に対応する属性証明書3、コンテンツ
5に対応する属性証明書5、をユーザデバイスに保持し
ている場合、これらの属性証明書をサービスプロバイダ
に提示することにより、アルバムを構成する他のコンテ
ンツ、すなわち、コンテンツ2,4,6〜nのコンテン
ツを割引価格で一括(アルバム)購入できる。
Specifically, the upgrade process has various modes described below. (1) Increase the number of times the attribute certificate that can be used is recorded with the usage count limit as the content usage condition. For example, if you buy a ticket 10 times, it remains 5 times, and you increase it to 10. Buy a 10-time ticket, use it up, and increase it to a 10-time ticket. (2) The usage period of the attribute certificate in which the usage period limitation is recorded as the content usage condition is extended. For example, extend the period so that a product that can be used only after 1 week can be used until 1 month. One that has expired and is no longer usable
Extend the period so that you can use it until the end of a month. (3) Change the usage condition of the attribute certificate that records the number of times limit and the period limit as the content usage condition. For example, the number of times limit is changed to the period limit. Change the time limit to the number of times limit. Change the number of times limit to buy-out. Change the time limit to buy out. (4) Album upgrade There is a series of albumed content data, for example, a plurality (n) of contents 1 to n stored in one CD or DVD, or some series of contents 1 to n. When some of these have been purchased and the user holds a plurality of attribute certificates 1 to n corresponding to the purchased content in the user device, for example, the attribute certificate corresponding to content 1 1. If the user device holds the attribute certificate 3 corresponding to the content 3 and the attribute certificate 5 corresponding to the content 5, the album is constructed by presenting these attribute certificates to the service provider. Other contents, that is, contents 2, 4, 6-n can be purchased at a discount price all at once (album) .

【0393】属性証明書に基づくアップグレード処理に
は、上述した様々な態様がある。このアップグレード処
理の実行シーケンスの概略は、次の通りである。まず、
サービスプロバイダ(SP)がアップグレードメニュー
をユーザデバイスに提示し、ユーザがアップグレードメ
ニューを選択する。ユーザデバイスは、ユーザの指定に
従って、アップグレード処理対象とする取得済みの属性
証明書の指定データとともに、アップグレード要求コマ
ンドをセキュリティチップに送信する。セキュリティチ
ップの制御部は、サービスプロバイダとの通信を実行し
て、アップグレード処理対象とする取得済みの属性証明
書をサービスプロバイダに送信する。サービスプロバイ
ダは、受信した属性証明書を検証した後、ユーザの指定
したアップグレード処理を実行し、新たな属性証明書を
発行しセキュリティチップに送信する。ユーザデバイス
では、新たな属性証明書の利用条件に従ってコンテンツ
を利用することが可能となる。
There are various modes described above in the upgrade processing based on the attribute certificate. The outline of the execution sequence of this upgrade process is as follows. First,
The service provider (SP) presents the upgrade menu to the user device, and the user selects the upgrade menu. The user device transmits the upgrade request command to the security chip along with the designation data of the acquired attribute certificate to be subjected to the upgrade processing according to the designation of the user. The control unit of the security chip executes communication with the service provider and sends the acquired attribute certificate to be upgraded to the service provider. After verifying the received attribute certificate, the service provider executes the upgrade process specified by the user, issues a new attribute certificate, and sends it to the security chip. The user device can use the content according to the use condition of the new attribute certificate.

【0394】以下、アップグレードのベースとして用い
る属性証明書(AC)に記載されたコンテンツ利用条件
が以下の3態様である場合のアップグレード処理につい
て、順次、説明する。 (A)オンライン−利用期間制限コンテンツ (B)オンライン−利用回数制限コンテンツ (C)オフライン−利用回数制限コンテンツ
The following is a sequential description of the upgrade process in the case where the content usage conditions described in the attribute certificate (AC) used as the upgrade base are the following three modes. (A) Online-usage limited content (B) Online-usage limited content (C) Offline-usage limited content

【0395】(A)オンライン−利用期間制限属性証明
書(AC)をベースとしたアップグレード処理 まず、属性証明書に記録されたコンテンツ利用条件がオ
ンライン処理であり、利用期間制限が設定された属性証
明書を保有する場合、このオンライン−利用期間制限属
性証明書をベースとしたアップグレード処理を図45の
シーケンス図に従って説明する。図45には、左からユ
ーザデバイス内のセキュリティチップ制御部、ユーザデ
バイス制御部(上位ソフトウェア)、およびサービスプ
ロバイダの処理を示している。
(A) Online-Updating Period Restriction Attribute Certificate (AC) -Based Upgrade Process First, the content usage condition recorded in the attribute certificate is online processing, and the attribute proof is set with a usage period restriction. In the case of possessing a certificate, an upgrade process based on this online-use period limitation attribute certificate will be described with reference to the sequence diagram of FIG. FIG. 45 shows the processing of the security chip control unit, the user device control unit (upper software) in the user device, and the service provider from the left.

【0396】図45では、最上段(a)は、属性証明書
がセキュリティチップの内部メモリに格納されている場
合における属性証明書からのサービスプロバイダID取
得処理、(b)は、属性証明書がセキュリティチップの
外部メモリ、すなわちユーザデバイス制御部単独の制御
でアクセス可能なメモリに格納されている場合における
属性証明書からのサービスプロバイダID取得処理を示
し、これら(a),(b)は属性証明書の格納位置に応
じて選択的に実行する。(c)の相互認証処理、(d)
のコンテンツ取得処理は共通に実行される。
In FIG. 45, the top row (a) shows the service provider ID acquisition processing from the attribute certificate when the attribute certificate is stored in the internal memory of the security chip, and (b) shows the attribute certificate. The service provider ID acquisition processing from the attribute certificate when stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control unit alone, (a) and (b) are attribute certifications. Selectively execute according to the storage location of the book. (C) Mutual authentication processing, (d)
The content acquisition process of is commonly executed.

【0397】まず、(a)の処理から説明する。(a
1)ユーザデバイス制御部は、アップグレード処理対象
の属性証明書の検索をセキュリティチップ制御部に要求
する。(a2)セキュリティチップ制御部は、チップの
メモリに格納済みの属性証明書のリストをユーザデバイ
ス制御部に出力し、(a3)ユーザデバイスでは付属の
ブラウザによりリストを表示する。(a4)ユーザは表
示されたリストからアップグレード処理対象の属性証明
書(AC)を指定し、読み出し命令をセキュリティチッ
プ制御部に送信する。(a5)セキュリティチップ制御
部は、指定された属性証明書を内部メモリから読み出し
てユーザデバイス制御部に出力し、(a6)ユーザデバ
イスでは付属のブラウザにより属性証明書を表示し、属
性証明書格納データ中のサービスプロバイダ識別子(S
P ID)を取得する。
First, the process (a) will be described. (A
1) The user device control unit requests the security chip control unit to search for the attribute certificate to be upgraded. (A2) The security chip control unit outputs the list of attribute certificates stored in the memory of the chip to the user device control unit, and (a3) the user device displays the list by the attached browser. (A4) The user specifies the attribute certificate (AC) to be upgraded from the displayed list, and sends a read command to the security chip controller. (A5) The security chip control unit reads the specified attribute certificate from the internal memory and outputs it to the user device control unit. (A6) The user device displays the attribute certificate by the attached browser and stores the attribute certificate. Service provider identifier (S
Get P ID).

【0398】属性証明書がセキュリティチップの外部メ
モリ、すなわちユーザデバイス制御部単独の制御でアク
セス可能なメモリに格納されている場合は、(b)の処
理となる。(b1)ユーザデバイス制御部は、アップグ
レード処理対象の属性証明書の検索を実行し、(b2)
ユーザデバイスでは付属のブラウザにより表示されたA
Cリストからアップグレード処理対象の属性証明書(A
C)を指定し、読み出して属性証明書を表示し、(b
4)属性証明書格納データ中のサービスプロバイダ識別
子(SP ID)を取得する。
When the attribute certificate is stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control section alone, the processing of (b) is performed. (B1) The user device control unit executes a search for the attribute certificate to be upgraded, and (b2)
A displayed by the attached browser on the user device
From the C list, the attribute certificate (A
(C) is specified and read out to display the attribute certificate.
4) Obtain the service provider identifier (SP ID) in the attribute certificate storage data.

【0399】上記(a)、(b)のいずれかの処理によ
って取得されたサービスプロバイダ識別子(SP I
D)は、サービスプロバイダ管理領域から、相互認証に
必要な情報を取得するために用いられる。前述したよう
に、サービスプロバイダ管理領域へのアクセスにはサー
ビスプロバイダ毎に設定されたパスワード入力が必要で
あり、ユーザは、属性証明書から取得したサービスプロ
バイダ識別子(SP ID)に対応するパスワード入力
により、サービスプロバイダ管理領域へのアクセスを実
行し、図45の(c1)に示すセキュリティチップとサ
ービスプロバイダ間の相互認証処理を実行する。
[0399] The service provider identifier (SP I obtained by the processing of either (a) or (b) above.
D) is used to acquire information necessary for mutual authentication from the service provider management area. As described above, access to the service provider management area requires the password input set for each service provider, and the user inputs the password corresponding to the service provider identifier (SP ID) acquired from the attribute certificate. , Access to the service provider management area, and mutual authentication processing between the security chip and the service provider shown in (c1) of FIG. 45 is executed.

【0400】この相互認証処理は、先に説明した図16
のTLS1.0処理または、その他の方式、例えば公開
鍵方式による相互認証処理として実行される。この相互
認証処理においては、相互の公開鍵証明書の検証がなさ
れ、必要に応じてルート認証局(CA)までの公開鍵証
明書が連鎖的に検証される。この認証処理において、セ
キュリティチップと、サービスプロバイダはセッション
鍵(Kses)を共有する。相互認証が成立すると、次
に、図45(d)に示す処理、すなわちアップグレード
属性証明書取得処理を実行する。
This mutual authentication processing is performed by referring to FIG.
TLS 1.0 process of step 1 or other method, for example, a mutual authentication process using a public key method. In this mutual authentication processing, mutual public key certificates are verified, and public key certificates up to the root certificate authority (CA) are verified in a chained manner, if necessary. In this authentication process, the security chip and the service provider share the session key (Kses). When the mutual authentication is established, next, the process shown in FIG. 45D, that is, the upgrade attribute certificate acquisition process is executed.

【0401】(d1)ユーザは、ユーザデバイスの付属
のブラウザにより表示された属性証明書の権限情報(コ
ンテンツ利用条件)を確認し、属性証明書のアップグレ
ード適用要求と、アップグレード条件をセキュリティチ
ップに対して出力する。この例におけるアップグレード
処理対象の属性証明書に記録されたコンテンツ利用条件
は、オンライン期間制限であり、ユーザの指定するアッ
プグレード条件は、例えば、 期間制限の変更(延長) 期間制限→オンライン回数制限へ変更 期間制限→オフライン回数制限へ変更 期間制限→買い切りへ変更 等の条件である。
(D1) The user confirms the authority information (content usage condition) of the attribute certificate displayed by the browser attached to the user device, and sends the attribute certificate upgrade application request and the upgrade condition to the security chip. Output. The content usage condition recorded in the attribute certificate for the upgrade process in this example is an online period limit, and the upgrade condition specified by the user is, for example, changing the period limit (extension) period limit → changing the number of times online It is a condition such as changing the period limit to the off-line number limit and changing the period limit to the purchase limit.

【0402】(d2)セキュリティチップ制御部は、ユ
ーザデバイス制御部からの属性証明書(AC)アップグ
レード適用要求を受信すると、属性証明書の検証処理を
実行する。検証処理には、権限情報(コンテンツ利用条
件)の確認、フォーマット確認、署名検証処理が含まれ
る。署名検証処理は、例えば先に説明した図20の処理
フローと同様のシーケンスに従って実行される。
(D2) Upon receiving the attribute certificate (AC) upgrade application request from the user device controller, the security chip controller executes the attribute certificate verification processing. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above.

【0403】さらに、必要に応じてセキュリティチップ
の制御部は、属性証明書(AC)内のAC保持者の公開
鍵証明書情報に従ってリンクする公開鍵証明書を取得し
て、公開鍵証明書の検証を行なうことが好ましい。例え
ば属性証明書(AC)の発行者の信頼度が不確かである
場合には、属性証明書(AC)の発行者の公開鍵証明書
の検証を行なうことによって、認証局の公開鍵証明書を
正当に有しているか否かの判定が可能となる。なお、公
開鍵証明書が前述したように階層構成をなしている場合
は、経路を上位に辿って連鎖的な検証を行ない、ルート
認証局(CA)の発行した公開鍵証明書の検証まで実行
することが好ましい。なお、この連鎖検証が必須の場合
もある。
Further, if necessary, the control unit of the security chip acquires the public key certificate linked according to the public key certificate information of the AC holder in the attribute certificate (AC), and acquires the public key certificate of the public key certificate. It is preferable to perform verification. For example, when the reliability of the issuer of the attribute certificate (AC) is uncertain, the public key certificate of the certificate authority is verified by verifying the public key certificate of the issuer of the attribute certificate (AC). It is possible to judge whether or not the user has it legally. If the public key certificate has a hierarchical structure as described above, the route is traced upward to perform chained verification, and the public key certificate issued by the root certification authority (CA) is also verified. Preferably. In some cases, this chain verification is essential.

【0404】(d3)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対してアップグレ
ード処理対象の属性証明書を、ユーザにより指定された
アップグレード条件情報とともに送付する。アップグレ
ード処理対象の属性証明書には、利用条件としてオンラ
イン期間制限コンテンツであることが記録され、また有
効期限データが格納されている。さらに、サービスプロ
バイダの保有する秘密鍵:SP.Sto.Kで暗号化さ
れたコンテンツ鍵のデータ、すなわち、[SP.St
o.K(Kc)]が格納されている。
(D3) When the attribute certificate is verified to determine that the attribute certificate has not been tampered with, the control unit of the security chip specifies to the service provider the attribute certificate to be upgraded by the user. It will be sent together with the upgraded upgrade condition information. The attribute certificate of the upgrade process records that the content is an online period limited content as usage conditions, and also stores expiration date data. Furthermore, the private key held by the service provider: SP. Sto. The content key data encrypted with K, that is, [SP. St
o. K (Kc)] is stored.

【0405】(d4)セキュリティチップから属性証明
書を受信したサービスプロバイダは、属性証明書の署名
検証処理を実行する。また、この際、属性証明書にリン
クする公開鍵証明書、およびその上位公開鍵証明書を連
鎖的に検証することが好ましい。なお、この連鎖検証が
必須の場合もある。これらの検証処理により、属性証明
書の正当性が確認されると、(d5)ユーザにより指定
されたアップグレード条件情報に基づくアップグレード
属性証明書生成処理を実行する。
(D4) The service provider receiving the attribute certificate from the security chip executes signature verification processing of the attribute certificate. Further, at this time, it is preferable to verify the public key certificate linked to the attribute certificate and the higher public key certificate in a chained manner. In some cases, this chain verification is essential. When the validity of the attribute certificate is confirmed by these verification processes, (d5) the upgrade attribute certificate generation process based on the upgrade condition information designated by the user is executed.

【0406】アップグレード属性証明書生成処理は、ユ
ーザにより指定されたコンテンツ利用条件を記録した新
たな属性証明書、すなわちセキュリティチップから受信
した属性証明書と異なるシリアル番号を持つ属性証明書
を発行する処理として実行する。なお、この際、新たに
発行するアップグレード属性証明書中には、アップグレ
ードのベースとなった属性証明書のシリアルを含む履歴
データを格納する。
The upgrade attribute certificate generation process is a process of issuing a new attribute certificate in which the content usage condition designated by the user is recorded, that is, an attribute certificate having a serial number different from the attribute certificate received from the security chip. Run as. At this time, in the newly issued upgrade attribute certificate, history data including the serial of the attribute certificate that is the base of the upgrade is stored.

【0407】なお、アップグレードの態様は、前述した
ように、 期間制限の変更(延長) 期間制限→オンライン回数制限へ変更 期間制限→オフライン回数制限へ変更 期間制限→買い切りへ変更 のいずれかであり、期間制限の変更の場合は、利用期間
を新たに設定したアップグレード属性証明書を生成す
る。また、オンラインまたはオフライン回数制限へ変更
する場合は、利用制限回数を格納したアップグレード属
性証明書を生成する。また、買い切りへ変更する場合
は、コンテンツ利用条件を買い切りとしたアップグレー
ド属性証明書を生成する。
[0407] Note that, as described above, the mode of upgrade is any one of the following: change (extension) of the period limit: period limit → change to online count limit period limit → change to offline count limit period limit → buyout In the case of changing the time limit, an upgrade attribute certificate with a new use period is generated. Also, when changing to the online or offline number of times limit, an upgrade attribute certificate storing the number of times of use limit is generated. In addition, when changing to a purchase-out condition, an upgrade attribute certificate with a content usage condition as a purchase-out condition is generated.

【0408】期間制限の変更、あるいはオンライン回数
制限へ変更する場合は、アップグレード属性証明書に格
納するコンテンツ鍵は、元の属性証明書と同様、サービ
スプロバイダの秘密鍵で暗号化したコンテンツ鍵[S
P.Sto.K(Kc)]として格納するが、オフライ
ン回数制限へ変更、または買い切りへ変更する場合は、
アップグレード属性証明書には、元の属性証明書とは異
なり、ユーザデバイスのセキュリティチップのサービス
プロバイダ管理領域に格納されたSP対応ストレージ秘
密鍵:SC.Stopri.SP.Kに対応する公開鍵
で暗号化したコンテンツ鍵、すなわち、[SC.Sto
pub.SP.K(Kc)]を格納する。
When changing the period limit or changing the number of times of online limit, the content key stored in the upgrade attribute certificate is the same as the original attribute certificate.
P. Sto. K (Kc)], but when changing to the off-line number limit or changing to buyout,
Unlike the original attribute certificate, the upgrade attribute certificate has the SP corresponding storage secret key: SC.SC stored in the service provider management area of the security chip of the user device. Stopri. SP. The content key encrypted with the public key corresponding to K, that is, [SC. Sto
pub. SP. K (Kc)] is stored.

【0409】なお、オフライン処理とする場合であっ
て、公開鍵方式ではなく、共通鍵方式の適用を行なって
いる場合は、ユーザデバイスのセキュリティチップのサ
ービスプロバイダ管理領域に格納されたSP対応ストレ
ージ鍵(共通鍵)によって暗号化したコンテンツ鍵を格
納する。なお、サービスプロバイダがこの共通鍵を保有
していない場合は、図45のステップ(d3)のセキュ
リティチップからサービスプロバイダへの属性証明書の
送付時に、併せてSP対応ストレージ鍵(共通鍵)を送
付する。この場合は、相互認証時に生成したセッション
鍵で暗号化して送付する。
[0409] In the case of off-line processing and the common key method is applied instead of the public key method, the SP-compatible storage key stored in the service provider management area of the security chip of the user device. The content key encrypted by (common key) is stored. If the service provider does not have this common key, the SP compatible storage key (common key) is also sent when the attribute certificate is sent from the security chip to the service provider in step (d3) of FIG. To do. In this case, the session key generated during mutual authentication is encrypted and sent.

【0410】サービスプロバイダは、アップグレード属
性証明書を生成すると、これをセキュリティチップに送
付する。
When the service provider generates the upgrade attribute certificate, it sends it to the security chip.

【0411】(d6)セキュリティチップ制御部は、サ
ービスプロバイダからのアップグレード属性証明書(A
C)を受信すると、属性証明書の検証処理を実行する。
検証処理には、格納された権限情報(コンテンツ利用条
件)が指定条件と一致するかの確認、フォーマット確
認、署名検証処理が含まれる。署名検証処理は、例えば
先に説明した図20の処理フローと同様のシーケンスに
従って実行される。さらに、必要に応じてセキュリティ
チップの制御部は、属性証明書(AC)内のAC保持者
の公開鍵証明書情報に従って、公開鍵証明書の連鎖検証
を行なうことが好ましい。なお、この連鎖検証が必須の
場合もある。
(D6) The security chip control unit receives the upgrade attribute certificate (A
When C) is received, the attribute certificate verification process is executed.
The verification processing includes confirmation of whether the stored authority information (content usage condition) matches the specified condition, format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. Further, if necessary, the control unit of the security chip preferably performs chain verification of the public key certificate according to the public key certificate information of the AC holder in the attribute certificate (AC). In some cases, this chain verification is essential.

【0412】(d7)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対してアップグレ
ード属性証明書受信確認を送信し、(d8)アップグレ
ード属性証明書をメモリに格納する。
(D7) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the control unit of the security chip sends an upgrade attribute certificate reception confirmation to the service provider, and (d8 ) Store the upgrade attribute certificate in memory.

【0413】さらに、セキュリティチップの制御部は、
アップグレード属性証明書がオフライン回数制限である
場合には、コンテンツの利用時までに前述した利用回数
管理データのインポート処理を実行する。利用回数管理
データのインポート処理の詳細は、先に図37〜図41
を参照して説明した通りであり、セキュリティチップ内
部に利用可能回数を格納する態様と、外部メモリに利用
可能回数を格納し、セキュリティチップにハッシュ値の
みを格納する態様がある。
Further, the control unit of the security chip is
When the upgrade attribute certificate has a limit on the number of times of offline use, the above-described import processing of the number-of-uses management data is executed by the time the content is used. For details of the import processing of the usage count management data, refer to FIGS.
As described above, there are a mode in which the usable number is stored inside the security chip and a mode in which the usable number is stored in the external memory and only the hash value is stored in the security chip.

【0414】以上の処理により、ユーザデバイスは、す
でに保持する属性証明書に基づいて新たなアップクレー
ド属性証明書を取得し、アップクレード属性証明書に従
った利用条件にしたがったコンテンツの利用が可能とな
る。
Through the above processing, the user device can obtain a new upgrade attribute certificate based on the attribute certificate already held and can use the content according to the usage conditions according to the upgrade attribute certificate. Becomes

【0415】(B)オンライン−利用回数制限属性証明
書(AC)をベースとしたアップグレード処理 次に、属性証明書に記録されたコンテンツ利用条件がオ
ンライン処理であり、利用回数制限が設定された属性証
明書を保有する場合、このオンライン−利用回数制限属
性証明書をベースとしたアップグレード処理を図46の
シーケンス図に従って説明する。図46には、左からユ
ーザデバイス内のセキュリティチップ制御部、ユーザデ
バイス制御部(上位ソフトウェア)、およびサービスプ
ロバイダの処理を示している。
(B) Online-Upgrading process based on number-of-use restrictions attribute certificate (AC) Next, the content use condition recorded in the attribute certificate is online processing, and an attribute for which the number-of-uses limit is set When the certificate is held, the upgrade process based on the online-usage limit attribute certificate will be described with reference to the sequence diagram of FIG. FIG. 46 shows the processing of the security chip control unit in the user device, the user device control unit (upper software), and the service provider from the left.

【0416】図46では、最上段(a)は、属性証明書
がセキュリティチップの内部メモリに格納されている場
合における属性証明書からのサービスプロバイダID取
得処理、(b)は、属性証明書がセキュリティチップの
外部メモリ、すなわちユーザデバイス制御部単独の制御
でアクセス可能なメモリに格納されている場合における
属性証明書からのサービスプロバイダID取得処理を示
し、(c)はセキュリティチップとサービスプロバイダ
の相互認証処理である。これらの処理は、前述の図45
の場合と同様であり、説明を省略する。
In FIG. 46, the top row (a) shows the service provider ID acquisition processing from the attribute certificate when the attribute certificate is stored in the internal memory of the security chip, and (b) shows the attribute certificate. The process of acquiring the service provider ID from the attribute certificate when stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control unit alone, (c) shows the mutual relationship between the security chip and the service provider. This is an authentication process. These processes are the same as those shown in FIG.
The description is omitted because it is similar to the case.

【0417】相互認証後成立後の処理から説明する。
(d1)ユーザは、ユーザデバイスの付属のブラウザに
より表示された属性証明書の権限情報(コンテンツ利用
条件)を確認し、属性証明書のアップグレード適用要求
と、アップグレード条件をセキュリティチップに対して
出力する。この例におけるアップグレード処理対象の属
性証明書に記録されたコンテンツ利用条件は、オンライ
ン回数制限であり、ユーザの指定するアップグレード条
件は、例えば、 利用可能回数の変更(回数増加) オンライン回数制限→期間制限へ変更 オンライン回数制限→オフライン回数制限へ変更 オンライン回数制限→買い切りへ変更 等の条件である。
Processing after establishment after mutual authentication will be described.
(D1) The user confirms the authority information (content usage condition) of the attribute certificate displayed by the browser attached to the user device, and outputs the attribute certificate upgrade application request and the upgrade condition to the security chip. . The content usage condition recorded in the attribute certificate of the upgrade process in this example is the online count limit, and the upgrade condition specified by the user is, for example, changing the usable count (increasing the count) Online count limit → period limit Change to Online number limit → Change to offline number limit Online number limit → Change to buyout.

【0418】(d2)セキュリティチップ制御部は、ユ
ーザデバイス制御部からの属性証明書(AC)アップグ
レード適用要求を受信すると、属性証明書の検証処理を
実行する。検証処理には、権限情報(コンテンツ利用条
件)の確認、フォーマット確認、署名検証処理が含まれ
る。署名検証処理は、例えば先に説明した図20の処理
フローと同様のシーケンスに従って実行される。さら
に、必要に応じてセキュリティチップの制御部は、属性
証明書(AC)内のAC保持者の公開鍵証明書、さら
に、連鎖公開鍵証明書の検証を行ない、ルート認証局
(CA)の発行した公開鍵証明書の検証まで実行するこ
とが好ましい。なお、この連鎖検証が必須の場合もあ
る。
(D2) Upon receipt of the attribute certificate (AC) upgrade application request from the user device controller, the security chip controller executes the attribute certificate verification processing. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. Further, if necessary, the control unit of the security chip verifies the public key certificate of the AC holder in the attribute certificate (AC) and the chained public key certificate, and issues the root certificate authority (CA). It is preferable to execute the verification of the public key certificate. In some cases, this chain verification is essential.

【0419】(d3)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対してアップグレ
ード処理対象の属性証明書を、ユーザにより指定された
アップグレード条件情報とともに送付する。アップグレ
ード処理対象の属性証明書には、利用条件としてオンラ
イン回数制限コンテンツであることが記録され、また利
用制限回数が格納されている。さらに、サービスプロバ
イダの保有する秘密鍵:SP.Sto.Kで暗号化され
たコンテンツ鍵のデータ、すなわち、[SP.Sto.
K(Kc)]が格納されている。
(D3) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the control unit of the security chip specifies to the service provider the attribute certificate to be upgraded by the user. It will be sent together with the upgraded upgrade condition information. The attribute certificate to be upgraded is recorded that the content is a limited number of times online and the number of times of use limitation is stored as a usage condition. Furthermore, the private key held by the service provider: SP. Sto. The content key data encrypted with K, that is, [SP. Sto.
K (Kc)] is stored.

【0420】(d4)セキュリティチップから属性証明
書を受信したサービスプロバイダは、属性証明書の署名
検証処理を実行する。また、この際、属性証明書にリン
クする公開鍵証明書、およびその上位公開鍵証明書を連
鎖的に検証することが好ましい。なお、この連鎖検証が
必須の場合もある。これらの検証処理により、属性証明
書の正当性が確認されると、(d5)ユーザにより指定
されたアップグレード条件情報に基づくアップグレード
属性証明書生成処理を実行する。
(D4) The service provider receiving the attribute certificate from the security chip executes the signature verification processing of the attribute certificate. Further, at this time, it is preferable to verify the public key certificate linked to the attribute certificate and the higher public key certificate in a chained manner. In some cases, this chain verification is essential. When the validity of the attribute certificate is confirmed by these verification processes, (d5) the upgrade attribute certificate generation process based on the upgrade condition information designated by the user is executed.

【0421】アップグレード属性証明書生成処理は、ユ
ーザにより指定されたコンテンツ利用条件を記録した新
たな属性証明書、すなわちセキュリティチップから受信
した属性証明書と異なるシリアル番号を持つ属性証明書
を発行する処理として実行する。なお、この際、新たに
発行するアップグレード属性証明書中には、アップグレ
ードのベースとなった属性証明書のシリアルを含む履歴
データを格納する。
The upgrade attribute certificate generation process is a process of issuing a new attribute certificate in which the content usage condition designated by the user is recorded, that is, an attribute certificate having a serial number different from the attribute certificate received from the security chip. Run as. At this time, in the newly issued upgrade attribute certificate, history data including the serial of the attribute certificate that is the base of the upgrade is stored.

【0422】なお、アップグレードの態様は、前述した
ように、 利用制限回数の変更(回数増加) オンライン回数制限→期間制限へ変更 オンライン回数制限→オフライン回数制限へ変更 オンライン回数制限→買い切りへ変更 のいずれかであり、回数制限の変更の場合は、利用制限
回数を新たに設定したアップグレード属性証明書を生成
する。また、期間制限へ変更する場合は、期間制限情報
を格納したアップグレード属性証明書を生成する。
As described above, the mode of upgrade is to change the use limit number (increase the number of times) Online number limit → Change to period limit Online number limit → Change to offline number limit Online number limit → Change to buyout In the case of changing the number of times of limitation, an upgrade attribute certificate in which the number of times of use is newly set is generated. Also, when changing to a time limit, an upgrade attribute certificate storing time limit information is generated.

【0423】オンライン回数制限として利用制限回数を
変更する場合、期間制限へ変更する場合は、アップグレ
ード属性証明書に格納するコンテンツ鍵は、元の属性証
明書と同様、サービスプロバイダの秘密鍵で暗号化した
コンテンツ鍵[SP.Sto.K(Kc)]として格納
するが、オフライン回数制限へ変更、または買い切りへ
変更する場合は、アップグレード属性証明書には、元の
属性証明書とは異なり、ユーザデバイスのセキュリティ
チップのサービスプロバイダ管理領域に格納されたSP
対応ストレージ秘密鍵:SC.Stopri.SP.K
に対応する公開鍵で暗号化したコンテンツ鍵、すなわ
ち、[SC.Stopub.SP.K(Kc)]を格納
する。
When changing the number of times of use limitation as the limitation of number of times of online use, or when changing to the limitation of period, the content key stored in the upgrade attribute certificate is encrypted with the private key of the service provider as with the original attribute certificate. Content key [SP. Sto. K (Kc)], but when changing to the offline count limit or changing to the purchase limit, the upgrade attribute certificate differs from the original attribute certificate in the service chip management area of the security chip of the user device. Stored in
Corresponding storage secret key: SC. Stopri. SP. K
Content key encrypted with the public key corresponding to [SC. Stoppub. SP. K (Kc)] is stored.

【0424】なお、オフライン処理とする場合であっ
て、公開鍵方式ではなく、共通鍵方式の適用を行なって
いる場合は、ユーザデバイスのセキュリティチップのサ
ービスプロバイダ管理領域に格納されたSP対応ストレ
ージ鍵(共通鍵)によって暗号化したコンテンツ鍵を格
納する。なお、サービスプロバイダがこの共通鍵を保有
していない場合は、図46のステップ(d3)のセキュ
リティチップからサービスプロバイダへの属性証明書の
送付時に、併せてSP対応ストレージ鍵(共通鍵)を送
付する。この場合は、相互認証時に生成したセッション
鍵で暗号化して送付する。
[0424] In the case of off-line processing and the common key method is applied instead of the public key method, the SP-compatible storage key stored in the service provider management area of the security chip of the user device. The content key encrypted by (common key) is stored. If the service provider does not have this common key, the SP compatible storage key (common key) is also sent when the attribute certificate is sent from the security chip to the service provider in step (d3) of FIG. To do. In this case, the session key generated during mutual authentication is encrypted and sent.

【0425】サービスプロバイダは、アップグレード属
性証明書を生成すると、これをセキュリティチップに送
付する。
When the service provider generates the upgrade attribute certificate, it sends it to the security chip.

【0426】(d6)セキュリティチップ制御部は、サ
ービスプロバイダからのアップグレード属性証明書(A
C)を受信すると、属性証明書の検証処理を実行する。
検証処理には、格納された権限情報(コンテンツ利用条
件)が指定条件と一致するかの確認、フォーマット確
認、署名検証処理が含まれる。署名検証処理は、例えば
先に説明した図20の処理フローと同様のシーケンスに
従って実行される。さらに、必要に応じてセキュリティ
チップの制御部は、属性証明書(AC)内のAC保持者
の公開鍵証明書情報に従って、公開鍵証明書の連鎖検証
を行なうことが好ましい。なお、この連鎖検証が必須の
場合もある。
(D6) The security chip controller uses the upgrade attribute certificate (A
When C) is received, the attribute certificate verification process is executed.
The verification processing includes confirmation of whether the stored authority information (content usage condition) matches the specified condition, format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. Further, if necessary, the control unit of the security chip preferably performs chain verification of the public key certificate according to the public key certificate information of the AC holder in the attribute certificate (AC). In some cases, this chain verification is essential.

【0427】(d7)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対してアップグレ
ード属性証明書受信確認を送信し、(d8)アップグレ
ード属性証明書をメモリに格納する。
(D7) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the control unit of the security chip sends an upgrade attribute certificate reception confirmation to the service provider, and (d8 ) Store the upgrade attribute certificate in memory.

【0428】さらに、セキュリティチップの制御部は、
アップグレード属性証明書がオフライン回数制限である
場合には、コンテンツの利用時までに前述した利用回数
管理データのインポート処理を実行する。利用回数管理
データインポート処理の詳細は、先に図37〜図41を
参照して説明した通りであり、セキュリティチップ内部
に利用可能回数を格納する態様と、外部メモリに利用可
能回数を格納し、セキュリティチップにハッシュ値のみ
を格納する態様がある。
Furthermore, the control unit of the security chip is
When the upgrade attribute certificate has a limit on the number of times of offline use, the above-described import processing of the number-of-uses management data is executed by the time the content is used. The details of the number-of-uses management data import process are as described above with reference to FIGS. 37 to 41. The mode of storing the number of times of use available in the security chip and the number of times of use available in the external memory are stored. There is a mode in which only the hash value is stored in the security chip.

【0429】以上の処理により、ユーザデバイスは、す
でに保持する属性証明書に基づいて新たなアップクレー
ド属性証明書を取得し、アップクレード属性証明書に従
った利用条件にしたがったコンテンツの利用が可能とな
る。
[0429] Through the above processing, the user device can obtain a new upgrade attribute certificate based on the attribute certificate already held and can use the content according to the usage conditions according to the upgrade attribute certificate. Becomes

【0430】(C)オフライン−利用回数制限属性証明
書(AC)をベースとしたアップグレード処理 次に、属性証明書に記録されたコンテンツ利用条件がオ
フライン処理であり、利用回数制限が設定された属性証
明書を保有する場合、このオフライン−利用回数制限属
性証明書をベースとしたアップグレード処理を図47の
シーケンス図に従って説明する。図47には、左からユ
ーザデバイス内のセキュリティチップ制御部、ユーザデ
バイス制御部(上位ソフトウェア)、およびサービスプ
ロバイダの処理を示している。
(C) Offline-Upgrade processing based on number-of-use restrictions attribute certificate (AC) Next, the content usage condition recorded in the attribute certificate is offline processing, and an attribute for which the number-of-use restrictions is set When the certificate is held, the upgrade process based on this offline-usage limit attribute certificate will be described with reference to the sequence diagram of FIG. FIG. 47 shows the processing of the security chip control unit in the user device, the user device control unit (upper software), and the service provider from the left.

【0431】図47では、最上段(a)は、属性証明書
がセキュリティチップの内部メモリに格納されている場
合における属性証明書からのサービスプロバイダID取
得処理、(b)は、属性証明書がセキュリティチップの
外部メモリ、すなわちユーザデバイス制御部単独の制御
でアクセス可能なメモリに格納されている場合における
属性証明書からのサービスプロバイダID取得処理を示
し、(c)はセキュリティチップとサービスプロバイダ
の相互認証処理である。これらの処理は、前述の図45
の場合と同様であり、説明を省略する。
In FIG. 47, the uppermost row (a) shows the service provider ID acquisition processing from the attribute certificate when the attribute certificate is stored in the internal memory of the security chip, and (b) shows the attribute certificate. The process of acquiring the service provider ID from the attribute certificate when stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control unit alone, (c) shows the mutual relationship between the security chip and the service provider. This is an authentication process. These processes are the same as those shown in FIG.
The description is omitted because it is similar to the case.

【0432】相互認証後成立後の処理から説明する。
(d1)ユーザは、ユーザデバイスの付属のブラウザに
より表示された属性証明書の権限情報(コンテンツ利用
条件)を確認し、属性証明書のアップグレード適用要求
と、アップグレード条件をセキュリティチップに対して
出力する。この例におけるアップグレード処理対象の属
性証明書に記録されたコンテンツ利用条件は、オフライ
ン回数制限であり、ユーザの指定するアップグレード条
件は、例えば、 利用可能回数の変更(回数増加) オフライン回数制限→期間制限へ変更 オフライン回数制限→オンライン回数制限へ変更 オフライン回数制限→買い切りへ変更 等の条件である。
Processing after establishment after mutual authentication will be described.
(D1) The user confirms the authority information (content usage condition) of the attribute certificate displayed by the browser attached to the user device, and outputs the attribute certificate upgrade application request and the upgrade condition to the security chip. . In this example, the content usage condition recorded in the attribute certificate of the upgrade process is an offline count limit, and the upgrade condition specified by the user is, for example, changing the usable count (increasing the count) Offline count limit → period limit Change to offline limit → Change to online limit Limit to offline limit → Change to buyout.

【0433】(d2)セキュリティチップ制御部は、ユ
ーザデバイス制御部からの属性証明書(AC)アップグ
レード適用要求を受信すると、属性証明書の検証処理を
実行する。検証処理には、権限情報(コンテンツ利用条
件)の確認、フォーマット確認、署名検証処理が含まれ
る。署名検証処理は、例えば先に説明した図20の処理
フローと同様のシーケンスに従って実行される。さら
に、必要に応じてセキュリティチップの制御部は、属性
証明書(AC)内のAC保持者の公開鍵証明書、さら
に、連鎖公開鍵証明書の検証を行ない、ルート認証局
(CA)の発行した公開鍵証明書の検証まで実行するこ
とが好ましい。なお、この連鎖検証が必須の場合もあ
る。
(D2) Upon receiving the attribute certificate (AC) upgrade application request from the user device controller, the security chip controller executes the attribute certificate verification processing. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. Further, if necessary, the control unit of the security chip verifies the public key certificate of the AC holder in the attribute certificate (AC) and the chained public key certificate, and issues the root certificate authority (CA). It is preferable to execute the verification of the public key certificate. In some cases, this chain verification is essential.

【0434】(d3)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対してアップグレ
ード処理対象の属性証明書を、ユーザにより指定された
アップグレード条件情報とともに送付する。アップグレ
ード処理対象の属性証明書には、利用条件としてオフラ
イン回数制限コンテンツであることが記録され、また利
用制限回数が格納されている。さらに、ユーザデバイス
のセキュリティチップのサービスプロバイダ管理領域に
格納されたSP対応ストレージ秘密鍵:SC.Stop
ri.SP.Kに対応する公開鍵で暗号化したコンテン
ツ鍵、すなわち、[SC.Stopub.SP.K(K
c)]が格納されている。
(D3) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the control unit of the security chip specifies to the service provider the attribute certificate to be upgraded by the user. It will be sent together with the upgraded upgrade condition information. The attribute certificate to be upgraded is recorded as a usage condition that the content is an offline limited content, and the limited usage count is stored. Furthermore, the SP-compatible storage secret key: SC.0 stored in the service provider management area of the security chip of the user device. Stop
ri. SP. The content key encrypted with the public key corresponding to K, that is, [SC. Stoppub. SP. K (K
c)] is stored.

【0435】(d4)セキュリティチップから属性証明
書を受信したサービスプロバイダは、属性証明書の署名
検証処理を実行する。また、この際、属性証明書にリン
クする公開鍵証明書、およびその上位公開鍵証明書を連
鎖的に検証することが好ましい。なお、この連鎖検証が
必須の場合もある。これらの検証処理により、属性証明
書の正当性が確認されると、(d5)ユーザにより指定
されたアップグレード条件情報に基づくアップグレード
属性証明書生成処理を実行する。
(D4) The service provider receiving the attribute certificate from the security chip executes signature verification processing of the attribute certificate. Further, at this time, it is preferable to verify the public key certificate linked to the attribute certificate and the higher public key certificate in a chained manner. In some cases, this chain verification is essential. When the validity of the attribute certificate is confirmed by these verification processes, (d5) the upgrade attribute certificate generation process based on the upgrade condition information designated by the user is executed.

【0436】アップグレード属性証明書生成処理は、ユ
ーザにより指定されたコンテンツ利用条件を記録した新
たな属性証明書、すなわちセキュリティチップから受信
した属性証明書と異なるシリアル番号を持つ属性証明書
を発行する処理として実行する。なお、この際、新たに
発行するアップグレード属性証明書中には、アップグレ
ードのベースとなった属性証明書のシリアルを含む履歴
データを格納する。
[0436] The upgrade attribute certificate generation process is a process for issuing a new attribute certificate in which the content use condition designated by the user is recorded, that is, an attribute certificate having a serial number different from the attribute certificate received from the security chip. Run as. At this time, in the newly issued upgrade attribute certificate, history data including the serial of the attribute certificate that is the base of the upgrade is stored.

【0437】なお、アップグレードの態様は、前述した
ように、 利用制限回数の変更(回数増加) オフライン回数制限→期間制限へ変更 オフライン回数制限→オンライン回数制限へ変更 オフライン回数制限→買い切りへ変更 のいずれかであり、回数制限の変更の場合は、利用制限
回数を新たに設定したアップグレード属性証明書を生成
する。また、期間制限へ変更する場合は、期間制限情報
を格納したアップグレード属性証明書を生成する。
As described above, the mode of upgrade is to change the use limit number (increase the number of times) offline number limit → change to period limit offline number limit → change to online number limit Offline number limit → change to buyout In the case of changing the number of times of limitation, an upgrade attribute certificate in which the number of times of use is newly set is generated. Also, when changing to a time limit, an upgrade attribute certificate storing time limit information is generated.

【0438】オフライン回数制限として利用制限回数を
変更する場合、買い切りへ変更する場合は、アップグレ
ード属性証明書に格納するコンテンツ鍵は、元の属性証
明書と同様、サービスプロバイダ管理領域に格納された
SP対応ストレージ秘密鍵:SC.Stopri.S
P.Kに対応する公開鍵で暗号化したコンテンツ鍵、す
なわち、[SC.Stopub.SP.K(Kc)]と
して格納するが、期間制限へ変更、またはオンライン回
数制限へ変更する場合は、元の属性証明書とは異なり、
アップグレード属性証明書に格納するコンテンツ鍵は、
サービスプロバイダの秘密鍵で暗号化したコンテンツ鍵
[SP.Sto.K(Kc)]とする。
When changing the usage-restricted number of times as the offline-number-of-times restriction, or when changing to the purchase-out, the content key stored in the upgrade attribute certificate is the SP stored in the service provider management area, as with the original attribute certificate. Corresponding storage secret key: SC. Stopri. S
P. The content key encrypted with the public key corresponding to K, that is, [SC. Stoppub. SP. K (Kc)], but when changing to the period limit or online count limit, unlike the original attribute certificate,
The content key stored in the upgrade attribute certificate is
Content key encrypted with the private key of the service provider [SP. Sto. K (Kc)].

【0439】なお、オフライン処理とする場合であっ
て、公開鍵方式ではなく、共通鍵方式の適用を行なって
いる場合は、ユーザデバイスのセキュリティチップのサ
ービスプロバイダ管理領域に格納されたSP対応ストレ
ージ鍵(共通鍵)によって暗号化したコンテンツ鍵を格
納する。なお、サービスプロバイダがこの共通鍵を保有
していない場合は、図47のステップ(d3)のセキュ
リティチップからサービスプロバイダへの属性証明書の
送付時に、併せてSP対応ストレージ鍵(共通鍵)を送
付する。この場合は、相互認証時に生成したセッション
鍵で暗号化して送付する。
[0439] Note that, in the case of off-line processing and the common key method is applied instead of the public key method, the SP-compatible storage key stored in the service provider management area of the security chip of the user device. The content key encrypted by (common key) is stored. If the service provider does not have this common key, the SP compatible storage key (common key) is also sent when the attribute certificate is sent from the security chip to the service provider in step (d3) of FIG. To do. In this case, the session key generated during mutual authentication is encrypted and sent.

【0440】サービスプロバイダは、アップグレード属
性証明書を生成すると、これをセキュリティチップに送
付する。
When the service provider generates the upgrade attribute certificate, it sends it to the security chip.

【0441】(d6)セキュリティチップ制御部は、サ
ービスプロバイダからのアップグレード属性証明書(A
C)を受信すると、属性証明書の検証処理を実行する。
検証処理には、格納された権限情報(コンテンツ利用条
件)が指定条件と一致するかの確認、フォーマット確
認、署名検証処理が含まれる。署名検証処理は、例えば
先に説明した図20の処理フローと同様のシーケンスに
従って実行される。さらに、必要に応じてセキュリティ
チップの制御部は、属性証明書(AC)内のAC保持者
の公開鍵証明書情報に従って、公開鍵証明書の連鎖検証
を行なうことが好ましい。なお、この連鎖検証が必須の
場合もある。
(D6) The security chip controller uses the upgrade attribute certificate (A
When C) is received, the attribute certificate verification process is executed.
The verification processing includes confirmation of whether the stored authority information (content usage condition) matches the specified condition, format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. Further, if necessary, the control unit of the security chip preferably performs chain verification of the public key certificate according to the public key certificate information of the AC holder in the attribute certificate (AC). In some cases, this chain verification is essential.

【0442】(d7)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対してアップグレ
ード属性証明書受信確認を送信し、(d8)アップグレ
ード属性証明書をメモリに格納する。
(D7) When the attribute certificate is verified to determine that the attribute certificate has not been tampered with, the control unit of the security chip sends an upgrade attribute certificate reception confirmation to the service provider, and (d8 ) Store the upgrade attribute certificate in memory.

【0443】さらに、セキュリティチップの制御部は、
アップグレード属性証明書がオフライン回数制限である
場合には、コンテンツの利用時までに前述した利用回数
管理データのインポート処理を実行する。利用回数管理
データインポート処理の詳細は、先に図37〜図41を
参照して説明した通りであり、セキュリティチップ内部
に利用可能回数を格納する態様と、外部メモリに利用可
能回数を格納し、セキュリティチップにハッシュ値のみ
を格納する態様がある。
Furthermore, the control unit of the security chip is
When the upgrade attribute certificate has a limit on the number of times of offline use, the above-described import processing of the number-of-uses management data is executed by the time the content is used. The details of the number-of-uses management data import process are as described above with reference to FIGS. 37 to 41. The mode of storing the number of times of use available in the security chip and the number of times of use available in the external memory are stored. There is a mode in which only the hash value is stored in the security chip.

【0444】以上の処理により、ユーザデバイスは、す
でに保持する属性証明書に基づいて新たなアップクレー
ド属性証明書を取得し、アップクレード属性証明書に従
った利用条件にしたがったコンテンツの利用が可能とな
る。
Through the above processing, the user device can obtain a new upgrade attribute certificate based on the attribute certificate already held and can use the content according to the usage conditions according to the upgrade attribute certificate. Becomes

【0445】(D)アルバム購入型アップグレード 次に、一連のアルバム化されたコンテンツデータ、例え
ば1枚のCDあるいはDVD等に格納された複数(n)
のコンテンツ1〜n、あるいは何らかのシリーズ化され
たコンテンツ1〜nがあり、これらのいくつかを購入済
であり、購入済みコンテンツに対応する属性証明書1〜
属性証明書nの複数をユーザがユーザデバイス内に保持
している場合、これらの属性証明書をサービスプロバイ
ダに提示することにより、アルバムを構成する他のコン
テンツ、すなわち、コンテンツ2,4,6〜nのコンテ
ンツを割引価格で一括(アルバム)購入する処理とした
アップグレード処理について、図48を参照して説明す
る。
(D) Album purchase type upgrade Next, a series of albumed content data, for example, a plurality of (n) stored in one CD or DVD or the like.
Content 1 to n, or some series of content 1 to n, some of which have been purchased, and the attribute certificate 1 corresponding to the purchased content 1
When the user holds a plurality of attribute certificates n in the user device, by presenting these attribute certificates to the service provider, other contents constituting the album, that is, contents 2, 4, 6-. An upgrade process, which is a process of purchasing (n) albums of n contents at a discounted price, will be described with reference to FIG.

【0446】図48は、左からユーザデバイス内のセキ
ュリティチップ制御部、ユーザデバイス制御部(上位ソ
フトウェア)、およびサービスプロバイダの処理を示し
ている。最上段(a)は、属性証明書がセキュリティチ
ップの内部メモリに格納されている場合における属性証
明書からのサービスプロバイダID取得処理、(b)
は、属性証明書がセキュリティチップの外部メモリ、す
なわちユーザデバイス制御部単独の制御でアクセス可能
なメモリに格納されている場合における属性証明書から
のサービスプロバイダID取得処理を示し、(c)はセ
キュリティチップとサービスプロバイダの相互認証処理
である。これらの処理は、前述の図45の場合と同様で
あり、説明を省略する。
FIG. 48 shows the processing of the security chip control section, the user device control section (upper software) in the user device, and the service provider from the left. The uppermost row (a) is a service provider ID acquisition process from the attribute certificate when the attribute certificate is stored in the internal memory of the security chip, (b)
Shows the service provider ID acquisition processing from the attribute certificate when the attribute certificate is stored in the external memory of the security chip, that is, the memory accessible by the control of the user device control unit alone. Mutual authentication processing between the chip and the service provider. These processes are the same as those in the case of FIG. 45 described above, and the description thereof will be omitted.

【0447】相互認証後成立後の処理から説明する。
(d1)ユーザは、ユーザデバイスの付属のブラウザに
より表示された属性証明書の権限情報(コンテンツ利用
条件)を確認し、属性証明書のアップグレード適用要求
と、アップグレード条件をセキュリティチップに対して
出力する。この例におけるアップグレード処理対象の属
性証明書は、ある複数のコンテンツの集合対として識別
されるアルバムを構成する一部のコンテンツに対応する
1以上の属性証明書である。ユーザの指定するアップグ
レード条件は、例えば、 アルバムを構成する他の一部コンテンツの購入 アルバムを構成する他の全コンテンツの購入 等の条件である。
Processing after establishment after mutual authentication will be described.
(D1) The user confirms the authority information (content usage condition) of the attribute certificate displayed by the browser attached to the user device, and outputs the attribute certificate upgrade application request and the upgrade condition to the security chip. . The attribute certificate to be upgraded in this example is one or more attribute certificates corresponding to a part of the contents constituting an album identified as a set pair of a plurality of contents. The upgrade condition designated by the user is, for example, a condition such as purchase of some other contents constituting the album and purchase of all other contents constituting the album.

【0448】(d2)セキュリティチップ制御部は、ユ
ーザデバイス制御部からの属性証明書(AC)アップグ
レード適用要求を受信すると、属性証明書の検証処理を
実行する。検証処理には、権限情報(コンテンツ利用条
件)の確認、フォーマット確認、署名検証処理が含まれ
る。署名検証処理は、例えば先に説明した図20の処理
フローと同様のシーケンスに従って実行される。さら
に、必要に応じてセキュリティチップの制御部は、属性
証明書(AC)内のAC保持者の公開鍵証明書、さら
に、連鎖公開鍵証明書の検証を行ない、ルート認証局
(CA)の発行した公開鍵証明書の検証まで実行するこ
とが好ましい。なお、この連鎖検証が必須の場合もあ
る。
(D2) Upon receiving the attribute certificate (AC) upgrade application request from the user device controller, the security chip controller executes the attribute certificate verification processing. The verification processing includes confirmation of authority information (content usage conditions), format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. Further, if necessary, the control unit of the security chip verifies the public key certificate of the AC holder in the attribute certificate (AC) and the chained public key certificate, and issues the root certificate authority (CA). It is preferable to execute the verification of the public key certificate. In some cases, this chain verification is essential.

【0449】(d3)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対してアップグレ
ード処理対象の属性証明書を、ユーザにより指定された
アップグレード条件情報とともに送付する。
(D3) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the control unit of the security chip specifies to the service provider the attribute certificate to be upgraded by the user. It will be sent together with the upgraded upgrade condition information.

【0450】(d4)セキュリティチップから属性証明
書を受信したサービスプロバイダは、属性証明書の署名
検証処理を実行する。また、この際、属性証明書にリン
クする公開鍵証明書、およびその上位公開鍵証明書を連
鎖的に検証することが好ましい。なお、この連鎖検証が
必須の場合もある。これらの検証処理により、属性証明
書の正当性が確認されると、(d5)ユーザにより指定
されたアップグレード条件情報に基づくアップグレード
属性証明書生成処理を実行する。
(D4) The service provider receiving the attribute certificate from the security chip executes signature verification processing of the attribute certificate. Further, at this time, it is preferable to verify the public key certificate linked to the attribute certificate and the higher public key certificate in a chained manner. In some cases, this chain verification is essential. When the validity of the attribute certificate is confirmed by these verification processes, (d5) the upgrade attribute certificate generation process based on the upgrade condition information designated by the user is executed.

【0451】アップグレード属性証明書生成処理は、ユ
ーザにより指定されたコンテンツ利用条件を記録した新
たな属性証明書、すなわちセキュリティチップから受信
した属性証明書と異なるシリアル番号を持つ属性証明書
を発行する処理として実行する。なお、この際、新たに
発行するアップグレード属性証明書中には、アップグレ
ードのベースとなった属性証明書のシリアルを含む履歴
データを格納する。
The upgrade attribute certificate generation process is a process for issuing a new attribute certificate recording the content usage condition designated by the user, that is, an attribute certificate having a serial number different from the attribute certificate received from the security chip. Run as. At this time, in the newly issued upgrade attribute certificate, history data including the serial of the attribute certificate that is the base of the upgrade is stored.

【0452】なお、アップグレードの態様は、前述した
ように、 アルバムを構成する他の一部コンテンツの購入 アルバムを構成する他の全コンテンツの購入 のいずれかであり、アルバムを構成する他の一部コンテ
ンツの購入の場合は、購入指定の一部コンテンツに対応
するアップグレード属性証明書を生成する。また、アル
バムを構成する他の全コンテンツの購入の場合は、アル
バムを構成する他の全コンテンツに対応するアップグレ
ード属性証明書を生成する。
Note that, as described above, the upgrade mode is either purchase of some other contents constituting the album or purchase of all other contents constituting the album, and some of the other contents constituting the album. In the case of content purchase, an upgrade attribute certificate corresponding to a part of content designated for purchase is generated. In addition, in the case of purchasing all the other contents composing the album, the upgrade attribute certificate corresponding to all the other contents composing the album is generated.

【0453】なお、この場合の利用条件は、ユーザが予
め指定することも可能であり、また、サービスプロバイ
ダが決定する構成としてもよい。ユーザが指定する場合
は、図48のステップ(d1)において指定し、(d
3)のセキュリティチップからサービスプロバイダへの
属性証明書の送付時に、指定条件を併せて送付する。
The use condition in this case can be designated by the user in advance, or may be determined by the service provider. When the user specifies it, it is specified in step (d1) of FIG.
When the attribute certificate is sent from the security chip in 3) to the service provider, the specified conditions are also sent.

【0454】サービスプロバイダは、オフライン利用と
するアップグレード属性証明書を生成する場合は、サー
ビスプロバイダ管理領域に格納されたSP対応ストレー
ジ秘密鍵:SC.Stopri.SP.Kに対応する公
開鍵で暗号化したコンテンツ鍵[SC.Stopub.
SP.K(Kc)]を格納し、オンライン利用とするア
ップグレード属性証明書を生成する場合は、アップグレ
ード属性証明書に格納するコンテンツ鍵は、サービスプ
ロバイダの秘密鍵で暗号化したコンテンツ鍵[SP.S
to.K(Kc)]とする。
[0454] When the service provider generates an upgrade attribute certificate for offline use, the SP corresponding storage private key stored in the service provider management area: SC. Stopri. SP. Content key encrypted with the public key corresponding to K [SC. Stoppub.
SP. K (Kc)] to generate an upgrade attribute certificate for online use, the content key stored in the upgrade attribute certificate is a content key [SP. S
to. K (Kc)].

【0455】なお、オフライン処理とする場合であっ
て、公開鍵方式ではなく、共通鍵方式の適用を行なって
いる場合は、ユーザデバイスのセキュリティチップのサ
ービスプロバイダ管理領域に格納されたSP対応ストレ
ージ鍵(共通鍵)によって暗号化したコンテンツ鍵を格
納する。なお、サービスプロバイダがこの共通鍵を保有
していない場合は、図48のステップ(d3)のセキュ
リティチップからサービスプロバイダへの属性証明書の
送付時に、併せてSP対応ストレージ鍵(共通鍵)を送
付する。この場合は、相互認証時に生成したセッション
鍵で暗号化して送付する。
[0455] In the case of off-line processing and the common key method is applied instead of the public key method, the SP-compatible storage key stored in the service provider management area of the security chip of the user device. The content key encrypted by (common key) is stored. If the service provider does not have this common key, the SP compatible storage key (common key) is also sent when the attribute certificate is sent from the security chip to the service provider in step (d3) of FIG. To do. In this case, the session key generated during mutual authentication is encrypted and sent.

【0456】サービスプロバイダは、アップグレード属
性証明書を生成すると、これをセキュリティチップに送
付する。
After generating the upgrade attribute certificate, the service provider sends it to the security chip.

【0457】(d6)セキュリティチップ制御部は、サ
ービスプロバイダからのアップグレード属性証明書(A
C)を受信すると、属性証明書の検証処理を実行する。
検証処理には、格納された権限情報(コンテンツ利用条
件)が指定条件と一致するかの確認、フォーマット確
認、署名検証処理が含まれる。署名検証処理は、例えば
先に説明した図20の処理フローと同様のシーケンスに
従って実行される。さらに、必要に応じてセキュリティ
チップの制御部は、属性証明書(AC)内のAC保持者
の公開鍵証明書情報に従って、公開鍵証明書の連鎖検証
を行なうことが好ましい。なお、この連鎖検証が必須の
場合もある。
(D6) The security chip controller uses the upgrade attribute certificate (A
When C) is received, the attribute certificate verification process is executed.
The verification processing includes confirmation of whether the stored authority information (content usage condition) matches the specified condition, format confirmation, and signature verification processing. The signature verification process is executed, for example, according to the same sequence as the process flow of FIG. 20 described above. Further, if necessary, the control unit of the security chip preferably performs chain verification of the public key certificate according to the public key certificate information of the AC holder in the attribute certificate (AC). In some cases, this chain verification is essential.

【0458】(d7)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、サービスプロバイダに対してアップグレ
ード属性証明書受信確認を送信し、(d8)アップグレ
ード属性証明書をメモリに格納する。
(D7) When the attribute certificate is verified and it is determined that the attribute certificate has not been tampered with, the control unit of the security chip sends an upgrade attribute certificate reception confirmation to the service provider, and (d8) ) Store the upgrade attribute certificate in memory.

【0459】さらに、セキュリティチップの制御部は、
アップグレード属性証明書がオフライン回数制限である
場合には、コンテンツの利用時までに前述した利用回数
管理データのインポート処理を実行する。利用回数管理
データインポート処理の詳細は、先に図37〜図41を
参照して説明した通りであり、セキュリティチップ内部
に利用可能回数を格納する態様と、外部メモリに利用可
能回数を格納し、セキュリティチップにハッシュ値のみ
を格納する態様がある。
Furthermore, the control unit of the security chip is
When the upgrade attribute certificate has a limit on the number of times of offline use, the above-described import processing of the number-of-uses management data is executed by the time the content is used. The details of the number-of-uses management data import process are as described above with reference to FIGS. 37 to 41. The mode of storing the number of times of use available in the security chip and the number of times of use available in the external memory are stored. There is a mode in which only the hash value is stored in the security chip.

【0460】以上の処理により、ユーザデバイスは、す
でに保持する属性証明書に基づいて新たなアップクレー
ド属性証明書を取得し、アップクレード属性証明書に従
った利用条件にしたがったコンテンツの利用が可能とな
る。
[0460] Through the above processing, the user device can obtain a new upgrade attribute certificate based on the attribute certificate already held and can use the content in accordance with the usage conditions according to the upgrade attribute certificate. Becomes

【0461】[データバックアップおよびリストア処
理]ユーザがサービスプロバイダから購入し、セキュリ
ティチップを有するユーザデバイス内の記憶手段に格納
した権利情報や、証明書類は、消失の事態に備えてバッ
クアップしておくことが好ましい。バックアップすべき
情報には、見られてもいい情報と、セキュアに保持しな
ければいけない情報がある。見られてもいい情報とは、
公開鍵証明書、属性証明書などの証明書類である。セキ
ュアに保持する情報とは、例えばセキュリティチップの
サービスプロバイダ管理領域に書き込まれているサービ
ス加入の証拠情報などがある。
[Data Backup and Restoration Processing] The right information and the certificates purchased by the user from the service provider and stored in the storage means in the user device having the security chip should be backed up in case of loss. Is preferred. Information that should be backed up includes information that can be viewed and information that must be securely stored. The information that can be seen is
Certificates such as public key certificates and attribute certificates. The information held securely includes, for example, evidence of service subscription written in the service provider management area of the security chip.

【0462】公開鍵証明書、属性証明書などの証明書類
については、ユーザが適宜、ハードディスクやフラッシ
ュメモリを搭載したメモリカードなどに複製情報を格納
しておくことで十分である。属性証明書にはコンテンツ
鍵が格納されているが、オンライン利用の場合には、サ
ービスプロバイダとの接続が必要となり、この際の相互
認証時にデバイス(セキュリティチップ)の正当性が確
認されるので、コンテンツが不正に利用されることはな
い。また、オフライン利用の場合でも、コンテンツ鍵を
復号するための鍵は、セキュリティチッブのサービスプ
ロバイダ管理領域に格納されているので、正当なユーザ
デバイスのセキュリティチップを保持し、かつ前述した
パスワードによるアクセスが許可されたユーザのみが暗
号化コンテンツ鍵を復号することが可能となる。従っ
て、属性証明書が第三者に渡ったとしてもコンテンツの
不正利用が発生することはない。
For certificates such as public key certificates and attribute certificates, it is sufficient for the user to store the copy information in a memory card equipped with a hard disk or a flash memory as appropriate. The content key is stored in the attribute certificate, but in the case of online use, it is necessary to connect with the service provider, and the validity of the device (security chip) is confirmed at the time of mutual authentication at this time. The content is never used illegally. Further, even in the case of offline use, the key for decrypting the content key is stored in the service provider management area of the security chip, so that the security chip of the legitimate user device is held and the access by the password described above is possible. Only the authorized user can decrypt the encrypted content key. Therefore, even if the attribute certificate is passed to a third party, the content will not be illegally used.

【0463】しかし、セキュリティチップ内の秘密情報
に関しては、テンポラリのストレージにセキュアに保持
しておかねばならない。例えばセキュリティチップのサ
ービスプロバイダ管理領域には、サービスプロバイダと
の相互認証に必要なID情報、鍵情報、パスワード等が
格納されており、これらは第三者に漏洩することを防止
することが必要である。従って外部の記憶媒体(テンポ
ラリのストレージ)にバックアップする際には、これら
のバックアップデータは、暗号化しておくことが必要で
ある。
However, the secret information in the security chip must be securely stored in the temporary storage. For example, in the service provider management area of the security chip, ID information, key information, password, etc. necessary for mutual authentication with the service provider are stored, and it is necessary to prevent these from leaking to a third party. is there. Therefore, when backing up to an external storage medium (temporary storage), these backup data need to be encrypted.

【0464】ユーザが秘密情報をテンポラリのストレー
ジに格納した場合、ストレージメディアの盗難によりデ
ータ漏洩が発生する暗号化では意味がない。また、ユー
ザデバイスから容易に取り出せる鍵によって復号できる
構成とすると、ユーザデバイスから取り出した鍵によっ
て、セキュリティデバイスの複製を生成することが可能
となってしまい、ユーザサイドで全く同様のサービスプ
ロバイダ管理領域データを有する第2のセキュリティデ
バイスを生成することが可能となるおそれがある。ま
た、複製したセキュリティチップを搭載した可搬メディ
アを他のユーザデバイスに装着することで、複数のユー
ザデバイスで全く同様のサービスを受けることが可能と
なってしまう。そこで本発明のシステムでは、テンポラ
リのストレージに秘密情報をバックアップデータとして
格納した場合でも、不正な第三者によって復号できない
態様とするとともに、ユーザデバイスを保持するユーザ
自身もシステムホルダの許可なくリストア等、他のセキ
ュリティチップに格納して使用することのできない構成
とし、データの復号、リストアはサポートセンタにおい
てのみ実行可能とした。
When the user stores the secret information in the temporary storage, there is no meaning in the encryption in which the data leakage occurs due to the theft of the storage medium. In addition, if the key can be decrypted with a key that can be easily retrieved from the user device, a copy of the security device can be generated with the key retrieved from the user device, and the service provider management area data that is exactly the same on the user side can be generated. It may be possible to generate a second security device having Further, by mounting the portable medium having the duplicated security chip on another user device, it becomes possible for a plurality of user devices to receive exactly the same service. Therefore, in the system of the present invention, even if the secret information is stored in the temporary storage as backup data, it cannot be decrypted by an unauthorized third party, and the user holding the user device restores it without permission of the system holder. It is configured so that it cannot be stored in another security chip for use, and decryption and restoration of data can be performed only at the support center.

【0465】すなわち、ユーザデバイス内で確実な情報
管理を実行し、データ消失を完全に防ぐことの困難性に
鑑み、本発明のシステムにおいては、サポートセンタに
おいて、データのバックアップ・サービスを提供し、必
要に応じてサポートセンタにおいて、バックアップデー
タを用いてデータ復旧、すなわちリストア処理を実行す
る。リストアは、サポートセンターにて行い、テンポラ
リのストレージからデータを読み出し、ユーザデバイス
のセキュリティデバイスに対してインポートする処理と
して実行する。以下、サポートセンタによるデータバッ
クアップ処理、およびリストア処理について説明する。
That is, in view of the difficulty of performing reliable information management in the user device and completely preventing data loss, the system of the present invention provides a data backup service at the support center, If necessary, the support center uses the backup data to perform data recovery, that is, restore processing. Restoration is performed at the support center, and is executed as a process of reading data from the temporary storage and importing the data into the security device of the user device. Hereinafter, the data backup process and the restore process by the support center will be described.

【0466】図49に、ユーザデバイス内の秘密情報の
バックアップ処理、サポートセンタにおけるリストア処
理の概要を説明する図を示す。
FIG. 49 shows an outline of backup processing of confidential information in the user device and restore processing in the support center.

【0467】図49において、ユーザデバイス410
は、セキュリティチップ411を有し、セキュリティチ
ップには様々なシークレット、すなわち秘密情報が格納
されている。秘密情報は、例えばセキュリティチップの
サービスプロバイダ管理領域の格納情報であり、サービ
スプロバイダとの相互認証に必要なID情報、鍵情報、
パスワード等である。また、ユーザデバイスのセキュリ
ティチップ外のメモリには、公開鍵証明書、属性証明書
が格納される。
In FIG. 49, the user device 410.
Has a security chip 411, and various secrets, that is, secret information is stored in the security chip 411. The secret information is, for example, storage information in the service provider management area of the security chip, and ID information, key information, necessary for mutual authentication with the service provider,
Password, etc. The public key certificate and the attribute certificate are stored in the memory outside the security chip of the user device.

【0468】ユーザは、ユーザデバイスの損壊、あるい
はデータの消失等に備え、これらの情報をユーザデバイ
ス以外の外部の記憶媒体にバックアップして保存する。
例えば公開鍵証明書、属性証明書等を外部のPCのハー
ドディスクに格納したり、フラッシュメモリを備えたカ
ード型記憶媒体などの外部記憶媒体421に格納する。
これらは、前述したように、漏洩により、コンテンツの
不正利用を発生させるおそれがなく、暗号化されること
なく外部の記憶媒体421に格納し、必要に応じてユー
ザが記憶媒体421からユーザデバイス410にリスト
アすることが可能である。
The user backs up and saves this information in an external storage medium other than the user device in case of damage to the user device or loss of data.
For example, a public key certificate, an attribute certificate, etc. are stored in the hard disk of an external PC, or stored in an external storage medium 421 such as a card type storage medium having a flash memory.
As described above, these are stored in the external storage medium 421 without being encrypted by the risk of illegal use of the content due to leakage, and the user can store the content in the external storage medium 421 as necessary. It is possible to restore to.

【0469】一方、セキュリティチップに格納された秘
密情報は、外部の記憶媒体422にバックアップデータ
として保存する場合は、ユーザデバイスにおいて一時的
な鍵として乱数からバックアップ鍵:Kb(共通鍵系)
を生成し、バックアップ鍵:Kbによって、各種の秘密
情報(SecData)を暗号化し、暗号化データ:
[Kb(SecData)]として記憶媒体422に格
納する。さらに、生成したバックアップ鍵:Kbをサポ
ートセンタの公開鍵:Kpsによって暗号化した暗号鍵
データ[Kps(Kb)]を併せて外部記憶媒体422
に格納する。秘密情報を外部の記憶媒体422に格納し
た後、バックアップ鍵:Kbはユーザデバイスに保持す
ることなく消去する。
On the other hand, when the secret information stored in the security chip is stored in the external storage medium 422 as backup data, a random number is used as a temporary key in the user device, and the backup key is Kb (common key system).
And encrypts various secret information (SecData) with the backup key: Kb, and the encrypted data:
It is stored in the storage medium 422 as [Kb (SecData)]. Further, the generated backup key: Kb is encrypted with the support center public key: Kps, and the encrypted key data [Kps (Kb)] is also stored in the external storage medium 422.
To store. After storing the secret information in the external storage medium 422, the backup key: Kb is erased without being held in the user device.

【0470】記憶媒体422に格納した暗号化データ:
[Kb(SecData)]は、たとえ記憶媒体422
が第三者の手に渡ったとしても、その復号のための鍵で
あるバックアップ鍵:Kbが、サポートセンタの公開
鍵:Kpsによって暗号化されており、バックアップ
鍵:Kbを取得するためには、サポートセンタの秘密
鍵:Kssによる復号化処理が必要となるので、第三者
による復号は不可能である。また、ユーザデバイスを保
持する正当なユーザも復号により第2のセキュリティデ
バイスを生成することはできない。
Encrypted data stored in the storage medium 422:
[Kb (SecData)] is the same as the storage medium 422.
Even if is handed over to a third party, the backup key: Kb, which is the key for decrypting it, is encrypted by the public key: Kps of the support center, and in order to obtain the backup key: Kb, The private key of the support center: Kss requires decryption processing, so decryption by a third party is impossible. Also, a legitimate user who holds the user device cannot generate the second security device by decryption.

【0471】データのリストア(復旧)処理は、ユーザ
サイト側からサポートセンタ450に対して記憶媒体4
22を送付することによって実行される。リストア処理
は、元のユーザデバイスが損壊した場合は、新たなユー
ザデバイス430に対して実行される。元のユーザデバ
イス自体をサポートセンタに送付して、修理された元の
ユーザデバイスに対してリストアを実行することも可能
である。なお、新たなユーザデバイスに対するリストア
処理を実行する場合は、元のユーザデバイスを無効化す
る処理、すなわちリボーク処理を併せて実行する。この
リボーク処理は、例えばユーザデバイスに対応して発行
されている公開鍵証明書をリボケーションリストに登録
することによって行われる。リボケーションリストは、
不正デバイス、無効化されたデバイス、ユーザ等に対応
する公開鍵証明書のリストとして構成されるものであ
る。リボケーションリストは、デバイスとの相互認証時
に参照され、リストに記載されたデバイスであると判定
されると認証を不成立として、その後のデータ通信を中
止することを可能としたものである。
Data restoration (restoration) processing is performed by the user site from the support center 450 to the storage medium 4
22 by sending. The restore process is executed for the new user device 430 when the original user device is damaged. It is also possible to send the original user device itself to the support center and perform restoration on the original user device that has been repaired. When the restore process for a new user device is executed, the process of invalidating the original user device, that is, the revoke process is also executed. This revoke process is performed by, for example, registering the public key certificate issued corresponding to the user device in the revocation list. The revocation list is
It is configured as a list of public key certificates corresponding to an unauthorized device, a revoked device, a user, and the like. The revocation list is referred to at the time of mutual authentication with the device, and when it is determined that the device is the device described in the list, the authentication is not established and the subsequent data communication can be stopped.

【0472】サポートセンタ450におけるリストア処
理は、まず、ユーザサイトから送付された記憶媒体42
2’に格納されたサポートセンタの公開鍵:Kpsによ
って暗号化した暗号鍵データ[Kps(Kb)]を取り
出して、サポートセンタの秘密鍵:Kssによって復号
してバックアップ鍵:Kbを取り出す。その後、取得し
たバックアップ鍵:Kbを適用して、バックアップ鍵に
より暗号化された秘密情報暗号化データ:[Kb(Se
cData)]の復号化処理を実行し、復号データ:S
ecDataをユーザデバイス430のセキュリティチ
ップ内に格納する処理として実行される。具体的なリス
トア処理シーケンスについては、後述する。
The restore processing in the support center 450 is first performed by the storage medium 42 sent from the user site.
The encrypted key data [Kps (Kb)] encrypted by the public key of the support center: Kps stored in 2'is taken out, decrypted by the secret key of the support center: Kss, and the backup key: Kb is taken out. After that, by applying the acquired backup key: Kb, the secret information encrypted data: [Kb (Se
cData)], and the decrypted data: S
This is executed as a process of storing ecData in the security chip of the user device 430. A specific restore processing sequence will be described later.

【0473】上述したように、ユーザデバイス内の秘密
情報のバックアップデータのリストアをサポートセンタ
のみにおいて実行可能とした構成により、秘密情報の複
製利用を防止することが可能となる。
As described above, with the configuration in which the backup data of the confidential information in the user device can be restored only in the support center, it is possible to prevent the duplicate use of the confidential information.

【0474】図50にリストア処理時の手順概要を説明
する図を示す。ユーザサイトでは、ユーザが使用してい
るユーザデバイス470内のセキュリティチップに格納
された秘密情報をバックアップストレージメディア47
1に格納する。前述したように、ユーザデバイスは、バ
ックアップ鍵:Kb(共通鍵系)を生成し、バックアッ
プ鍵:Kbによって秘密情報(SecData)を暗号
化したデータ:[Kb(SecData)]と、バック
アップ鍵:Kbをサポートセンタの公開鍵:Kpsによ
って暗号化した暗号鍵データ[Kps(Kb)]をバッ
クアップストレージメディア471に格納する。
FIG. 50 is a diagram for explaining the outline of the procedure at the time of restore processing. At the user site, the confidential information stored in the security chip in the user device 470 used by the user is stored in the backup storage medium 47.
Store in 1. As described above, the user device generates the backup key: Kb (common key system), and encrypts the secret information (SecData) with the backup key: Kb: data [Kb (SecData)] and backup key: Kb. The encryption key data [Kps (Kb)] encrypted by the public key of the support center: Kps is stored in the backup storage medium 471.

【0475】ユーザデバイス470が損壊する等の理由
により、使用できなくなった場合、ユーザは、バックア
ップストレージメディア471をサポートセンタ475
に送付する。
When the user device 470 becomes unusable due to some reason such as damage, the user can copy the backup storage medium 471 to the support center 475.
To send.

【0476】サポートセンタ475は、新規のユーザデ
バイス、あるいは損壊したユーザデバイスを修理した元
のユーザデバイスに対して、バックアップストレージメ
ディア471のデータを復号してリストアし、秘密情報
をリストアしたユーザデバイス472と、リストアに使
用したバックアップストレージメディア471をユーザ
に返却する。サポートセンタ475は、このリストア処
理において、新規デバイスに対してリストア処理を実行
し、元のデバイスを使用しない場合には、前述したリボ
ーケーションリストへの登録によるリボーク処理を実行
する。またサポートセンタ475は、リストア処理に対
する課金を実行してもよい。
The support center 475 decrypts and restores the data of the backup storage medium 471 to the new user device or the original user device that repaired the damaged user device, and restores the secret information. Then, the backup storage medium 471 used for the restoration is returned to the user. In this restore process, the support center 475 executes the restore process on the new device, and when the original device is not used, executes the revoke process by registering in the revocation list. The support center 475 may also charge for the restore process.

【0477】図51を参照して、ユーザサイトで実行す
るバックアップストレージメディアに対するデータバッ
クアップ処理シーケンスについて説明する。図51は、
左からバックアップストレージメディア、ユーザデバイ
ス内のセキュリティチップ制御部、ユーザデバイス制御
部(上位ソフトウェア)の処理を示している。まず、
(1)ユーザデバイス制御部は、セキュリティチップ制
御部に対してバックアップ処理要求を送信する。これ
は、ユーザがユーザデバイス側の入力部に対するユーザ
によるバックアップ処理実行指示に基づいて行われる。
Referring to FIG. 51, the data backup processing sequence for the backup storage medium executed at the user site will be described. FIG. 51 shows
From the left, the processes of the backup storage medium, the security chip controller in the user device, and the user device controller (upper software) are shown. First,
(1) The user device controller sends a backup processing request to the security chip controller. This is performed based on the user's instruction for executing the backup process to the input unit on the user device side.

【0478】セキュリティチップの制御部は、バックア
ップ要求を受信すると、(2)バックアップデータの暗
号化に適用するバックアップ鍵(キー):Kbを生成す
る。バックアップ鍵(キー):Kbは例えば乱数生成手
段によって生成した乱数に基づいて生成するバックアッ
プ専用の一時的な鍵であり、バックアップストレージメ
ディアに対するバックアップ処理の後、セキュリティチ
ップに保持されることなく、消去される。
Upon receiving the backup request, the control unit of the security chip generates (2) a backup key (key): Kb applied to encryption of the backup data. Backup key (key): Kb is a temporary key dedicated to backup generated based on a random number generated by, for example, a random number generation unit, and is erased without being held by a security chip after backup processing to a backup storage medium. To be done.

【0479】セキュリティチップの制御部は、(3)バ
ックアップ鍵(キー):Kbの生成後、生成したバック
アップ鍵(キー)で、バックアップデータの暗号化を行
ない、暗号化データ:[Kb(SecData)]を生
成する。データ暗号化が終了すると、さらに、(4)セ
キュリティチップの制御部は、バックアップ鍵(キ
ー):Kbをサポートセンタの公開鍵:Kpsを用いて
暗号化して暗号鍵データ:[Kps(Kb)]を生成す
る。
The control unit of the security chip (3) generates the backup key (key): Kb, then encrypts the backup data with the generated backup key (key), and the encrypted data: [Kb (SecData) ] Is generated. When the data encryption is completed, (4) the control unit of the security chip further encrypts the backup key (key): Kb using the public key: Kps of the support center, and the encryption key data: [Kps (Kb)]. To generate.

【0480】上記処理の後、セキュリティチップの制御
部は、(5)暗号化データ:[Kb(SecDat
a)]と、暗号鍵データ:[Kps(Kb)]をバック
アップストレージメディアに格納する。なお、これらの
処理の後、バックアップ鍵(キー):Kbは、セキュリ
ティチップから消去される。
After the above processing, the control unit of the security chip executes (5) encrypted data: [Kb (SecDat
a)] and encryption key data: [Kps (Kb)] are stored in the backup storage medium. Note that after these processes, the backup key (key): Kb is erased from the security chip.

【0481】なお、バックアップストレージメディアに
暗号化データ:[Kb(SecData)]と、暗号鍵
データ:[Kps(Kb)]を格納することなく、これ
らのデータを直接サポートセンタに送信し、サポートセ
ンタ内の記憶手段にユーザデバイスID、またはセキュ
リティチップIDに対応させてバックアップデータを保
存する構成としてもよい。このような構成とした場合
は、バックアップデータに基づくリストア処理は、ユー
ザデバイス(セキュリティチップ)側からサポートセン
タに対する通信ネットワークを介したリクエストに応じ
て実行可能となり、バックアップストレージメディアを
送付することなく、リストア処理を実行することが可能
となる。
Note that the encrypted data: [Kb (SecData)] and the encryption key data: [Kps (Kb)] are not stored in the backup storage medium, and these data are directly transmitted to the support center to be sent to the support center. The backup data may be stored in the internal storage means in association with the user device ID or the security chip ID. With such a configuration, the restore process based on the backup data can be executed in response to a request from the user device (security chip) side to the support center via the communication network, without sending the backup storage medium. The restore process can be executed.

【0482】次に、図52を参照して、サポートセンタ
で実行するバックアップストレージメディアからのバッ
クアップデータの取得処理について説明する。サポート
センタでは、まず、ユーザサイトから送付されたバック
アップストレージメデイアに格納されたデータを読み出
す。読み出しデータは、バックアップ鍵(キー):Kb
で暗号化されたバックアップデータ:[Kb(SecD
ata)]と、バックアップ鍵(キー):Kbをサポー
トセンタの公開鍵:Kpsを用いて暗号化した暗号鍵デ
ータ:[Kps(Kb)]である。なお、前述したよう
に、サポートセンタ内の記憶手段にユーザデバイスI
D、またはセキュリティチップIDに対応させてバック
アップデータを保存した構成とした場合は、サポートセ
ンタは、ユーザサイトからのリストア処理リクエストに
基づいて、記憶手段からこれらのデータの読み出しを行
なう。
Next, with reference to FIG. 52, a process of acquiring backup data from a backup storage medium executed by the support center will be described. In the support center, first, the data stored in the backup storage medium sent from the user site is read. The read data is a backup key (key): Kb
Backup data encrypted with: [Kb (SecD
data)] and encryption key data: [Kps (Kb)] obtained by encrypting the backup key (key): Kb using the public key of the support center: Kps. As described above, the user device I is stored in the storage means in the support center.
When the backup data is stored in association with D or the security chip ID, the support center reads these data from the storage means based on the restore processing request from the user site.

【0483】サポートセンタは、データの読み出しの
後、まずサポートセンタの公開鍵:Kpsで暗号化した
バックアップ鍵(キー):Kbデータ:[Kps(K
b)]を、サポートセンタの公開鍵に対応する秘密鍵:
Kssで復号化処理を実行し、バックアップ鍵(キ
ー):Kbを取り出す。さらに、バックアップ鍵(キ
ー):Kbで暗号化されたバックアップデータ:[Kb
(SecData)]を、取り出したバックアップ鍵
(キー):Kbを適用して復号化処理を実行し、バック
アップデータ:SecDataを取り出す。
After reading the data, the support center first backup key (key) encrypted with the support center's public key: Kps: Kb data: [Kps (K
b)] is the private key corresponding to the public key of the support center:
The decryption process is executed with Kss, and the backup key (key): Kb is taken out. Furthermore, the backup data encrypted by the backup key (key): Kb: [Kb
(SecData)] is applied to the extracted backup key (key): Kb to execute the decryption process, and the backup data: SecData is extracted.

【0484】次に、図53を参照して、サポートセンタ
で実行するリストア処理のシーケンスについて説明す
る。図53は、左から、リストア処理によりデータを格
納する新たなユーザデバイスのセキュリティチップ制御
部、およびユーザデバイス制御部、サポートセンタサー
バ、さらに、属性証明書発行者である属性証明書認証局
(AA:Attribute Certificate Authority)の処理を
示している。なお、属性証明書発行局は、属性証明書を
発行する機関であり、例えばサービスプロバイダ内に構
成される。ここで属性証明書発行局は、ユーザデバイス
のセキュリティチップ内のメモリにサービスプロバイダ
管理領域を生成するための属性証明書である。
Next, with reference to FIG. 53, a sequence of restore processing executed at the support center will be described. FIG. 53 shows, from the left, a security chip control unit of a new user device that stores data by a restore process, a user device control unit, a support center server, and an attribute certificate authority (AA) that is an attribute certificate issuer. : Attribute Certificate Authority) processing. The attribute certificate issuing authority is an organization that issues attribute certificates, and is configured in, for example, a service provider. Here, the attribute certificate issuing authority is an attribute certificate for generating the service provider management area in the memory in the security chip of the user device.

【0485】前述したように、サービスプロバイダ管理
領域生成用の属性証明書は、サービスプロバイダがユー
ザデバイスのセキュリティチップ内のメモリにサービス
プロバイダ毎の管理領域を登録設定することを目的とし
て発行される属性証明書であり、属性情報フィールドに
は、サービスプロバイダ識別子(ID)、サービスプロ
バイダ・ネーム、処理態様:メモリ領域確保、領域サイ
ズ:メモリ領域のサイズ等が記録される。
As described above, the attribute certificate for generating the service provider management area is an attribute issued for the purpose of the service provider registering and setting the management area of each service provider in the memory in the security chip of the user device. This is a certificate, and in the attribute information field, a service provider identifier (ID), a service provider name, a processing mode: memory area reservation, area size: memory area size, etc. are recorded.

【0486】図53の処理シーケンスについて説明す
る。まず、(1)ユーザデバイス制御部からセキュリテ
ィチップ制御部に対してリストア処理要求が出力され
る。これは、サポートセンタのオペーレータによってユ
ーザデバイス側の入力部に対して実行するリストア処理
実行指示に基づいて行われる。
The processing sequence of FIG. 53 will be described. First, (1) the user device controller outputs a restore processing request to the security chip controller. This is performed based on the restore processing execution instruction executed by the operator of the support center for the input unit on the user device side.

【0487】セキュリティチップ制御部は、(2)ユー
ザデバイス制御部からリストア処理要求を受信すると、
(3)セキュリティチップとサービスプロバイダ間の相
互認証処理を実行する。この相互認証処理は、先に説明
した図16のTLS1.0処理または、その他の方式、
例えば公開鍵方式による相互認証処理として実行され
る。この相互認証処理においては、相互の公開鍵証明書
の検証がなされ、必要に応じてルート認証局(CA)ま
での公開鍵証明書が連鎖的に検証される。この認証処理
において、セキュリティチップと、サポートセンタはセ
ッション鍵(Kses)を共有する。相互認証が成立す
ると、次に、(4)セキュリティチップ制御部は、サポ
ートセンタに対してリストア処理要求を送信する。
When the security chip control unit (2) receives the restore processing request from the user device control unit,
(3) Perform mutual authentication processing between the security chip and the service provider. This mutual authentication processing is performed by the TLS1.0 processing of FIG. 16 described above or another method,
For example, it is executed as a mutual authentication process using a public key method. In this mutual authentication processing, mutual public key certificates are verified, and public key certificates up to the root certificate authority (CA) are verified in a chained manner, if necessary. In this authentication processing, the security chip and the support center share the session key (Kses). When mutual authentication is established, next, (4) the security chip controller sends a restore processing request to the support center.

【0488】サポートセンタは、セキュリティチップか
らのリストア処理要求を受信すると、(5)バックアッ
プデータの検索処理を行なう。これは、サポートセンタ
が、ユーザサイトからバックアップデータを受領済みで
あるか否かの確認として実行される。
Upon receiving the restore processing request from the security chip, the support center performs (5) backup data search processing. This is executed as confirmation of whether the support center has received backup data from the user site.

【0489】サポートセンタは、次に、(6)メモリ領
域確保用属性証明書(AC)の発行要求を属性証明書発
行局(者である)に対して送信する。(7)属性証明書
(AC)の発行要求を受信した属性証明書発行者である
属性証明書認証局(AA)は、メモリ領域確保用属性証
明書(AC)を生成する。なお、属性証明書(AC)
は、予め属性証明書認証局(AA)から発行を受けてお
いてもよい。
Next, the support center sends (6) a request to issue the memory area securing attribute certificate (AC) to the attribute certificate issuing authority (person). (7) The attribute certificate issuer (AA), which is the attribute certificate issuer that has received the attribute certificate (AC) issue request, generates a memory area securing attribute certificate (AC). Attribute certificate (AC)
May be issued in advance by the attribute certificate authority (AA).

【0490】メモリ領域確保用属性証明書は、属性情報
フィールドに、サービスプロバイダ識別子(ID)、サ
ービスプロバイダ・ネーム、処理態様:メモリ領域確
保、領域サイズ:メモリ領域のサイズ等が記録されたも
のであり、例えば各サービスプロバイダの管理の下に発
行される。従って、リストア処理が1つのサービスプロ
バイダ管理領域内のデータについてのみ実行される場合
は、1つのメモリ領域確保用属性証明書によりセキュリ
ティチップ制御部内のメモリに1つのサービスプロバイ
ダ管理領域が設定され、データのリストアが実行される
が、複数のサービスプロバイダ管理領域内のデータにつ
いてリストアを実行する場合は、複数のメモリ領域確保
用属性証明書の発行を受けて、セキュリティチップ制御
部内のメモリに複数のサービスプロバイダ管理領域を設
定した上で、各利用域についてデータ格納を行なうこと
になる。
The memory area securing attribute certificate has a service provider identifier (ID), service provider name, processing mode: memory area securing, area size: memory area size, etc. recorded in the attribute information field. Yes, and is issued under the control of each service provider, for example. Therefore, when the restore processing is executed only for the data in one service provider management area, one service provider management area is set in the memory in the security chip control unit by one memory area securing attribute certificate. However, when restoring data in multiple service provider management areas, multiple memory area securing attribute certificates are issued, and multiple services are stored in the memory in the security chip controller. After setting the provider management area, data is stored for each usage area.

【0491】(8)属性証明書発行者である属性証明書
認証局(AA)は、生成したメモリ領域確保用属性証明
書(AC)をサポートセンタサーバに送信する。サポー
トセンタは、属性証明書発行者である属性証明書認証局
(AA)からメモリ領域確保用属性証明書(AC)を受
信すると、(9)属性証明書、およびバックアップデー
タをセキュリティチップ制御部に送信する。バックアッ
プデータは、メモリ領域確保用属性証明書(AC)によ
って、セキュリティチップのメモリに確保されるサービ
スプロバイダ管理領域に格納するデータであり、例え
ば、サービスプロバイダ(SP)対応秘密鍵、サービス
プロバイダ(SP)対応ストレージ秘密鍵、外部管理情
報のハッシュ値、利用回数管理データ、認証情報、ユー
ザ情報等の各データである。
(8) The attribute certificate certificate authority (AA), which is the issuer of the attribute certificate, transmits the generated memory area securing attribute certificate (AC) to the support center server. When the support center receives the memory area securing attribute certificate (AC) from the attribute certificate issuer (AA) which is the issuer of the attribute certificate, (9) the attribute certificate and the backup data are sent to the security chip controller. Send. The backup data is data to be stored in the service provider management area secured in the memory of the security chip by the memory area securing attribute certificate (AC). For example, the backup data is a private key corresponding to the service provider (SP), a service provider (SP). ) Corresponding storage secret key, hash value of external management information, usage count management data, authentication information, user information, and other data.

【0492】(10)セキュリティチップ制御部は、サ
ポートセンタサーバからのメモリ領域確保用属性証明書
(AC)を受信すると、属性証明書の検証処理を実行す
る。検証処理には、フォーマット確認、署名検証処理が
含まれる。署名検証処理は、例えば先に説明した図20
の処理フローと同様のシーケンスに従って実行される。
(10) Upon receiving the memory area securing attribute certificate (AC) from the support center server, the security chip control unit executes the attribute certificate verification processing. The verification processing includes format confirmation and signature verification processing. The signature verification process is performed, for example, with reference to FIG.
It is executed according to the same sequence as the processing flow of.

【0493】さらに、必要に応じてセキュリティチップ
の制御部は、属性証明書(AC)内のAC保持者の公開
鍵証明書情報に従ってリンクする公開鍵証明書を取得し
て、公開鍵証明書の検証を行なうことが好ましい。例え
ば属性証明書(AC)の発行者の信頼度が不確かである
場合には、属性証明書(AC)の発行者の公開鍵証明書
の検証を行なうことによって、認証局の公開鍵証明書を
正当に有しているか否かの判定が可能となる。なお、公
開鍵証明書が前述したように階層構成をなしている場合
は、経路を上位に辿って連鎖的な検証を行ない、ルート
認証局(CA)の発行した公開鍵証明書の検証まで実行
することが好ましい。なお、この連鎖検証が必須の場合
もある。
Further, if necessary, the control unit of the security chip acquires the public key certificate linked according to the public key certificate information of the AC holder in the attribute certificate (AC), and acquires the public key certificate of the public key certificate. It is preferable to perform verification. For example, when the reliability of the issuer of the attribute certificate (AC) is uncertain, the public key certificate of the certificate authority is verified by verifying the public key certificate of the issuer of the attribute certificate (AC). It is possible to judge whether or not the user has it legally. If the public key certificate has a hierarchical structure as described above, the route is traced upward to perform chained verification, and the public key certificate issued by the root certification authority (CA) is also verified. Preferably. In some cases, this chain verification is essential.

【0494】(11)属性証明書の検証により、属性証
明書の改竄なしの判定が得られると、セキュリティチッ
プの制御部は、メモリ領域確保用属性証明書(AC)に
記録された条件に従って、セキュリティチップ内のメモ
リにサービスプロバイダ管理領域を設定する。(12)
さらに、セキュリティチップの制御部は、メモリに設定
されたサービスプロバイダ管理領域内にサポートセンタ
サーバから受信したバックアップデータを格納する。
(11) When the attribute certificate is verified to determine that the attribute certificate has not been tampered with, the control unit of the security chip follows the conditions recorded in the memory area securing attribute certificate (AC). Set the service provider management area in the memory in the security chip. (12)
Further, the control unit of the security chip stores the backup data received from the support center server in the service provider management area set in the memory.

【0495】以上の処理により、ユーザデバイスのセキ
ュリティチップのメモリに、メモリ領域確保用属性証明
書に記録された条件に従ってサービスプロバイダ管理領
域が確保され、確保されたサービスプロバイダ管理領域
にバックアップデータが格納される。なお、複数のサー
ビスプロバイダ管理領域に対応するバックアップデータ
のリストアを行なう場合は、複数のメモリ領域確保用属
性証明書の発行に基づいて同様の処理を繰り返し実行す
る。
Through the above processing, the service provider management area is secured in the memory of the security chip of the user device in accordance with the condition recorded in the memory area securing attribute certificate, and backup data is stored in the secured service provider management area. To be done. When restoring backup data corresponding to a plurality of service provider management areas, similar processing is repeatedly executed based on issuance of a plurality of memory area securing attribute certificates.

【0496】なお、上述の処理シーケンスの後、あるい
はその途中において、サポートセンタは、廃棄対象とな
る元のユーザデバイスのリボーク処理を実行する。さら
に、リストアを要求してきたユーザに対する課金処理を
実行してもよい。
After the above-mentioned processing sequence or during the processing sequence, the support center executes the revoke processing of the original user device to be discarded. Further, a billing process for the user who has requested the restoration may be executed.

【0497】[各エンティテイの構成]次に、上述した
コンテンツ利用管理システムを構成する各エンティテイ
の構成例について図を参照しながら、説明する。まずサ
ービスプロバイダからのコンテンツを受領するサービス
受領デバイスとしてのユーザデバイスの構成例を図54
を参照して説明する。
[Structure of Each Entity] Next, an example of the structure of each entity constituting the above-described content use management system will be described with reference to the drawings. First, a configuration example of a user device as a service receiving device that receives content from a service provider is shown in FIG.
Will be described with reference to.

【0498】ユーザデバイスはデータ処理、制御を実行
するCPU、サービスプロバイダ他と通信可能な通信手
段を備えたPC等のデータ処理手段によって実現するこ
とができる。図54にデバイスの構成例を示す。なお、
図54に示すデバイス構成例は1つの例であり、デバイ
スは、ここに示すべての機能を必ずしも備えることが要
求されるものではない。図54に示すCPU(Central p
rocessing Unit)501は、各種アプリケーションプロ
グラムや、OS(Operating System)を実行するプロセ
ッサである。ROM(Read-Only-Memory)502は、C
PU501が実行するプログラム、あるいは演算パラメ
ータとしての固定データを格納する。RAM(Random A
ccess Memory)503は、CPU501の処理において
実行されるプログラム、およびプログラム処理において
適宜変化するパラメータの格納エリア、ワーク領域とし
て使用される。
The user device can be realized by a data processing means such as a CPU for executing data processing and control, a PC having a communication means capable of communicating with other service providers and the like. FIG. 54 shows a configuration example of the device. In addition,
The device configuration example shown in FIG. 54 is one example, and the device is not necessarily required to have all the functions shown here. The CPU (Central p
A rocessing unit) 501 is a processor that executes various application programs and an OS (Operating System). ROM (Read-Only-Memory) 502 is C
A program executed by the PU 501 or fixed data as a calculation parameter is stored. RAM (Random A
The ccess memory) 503 is used as a storage area and a work area for programs executed in the processing of the CPU 501 and parameters that change appropriately in the program processing.

【0499】HDD504はハードディスクの制御を実
行し、ハードディスクに対する各種データ、プログラム
の格納処理および読み出し処理を実行する。セキュリテ
ィチップ512は、前述したように耐タンパ構造を持つ
構成であり、暗号処理に必要な鍵データ、アクセス許可
書の格納領域としてのメモリ、制御部を有する。
The HDD 504 controls the hard disk, and stores and reads various data and programs to and from the hard disk. The security chip 512 has a tamper-proof structure as described above, and has key data necessary for encryption processing, a memory as a storage area for an access permit, and a control unit.

【0500】バス510はPCI(Peripheral Compone
nt Interface)バス等により構成され、各モジュール、
入出力インタフェース511を介した各入手力装置との
データ転送を可能にしている。
The bus 510 is a PCI (Peripheral Compone)
nt Interface) bus etc., each module,
It enables data transfer with each acquisition device via the input / output interface 511.

【0501】入力部505は、例えばキーボード、ポイ
ンティングデバイス等によって構成され、CPU501
に各種のコマンド、データを入力するためにユーザによ
り操作される。出力部506は、例えばCRT、液晶デ
ィスプレイ等であり、各種情報をテキストまたはイメー
ジ等により表示する。
The input unit 505 is composed of, for example, a keyboard, a pointing device, etc., and has a CPU 501.
It is operated by the user to input various commands and data to. The output unit 506 is, for example, a CRT, a liquid crystal display, or the like, and displays various kinds of information by text or images.

【0502】通信部507はデバイスの接続したエンテ
ィテイ、例えばサービスプロバイダ等との通信処理を実
行し、CPU501の制御の下に、各記憶部から供給さ
れたデータ、あるいはCPU501によって処理された
データ、暗号化されたデータ等を送信したり、他エンテ
ィテイからのデータを受信する処理を実行する。
The communication unit 507 executes communication processing with an entity to which the device is connected, for example, a service provider or the like, and under the control of the CPU 501, data supplied from each storage unit or data processed by the CPU 501, an encryption code. The process of transmitting the converted data or the like or receiving the data from another entity is executed.

【0503】ドライブ508は、フロッピー(登録商
標)ディスク、CD−ROM(Compact Disc Read Only
Memory),MO(Magneto optical)ディスク,DVD(Dig
ital Versatile Disc)、磁気ディスク、半導体メモリな
どのリムーバブル記録媒体509の記録再生を実行する
ドライブであり、各リムーバブル記録媒体509からの
プログラムまたはデータ再生、リムーバブル記録媒体5
09に対するプログラムまたはデータ格納を実行する。
The drive 508 is a floppy (registered trademark) disk or a CD-ROM (Compact Disc Read Only).
Memory), MO (Magneto optical) disk, DVD (Dig
Ital Versatile Disc), a magnetic disk, a semiconductor memory, and the like, which is a drive for performing recording / reproduction of the removable recording medium 509. Reproduction of programs or data from each removable recording medium 509, removable recording medium 5
The program or data storage for 09 is executed.

【0504】各記憶媒体に記録されたプログラムまたは
データを読み出してCPU501において実行または処
理を行なう場合は、読み出したプログラム、データはイ
ンタフェース511、バス510を介して例えば接続さ
れているRAM503に供給される。
When the program or data recorded in each storage medium is read and executed or processed by the CPU 501, the read program or data is supplied to the connected RAM 503 via the interface 511 and the bus 510, for example. .

【0505】前述の説明内に含まれるユーザデバイスに
おける処理を実行するためのプログラムは例えばROM
502に格納されてCPU501によって処理される
か、あるいはハードディスクに格納されHDD504を
介してCPU501に供給されて実行される。
The program for executing the process in the user device included in the above description is, for example, the ROM
It is stored in 502 and processed by the CPU 501, or stored in a hard disk and supplied to the CPU 501 via the HDD 504 to be executed.

【0506】次に、本発明のシステムの構成エンティテ
イであるサービスプロバイダ、サポートセンタ、コンテ
ンツクリエータ、属性証明書発行局等の各エンティテイ
を構成するデータ処理装置の構成例について説明する。
これらのエンティテイは例えば図55に構成によって実
現することができる。なお、図55に示すデータ処理装
置構成例は1つの例であり、各エンティテイは、ここに
示すべての機能を必ずしも備えることが要求されるもの
ではない。
[0506] Next, a configuration example of a data processing device that constitutes each entity such as a service provider, a support center, a content creator, an attribute certificate issuing authority, and the like, which are configuration entities of the system of the present invention, will be described.
These entities can be realized by the configuration shown in FIG. 55, for example. The configuration example of the data processing device shown in FIG. 55 is one example, and each entity is not necessarily required to have all the functions shown here.

【0507】図55に示すCPU(Central processing
Unit)601は、各種アプリケーションプログラムや、
OS(Operating System)を実際に実行する。ROM
(Read-Only-Memory)602は、CPU601が実行す
るプログラム、あるいは演算パラメータとしての固定デ
ータを格納する。RAM(Random Access Memory)60
3は、CPU601の処理において実行されるプログラ
ム、およびプログラム処理において適宜変化するパラメ
ータの格納エリア、ワーク領域として使用される。HD
D604はハードディスクの制御を実行し、ハードディ
スクに対する各種データ、プログラムの格納処理および
読み出し処理を実行する。暗号処理手段605は、送信
データの暗号処理、復号化処理等を実行する。なお、こ
こでは、暗号処理手段を個別モジュールとした例を示し
たが、このような独立した暗号処理モジュールを設け
ず、例えば暗号処理プログラムをROM602に格納
し、CPU601がROM格納プログラムを読み出して
実行するように構成してもよい。
A CPU (Central processing) shown in FIG.
Unit) 601 is for various application programs,
An OS (Operating System) is actually executed. ROM
A (Read-Only-Memory) 602 stores a program executed by the CPU 601 or fixed data as a calculation parameter. RAM (Random Access Memory) 60
Reference numeral 3 is used as a storage area and a work area for programs executed in the processing of the CPU 601 and parameters that change appropriately in the program processing. HD
D604 controls the hard disk, and stores and reads various data and programs to and from the hard disk. The cryptographic processing unit 605 executes cryptographic processing, decryption processing, and the like of transmission data. Although an example in which the cryptographic processing means is an individual module is shown here, such an independent cryptographic processing module is not provided, and for example, the cryptographic processing program is stored in the ROM 602, and the CPU 601 reads and executes the ROM storage program. It may be configured to do so.

【0508】ドライブ606は、フロッピーディスク、
CD−ROM(Compact Disc Read Only Memory),MO
(Magneto optical)ディスク,DVD(Digital Versatil
e Disc)、磁気ディスク、半導体メモリなどのリムーバ
ブル記録媒体607の記録再生を実行するドライブであ
り、各リムーバブル記録媒体607からのプログラムま
たはデータ再生、リムーバブル記録媒体607に対する
プログラムまたはデータ格納を実行する。各記憶媒体に
記録されたプログラムまたはデータを読み出してCPU
601において実行または処理を行なう場合は、読み出
したプログラム、データはバス610を介して例えば接
続されているRAM603、通信部608、通信部60
9に供給される。
The drive 606 is a floppy disk,
CD-ROM (Compact Disc Read Only Memory), MO
(Magneto optical) Disc, DVD (Digital Versatil
e Disc), magnetic disk, semiconductor memory, or other drive that executes recording / reproduction of the removable recording medium 607, and executes reproduction of a program or data from each removable recording medium 607 and storage of a program or data in the removable recording medium 607. CPU by reading out the program or data recorded in each storage medium
When executing or processing in 601, the read program and data are, for example, the RAM 603, the communication unit 608, and the communication unit 60 that are connected via the bus 610.
9 is supplied.

【0509】通信部608、通信部609は、それぞれ
異なるエンティテイを通信相手として通信する処理を想
定して複数の通信部を設けた例を示している。例えばサ
ービスプロバイダであれば、一方はユーザデバイスとの
通信、他方はコンテンツクリエータとの通信処理に使用
される。各通信部を介して通信相手との相互認証、暗号
化データの送受信処理等が実行される。
The communication section 608 and the communication section 609 show an example in which a plurality of communication sections are provided on the assumption of a process of communicating with different entities as communication partners. For example, in the case of a service provider, one is used for communication with a user device and the other is used for communication processing with a content creator. Mutual authentication with a communication partner, transmission / reception processing of encrypted data, and the like are executed via each communication unit.

【0510】前述した説明内に含まれるサービスプロバ
イダ、サポートセンタ、コンテンツクリエータ、属性証
明書発行局を構成するデータ処理装置における各処理を
実行するためのプログラムは例えばROM602に格納
されてCPU601によって処理されるか、あるいはハ
ードディスクに格納されHDD604を介してCPU6
01に供給されて実行される。
A program for executing each process in the data processing device constituting the service provider, support center, content creator, and attribute certificate issuing authority included in the above description is stored in, for example, the ROM 602 and processed by the CPU 601. Stored in the hard disk, or the CPU 6 via the HDD 604.
01 to be executed.

【0511】以上、特定の実施例を参照しながら、本発
明について詳解してきた。しかしながら、本発明の要旨
を逸脱しない範囲で当業者が該実施例の修正や代用を成
し得ることは自明である。すなわち、例示という形態で
本発明を開示してきたのであり、限定的に解釈されるべ
きではない。本発明の要旨を判断するためには、冒頭に
記載した特許請求の範囲の欄を参酌すべきである。
The present invention has been described in detail above with reference to the specific embodiments. However, it is obvious that those skilled in the art can modify or substitute the embodiments without departing from the scope of the present invention. That is, the present invention has been disclosed in the form of exemplification, and should not be limitedly interpreted. In order to determine the gist of the present invention, the section of the claims described at the beginning should be taken into consideration.

【0512】なお、明細書中において説明した一連の処
理はハードウェア、またはソフトウェア、あるいは両者
の複合構成によって実行することが可能である。ソフト
ウェアによる処理を実行する場合は、処理シーケンスを
記録したプログラムを、専用のハードウェアに組み込ま
れたコンピュータ内のメモリにインストールして実行さ
せるか、あるいは、各種処理が実行可能な汎用コンピュ
ータにプログラムをインストールして実行させることが
可能である。
The series of processes described in the specification can be executed by hardware, software, or a combined configuration of both. When executing the processing by software, the program recording the processing sequence is installed in the memory in the computer incorporated in the dedicated hardware and executed, or the program is stored in a general-purpose computer capable of executing various processing. It can be installed and run.

【0513】例えば、プログラムは記録媒体としてのハ
ードディスクやROM(Read OnlyMemory)に予め記録し
ておくことができる。あるいは、プログラムはフロッピ
ーディスク、CD−ROM(Compact Disc Read Only Me
mory),MO(Magneto optical)ディスク,DVD(Digit
al Versatile Disc)、磁気ディスク、半導体メモリなど
のリムーバブル記録媒体に、一時的あるいは永続的に格
納(記録)しておくことができる。このようなリムーバ
ブル記録媒体は、いわゆるパッケージソフトウエアとし
て提供することができる。
For example, the program can be recorded in advance in a hard disk or a ROM (Read Only Memory) as a recording medium. Alternatively, the program may be a floppy disk, CD-ROM (Compact Disc Read Only Me
mory), MO (Magneto optical) disc, DVD (Digit
al Versatile Disc), magnetic disk, semiconductor memory, or other removable recording medium, which can be temporarily (or permanently) stored (recorded). Such a removable recording medium can be provided as so-called package software.

【0514】なお、プログラムは、上述したようなリム
ーバブル記録媒体からコンピュータにインストールする
他、ダウンロードサイトから、コンピュータに無線転送
したり、LAN(Local Area Network)、インターネット
といったネットワークを介して、コンピュータに有線で
転送し、コンピュータでは、そのようにして転送されて
くるプログラムを受信し、内蔵するハードディスク等の
記録媒体にインストールすることができる。
The program is installed in the computer from the removable recording medium as described above, is wirelessly transferred from the download site to the computer, or is wired to the computer via a network such as LAN (Local Area Network) or the Internet. Then, the computer can receive the program thus transferred and install it in a recording medium such as a built-in hard disk.

【0515】なお、明細書に記載された各種の処理は、
記載に従って時系列に実行されるのみならず、処理を実
行する装置の処理能力あるいは必要に応じて並列的にあ
るいは個別に実行されてもよい。また、本明細書におい
てシステムとは、複数の装置の論理的集合構成であり、
各構成の装置が同一筐体内にあるものには限らない。
The various processes described in the specification are as follows.
The processing may be executed not only in time series according to the description, but also in parallel or individually according to the processing capability of the device that executes the processing or the need. Further, the system in the present specification is a logical set configuration of a plurality of devices,
The devices of the respective configurations are not limited to being in the same housing.

【0516】[0516]

【発明の効果】以上、説明したように、本発明のコンテ
ンツ利用管理システム、コンテンツ利用管理方法、およ
び情報処理装置、並びにコンピュータ・プログラムによ
れば、暗号化コンテンツの配信を行ない、正規ユーザに
おいてのみコンテンツの利用を許容しようとするシステ
ムにおいて、コンテンツの利用権限証明書にコンテンツ
鍵を暗号化して格納し、配信する構成とし、正当なユー
ザにおいてのみ復号してコンテンツ鍵を取得可能な構成
としたので、ユーザのコンテンツ利用権限を、サービス
プロバイダ側でユーザ毎に管理することなく、正当なユ
ーザにおいてのみコンテンツ鍵を取得させることが可能
となる。
As described above, according to the content use management system, the content use management method, the information processing apparatus, and the computer program of the present invention, encrypted content is distributed, and only for authorized users. In a system that allows the usage of content, the content key is encrypted and stored in the content usage right certificate and distributed, and the content key can be decrypted and acquired by only a legitimate user. The content key can be acquired only by a legitimate user without managing the content usage authority of the user for each user on the service provider side.

【0517】さらに、本発明のコンテンツ利用管理シス
テム、コンテンツ利用管理方法、および情報処理装置、
並びにコンピュータ・プログラムによれば、暗号化コン
テンツの配信を行ない、正規ユーザにおいてのみコンテ
ンツの利用を許容しようとするシステムにおいて、コン
テンツの利用権限証明書にコンテンツ鍵を暗号化して格
納し、コンテンツ利用期間あるいは利用回数等のコンテ
ンツ利用条件を併せて格納して配信する構成とし、コン
テンツ鍵の復号化処理開始条件として、コンテンツ利用
条件を満足することを条件とした構成としたので、ユー
ザ毎に異なる様々なコンテンツ利用権限を、サービスプ
ロバイダ側でユーザ毎に管理することなく、正当なユー
ザにおいてのみ、各利用条件を満足する場合に限り、コ
ンテンツ鍵を取得させることが可能となる。
Furthermore, the content use management system, the content use management method, and the information processing device of the present invention,
Also, according to the computer program, in a system that distributes encrypted content and allows only authorized users to use the content, the content key is encrypted and stored in the content usage right certificate, and the content usage period is Alternatively, the content usage conditions such as the number of times of usage are also stored and distributed, and the content key decryption processing start condition is set to satisfy the content usage conditions, so that it is different for each user. It is possible to acquire a content key only for a legitimate user if each usage condition is satisfied, without managing the content usage authority for each user on the service provider side.

【0518】さらに、本発明のコンテンツ利用管理シス
テム、コンテンツ利用管理方法、および情報処理装置、
並びにコンピュータ・プログラムによれば、暗号化コン
テンツの配信を行ない、正規ユーザにおいてのみコンテ
ンツの利用を許容しようとするシステムにおいて、コン
テンツの利用権限証明書にコンテンツ鍵を暗号化して格
納し、コンテンツの利用に際し、サービスプロバイダと
接続を必要とするオンライン処理とするか、サービスプ
ロバイダとの接続を必要としないオフライン処理とする
かのコンテンツ利用条件を併せて格納して配信する構成
とし、コンテンツ鍵の復号化処理開始条件として、コン
テンツの利用権限証明書に記録されたオンライン処理ま
たはオフライン処理を実行する構成としたので、ユーザ
毎に異なる様々なコンテンツ利用権限を、サービスプロ
バイダ側でユーザ毎に管理することなく、正当なユーザ
においてのみ、各利用条件を満足する場合に限り、コン
テンツ鍵を取得させることが可能となる。
Furthermore, the content use management system, the content use management method, and the information processing device of the present invention,
Also, according to the computer program, in a system that distributes encrypted content and allows only regular users to use the content, the content key is encrypted and stored in the content usage right certificate, and the content is used. In this case, it is configured to store and deliver the content usage condition together with whether to perform online processing that requires connection with the service provider or offline processing that does not require connection with the service provider, and decrypt the content key. As the processing start condition is configured to execute online processing or offline processing recorded in the content usage right certificate, various content usage rights that differ for each user do not have to be managed for each user on the service provider side. , Only for legitimate users, each Only when satisfying the use conditions, it is possible to acquire the content key.

【0519】さらに、本発明のコンテンツ利用管理シス
テム、コンテンツ利用管理方法、および情報処理装置、
並びにコンピュータ・プログラムによれば、コンテンツ
利用権限証明書には、該コンテンツ利用権限証明書の発
行エンティテイの電子署名を付加し、コンテンツ鍵の復
号化処理を、電子署名の検証によりデータ改竄のないこ
との確認を条件として実行する構成としたので、不正な
証明書を偽造して不正なコンテンツの利用が行なわれる
可能性を排除できる。
Furthermore, the content use management system, the content use management method, and the information processing device of the present invention,
In addition, according to the computer program, the content usage right certificate is attached with the electronic signature of the issuing entity of the content usage right certificate, and the decryption process of the content key is not falsified by verifying the electronic signature. Since the configuration is performed on the condition that the confirmation is performed, it is possible to eliminate the possibility that an unauthorized certificate is forged and an unauthorized content is used.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のコンテンツ利用管理システム構成の概
要を説明する図である。
FIG. 1 is a diagram illustrating an outline of a content use management system configuration of the present invention.

【図2】本発明のコンテンツ利用管理システムにおいて
適用可能な公開鍵証明書のフォーマットを示す図であ
る。
FIG. 2 is a diagram showing a format of a public key certificate applicable in the content usage management system of the present invention.

【図3】本発明のコンテンツ利用管理システムにおいて
適用可能な公開鍵証明書のフォーマットを示す図であ
る。
FIG. 3 is a diagram showing a format of a public key certificate applicable in the content usage management system of the present invention.

【図4】本発明のコンテンツ利用管理システムにおいて
適用可能な公開鍵証明書のフォーマットを示す図であ
る。
FIG. 4 is a diagram showing a format of a public key certificate applicable in the content usage management system of the present invention.

【図5】本発明のコンテンツ利用管理システムにおいて
適用可能な権限情報証明書としての属性証明書のフォー
マットを示す図である。
FIG. 5 is a diagram showing a format of an attribute certificate as an authority information certificate applicable in the content use management system of the present invention.

【図6】ユーザデバイスにおけるセキュリティチップの
構成を示す構成図である。
FIG. 6 is a configuration diagram showing a configuration of a security chip in a user device.

【図7】ユーザデバイス内での処理対象となる主なデー
タを示す図である。
FIG. 7 is a diagram showing main data to be processed in a user device.

【図8】認証情報(パスワード)の初期登録処理シーケ
ンスを示す図である。
FIG. 8 is a diagram showing a sequence of initial registration processing of authentication information (password).

【図9】認証情報(パスワード)の変更処理シーケンス
を示す図である。
FIG. 9 is a diagram showing a change processing sequence of authentication information (password).

【図10】認証情報(パスワード)の変更処理シーケン
スを示す図である。
FIG. 10 is a diagram showing a change processing sequence of authentication information (password).

【図11】認証情報(パスワード)とマスタパスワード
との対応について説明する図である。
FIG. 11 is a diagram illustrating correspondence between authentication information (password) and a master password.

【図12】マスタパスワードの配布処理について説明す
る図である。
FIG. 12 is a diagram illustrating a master password distribution process.

【図13】マスタパスワードの再発行処理シーケンスを
示す図である。
FIG. 13 is a diagram showing a master password reissue processing sequence.

【図14】マスタパスワードの算出処理を示すフロー図
である。
FIG. 14 is a flowchart showing a master password calculation process.

【図15】属性証明書(AC)発行、コンテンツ受信処
理シーケンスを示す図である。
FIG. 15 is a diagram showing a sequence of issuing an attribute certificate (AC) and receiving a content.

【図16】相互認証処理の例であるTLS1.0ハンド
シェイクプロトコルのシーケンスを示す図である。
FIG. 16 is a diagram showing a sequence of a TLS1.0 handshake protocol which is an example of mutual authentication processing.

【図17】データ改竄検証に適用するMACの生成処理
を説明する図である。
FIG. 17 is a diagram illustrating a MAC generation process applied to data tampering verification.

【図18】属性証明書(AC)の発行処理シーケンスを
示す図である。
FIG. 18 is a diagram showing a sequence of issuing an attribute certificate (AC).

【図19】署名生成処理の例であるECDSA署名生成
手順を説明するフロー図である。
FIG. 19 is a flowchart illustrating an ECDSA signature generation procedure that is an example of signature generation processing.

【図20】署名検証処理の例であるECDSA署名検証
手順を説明するフロー図である。
FIG. 20 is a flowchart illustrating an ECDSA signature verification procedure that is an example of signature verification processing.

【図21】公開鍵証明書(PKC)と属性証明書(A
C)との関連付けについて説明する図である。
FIG. 21: Public key certificate (PKC) and attribute certificate (A
It is a figure explaining the association with C).

【図22】公開鍵証明書(PKC)の検証処理フローを
示す図である。
FIG. 22 is a diagram showing a verification processing flow of a public key certificate (PKC).

【図23】属性証明書(AC)の検証処理フロー(例
1)を示す図である。
FIG. 23 is a diagram showing a verification processing flow (example 1) of an attribute certificate (AC).

【図24】属性証明書(AC)の検証処理フロー(例
2)を示す図である。
FIG. 24 is a diagram showing a verification processing flow (example 2) of an attribute certificate (AC).

【図25】属性証明書(AC)を利用したコンテンツ利
用処理(オフライン)を説明するシーケンス図である。
FIG. 25 is a sequence diagram illustrating a content usage process (offline) using an attribute certificate (AC).

【図26】属性証明書(AC)を利用したコンテンツ利
用処理(オンライン)を説明するシーケンス図である。
FIG. 26 is a sequence diagram illustrating a content usage process (online) using an attribute certificate (AC).

【図27】グローバル共通鍵によるコンテンツ鍵の暗号
化データを格納した属性証明書(AC)を利用したコン
テンツ利用処理(オフライン)を説明する図である。
FIG. 27 is a diagram illustrating a content usage process (offline) using an attribute certificate (AC) that stores encrypted data of a content key with a global common key.

【図28】グローバル共通鍵の更新処理を説明するシー
ケンス図である。
FIG. 28 is a sequence diagram illustrating a global common key update process.

【図29】グローバル共通鍵の更新処理を説明するシー
ケンス図である。
FIG. 29 is a sequence diagram illustrating a global common key update process.

【図30】デコーダを用いた復号化処理について説明す
る図である。
[Fig. 30] Fig. 30 is a diagram for describing decoding processing using a decoder.

【図31】デコーダを用いた復号化処理シーケンスにつ
いて説明する図である。
FIG. 31 is a diagram illustrating a decoding processing sequence using a decoder.

【図32】デコーダを用いた復号化処理フローについて
説明する図である。
[Fig. 32] Fig. 32 is a diagram describing a decoding process flow using a decoder.

【図33】ユーザデバイス側における属性証明書(A
C)の適用処理を説明するフロー図である。
FIG. 33 is an attribute certificate (A
It is a flowchart explaining the application process of C).

【図34】属性証明書(AC)を利用したオンライン期
間制限コンテンツの利用処理を説明するシーケンス図で
ある。
[Fig. 34] Fig. 34 is a sequence diagram illustrating a process of using online period restricted content using an attribute certificate (AC).

【図35】属性証明書(AC)を利用したオンライン回
数制限コンテンツの利用処理を説明するシーケンス図で
ある。
[Fig. 35] Fig. 35 is a sequence diagram illustrating a process of using online limited content using an attribute certificate (AC).

【図36】属性証明書(AC)を利用したオフライン買
い切りコンテンツの利用処理を説明するシーケンス図で
ある。
[Fig. 36] Fig. 36 is a sequence diagram illustrating a process of using off-line purchase-out content using an attribute certificate (AC).

【図37】オフライン回数制限コンテンツに対応する利
用回数管理データのインポート処理を説明する図であ
る。
FIG. 37 is a diagram illustrating an import process of usage count management data corresponding to offline count restricted content.

【図38】オフライン回数制限コンテンツに対応する利
用回数管理データのデータ構成例を示す図である。
[Fig. 38] Fig. 38 is a diagram illustrating a data configuration example of usage count management data corresponding to offline count restricted content.

【図39】オフライン回数制限コンテンツに対応する利
用回数管理データのインポート処理を説明するフロー図
である。
[Fig. 39] Fig. 39 is a flowchart illustrating an import process of usage count management data corresponding to offline count restricted content.

【図40】オフライン回数制限コンテンツに対応するハ
ッシュ値管理型の利用回数管理データのインポート処理
を説明する図である。
FIG. 40 is a diagram illustrating an import process of hash value management type usage count management data corresponding to offline count restricted content.

【図41】オフライン回数制限コンテンツに対応するハ
ッシュ値管理型の利用回数管理データのインポート処理
を説明するフロー図である。
FIG. 41 is a flowchart illustrating an import process of hash value management type usage count management data corresponding to offline count restricted content.

【図42】オフライン回数制限コンテンツの属性証明書
を適用したコンテンツ利用処理を説明する図である。
[Fig. 42] Fig. 42 is a diagram for describing content usage processing to which an attribute certificate of offline-number-restricted content is applied.

【図43】オフライン回数制限コンテンツに対応する回
数管理データの更新処理を説明する図である。
[Fig. 43] Fig. 43 is a diagram for describing a process of updating the number-of-times management data corresponding to the offline number-of-times limited content.

【図44】オフライン回数制限コンテンツに対応するハ
ッシュ値管理型の回数管理データの更新処理を説明する
図である。
FIG. 44 is a diagram illustrating an update process of hash value management type count management data corresponding to offline count restricted content.

【図45】オンライン期間制限属性証明書をベースとし
て適用したアップグレード処理を説明する図である。
[Fig. 45] Fig. 45 is a diagram illustrating an upgrade process applied based on an online period limitation attribute certificate.

【図46】オンライン回数制限属性証明書をベースとし
て適用したアップグレード処理を説明する図である。
[Fig. 46] Fig. 46 is a diagram for describing an upgrade process applied based on an online number limit attribute certificate.

【図47】オフライン回数制限属性証明書をベースとし
て適用したアップグレード処理を説明する図である。
[Fig. 47] Fig. 47 is a diagram for describing an upgrade process applied based on an off-line count limit attribute certificate.

【図48】アルバム購入型のアップグレード処理を説明
する図である。
FIG. 48 is a diagram illustrating an album purchase type upgrade process.

【図49】サポートセンタによるデータリストア処理の
概要を説明する図である。
[Fig. 49] Fig. 49 is a diagram illustrating an outline of a data restore process by a support center.

【図50】サポートセンタによるデータリストア処理の
処理シーケンス概要を説明する図である。
FIG. 50 is a diagram illustrating an outline of a processing sequence of data restoration processing by a support center.

【図51】ユーザデバイス側で実行するデータバックア
ップ処理シーケンスを説明する図である。
FIG. 51 is a diagram illustrating a data backup processing sequence executed on the user device side.

【図52】サポートセンタによるバックアップデータ読
み出し処理の概要を説明する図である。
[Fig. 52] Fig. 52 is a diagram for describing the outline of the backup data read processing by the support center.

【図53】サポートセンタによるデータリストア処理シ
ーケンスを説明する図である。
FIG. 53 is a diagram illustrating a data restore processing sequence by the support center.

【図54】ユーザデバイスの構成例を示す図である。FIG. 54 is a diagram showing a configuration example of a user device.

【図55】サービスプロバイダ、サポートセンタ、コン
テンツクリエータ等の各エンティテイの構成例を示す図
である。
[Fig. 55] Fig. 55 is a diagram illustrating a configuration example of each entity such as a service provider, a support center, and a content creator.

【符号の説明】[Explanation of symbols]

101 ユーザデバイス 102 サービスプロバイダ 103 コンテンツクリエータ 104 ユーザデバイス製造者 105 サポートセンタ 106 認証局 110 属性証明書 200 ユーザデバイス 201 CPU (Central processing Unit) 202 インタフェース 203 ROM(Read-Only-Memory) 204 RAM(Random Access Memory) 205 暗号処理部 206 メモリ部 210 セキュリティチップ 221 ユーザデバイス側制御部 222 外部メモリ部 280 デコーダ 301 システムホルダ 302 サービスプロバイダ 303 コンテンツクリエータ 304 ユーザデバイス 410 ユーザデバイス 411 セキュリティチップ 421 記憶手段 422 ストレージメディア 430 ユーザデバイス 450 サポートセンタ 470 ユーザデバイス 471 ストレージメディア 472 ユーザデバイス 475 サポートセンタ 501 CPU (Central processing Unit) 502 ROM(Read-Only-Memory) 503 RAM(Random Access Memory) 504 HDD 505 入力部 506 出力部 507 通信部 508 ドライブ 509 リムーバブル記録媒体 510 バス 511 入出力インタフェース 512 セキュリティチップ 601 CPU(Central processing Unit) 602 ROM(Read-Only-Memory) 603 RAM(Random Access Memory) 604 HDD 605 暗号処理手段 606 ドライブ 607 リムーバブル記録媒体 608,609 通信部 610 バス 101 user device 102 Service Provider 103 Content Creator 104 User device manufacturer 105 Support Center 106 Certificate Authority 110 attribute certificate 200 user devices 201 CPU (Central processing Unit) 202 interface 203 ROM (Read-Only-Memory) 204 RAM (Random Access Memory) 205 Cryptographic processing unit 206 memory 210 security chip 221 User device side control unit 222 External memory unit 280 decoder 301 system holder 302 Service Provider 303 Content Creator 304 user device 410 User device 411 security chip 421 storage means 422 storage media 430 user device 450 Support Center 470 user device 471 storage media 472 user device 475 Support Center 501 CPU (Central processing Unit) 502 ROM (Read-Only-Memory) 503 RAM (Random Access Memory) 504 HDD 505 Input section 506 Output section 507 Communication unit 508 drive 509 Removable recording medium 510 bus 511 I / O interface 512 security chip 601 CPU (Central processing Unit) 602 ROM (Read-Only-Memory) 603 RAM (Random Access Memory) 604 HDD 605 Cryptographic processing means 606 drive 607 Removable recording medium 608,609 Communication unit 610 bus

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04L 9/00 601A (72)発明者 島田 昇 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 岡 誠 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 5J104 AA07 AA09 AA16 EA01 EA05 EA06 EA18 EA19 KA02 KA06 MA05 NA02 NA03 NA12 NA35 NA36 NA37 NA42 PA05 PA07─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04L 9/00 601A (72) Inventor Noboru Shimada 6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Sony stock In-house (72) Inventor Makoto Oka 6-35 Kita-Shinagawa, Shinagawa-ku, Tokyo F-term (reference) within Sony Corporation 5J104 AA07 AA09 AA16 EA01 EA05 EA06 EA18 EA19 KA02 KA06 MA05 NA02 NA03 NA12 NA35 NA36 NA37 NA42 PA05 PA07

Claims (34)

【特許請求の範囲】[Claims] 【請求項1】コンテンツ鍵:Kcにより暗号化されたコ
ンテンツの利用を行なうユーザデバイスと、 前記コンテンツ鍵:Kcを暗号化した暗号化コンテンツ
鍵を格納したコンテンツ利用権限証明書をユーザデバイ
スに対して配信するサービスプロバイダとを有し、 前記ユーザデバイスは、前記サービスプロバイダから受
信したコンテンツ利用権限証明書に格納された暗号化コ
ンテンツ鍵に対するユーザデバイス内の格納鍵を適用し
た復号化処理、または前記サービスプロバイダにおける
復号化処理のいずれかの復号化処理を実行することによ
りコンテンツ鍵:Kcを取得し、取得したコンテンツ
鍵:Kcを適用した暗号化コンテンツの復号化処理を実
行してコンテンツを取得する構成を有することを特徴と
するコンテンツ利用管理システム。
1. A user device that uses content encrypted with a content key: Kc, and a content usage authorization certificate that stores an encrypted content key obtained by encrypting the content key: Kc, to the user device. A service provider for distribution, wherein the user device applies a storage key in the user device to the encrypted content key stored in the content usage right certificate received from the service provider, or the service A configuration in which the content key: Kc is acquired by executing one of the decryption processes of the provider, and the decryption process of the encrypted content to which the acquired content key: Kc is applied is executed to obtain the content. Content use management system characterized by having
【請求項2】前記コンテンツ利用権限証明書には、コン
テンツ利用条件が記録され、 前記ユーザデバイスは、前記コンテンツ利用条件を満足
するコンテンツ利用であるか否かの判定処理を実行し、
前記コンテンツ利用権限証明書に記録されたコンテンツ
利用条件を満足するコンテンツ利用であることを条件と
して、前記コンテンツ利用権限証明書に格納された暗号
化コンテンツ鍵についての、ユーザデバイス内の格納鍵
を適用した復号化処理を実行する構成であることを特徴
とする請求項1に記載のコンテンツ利用管理システム。
2. A content use condition is recorded in the content use authority certificate, and the user device executes a process of determining whether or not the content is used that satisfies the content use condition,
The storage key in the user device for the encrypted content key stored in the content usage right certificate is applied, provided that the content usage satisfies the content usage condition recorded in the content usage right certificate. The content use management system according to claim 1, wherein the content use management system is configured to execute the decryption process.
【請求項3】前記コンテンツ利用権限証明書には、コン
テンツ利用条件が記録され、 前記サービスプロバイダは、前記コンテンツ利用条件を
満足するコンテンツ利用であるか否かの判定処理を実行
し、前記コンテンツ利用権限証明書に記録されたコンテ
ンツ利用条件を満足するコンテンツ利用であることを条
件として、前記コンテンツ利用権限証明書に格納された
暗号化コンテンツ鍵についての復号化処理を実行する構
成であることを特徴とする請求項1に記載のコンテンツ
利用管理システム。
3. The content usage authorization is recorded in the content usage authorization certificate, and the service provider executes a process of determining whether or not the content usage satisfies the content usage condition. The configuration is such that decryption processing is performed on the encrypted content key stored in the content usage authorization certificate, provided that the content usage satisfies the content usage conditions recorded in the authorization certificate. The content use management system according to claim 1.
【請求項4】前記ユーザデバイス内のメモリには、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵の復号用の鍵を格納したサービスプロバイダ毎
の管理領域が設定登録され、ユーザデバイスは、前記復
号用の鍵を適用して、前記コンテンツ利用権限証明書に
格納された暗号化コンテンツ鍵の復号化処理を実行して
コンテンツ鍵:Kcを取得する構成であることを特徴と
する請求項1に記載のコンテンツ利用管理システム。
4. A management area for each service provider storing a key for decrypting the encrypted content key stored in the content usage right certificate is set and registered in the memory in the user device, and the user device is The content key: Kc is obtained by applying the decryption key to decrypt the encrypted content key stored in the content usage right certificate. The content usage management system described in 1.
【請求項5】前記ユーザデバイス内のメモリには、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵の復号用の鍵として、サービスプロバイダ対応
秘密鍵を格納したサービスプロバイダ毎の管理領域が設
定登録され、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵は、前記サービスプロバイダ対応秘密鍵に対応
して生成された公開鍵によって暗号化された暗号化コン
テンツ鍵であり、 前記ユーザデバイスは、前記サービスプロバイダ対応秘
密鍵を適用して、前記コンテンツ利用権限証明書に格納
された暗号化コンテンツ鍵の復号化処理を実行してコン
テンツ鍵:Kcを取得する構成であることを特徴とする
請求項1に記載のコンテンツ利用管理システム。
5. A management area for each service provider storing a secret key corresponding to a service provider as a key for decrypting the encrypted content key stored in the content usage right certificate, in the memory in the user device. The encrypted content key set and registered and stored in the content usage right certificate is an encrypted content key encrypted by a public key generated corresponding to the service provider-compatible secret key, and the user device Is configured to apply the service-provider-corresponding private key and execute a decryption process of the encrypted content key stored in the content usage right certificate to obtain the content key: Kc. The content use management system according to claim 1.
【請求項6】前記ユーザデバイス内のメモリには、 サービスプロバイダとの相互認証に必要な認証処理適用
データを格納したサービスプロバイダ毎の管理領域が設
定登録され、ユーザデバイスは、前記認証処理適用デー
タを取得してサービスプロバイダとの認証を実行し、前
記コンテンツ利用権限証明書を前記サービスプロバイダ
に送付して、サービスプロバイダによる暗号化コンテン
ツ鍵の復号化処理によりコンテンツ鍵:Kcを取得する
構成であることを特徴とする請求項1に記載のコンテン
ツ利用管理システム。
6. A management area for each service provider storing authentication processing application data necessary for mutual authentication with a service provider is set and registered in a memory in the user device, and the user device stores the authentication processing application data. Is obtained, authentication with the service provider is performed, the content usage right certificate is sent to the service provider, and the content key: Kc is obtained by decryption processing of the encrypted content key by the service provider. The content use management system according to claim 1, wherein:
【請求項7】前記コンテンツ利用権限証明書に格納され
た暗号化コンテンツ鍵は、サービスプロバイダの保有す
る共通鍵方式の鍵によって暗号化された暗号化コンテン
ツ鍵であり、 前記サービスプロバイダは、ユーザデバイスから、前記
コンテンツ利用権限証明書を受信し、受信したコンテン
ツ利用権限証明書に格納された暗号化コンテンツ鍵に対
して、前記サービスプロバイダの保有する共通鍵方式の
鍵を適用した復号化処理を実行することによりコンテン
ツ鍵:Kcを取得し、取得したコンテンツ鍵:Kcをユ
ーザデバイスに送付する構成であることを特徴とする請
求項1に記載のコンテンツ利用管理システム。
7. The encrypted content key stored in the content usage right certificate is an encrypted content key encrypted by a common key system key held by a service provider, and the service provider is a user device. From the content usage right certificate, and executes the decryption process by applying the common key system key held by the service provider to the encrypted content key stored in the received content usage right certificate. The content use management system according to claim 1, wherein the content key: Kc is acquired by performing the operation, and the acquired content key: Kc is transmitted to the user device.
【請求項8】前記コンテンツ利用権限証明書は、コンテ
ンツ利用条件として、 サービスプロバイダにおける利用権限判定処理を必須条
件とするオンライン利用処理、または、サービスプロバ
イダにおける利用権限判定処理を不要とするオフライン
利用処理のいずれかを設定したデータを有し、ユーザデ
バイスはコンテンツ利用に際して、前記コンテンツ利用
権限証明書に記録されたコンテンツ利用条件としてのオ
ンライン利用またはオフライン利用を選択的に実行する
構成であることを特徴とする請求項1に記載のコンテン
ツ利用管理システム。
8. The content usage right certificate is an online usage process that requires a usage right judgment process at a service provider as a content usage condition or an offline usage process that does not require a usage right judgment process at a service provider. The user device is configured to selectively execute online use or offline use as the content use condition recorded in the content use right certificate when using the content. The content use management system according to claim 1.
【請求項9】前記コンテンツ利用権限証明書は、コンテ
ンツ利用条件として、 コンテンツ利用期間を制限した期間制限、コンテンツ利
用回数を制限した回数制限、利用制限の無い買い切りの
いずれかを設定したデータを有し、ユーザデバイスはコ
ンテンツ利用に際して、前記コンテンツ利用権限証明書
に記録されたコンテンツ利用条件としての期間制限、ま
たは回数制限、または買い切りに応じて、コンテンツ利
用が利用条件を満足するか否かの判定処理を実行し、利
用条件を満足することを条件として前記コンテンツ利用
権限証明書に格納された暗号化コンテンツ鍵の復号化処
理を実行してコンテンツ鍵:Kcを取得する構成である
ことを特徴とする請求項1に記載のコンテンツ利用管理
システム。
9. The content usage authorization certificate has data that sets, as content usage conditions, any one of a content usage period limited period limit, a content usage number limited number limit, and a purchase limit without usage limitation. When the content is used, the user device determines whether or not the content usage satisfies the usage condition according to the time limit or the number of times as the content usage condition recorded in the content usage right certificate, or the purchase limit. The content key: Kc is obtained by executing a process and performing a decryption process of the encrypted content key stored in the content use authority certificate on condition that the use condition is satisfied. The content use management system according to claim 1.
【請求項10】前記コンテンツ利用権限証明書は、該コ
ンテンツ利用権限証明書の発行エンティテイの電子署名
が付加された構成であり、前記コンテンツ利用権限証明
書内の暗号化コンテンツ鍵の復号化処理は、前記電子署
名の検証によりデータ改竄のないことの確認を条件とし
て実行する構成であることを特徴とする請求項1に記載
のコンテンツ利用管理システム。
10. The content usage right certificate has a structure to which a digital signature of an issuing entity of the content usage right certificate is added, and a decryption process of an encrypted content key in the content usage right certificate is performed. The content usage management system according to claim 1, wherein the content usage management system is configured to be executed on condition that there is no data tampering by verifying the electronic signature.
【請求項11】前記コンテンツ利用権限証明書は、該コ
ンテンツ利用権限証明書に対応する公開鍵証明書に関す
るリンク情報を格納した構成であり、前記コンテンツ利
用権限証明書内の暗号化コンテンツ鍵の復号化処理は、
前記リンク情報によって取得される公開鍵証明書の検証
により、該コンテンツ利用権限証明書の正当性確認を条
件として実行する構成であることを特徴とする請求項1
に記載のコンテンツ利用管理システム。
11. The content usage right certificate is configured to store link information related to a public key certificate corresponding to the content usage right certificate, and decrypts an encrypted content key in the content usage right certificate. The conversion process is
2. The configuration is such that the public key certificate obtained from the link information is verified, and the validity of the content usage right certificate is checked on condition.
Content usage management system described in.
【請求項12】前記コンテンツ利用権限証明書は、属性
証明書認証局の発行する属性証明書であり、 前記暗号化コンテンツ鍵は、属性証明書中の属性情報フ
ィールドに格納された構成であることを特徴とする請求
項1に記載のコンテンツ利用管理システム。
12. The content usage authority certificate is an attribute certificate issued by an attribute certificate certificate authority, and the encrypted content key is stored in an attribute information field in the attribute certificate. The content usage management system according to claim 1.
【請求項13】前記コンテンツ利用権限証明書は、属性
証明書認証局の発行する属性証明書であり、 属性証明書中の属性情報フィールドに、コンテンツの利
用条件を格納した構成であることを特徴とする請求項1
に記載のコンテンツ利用管理システム。
13. The content use authority certificate is an attribute certificate issued by an attribute certificate certificate authority, and has a structure in which content use conditions are stored in an attribute information field in the attribute certificate. Claim 1
Content usage management system described in.
【請求項14】コンテンツ鍵:Kcにより暗号化された
コンテンツの利用を行なう情報処理装置であり、 前記コンテンツ鍵:Kcを暗号化した暗号化コンテンツ
鍵を格納したコンテンツ利用権限証明書をサービスプロ
バイダから受信し、 受信コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵についての情報処理装置内の格納鍵を適用した
復号化処理、または、前記サービスプロバイダに対する
前記コンテンツ利用権限証明書の送付による前記サービ
スプロバイダにおける復号化処理によりコンテンツ鍵:
Kcを取得し、取得したコンテンツ鍵:Kcを適用した
暗号化コンテンツの復号化処理を実行してコンテンツを
取得する構成を有することを特徴とする情報処理装置。
14. An information processing device for using content encrypted by a content key: Kc, wherein a content provider authorization certificate storing an encrypted content key obtained by encrypting the content key: Kc is sent from a service provider. Decryption processing for receiving the encrypted content key stored in the received content usage right certificate by applying the storage key in the information processing device, or the service by sending the content usage right certificate to the service provider Content key by decryption processing at the provider:
An information processing apparatus having a configuration of acquiring Kc and executing a decryption process of encrypted content to which the acquired content key: Kc is applied to acquire the content.
【請求項15】前記コンテンツ利用権限証明書には、コ
ンテンツ利用条件が記録され、 前記情報処理装置は、前記コンテンツ利用条件を満足す
るコンテンツ利用であるか否かの判定処理を実行し、前
記コンテンツ利用権限証明書に記録されたコンテンツ利
用条件を満足するコンテンツ利用であることを条件とし
て、前記コンテンツ利用権限証明書に格納された暗号化
コンテンツ鍵についての情報処理装置内の格納鍵を適用
した復号化処理を実行する構成であることを特徴とする
請求項14に記載の情報処理装置。
15. The content usage authorization is recorded in the content usage authorization certificate, and the information processing apparatus executes a determination process as to whether or not the content is used to satisfy the content usage condition. Decryption by applying the storage key in the information processing device for the encrypted content key stored in the content usage right certificate, provided that the content usage satisfies the content usage condition recorded in the usage right certificate 15. The information processing apparatus according to claim 14, wherein the information processing apparatus is configured to execute a digitization process.
【請求項16】前記情報処理装置内のメモリには、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵の復号用の鍵を格納したサービスプロバイダ毎
の管理領域が設定登録され、 前記情報処理装置は、前記復号用の鍵を適用して、前記
コンテンツ利用権限証明書に格納された暗号化コンテン
ツ鍵の復号化処理を実行してコンテンツ鍵:Kcを取得
する構成であることを特徴とする請求項14に記載の情
報処理装置。
16. A management area for each service provider, which stores a key for decrypting the encrypted content key stored in the content usage right certificate, is set and registered in the memory of the information processing apparatus, and the information is stored. The processing device is configured to apply the decryption key, perform decryption processing of the encrypted content key stored in the content usage right certificate, and acquire the content key: Kc. The information processing apparatus according to claim 14, wherein
【請求項17】前記情報処理装置内のメモリには、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵の復号用の鍵として、サービスプロバイダ対応
秘密鍵を格納したサービスプロバイダ毎の管理領域が設
定登録され、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵は、前記サービスプロバイダ対応秘密鍵に対応
して生成された公開鍵によって暗号化された暗号化コン
テンツ鍵であり、 前記情報処理装置は、前記サービスプロバイダ対応秘密
鍵を適用して、前記コンテンツ利用権限証明書に格納さ
れた暗号化コンテンツ鍵の復号化処理を実行してコンテ
ンツ鍵:Kcを取得する構成であることを特徴とする請
求項14に記載の情報処理装置。
17. A management area for each service provider that stores a private key corresponding to a service provider as a key for decrypting the encrypted content key stored in the content usage authority certificate, in the memory of the information processing device. Is set and registered, and the encrypted content key stored in the content usage right certificate is an encrypted content key encrypted by a public key generated corresponding to the service provider-compatible secret key, and the information The processing device is configured to apply the private key corresponding to the service provider and execute a decryption process of the encrypted content key stored in the content usage right certificate to obtain the content key: Kc. The information processing device according to claim 14.
【請求項18】前記情報処理装置内のメモリには、 サービスプロバイダとの相互認証に必要な認証処理適用
データを格納したサービスプロバイダ毎の管理領域が設
定登録され、 前記情報処理装置は、前記認証処理適用データを取得し
てサービスプロバイダとの認証を実行し、前記コンテン
ツ利用権限証明書を前記サービスプロバイダに送付し
て、サービスプロバイダによる暗号化コンテンツ鍵の復
号化処理によりコンテンツ鍵:Kcを取得する構成であ
ることを特徴とする請求項14に記載の情報処理装置。
18. A management area for each service provider storing authentication processing application data required for mutual authentication with a service provider is set and registered in a memory in the information processing apparatus, and the information processing apparatus is configured to perform the authentication. The processing application data is acquired, authentication with the service provider is performed, the content usage right certificate is sent to the service provider, and the content key: Kc is acquired by the decryption processing of the encrypted content key by the service provider. The information processing apparatus according to claim 14, which is configured.
【請求項19】前記コンテンツ利用権限証明書は、コン
テンツ利用条件として、 サービスプロバイダにおける利用権限判定処理を必須条
件とするオンライン利用処理、または、サービスプロバ
イダにおける利用権限判定処理を不要とするオフライン
利用処理のいずれかを設定したデータを有し、 前記情報処理装置は、コンテンツ利用に際して、前記コ
ンテンツ利用権限証明書に記録されたコンテンツ利用条
件としてのオンライン利用またはオフライン利用を選択
的に実行する構成であることを特徴とする請求項14に
記載の情報処理装置。
19. The content usage right certificate is an online usage process that requires a usage right judgment process in a service provider as a content usage condition or an offline usage process that does not require a usage right judgment process in a service provider. The information processing device is configured to selectively execute online use or offline use as the content use condition recorded in the content use right certificate when using the content. The information processing device according to claim 14, wherein
【請求項20】前記コンテンツ利用権限証明書は、コン
テンツ利用条件として、 コンテンツ利用期間を制限した期間制限、コンテンツ利
用回数を制限した回数制限、利用制限の無い買い切りの
いずれかを設定したデータを有し、 前記情報処理装置はコンテンツ利用に際して、前記コン
テンツ利用権限証明書に記録されたコンテンツ利用条件
としての期間制限、または回数制限、または買い切りに
応じて、コンテンツ利用が利用条件を満足するか否かの
判定処理を実行し、利用条件を満足することを条件とし
て前記コンテンツ利用権限証明書に格納された暗号化コ
ンテンツ鍵の復号化処理を実行してコンテンツ鍵:Kc
を取得する構成であることを特徴とする請求項14に記
載の情報処理装置。
20. The content usage authorization certificate includes data in which, as content usage conditions, any one of a content usage period limited period restriction, a content usage number limited number of times restriction, and a purchase limitation without usage limitation is set. When the content is used, the information processing apparatus determines whether the content usage satisfies the usage condition according to the period limit or the number of times as the content usage condition recorded in the content usage right certificate or the purchase limit. The content key: Kc is executed by executing the determination process of No. 1 and performing the decryption process of the encrypted content key stored in the content usage right certificate on condition that the usage condition is satisfied.
15. The information processing apparatus according to claim 14, wherein the information processing apparatus is configured to acquire.
【請求項21】前記コンテンツ利用権限証明書は、該コ
ンテンツ利用権限証明書の発行エンティテイの電子署名
が付加された構成であり、前記コンテンツ利用権限証明
書内の暗号化コンテンツ鍵の復号化処理は、前記電子署
名の検証によりデータ改竄のないことの確認を条件とし
て実行する構成であることを特徴とする請求項14に記
載の情報処理装置。
21. The content usage right certificate has a configuration in which a digital signature of an issuing entity of the content usage right certificate is added, and a decryption process of an encrypted content key in the content usage right certificate is performed. The information processing apparatus according to claim 14, wherein the information processing apparatus is configured to be executed on condition that confirmation of no data tampering is performed by verifying the electronic signature.
【請求項22】前記コンテンツ利用権限証明書は、該コ
ンテンツ利用権限証明書に対応する公開鍵証明書に関す
るリンク情報を格納した構成であり、前記コンテンツ利
用権限証明書内の暗号化コンテンツ鍵の復号化処理は、
前記リンク情報によって取得される公開鍵証明書の検証
により、該コンテンツ利用権限証明書の正当性確認を条
件として実行する構成であることを特徴とする請求項1
4に記載の情報処理装置。
22. The content usage right certificate has a structure in which link information related to a public key certificate corresponding to the content usage right certificate is stored, and the encrypted content key in the content usage right certificate is decrypted. The conversion process is
2. The configuration is such that the public key certificate obtained from the link information is verified, and the validity of the content usage right certificate is checked on condition.
4. The information processing device according to item 4.
【請求項23】暗号化コンテンツの復号化処理によるコ
ンテンツ利用の管理を行なうコンテンツ利用管理方法で
あり、 コンテンツ鍵:Kcにより暗号化されたコンテンツの利
用を行なうユーザデバイスと、 前記コンテンツ鍵:Kcを暗号化した暗号化コンテンツ
鍵を格納したコンテンツ利用権限証明書をユーザデバイ
スに対して配信するサービスプロバイダとを有し、 前記ユーザデバイスにおいて、 前記サービスプロバイダからコンテンツ利用権限証明書
を受信するステップと、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵に対するユーザデバイス内の格納鍵を適用した
復号化処理、または前記サービスプロバイダにおける復
号化処理のいずれかの復号化処理を実行してコンテンツ
鍵:Kcを取得するステップと、 取得したコンテンツ鍵:Kcを適用した暗号化コンテン
ツの復号化処理を実行してコンテンツを取得するステッ
プと、 を有することを特徴とするコンテンツ利用管理方法。
23. A content usage management method for managing content usage by decrypting encrypted content, comprising: a user device that uses content encrypted with a content key: Kc; and the content key: Kc. A service provider that delivers a content usage right certificate storing an encrypted encrypted content key to a user device, wherein the user device receives the content usage right certificate from the service provider; The content key is executed by executing either the decryption process of applying the storage key in the user device to the encrypted content key stored in the content usage right certificate or the decryption process of the service provider: The step of obtaining Kc, and Content key: content usage management method characterized by comprising the steps of: acquiring content by executing the decoding processing of the applied encrypted content Kc, the.
【請求項24】前記コンテンツ利用権限証明書には、コ
ンテンツ利用条件が記録され、 前記ユーザデバイスは、前記コンテンツ利用条件を満足
するコンテンツ利用であるか否かの判定処理を実行し、
前記コンテンツ利用権限証明書に記録されたコンテンツ
利用条件を満足するコンテンツ利用であることを条件と
して、前記コンテンツ利用権限証明書に格納された暗号
化コンテンツ鍵についての、ユーザデバイス内の格納鍵
を適用した復号化処理を実行することを特徴とする請求
項23に記載のコンテンツ利用管理方法。
24. Content usage conditions are recorded in the content usage authorization certificate, and the user device executes a process of determining whether or not the content usage satisfies the content usage conditions.
The storage key in the user device for the encrypted content key stored in the content usage right certificate is applied, provided that the content usage satisfies the content usage condition recorded in the content usage right certificate. 24. The content usage management method according to claim 23, wherein the decryption process is performed.
【請求項25】前記コンテンツ利用権限証明書には、コ
ンテンツ利用条件が記録され、 前記サービスプロバイダは、前記コンテンツ利用条件を
満足するコンテンツ利用であるか否かの判定処理を実行
し、前記コンテンツ利用権限証明書に記録されたコンテ
ンツ利用条件を満足するコンテンツ利用であることを条
件として、前記コンテンツ利用権限証明書に格納された
暗号化コンテンツ鍵についての復号化処理を実行するこ
とを特徴とする請求項23に記載のコンテンツ利用管理
方法。
25. Content usage conditions are recorded in the content usage authorization certificate, and the service provider executes a determination process as to whether or not the content usage satisfies the content usage conditions. A decryption process is performed on the encrypted content key stored in the content usage authorization certificate, provided that the content usage satisfies the content usage requirements recorded in the authorization certificate. Item 23. The content usage management method according to Item 23.
【請求項26】前記ユーザデバイス内のメモリには、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵の復号用の鍵を格納したサービスプロバイダ毎
の管理領域が設定登録され、ユーザデバイスは、前記復
号用の鍵を適用して、前記コンテンツ利用権限証明書に
格納された暗号化コンテンツ鍵の復号化処理を実行して
コンテンツ鍵:Kcを取得することを特徴とする請求項
23に記載のコンテンツ利用管理方法。
26. A management area for each service provider storing a key for decrypting the encrypted content key stored in the content use authority certificate is set and registered in the memory in the user device, and the user device is 24. The content key: Kc is obtained by applying the decryption key to decrypt the encrypted content key stored in the content usage right certificate. Content usage management method.
【請求項27】前記ユーザデバイス内のメモリには、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵の復号用の鍵として、サービスプロバイダ対応
秘密鍵を格納したサービスプロバイダ毎の管理領域が設
定登録され、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵は、前記サービスプロバイダ対応秘密鍵に対応
して生成された公開鍵によって暗号化された暗号化コン
テンツ鍵であり、 前記ユーザデバイスは、前記サービスプロバイダ対応秘
密鍵を適用して、前記コンテンツ利用権限証明書に格納
された暗号化コンテンツ鍵の復号化処理を実行してコン
テンツ鍵:Kcを取得することを特徴とする請求項23
に記載のコンテンツ利用管理方法。
27. A management area for each service provider storing a private key corresponding to a service provider as a key for decrypting the encrypted content key stored in the content usage right certificate, in the memory in the user device. The encrypted content key set and registered and stored in the content usage right certificate is an encrypted content key encrypted by a public key generated corresponding to the service provider-compatible secret key, and the user device 24. The content key: Kc is obtained by applying the service provider compatible private key and performing a decryption process of the encrypted content key stored in the content usage right certificate.
Content usage management method described in.
【請求項28】前記ユーザデバイス内のメモリには、 サービスプロバイダとの相互認証に必要な認証処理適用
データを格納したサービスプロバイダ毎の管理領域が設
定登録され、ユーザデバイスは、前記認証処理適用デー
タを取得してサービスプロバイダとの認証を実行し、前
記コンテンツ利用権限証明書を前記サービスプロバイダ
に送付して、サービスプロバイダによる暗号化コンテン
ツ鍵の復号化処理によりコンテンツ鍵:Kcを取得する
ことを特徴とする請求項23に記載のコンテンツ利用管
理方法。
28. A management area for each service provider storing authentication processing application data necessary for mutual authentication with a service provider is set and registered in a memory in the user device, and the user device stores the authentication processing application data. Is obtained, authentication with the service provider is performed, the content usage right certificate is sent to the service provider, and the content key: Kc is obtained by decryption processing of the encrypted content key by the service provider. The content use management method according to claim 23.
【請求項29】前記コンテンツ利用権限証明書に格納さ
れた暗号化コンテンツ鍵は、サービスプロバイダの保有
する共通鍵方式の鍵によって暗号化された暗号化コンテ
ンツ鍵であり、 前記サービスプロバイダは、ユーザデバイスから、前記
コンテンツ利用権限証明書を受信し、受信したコンテン
ツ利用権限証明書に格納された暗号化コンテンツ鍵に対
して、前記サービスプロバイダの保有する共通鍵方式の
鍵を適用した復号化処理を実行することによりコンテン
ツ鍵:Kcを取得し、取得したコンテンツ鍵:Kcをユ
ーザデバイスに送付することを特徴とする請求項23に
記載のコンテンツ利用管理方法。
29. The encrypted content key stored in the content usage authority certificate is an encrypted content key encrypted by a common key system key held by a service provider, and the service provider is a user device. From the content usage right certificate, and executes the decryption process by applying the common key system key held by the service provider to the encrypted content key stored in the received content usage right certificate. The content use management method according to claim 23, wherein the content key: Kc is acquired by performing the operation, and the acquired content key: Kc is sent to the user device.
【請求項30】前記コンテンツ利用権限証明書は、コン
テンツ利用条件として、 サービスプロバイダにおける利用権限判定処理を必須条
件とするオンライン利用処理、または、サービスプロバ
イダにおける利用権限判定処理を不要とするオフライン
利用処理のいずれかを設定したデータを有し、ユーザデ
バイスはコンテンツ利用に際して、前記コンテンツ利用
権限証明書に記録されたコンテンツ利用条件としてのオ
ンライン利用またはオフライン利用を選択的に実行する
ことを特徴とする請求項23に記載のコンテンツ利用管
理方法。
30. The content usage right certificate is an online usage process that requires a usage right determination process at a service provider as a content usage condition, or an offline usage process that does not require a usage right determination process at a service provider. Wherein the user device selectively executes online usage or offline usage as content usage conditions recorded in the content usage authorization certificate when using the content. Item 23. The content usage management method according to Item 23.
【請求項31】前記コンテンツ利用権限証明書は、コン
テンツ利用条件として、 コンテンツ利用期間を制限した期間制限、コンテンツ利
用回数を制限した回数制限、利用制限の無い買い切りの
いずれかを設定したデータを有し、ユーザデバイスはコ
ンテンツ利用に際して、前記コンテンツ利用権限証明書
に記録されたコンテンツ利用条件としての期間制限、ま
たは回数制限、または買い切りに応じて、コンテンツ利
用が利用条件を満足するか否かの判定処理を実行し、利
用条件を満足することを条件として前記コンテンツ利用
権限証明書に格納された暗号化コンテンツ鍵の復号化処
理を実行してコンテンツ鍵:Kcを取得することを特徴
とする請求項23に記載のコンテンツ利用管理方法。
31. The content use authority certificate has data in which any one of a content use condition, that is, a period limit that limits a content use period, a number limit that limits the number of times content is used, or a purchase-out with no use limit is set. When the content is used, the user device determines whether or not the content usage satisfies the usage condition according to the time limit or the number of times as the content usage condition recorded in the content usage right certificate, or the purchase limit. The content key: Kc is acquired by executing a process and executing a decryption process of an encrypted content key stored in the content usage right certificate on condition that the usage condition is satisfied. 23. The content usage management method described in 23.
【請求項32】前記コンテンツ利用権限証明書は、該コ
ンテンツ利用権限証明書の発行エンティテイの電子署名
が付加された構成であり、前記コンテンツ利用権限証明
書内の暗号化コンテンツ鍵の復号化処理は、前記電子署
名の検証によりデータ改竄のないことの確認を条件とし
て実行することを特徴とする請求項23に記載のコンテ
ンツ利用管理方法。
32. The content usage right certificate has a structure to which a digital signature of an issuing entity of the content usage right certificate is added, and a decryption process of an encrypted content key in the content usage right certificate is performed. 24. The content use management method according to claim 23, wherein the content use management method is executed under the condition that the verification of the electronic signature does not result in data tampering.
【請求項33】前記コンテンツ利用権限証明書は、該コ
ンテンツ利用権限証明書に対応する公開鍵証明書に関す
るリンク情報を格納した構成であり、前記コンテンツ利
用権限証明書内の暗号化コンテンツ鍵の復号化処理は、
前記リンク情報によって取得される公開鍵証明書の検証
により、該コンテンツ利用権限証明書の正当性確認を条
件として実行することを特徴とする請求項23に記載の
コンテンツ利用管理方法。
33. The content usage right certificate is configured to store link information about a public key certificate corresponding to the content usage right certificate, and decrypts an encrypted content key in the content usage right certificate. The conversion process is
24. The content usage management method according to claim 23, wherein the content usage management certificate is executed on condition that the validity of the content usage authorization certificate is verified by verifying the public key certificate acquired from the link information.
【請求項34】暗号化コンテンツの復号化処理によるコ
ンテンツ利用の管理を行なうコンテンツ利用管理処理を
コンピュータ・システム上で実行せしめるコンピュータ
・プログラムであって、 サービスプロバイダからコンテンツ利用権限証明書を受
信するステップと、 前記コンテンツ利用権限証明書に格納された暗号化コン
テンツ鍵に対するユーザデバイス内の格納鍵を適用した
復号化処理、または前記サービスプロバイダにおける復
号化処理のいずれかの復号化処理を実行してコンテンツ
鍵:Kcを取得するステップと、 取得したコンテンツ鍵:Kcを適用した暗号化コンテン
ツの復号化処理を実行してコンテンツを取得するステッ
プと、 を有することを特徴とするコンピュータ・プログラム。
34. A computer program for causing a computer system to execute content utilization management processing for managing content utilization by decrypting encrypted content, the step of receiving a content utilization authority certificate from a service provider. And a decryption process in which the storage key in the user device is applied to the encrypted content key stored in the content usage right certificate, or the decryption process in the service provider is executed to execute content decryption. A computer program, comprising: a step of acquiring a key: Kc; and a step of executing a decryption process of encrypted content to which the acquired content key: Kc is applied to acquire the content.
JP2001274853A 2001-09-11 2001-09-11 Contents utilization management system, its method, information processor, and computer program Pending JP2003087237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001274853A JP2003087237A (en) 2001-09-11 2001-09-11 Contents utilization management system, its method, information processor, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001274853A JP2003087237A (en) 2001-09-11 2001-09-11 Contents utilization management system, its method, information processor, and computer program

Publications (2)

Publication Number Publication Date
JP2003087237A true JP2003087237A (en) 2003-03-20
JP2003087237A5 JP2003087237A5 (en) 2008-10-09

Family

ID=19099820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001274853A Pending JP2003087237A (en) 2001-09-11 2001-09-11 Contents utilization management system, its method, information processor, and computer program

Country Status (1)

Country Link
JP (1) JP2003087237A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004320715A (en) * 2003-03-31 2004-11-11 Ricoh Co Ltd Certificate acquisition method, certificate setting method, certificate acquisition apparatus, certificate setting apparatus, certificate handling system, certificate setting system, program and recording medium
WO2005017756A1 (en) * 2003-08-14 2005-02-24 Sony Corporation Information processing device, information recording medium, information processing method, and computer program
JP2005174180A (en) * 2003-12-15 2005-06-30 Matsushita Electric Ind Co Ltd Content delivery method, content delivery system, electronic equipment terminal and content delivery server
JP2006295518A (en) * 2005-04-11 2006-10-26 Sony Corp Information processing device and information processing method, and computer program
JP2007041756A (en) * 2005-08-02 2007-02-15 Sony Corp Information processor and method, program, and security chip
JP2007081918A (en) * 2005-09-15 2007-03-29 Kddi Corp Content providing management device, content distribution system, and program
JP2008226191A (en) * 2007-03-15 2008-09-25 Nec Corp System, method, and program for authenticating information processing terminal
US8533785B2 (en) 2010-02-18 2013-09-10 Fujitsu Limited Systems and methods for managing the operation of multiple virtual machines among multiple terminal devices

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1040100A (en) * 1996-03-29 1998-02-13 Internatl Business Mach Corp <Ibm> Method for preparing cipher envelope
JP2000293439A (en) * 1999-04-06 2000-10-20 Fujitsu Ltd Control system and device for utilizing content and computer readable recording medium with program making computer execute the utilizing method recorded thereon

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1040100A (en) * 1996-03-29 1998-02-13 Internatl Business Mach Corp <Ibm> Method for preparing cipher envelope
JP2000293439A (en) * 1999-04-06 2000-10-20 Fujitsu Ltd Control system and device for utilizing content and computer readable recording medium with program making computer execute the utilizing method recorded thereon

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004320715A (en) * 2003-03-31 2004-11-11 Ricoh Co Ltd Certificate acquisition method, certificate setting method, certificate acquisition apparatus, certificate setting apparatus, certificate handling system, certificate setting system, program and recording medium
JP4526809B2 (en) * 2003-03-31 2010-08-18 株式会社リコー Communication device manufacturing method and system
WO2005017756A1 (en) * 2003-08-14 2005-02-24 Sony Corporation Information processing device, information recording medium, information processing method, and computer program
AU2004265804B2 (en) * 2003-08-14 2010-09-16 Sony Corporation Information processing device, information recording medium, information processing method, and computer program
KR101097402B1 (en) 2003-08-14 2011-12-23 소니 가부시키가이샤 Information processing device information recording medium information processing method and computer readable recording medium having recorded thereon computer program
US8261096B2 (en) 2003-08-14 2012-09-04 Sony Corporation Information processing apparatus, information recording medium, information processing method, and computer program
JP2005174180A (en) * 2003-12-15 2005-06-30 Matsushita Electric Ind Co Ltd Content delivery method, content delivery system, electronic equipment terminal and content delivery server
JP2006295518A (en) * 2005-04-11 2006-10-26 Sony Corp Information processing device and information processing method, and computer program
JP2007041756A (en) * 2005-08-02 2007-02-15 Sony Corp Information processor and method, program, and security chip
JP2007081918A (en) * 2005-09-15 2007-03-29 Kddi Corp Content providing management device, content distribution system, and program
JP2008226191A (en) * 2007-03-15 2008-09-25 Nec Corp System, method, and program for authenticating information processing terminal
US8533785B2 (en) 2010-02-18 2013-09-10 Fujitsu Limited Systems and methods for managing the operation of multiple virtual machines among multiple terminal devices

Similar Documents

Publication Publication Date Title
US7496756B2 (en) Content usage-right management system and management method
JP4206529B2 (en) Content management method and content storage system
US7310732B2 (en) Content distribution system authenticating a user based on an identification certificate identified in a secure container
US7484246B2 (en) Content distribution system, content distribution method, information processing apparatus, and program providing medium
US7243238B2 (en) Person authentication system, person authentication method, information processing apparatus, and program providing medium
US7103778B2 (en) Information processing apparatus, information processing method, and program providing medium
TW514845B (en) Data storage regenerator and data storage processing method and program providing media
US7096363B2 (en) Person identification certificate link system, information processing apparatus, information processing method, and program providing medium
US7287158B2 (en) Person authentication system, person authentication method, information processing apparatus, and program providing medium
US7831831B2 (en) Authentication communication system, authentication communication apparatus, and authentication communication method
US20120272065A1 (en) Authentication Method, Host Computer and Recording Medium
US9081726B2 (en) Controller to be incorporated in storage medium device, storage medium device, system for manufacturing storage medium device, and method for manufacturing storage medium device
US9172535B2 (en) Key implementation system
US20020069361A1 (en) Public key certificate using system, public key certificate using method, information processing apparatus, and program providing medium
JP3540543B2 (en) Software copy processing apparatus, software copy processing method, and computer-readable recording medium recording program for copying software
US20140237235A1 (en) Information processing device, information storage device, server, information processing system, information processing method, and program
EP2021947A1 (en) Digital rights management method and apparatus
KR20110055510A (en) Backing up digital content that is stored in a secured storage device
JP2007531150A (en) Method and apparatus for obtaining and removing information about digital rights
WO2005098639A9 (en) Log in system and method
JP2004072721A (en) Authentication system, key registering device and method
JP2001094554A (en) Information transmission system, information transmission device, information reception device, and information transmitting method
JP2003085048A (en) Backup data management system, backup data management method, and information processing device, and computer program
JP2003087237A (en) Contents utilization management system, its method, information processor, and computer program
JP2003085143A (en) Password control system, password control method, information processor and computer program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080821

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110524

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111004