JP2010288291A - Information processing system, information processing method and program recording medium - Google Patents

Information processing system, information processing method and program recording medium Download PDF

Info

Publication number
JP2010288291A
JP2010288291A JP2010159592A JP2010159592A JP2010288291A JP 2010288291 A JP2010288291 A JP 2010288291A JP 2010159592 A JP2010159592 A JP 2010159592A JP 2010159592 A JP2010159592 A JP 2010159592A JP 2010288291 A JP2010288291 A JP 2010288291A
Authority
JP
Japan
Prior art keywords
ekb
key
category
tree
sub
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
JP2010159592A
Other languages
Japanese (ja)
Inventor
Tomoyuki Asano
智之 浅野
Yoshitomo Osawa
義知 大澤
Takeo Oishi
丈於 大石
Ryuji Ishiguro
隆二 石黒
Ryuta Taki
隆太 瀧
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 JP2010159592A priority Critical patent/JP2010288291A/en
Publication of JP2010288291A publication Critical patent/JP2010288291A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To accomplish an information processing system and method for achieving efficient processing, in a processing using an effective key block (EKB) using a categorized tree structure. <P>SOLUTION: In a configuration for generating and providing to a device an EKB comprised of encrypted processing data of an upper key due to a lower key on a selection path of a key tree having a plurality of sub trees categorized and managed by a category entity, when requesting EKB generation, a configuration for generating a route key by itself and a configuration for requesting the generation of the route key to a key issuing center can be selectively performed. Furthermore, when the EKB is generated at the EKB issuing center, generation of a sub EKB is requested to the category entity, thereby the efficiency of EKB generation and management is improved. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、情報処理システム、および情報処理方法、並びにプログラム記録媒体に関し、特に、コンテンツなど各種データを特定の正当なユーザに提供する暗号処理を伴う配信システムおよび方法に関する。特に、木(ツリー)構造の階層的鍵配信方式を用い、配信デバイスに応じて生成したキーブロックを用いて、例えばコンテンツの暗号化キーとしてのコンテンツキー配信、あるいはその他各種の安全性を保持することを可能とする情報処理システム、および情報処理方法、並びにプログラム記録媒体に関する。   The present invention relates to an information processing system, an information processing method, and a program recording medium, and more particularly, to a distribution system and method involving encryption processing for providing various data such as content to a specific legitimate user. In particular, a hierarchical key distribution method having a tree structure is used, and a key block generated according to a distribution device is used, for example, content key distribution as a content encryption key, or other various security is maintained. The present invention relates to an information processing system, an information processing method, and a program recording medium.

昨今、ゲームプログラム、音声データ、画像データ等、様々なソフトウエアデータ(以下、これらをコンテンツ(Content)と呼ぶ)を、インターネット等のネットワーク、あるいはDVD、CD等の流通可能な記憶媒体を介しての流通が盛んになってきている。これらの流通コンテンツは、ユーザの所有するPC(Personal Computer)、ゲーム機器によってデータ受信、あるいは記憶媒体の装着がなされて再生されたり、あるいはPC等に付属する記録再生機器内の記録デバイス、例えばメモリカード、ハードディスク等に格納されて、格納媒体からの新たな再生により利用される。   Nowadays, various software data (hereinafter referred to as “Content”) such as game programs, audio data, image data, etc. are transmitted via a network such as the Internet or a storage medium such as a DVD or CD. The circulation of is becoming popular. These distributed contents are reproduced by receiving data by a PC (Personal Computer) or game device owned by the user or mounting a storage medium, or a recording device in a recording / reproducing device attached to the PC, such as a memory. It is stored in a card, hard disk, etc., and used by new reproduction from the storage medium.

ビデオゲーム機器、PC等の情報機器には、流通コンテンツをネットワークから受信するため、あるいはDVD、CD等にアクセスするためのインタフェースを有し、さらにコンテンツの再生に必要となる制御手段、プログラム、データのメモリ領域として使用されるRAM、ROM等を有する。   Information devices such as video game machines and PCs have interfaces for receiving distribution content from the network or accessing DVDs, CDs, etc., and further, control means, programs, data required for content playback RAM, ROM, etc. used as the memory area.

音楽データ、画像データ、あるいはプログラム等の様々なコンテンツは、再生機器として利用されるゲーム機器、PC等の情報機器本体からのユーザ指示、あるいは接続された入力手段を介したユーザの指示により記憶媒体から呼び出され、情報機器本体、あるいは接続されたディスプレイ、スピーカ等を通じて再生される。   Various contents such as music data, image data, or programs are stored in accordance with a user instruction from a game device used as a playback device, an information device main body such as a PC, or a user instruction via a connected input means. And is played through the information device main body or a connected display, speaker, or the like.

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

ユーザに対する利用制限を実現する1つの手法が、配布コンテンツの暗号化処理である。すなわち、例えばインターネット等を介して暗号化された音声データ、画像データ、ゲームプログラム等の各種コンテンツを配布するとともに、正規ユーザであると確認された者に対してのみ、配布された暗号化コンテンツを復号する手段、すなわち復号鍵を付与する構成である。   One technique for realizing usage restrictions on users is encryption processing of distributed content. That is, for example, various contents such as encrypted audio data, image data, and game programs are distributed via the Internet, etc., and the encrypted contents distributed only to those who are confirmed to be authorized users. The decryption means, that is, a decryption key is assigned.

暗号化データは、所定の手続きによる復号化処理によって利用可能な復号データ(平文)に戻すことができる。このような情報の暗号化処理に暗号化鍵を用い、復号化処理に復号化鍵を用いるデータ暗号化、復号化方法は従来からよく知られている。   The encrypted data can be returned to the decrypted data (plain text) that can be used by the decryption process according to a predetermined procedure. Data encryption and decryption methods that use an encryption key for such information encryption processing and a decryption key for decryption processing are well known.

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

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

また、暗号化するときに使用する暗号化鍵による処理と、復号するときに使用する復号化鍵の処理とを異なるアルゴリズムとした方式がいわゆる公開鍵暗号化方式と呼ばれる方式である。公開鍵暗号化方式は、不特定のユーザが使用可能な公開鍵を使用する方法であり、特定個人に対する暗号化文書を、その特定個人が発行した公開鍵を用いて暗号化処理を行なう。公開鍵によって暗号化された文書は、その暗号化処理に使用された公開鍵に対応する秘密鍵によってのみ復号処理が可能となる。秘密鍵は、公開鍵を発行した個人のみが所有するので、その公開鍵によって暗号化された文書は秘密鍵を持つ個人のみが復号することができる。公開鍵暗号化方式の代表的なものにはRSA(Rivest-Shamir-Adleman)暗号がある。このような暗号化方式を利用することにより、暗号化コンテンツを正規ユーザに対してのみ復号可能とするシステムが可能となる。   In addition, a method in which processing using an encryption key used for encryption and processing of a decryption key used for decryption are different algorithms is a so-called public key encryption method. The public key encryption method uses a public key that can be used by an unspecified user, and encrypts an encrypted document for a specific individual using the public key issued by the specific individual. A document encrypted with a public key can be decrypted only with a secret key corresponding to the public key used for the encryption process. Since the private key is owned only by the individual who issued the public key, a document encrypted with the public key can be decrypted only by the individual who has the private key. A typical public key encryption method is RSA (Rivest-Shamir-Adleman) encryption. By using such an encryption method, a system that enables decryption of encrypted content only for authorized users is possible.

上記のようなコンテンツ配信システムでは、コンテンツを暗号化してユーザにネットワーク、あるいはDVD、CD等の記録媒体に格納して提供し、暗号化コンテンツを復号するコンテンツキーを正当なユーザにのみ提供する構成が多く採用されている。コンテンツキー自体の不正なコピー等を防ぐため、コンテンツキーを暗号化して正当なユーザに提供し、正当なユーザのみが有する復号キーを用いて暗号化コンテンツキーを復号してコンテンツキーを使用可能とする構成が提案されている。   In the content distribution system as described above, the content is encrypted and stored for a user on a network or a recording medium such as a DVD or CD, and the content key for decrypting the encrypted content is provided only to a legitimate user. Is often adopted. In order to prevent unauthorized copying of the content key itself, the content key is encrypted and provided to the authorized user, and the encrypted content key can be decrypted using the decryption key possessed only by the authorized user and the content key can be used. A configuration has been proposed.

正当なユーザであるか否かの判定は、一般には、例えばコンテンツの送信者であるコンテンツプロバイダとユーザデバイス間において、コンテンツ、あるいはコンテンツキーの配信前に認証処理を実行することによって可能となる。一般的な認証処理においては、相手の確認を行なうとともに、その通信でのみ有効なセッションキーを生成して、認証が成立した場合に、生成したセッションキーを用いてデータ、例えばコンテンツあるいはコンテンツキーを暗号化して通信を行なう。認証方式には、共通鍵暗号方式を用いた相互認証と、公開鍵方式を使用した認証方式があるが、共通鍵を使った認証においては、システムワイドで共通な鍵が必要になり、更新処理等の際に不便である。また、公開鍵方式においては、計算負荷が大きくまた必要なメモリ量も大きくなり、各デバイスにこのような処理手段を設けることは望ましい構成とはいえない。   In general, it is possible to determine whether or not the user is a legitimate user, for example, by executing an authentication process between the content provider, which is the content sender, and the user device before distributing the content or the content key. In general authentication processing, the other party is confirmed and a session key that is valid only for the communication is generated. When authentication is established, data such as content or content key is generated using the generated session key. Encrypt communication. There are two authentication methods: mutual authentication using a common key encryption method and an authentication method using a public key method. However, authentication using a common key requires a system-wide common key, and update processing It is inconvenient in the case of. Further, in the public key method, the calculation load is large and the required memory amount is large, and it is not desirable to provide such processing means in each device.

本発明では、上述のようなデータの送信者、受信者間の相互認証処理に頼ることなく、正当なユーザに対してのみ、安全にデータを送信することを可能とするとともに、階層的鍵配信ツリーをカテゴリ単位としたサブツリー、すなわちカテゴリツリーを形成し、複数のカテゴリツリー内で適用(復号処理)可能な暗号化キーブロックを使用する構成を提案する。   In the present invention, it is possible to securely transmit data only to legitimate users without relying on the mutual authentication processing between the sender and receiver of data as described above, and hierarchical key distribution. A configuration is proposed in which a sub-tree with a tree as a unit, that is, a category tree is formed, and an encryption key block that can be applied (decryption processing) within a plurality of category trees is used.

さらに、1以上の選択されたカテゴリツリーにおいて復号可能な暗号化鍵データブロックである有効化キーブロック(EKB)を生成して各カテゴリツリーに属するデバイスにおいて共通に使用可能とするとともに、どのカテゴリツリーで処理可能、すなわち復号可能であるかを示すEKBタイプ定義リストを使用することにより、EKB生成、管理処理の効率化を可能とした情報処理システム、および情報処理方法、並びにプログラム記録媒体を提供することを目的とする。   Further, an enabling key block (EKB), which is an encryption key data block that can be decrypted in one or more selected category trees, is generated and used in common among devices belonging to each category tree, and which category tree An information processing system, an information processing method, and a program recording medium that enable efficient EKB generation and management processing by using an EKB type definition list indicating whether processing is possible, that is, decoding is possible For the purpose.

さらに、有効化キーブロック(EKB)の生成要求において、ルートキーを自ら生成する構成と、ルートキーの生成をキー発行センターに依頼する構成を選択的に実行可能とすることにより、EKB生成要求者の負担軽減を可能とし、また、EKB発行センターにおけるEKB生成において、EKB生成要求時にサブEKBの生成をカテゴリ管理者であるカテゴリ・エンティテイに依頼する構成としてEKB生成、管理処理の効率化を可能とした情報処理システム、および情報処理方法、並びにプログラム記録媒体を提供することを目的とする。   Further, in the request for generating the enabling key block (EKB), the configuration for generating the root key itself and the configuration for requesting the key issuing center to generate the root key can be selectively executed, thereby requesting the EKB generation requester. It is possible to reduce the burden on the EKB, and in the EKB generation at the EKB issuing center, the EKB generation and the management process can be made more efficient by requesting the category entity that is the category administrator to generate the sub-EKB when the EKB generation is requested. It is an object to provide an information processing system, an information processing method, and a program recording medium.

本発明の第1の側面は、
複数のデバイスをリーフとして構成したツリーのルートからリーフまでのパス上のルート、ノード、およびリーフに各々キーを対応付けたキーツリーを構成し、該キーツリーを構成するパスを選択して選択パス上の下位キーによる上位キーの暗号化処理データを有し、前記選択パスに対応するノードキーセットを利用可能なデバイスにおいてのみ復号可能とした有効化キーブロック(EKB)をデバイスに提供する構成を持つ情報処理システムであり、
前記キーツリーは、カテゴリに基づいて区分され、カテゴリ・エンティテイによって管理されるサブツリーとしてのカテゴリツリーを複数有する構成であり、
有効化キーブロック(EKB)を生成するキー発行センター(KDC)は、
EKB生成の要求エンティテイであるEKBリクエスタの要求に基づく有効化キーブロック(EKB)の生成において、生成する有効化キーブロック(EKB)の復号可能なカテゴリツリーを管理する1以上のカテゴリ・エンティテイに各カテゴリツリーにおいて処理可能なサブEKBの生成要求を出力し、カテゴリ・エンティテイから受領したサブ有効化キーブロック(サブEKB)に基づいて1以上のカテゴリツリーにおいて処理可能なEKBを生成する構成を有することを特徴とする情報処理システムにある。
The first aspect of the present invention is:
Configure a key tree in which a key is associated with each root, node, and leaf on the path from the root of the tree that configures multiple devices as leaves to the leaf, and select the path that configures the key tree and select it A configuration for providing an enabling key block (EKB) that can be decrypted only by a device that has encryption processing data of the upper key by the upper lower key and that can use the node key set corresponding to the selected path. An information processing system
The key tree is configured based on categories, and has a plurality of category trees as sub-trees managed by category entities,
The key issuing center (KDC) that generates the enabling key block (EKB)
In the generation of the enabling key block (EKB) based on the request of the EKB requester which is the request entity of the EKB generation, each of the one or more category entities that manage the decodable category tree of the generated enabling key block (EKB) A configuration for generating a sub-EKB generation request that can be processed in the category tree and generating an EKB that can be processed in one or more category trees based on the sub-validation key block (sub-EKB) received from the category entity. In an information processing system characterized by

さらに、本発明の情報処理システムの一実施態様において、前記キー発行センター(KDC)は、EKBタイプ識別子と、EKB処理可能なカテゴリツリーの識別データとを対応付けたEKBタイプ定義リストを有し、EKBの生成を要求するエンティテイであるEKBリクエスタから受領するEKB生成要求中に含まれるEKBタイプ識別子に基づくEKBタイプ定義リストの検索によりカテゴリツリーの識別データを抽出して、抽出されたカテゴリツリーの識別データに対応する1以上のカテゴリ・エンティテイの生成したサブEKBに基づいて、EKBタイプ定義リストに設定されたカテゴリツリーに共通に使用可能なEKBを生成して提供する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing system of the present invention, the key issuing center (KDC) has an EKB type definition list in which an EKB type identifier is associated with identification data of a category tree capable of EKB processing. The category tree identification data is extracted by searching the EKB type definition list based on the EKB type identifier included in the EKB generation request received from the EKB requester that is the entity that requests the generation of the EKB, and the extracted category tree is identified. Based on a sub-EKB generated by one or more category entities corresponding to data, an EKB that can be commonly used for the category tree set in the EKB type definition list is generated and provided. .

さらに、本発明の情報処理システムの一実施態様において、前記キー発行センター(KDC)からサブEKB生成要求を受領したカテゴリ・エンティテイは、自己の管理するカテゴリツリーに属するノードまたはリーフに対応付けられたキーに基づいて処理可能なEKBとしてのサブ有効化キーブロック(サブEKB)を生成する構成であることを特徴とする。   Furthermore, in one embodiment of the information processing system of the present invention, the category entity that has received the sub-EKB generation request from the key issuing center (KDC) is associated with a node or leaf belonging to the category tree managed by the category entity. A sub-validation key block (sub-EKB) as an EKB that can be processed based on a key is generated.

さらに、本発明の情報処理システムの一実施態様において、前記キーツリーは、最上段に複数段のルートツリーが構成され、該ルートツリーに直結するトップレベル・カテゴリツリー、該トップレベル・カテゴリツリーの下段に連結されるサブカテゴリツリーによって構成され、前記カテゴリ・エンティテイは、前記トップレベル・カテゴリツリーの管理エンティテイとして該トップレベル・カテゴリツリーおよび該トップレベル・カテゴリツリーの下段に連なるサブカテゴリツリーの管理を行ない、前記カテゴリ・エンティテイは、自己の管理するトップレベル・カテゴリツリーおよび該トップレベル・カテゴリツリーの下段に連なるサブカテゴリツリーに属するノードまたはリーフに対応して設定されるキーに基づいて処理可能なEKBとしてのサブ有効化キーブロック(サブEKB)を生成する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing system of the present invention, the key tree includes a plurality of root trees at the top, a top-level category tree directly connected to the root tree, and the top-level category tree. The category entity is composed of subcategory trees linked to the lower level, and the category entity manages the top level category tree and the subcategory tree connected to the lower level of the top level category tree as the management entity of the top level category tree. The category entity is an EKB that can be processed based on a key set corresponding to a node or leaf belonging to a top-level category tree managed by itself and a sub-category tree connected to a lower stage of the top-level category tree. Wherein the to is configured to generate sub-enabling key block (sub-EKB) of.

さらに、本発明の第2の側面は、
複数のデバイスをリーフとして構成したツリーのルートからリーフまでのパス上のルート、ノード、およびリーフに各々キーを対応付けたキーツリーを構成し、該キーツリーを構成するパスを選択して選択パス上の下位キーによる上位キーの暗号化処理データを有し、前記選択パスに対応するノードキーセットを利用可能なデバイスにおいてのみ復号可能とした有効化キーブロック(EKB)をデバイスに提供する構成を持つシステムにおける情報処理方法であり、
前記キーツリーは、カテゴリに基づいて区分され、カテゴリ・エンティテイによって管理されるサブツリーとしてのカテゴリツリーを複数有する構成であり、
有効化キーブロック(EKB)を生成するキー発行センター(KDC)は、
EKB生成の要求エンティテイであるEKBリクエスタの要求に基づく有効化キーブロック(EKB)の生成において、生成する有効化キーブロック(EKB)の復号可能なカテゴリツリーを管理する1以上のカテゴリ・エンティテイに各カテゴリツリーにおいて処理可能なサブEKBの生成要求を出力し、カテゴリ・エンティテイから受領したサブ有効化キーブロック(サブEKB)に基づいて1以上のカテゴリツリーにおいて処理可能なEKBを生成することを特徴とする情報処理方法にある。
Furthermore, the second aspect of the present invention provides
Configure a key tree in which a key is associated with each root, node, and leaf on the path from the root of the tree that configures multiple devices as leaves to the leaf, and select the path that configures the key tree and select it A configuration for providing an enabling key block (EKB) that can be decrypted only by a device that has encryption processing data of the upper key by the upper lower key and that can use the node key set corresponding to the selected path. Information processing method in the system
The key tree is configured based on categories, and has a plurality of category trees as sub-trees managed by category entities,
The key issuing center (KDC) that generates the enabling key block (EKB)
In the generation of the enabling key block (EKB) based on the request of the EKB requester that is the request entity for generating the EKB, each of the one or more category entities that manage the decodable category tree of the generated enabling key block (EKB) A sub-KB generation request that can be processed in the category tree is output, and an EKB that can be processed in one or more category trees is generated based on the sub-validation key block (sub-EKB) received from the category entity. There is an information processing method to do.

さらに、本発明の情報処理方法の一実施態様において、前記キー発行センター(KDC)は、EKBタイプ識別子と、EKB処理可能なカテゴリツリーの識別データとを対応付けたEKBタイプ定義リストを有し、EKBの生成を要求するエンティテイであるEKBリクエスタから受領するEKB生成要求中に含まれるEKBタイプ識別子に基づくEKBタイプ定義リストの検索によりカテゴリツリーの識別データを抽出して、抽出されたカテゴリツリーの識別データに対応する1以上のカテゴリ・エンティテイの生成したサブEKBに基づいて、EKBタイプ定義リストに設定されたカテゴリツリーに共通に使用可能なEKBを生成して提供する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing method of the present invention, the key issuing center (KDC) has an EKB type definition list in which an EKB type identifier is associated with identification data of a category tree capable of EKB processing. The category tree identification data is extracted by searching the EKB type definition list based on the EKB type identifier included in the EKB generation request received from the EKB requester that is the entity that requests the generation of the EKB, and the extracted category tree is identified. Based on a sub-EKB generated by one or more category entities corresponding to data, an EKB that can be commonly used for the category tree set in the EKB type definition list is generated and provided. .

さらに、本発明の情報処理方法の一実施態様において、前記キー発行センター(KDC)からサブEKB生成要求を受領したカテゴリ・エンティテイは、自己の管理するカテゴリツリーに属するノードまたはリーフに対応付けられたキーに基づいて処理可能なEKBとしてのサブ有効化キーブロック(サブEKB)を生成することを特徴とする。   Furthermore, in one embodiment of the information processing method of the present invention, the category entity that receives the sub-EKB generation request from the key issuing center (KDC) is associated with a node or leaf belonging to the category tree managed by the category entity. A sub-validation key block (sub-EKB) as an EKB that can be processed based on the key is generated.

さらに、本発明の情報処理方法の一実施態様において、前記キーツリーは、最上段に複数段のルートツリーが構成され、該ルートツリーに直結するトップレベル・カテゴリツリー、該トップレベル・カテゴリツリーの下段に連結されるサブカテゴリツリーによって構成され、前記カテゴリ・エンティテイは、前記トップレベル・カテゴリツリーの管理エンティテイとして該トップレベル・カテゴリツリーおよび該トップレベル・カテゴリツリーの下段に連なるサブカテゴリツリーの管理を行ない、前記カテゴリ・エンティテイは、自己の管理するトップレベル・カテゴリツリーおよび該トップレベル・カテゴリツリーの下段に連なるサブカテゴリツリーに属するノードまたはリーフに対応して設定されるキーに基づいて処理可能なEKBとしてのサブ有効化キーブロック(サブEKB)を生成することを特徴とする。   Furthermore, in an embodiment of the information processing method of the present invention, the key tree includes a plurality of root trees at the top, a top level category tree directly connected to the root tree, and the top level category tree. The category entity is composed of subcategory trees linked to the lower level, and the category entity manages the top level category tree and the subcategory tree connected to the lower level of the top level category tree as the management entity of the top level category tree. The category entity is an EKB that can be processed on the basis of a key set corresponding to a node or leaf belonging to a top-level category tree managed by itself and a sub-category tree connected to the lower level of the top-level category tree. And generating a sub-enabling key block (sub-EKB).

さらに、本発明の第3の側面は、
複数のデバイスをリーフとして構成したツリーのルートからリーフまでのパス上のルート、ノード、およびリーフに各々キーを対応付けたキーツリーを構成し、該キーツリーを構成するパスを選択して選択パス上の下位キーによる上位キーの暗号化処理データを有し、前記選択パスに対応するノードキーセットを利用可能なデバイスにおいてのみ復号可能とした有効化キーブロック(EKB)をデバイスに提供する構成を持つシステムにおける情報処理をコンピュータ・システム上で実行せしめるコンピュータ・プログラムを記録したプログラム記録媒体であって、前記コンピュータ・プログラムは、
EKB生成要求に含まれるEKBタイプ識別子に基づいて、EKBタイプ識別子と、EKB処理可能な1以上のカテゴリツリーの識別データとを対応付けたEKBタイプ定義リストからカテゴリツリーの識別データを抽出するステップと、
抽出されたカテゴリツリーの識別データに対応するカテゴリツリーを管理する1以上のカテゴリ・エンティテイに各カテゴリツリーにおいて処理可能なサブ有効化キーブロック(サブEKB)の生成要求を出力するステップと、
カテゴリ・エンティテイから受領したサブ有効化キーブロック(サブEKB)に基づいて1以上のカテゴリツリーにおいて処理可能なEKBを生成するステップと、
を有することを特徴とするプログラム記録媒体にある。
Furthermore, the third aspect of the present invention provides
Configure a key tree in which a key is associated with each root, node, and leaf on the path from the root of the tree that configures multiple devices as leaves to the leaf, and select the path that configures the key tree and select it A configuration for providing an enabling key block (EKB) that can be decrypted only by a device that has encryption processing data of the upper key by the upper lower key and that can use the node key set corresponding to the selected path. A computer-readable recording medium storing a computer program that causes a computer system to execute information processing in a system having the computer program,
Extracting the identification data of the category tree from the EKB type definition list in which the EKB type identifier is associated with the identification data of one or more category trees capable of EKB processing based on the EKB type identifier included in the EKB generation request; ,
Outputting a generation request for a sub-enabling key block (sub-EKB) that can be processed in each category tree to one or more category entities that manage the category tree corresponding to the extracted identification data of the category tree;
Generating an EKB that can be processed in one or more category trees based on a sub-enabling key block (sub-EKB) received from a category entity;
The program recording medium is characterized by comprising:

なお、本発明のプログラム記録媒体は、例えば、様々なプログラム・コードを実行可能な汎用コンピュータ・システムに対して、コンピュータ・プログラムをコンピュータ可読な形式で提供する媒体である。媒体は、CDやFD、MOなどの記録媒体、あるいは、ネットワークなどの伝送媒体など、その形態は特に限定されない。   Note that the program recording medium of the present invention is a medium that provides a computer program in a computer-readable format to, for example, a general-purpose computer system that can execute various program codes. The form of the medium is not particularly limited, such as a recording medium such as CD, FD, or MO, or a transmission medium such as a network.

このようなプログラム記録媒体は、コンピュータ・システム上で所定のコンピュータ・プログラムの機能を実現するための、コンピュータ・プログラムと記録媒体との構造上又は機能上の協働的関係を定義したものである。換言すれば、該記録媒体を介してコンピュータ・プログラムをコンピュータ・システムにインストールすることによって、コンピュータ・システム上では協働的作用が発揮され、本発明の他の側面と同様の作用効果を得ることができるのである。   Such a program recording medium defines a structural or functional cooperative relationship between a computer program and a recording medium for realizing a function of a predetermined computer program on a computer system. . In other words, by installing a computer program in the computer system via the recording medium, a cooperative action is exhibited on the computer system, and the same effects as the other aspects of the present invention are obtained. Can do it.

なお、本発明の説明中におけるシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   The system in the description of the present invention is a logical set configuration of a plurality of devices, and is not limited to one in which each configuration device is in the same casing.

本発明のさらに他の目的、特徴や利点は、後述する本発明の実施例や添付する図面に基づくより詳細な説明によって明らかになるであろう。   Other objects, features, and advantages of the present invention will become apparent from a more detailed description based on embodiments of the present invention described later and the accompanying drawings.

本発明の構成においては、ツリー(木)構造の階層的構造の暗号化鍵配信構成を用い、各機器をn分木の各葉(リーフ)に配置した構成の鍵配信方法を用い、記録媒体もしくは通信回線を介して、例えばコンテンツデータの暗号鍵であるコンテンツキーもしくは認証処理に用いる認証キー、あるいはプログラムコード等を有効化キーブロックとともに配信する構成としている。   In the configuration of the present invention, a key distribution method having a configuration in which each device is arranged on each leaf of a n-ary tree using a hierarchical structure encryption key distribution configuration having a tree structure is used. Alternatively, for example, a content key that is an encryption key of content data, an authentication key used for authentication processing, or a program code is distributed together with an activation key block via a communication line.

さらに、有効化キーブロックを暗号化キーデータ部と、暗号化キーの位置を示すタグ部によって構成し、データ量を少なくし、デバイスにおける復号処理を用意かつ迅速に実行することを可能としている。本構成により、正当なデバイスのみが復号可能なデータを安全に配信することが可能となる。   Furthermore, the enabling key block is composed of an encryption key data part and a tag part indicating the position of the encryption key, so that the amount of data can be reduced and the decryption process in the device can be prepared and executed quickly. With this configuration, it is possible to safely distribute data that can be decrypted only by a legitimate device.

さらに、1以上の選択されたカテゴリツリーにおいて復号可能な暗号化鍵データブロックである有効化キーブロック(EKB)を生成して各カテゴリツリーに属するデバイスに共通に使用可能とするとともに、どのカテゴリツリーで処理可能、すなわち復号可能であるかを示すEKBタイプ定義リストを使用することにより、EKBの生成管理処理の効率化を可能としている。   Further, an enabling key block (EKB), which is an encryption key data block that can be decrypted in one or more selected category trees, is generated and used in common for devices belonging to each category tree, and which category tree By using the EKB type definition list indicating whether processing is possible, that is, decoding is possible, the efficiency of EKB generation management processing can be improved.

本発明の情報処理システムの構成例を説明する図である。It is a figure explaining the structural example of the information processing system of this invention. 本発明の情報処理システムにおいて適用可能な記録再生装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the recording / reproducing apparatus applicable in the information processing system of this invention. 本発明の情報処理システムにおける各種キー、データの暗号化処理について説明するツリー構成図である。It is a tree block diagram explaining the encryption process of the various keys in the information processing system of this invention, and data. 本発明の情報処理システムにおける各種キー、データの配布に使用される有効化キーブロック(EKB)の例を示す図である。It is a figure which shows the example of the enabling key block (EKB) used for distribution of the various keys and data in the information processing system of this invention. 本発明の情報処理システムにおけるコンテンツキーの有効化キーブロック(EKB)を使用した配布例と復号処理例を示す図である。It is a figure which shows the example of distribution and the example of a decoding process which used the key block (EKB) of the content key in the information processing system of this invention. 本発明の情報処理システムにおける有効化キーブロック(EKB)のフォーマット例を示す図である。It is a figure which shows the example of a format of the enabling key block (EKB) in the information processing system of this invention. 本発明の情報処理システムにおける有効化キーブロック(EKB)のタグの構成を説明する図である。It is a figure explaining the structure of the tag of the enabling key block (EKB) in the information processing system of this invention. 本発明の情報処理システムにおける有効化キーブロック(EKB)と、コンテンツキー、コンテンツを併せて配信するデータ構成例を示す図である。It is a figure which shows the example of a data structure which delivers together the enabling key block (EKB), content key, and content in the information processing system of this invention. 本発明の情報処理システムにおける有効化キーブロック(EKB)と、コンテンツキー、コンテンツを併せて配信した場合のデバイスでの処理例を示す図である。It is a figure which shows the example of a process in the device at the time of delivering together the enabling key block (EKB) in the information processing system of this invention, a content key, and a content. 本発明の情報処理システムにおける有効化キーブロック(EKB)とコンテンツを記録媒体に格納した場合の対応について説明する図である。It is a figure explaining the response | compatibility at the time of storing the enabling key block (EKB) and content in a recording medium in the information processing system of this invention. 本発明の情報処理システムにおける有効化キーブロック(EKB)と、コンテンツキーを送付する処理を従来の送付処理と比較した図である。It is the figure which compared the process of sending the enabling key block (EKB) and content key in the information processing system of this invention with the conventional sending process. 本発明の情報処理システムにおいて適用可能な共通鍵暗号方式による認証処理シーケンスを示す図である。It is a figure which shows the authentication process sequence by the common key encryption method applicable in the information processing system of this invention. 本発明の情報処理システムにおける有効化キーブロック(EKB)と、認証キーを併せて配信するデータ構成と、デバイスでの処理例を示す図(その1)である。It is the figure (the 1) which shows the data structure which delivers together the validation key block (EKB) and authentication key in the information processing system of this invention, and the process example in a device. 本発明の情報処理システムにおける有効化キーブロック(EKB)と、認証キーを併せて配信するデータ構成と、デバイスでの処理例を示す図(その2)である。It is the figure (the 2) which shows the data structure which delivers together the validation key block (EKB) and authentication key in the information processing system of this invention, and the process example in a device. 本発明の情報処理システムにおいて適用可能な公開鍵暗号方式による認証処理シーケンスを示す図である。It is a figure which shows the authentication process sequence by the public key cryptosystem applicable in the information processing system of this invention. 本発明の情報処理システムにおいて公開鍵暗号方式による認証処理を用いて有効化キーブロック(EKB)と、コンテンツキーを併せて配信する処理を示す図である。It is a figure which shows the process which delivers together an enabling key block (EKB) and a content key using the authentication process by a public key cryptosystem in the information processing system of this invention. 本発明の情報処理システムにおいて有効化キーブロック(EKB)と、暗号化プログラムデータを併せて配信する処理を示す図である。It is a figure which shows the process which delivers together an enabling key block (EKB) and encryption program data in the information processing system of this invention. 本発明の情報処理システムにおいて適用可能なコンテンツ・インテグリティ・チェック値(ICV)の生成に使用するMAC値生成例を示す図である。It is a figure which shows the example of MAC value generation used for the production | generation of the content integrity check value (ICV) applicable in the information processing system of this invention. 本発明の情報処理システムにおける有効化キーブロック(EKB)と、ICV生成キーを併せて配信するデータ構成と、デバイスでの処理例を示す図(その1)である。It is the figure (the 1) which shows the data structure which delivers together the enabling key block (EKB) and ICV generation key in the information processing system of this invention, and the processing example in a device. 本発明の情報処理システムにおける有効化キーブロック(EKB)と、ICV生成キーを併せて配信するデータ構成と、デバイスでの処理例を示す図(その2)である。It is the figure (the 2) which shows the data structure which delivers together the enabling key block (EKB) and ICV production | generation key in the information processing system of this invention, and the processing example in a device. 本発明の情報処理システムにおいて適用可能なコンテンツ・インテグリティ・チェック値(ICV)をメディアに格納した場合のコピー防止機能を説明する図である。It is a figure explaining the copy prevention function at the time of storing the content integrity check value (ICV) applicable in the information processing system of this invention on a medium. 本発明の情報処理システムにおいて適用可能なコンテンツ・インテグリティ・チェック値(ICV)をコンテンツ格納媒体と別に管理する構成を説明する図である。It is a figure explaining the structure which manages the content integrity check value (ICV) applicable in the information processing system of this invention separately from a content storage medium. 本発明の情報処理システムにおける階層ツリー構造のカテゴリ分類の例を説明する図である。It is a figure explaining the example of the category classification | category of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける簡略化有効化キーブロック(EKB)の生成過程を説明する図である。It is a figure explaining the production | generation process of the simplification validation key block (EKB) in the information processing system of this invention. 本発明の情報処理システムにおける有効化キーブロック(EKB)の生成過程を説明する図である。It is a figure explaining the production | generation process of the enabling key block (EKB) in the information processing system of this invention. 本発明の情報処理システムにおける簡略化有効化キーブロック(EKB)(例1)を説明する図である。It is a figure explaining the simplification validation key block (EKB) (example 1) in the information processing system of this invention. 本発明の情報処理システムにおける簡略化有効化キーブロック(EKB)(例2)を説明する図である。It is a figure explaining the simplification validation key block (EKB) (example 2) in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成について説明する図である。It is a figure explaining the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成の詳細について説明する図である。It is a figure explaining the detail of the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成について説明する図である。It is a figure explaining the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのリザーブノードについて説明する図である。It is a figure explaining the reserve node in the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成での新規カテゴリツリー登録処理シーケンスについて説明する図である。It is a figure explaining the new category tree registration process sequence in the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成での新規カテゴリツリーと上位カテゴリツリーの関係について説明する図である。It is a figure explaining the relationship between the new category tree and the upper category tree in the category tree management configuration of the hierarchical tree structure in the information processing system of the present invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成で用いるサブEKBについて説明する図である。It is a figure explaining the sub EKB used by the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのデバイスリボーク処理について説明する図である。It is a figure explaining the device revocation process by the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのデバイスリボーク処理シーケンスについて説明する図である。It is a figure explaining the device revocation process sequence in the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのデバイスリボーク時の更新サブEKBについて説明する図である。It is a figure explaining the update sub EKB at the time of device revocation in the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのカテゴリツリーリボーク処理について説明する図である。It is a figure explaining the category tree revocation process by the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのカテゴリツリーリボーク処理シーケンスについて説明する図である。It is a figure explaining the category tree revocation process sequence in the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのリボークカテゴリツリーと上位カテゴリツリーの関係について説明する図である。It is a figure explaining the relationship between the revocation category tree and the upper category tree in the category tree management configuration of the hierarchical tree structure in the information processing system of the present invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのケイパビリテイ設定について説明する図である。It is a figure explaining the capability setting in the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおける階層ツリー構造のカテゴリツリー管理構成でのケイパビリテイ設定について説明する図である。It is a figure explaining the capability setting in the category tree management structure of the hierarchical tree structure in the information processing system of this invention. 本発明の情報処理システムにおけるキー発行センター(KDC)の管理するケイパビリティ管理テーブル構成を説明する図である。It is a figure explaining the capability management table structure which the key issuing center (KDC) manages in the information processing system of this invention. 本発明の情報処理システムにおけるキー発行センター(KDC)の管理するケイパビリティ管理テーブルに基づくEKB生成処理フロー図である。It is an EKB production | generation process flowchart based on the capability management table which the key issuing center (KDC) manages in the information processing system of this invention. 本発明の情報処理システムにおける新規カテゴリツリー登録時のケイパビリティ通知処理を説明する図である。It is a figure explaining the capability notification process at the time of new category tree registration in the information processing system of this invention. 本発明の情報処理システムにおけるカテゴリツリーの構成を説明する図である。It is a figure explaining the structure of the category tree in the information processing system of this invention. 本発明の情報処理システムにおけるEKBリクエスタ、キー発行センター、トップレベル・カテゴリ・エンティテイ(TLCE)との関係、処理例を説明する図である。It is a figure explaining the relationship with an EKB requester, a key issue center, a top level category entity (TLCE), and a processing example in the information processing system of the present invention. 本発明の情報処理システムにおけるEKBリクエスタ、キー発行センター、トップレベル・カテゴリ・エンティテイ(TLCE)のハード構成例を説明する図である。It is a figure explaining the hardware structural example of the EKB requester in the information processing system of this invention, a key issue center, and a top level category entity (TLCE). 本発明の情報処理システムにおけるデバイスの保有するデバイスノードキー(DNK)について説明する図である。It is a figure explaining the device node key (DNK) which the device in the information processing system of this invention has. 本発明の情報処理システムにおけるEKBタイプ定義リストのデータ構成を説明する図である。It is a figure explaining the data structure of the EKB type definition list in the information processing system of this invention. 本発明の情報処理システムにおけるEKBタイプ登録処理フローを示す図である。It is a figure which shows the EKB type registration process flow in the information processing system of this invention. 本発明の情報処理システムにおけるEKBタイプ無効化処理フローを示す図である。It is a figure which shows the EKB type invalidation processing flow in the information processing system of this invention. 本発明の情報処理システムにおけるツリー変更通知処理フローを示す図である。It is a figure which shows the tree change notification process flow in the information processing system of this invention. 本発明の情報処理システムにおけるEKBタイプリスト要求処理フローを示す図である。It is a figure which shows the EKB type list request | requirement processing flow in the information processing system of this invention. 本発明の情報処理システムにおけるサブEKBの生成処理を説明する図である。It is a figure explaining the production | generation process of the sub EKB in the information processing system of this invention. 本発明の情報処理システムにおけるサブEKBの生成処理を説明する図である。It is a figure explaining the production | generation process of the sub EKB in the information processing system of this invention. 本発明の情報処理システムにおけるサブEKBから合成したEKBを生成する処理を説明する図である。It is a figure explaining the process which produces | generates the EKB synthesized | combined from the sub EKB in the information processing system of this invention. 本発明の情報処理システムにおけるリボークデバイスがある場合のサブEKBの生成処理を説明する図である。It is a figure explaining the production | generation process of sub EKB when there exists a revoke device in the information processing system of this invention. 本発明の情報処理システムにおけるリボークデバイスがある場合のサブEKBから合成したEKBを生成する処理を説明する図である。It is a figure explaining the process which produces | generates EKB synthesized | combined from sub EKB when there exists a revoke device in the information processing system of this invention. 本発明の情報処理システムにおけるサブEKBから合成したEKBのデータ構成を説明する図である。It is a figure explaining the data structure of EKB synthesized from sub EKB in the information processing system of the present invention. 本発明の情報処理システムにおけるサブEKBから合成したEKBのデータ構成を説明する図である。It is a figure explaining the data structure of EKB synthesized from sub EKB in the information processing system of the present invention. 本発明の情報処理システムにおけるリボークデバイスがある場合のサブEKBから合成したEKBのデータ構成を説明する図である。It is a figure explaining the data structure of EKB synthesize | combined from sub EKB when there exists a revoke device in the information processing system of this invention. 本発明の情報処理システムにおけるデータ配信型のシステムにおけるリボーク処理を説明する図である。It is a figure explaining the revoke process in the data delivery type | system | group in the information processing system of this invention. 本発明の情報処理システムにおける自己記録型のシステムにおけるリボーク処理を説明する図である。It is a figure explaining the revoke process in the self-recording type | system | group system in the information processing system of this invention.

[システム概要]
図1に本発明の情報処理システムが適用可能なコンテンツ配信システム例を示す。コンテンツの配信側10は、コンテンツ受信側20の有する様々なコンテンツ再生可能な機器に対してコンテンツ、あるいはコンテンツキーを暗号化して送信する。受信側20における機器では、受信した暗号化コンテンツ、あるいは暗号化コンテンツキー等を復号してコンテンツあるいはコンテンツキーを取得して、画像データ、音声データの再生、あるいは各種プログラムの実行等を行なう。コンテンツの配信側10とコンテンツ受信側20との間のデータ交換は、インターネット等のネットワークを介して、あるいはDVD、CD等の流通可能な記憶媒体を介して実行される。
[System Overview]
FIG. 1 shows an example of a content distribution system to which the information processing system of the present invention can be applied. The content distribution side 10 encrypts and transmits the content or content key to various content reproducible devices of the content reception side 20. The device on the receiving side 20 decrypts the received encrypted content or the encrypted content key to acquire the content or content key, and reproduces image data, audio data, or executes various programs. Data exchange between the content distribution side 10 and the content reception side 20 is performed via a network such as the Internet or via a distributable storage medium such as a DVD or CD.

コンテンツ配信側10のデータ配信手段としては、インターネット11、衛星放送12、電話回線13、DVD、CD等のメディア14等があり、一方、コンテンツ受信側20のデバイスとしては、パーソナルコンピュータ(PC)21、ポータブルデバイス(PD)22、携帯電話、PDA(Personal Digital Assistants)等の携帯機器23、DVD、CDプレーヤ等の記録再生器24、ゲーム端末等の再生専用器25等がある。これらコンテンツ受信側20の各デバイスは、コンテンツ配信側10から提供されたコンテンツをネットワーク等の通信手段あるいは、あるいはメディア30から取得する。   The data distribution means on the content distribution side 10 includes the Internet 11, satellite broadcast 12, telephone line 13, media 14 such as DVD, CD, and the like, while the device on the content reception side 20 includes a personal computer (PC) 21. A portable device 23 such as a portable device (PD) 22, a mobile phone, a PDA (Personal Digital Assistants), a recording / reproducing device 24 such as a DVD or a CD player, and a dedicated reproduction device 25 such as a game terminal. Each device on the content receiving side 20 acquires the content provided from the content distribution side 10 from a communication means such as a network or the medium 30.

[デバイス構成]
図2に、図1に示すコンテンツ受信側20のデバイスの一例として、記録再生装置100の構成ブロック図を示す。記録再生装置100は、入出力I/F(Interface)120、MPEG(Moving Picture Experts Group)コーデック130、A/D,D/Aコンバータ141を備えた入出力I/F(Interface)140、暗号処理手段150、ROM(Read Only Memory)160、CPU(Central Processing Unit)170、メモリ180、記録媒体195のドライブ190を有し、これらはバス110によって相互に接続されている。
[Device configuration]
FIG. 2 shows a configuration block diagram of a recording / reproducing apparatus 100 as an example of a device on the content receiving side 20 shown in FIG. The recording / reproducing apparatus 100 includes an input / output I / F (Interface) 120, an MPEG (Moving Picture Experts Group) codec 130, an input / output I / F (Interface) 140 including an A / D and D / A converter 141, and encryption processing. Means 150, a ROM (Read Only Memory) 160, a CPU (Central Processing Unit) 170, a memory 180, and a drive 190 of a recording medium 195 are connected to each other by a bus 110.

入出力I/F120は、外部から供給される画像、音声、プログラム等の各種コンテンツを構成するディジタル信号を受信し、バス110上に出力するとともに、バス110上のディジタル信号を受信し、外部に出力する。MPEGコーデック130は、バス110を介して供給されるMPEG符号化されたデータを、MPEGデコードし、入出力I/F140に出力するとともに、入出力I/F140から供給されるディジタル信号をMPEGエンコードしてバス110上に出力する。入出力I/F140は、A/D,D/Aコンバータ141を内蔵している。入出力I/F140は、外部から供給されるコンテンツとしてのアナログ信号を受信し、A/D,D/Aコンバータ141でA/D(Analog Digital)変換することで、ディジタル信号として、MPEGコーデック130に出力するとともに、MPEGコーデック130からのディジタル信号を、A/D,D/Aコンバータ141でD/A(Digital Analog)変換することで、アナログ信号として、外部に出力する。   The input / output I / F 120 receives digital signals constituting various contents such as images, sounds, and programs supplied from the outside, outputs the digital signals to the bus 110, receives the digital signals on the bus 110, and externally receives them. Output. The MPEG codec 130 MPEG-decodes MPEG-encoded data supplied via the bus 110 and outputs it to the input / output I / F 140 and MPEG-encodes a digital signal supplied from the input / output I / F 140. Output on the bus 110. The input / output I / F 140 includes an A / D and D / A converter 141. The input / output I / F 140 receives an analog signal as content supplied from the outside and performs A / D (Analog Digital) conversion by the A / D and D / A converter 141, thereby converting the MPEG codec 130 as a digital signal. In addition, the digital signal from the MPEG codec 130 is D / A (Digital Analog) converted by the A / D and D / A converter 141 to be output to the outside as an analog signal.

暗号処理手段150は、例えば、1チップのLSI(Large Scale Integrated Curcuit)で構成され、バス110を介して供給されるコンテンツとしてのディジタル信号の暗号化、復号処理、あるいは認証処理を実行し、暗号データ、復号データ等をバス110上に出力する構成を持つ。なお、暗号処理手段150は1チップLSIに限らず、各種のソフトウェアまたはハードウェアを組み合わせた構成によって実現することも可能である。ソフトウェア構成による処理手段としての構成については後段で説明する。   The cryptographic processing means 150 is composed of, for example, a one-chip LSI (Large Scale Integrated Circuit), executes encryption, decryption processing, or authentication processing of a digital signal as content supplied via the bus 110, and performs encryption processing. Data, decoded data, etc. are output on the bus 110. The cryptographic processing means 150 is not limited to a one-chip LSI, and can be realized by a configuration combining various types of software or hardware. The configuration as the processing means by the software configuration will be described later.

ROM160は、記録再生装置によって処理されるプログラムデータを格納する。CPU170は、ROM160、メモリ180に記憶されたプログラムを実行することで、MPEGコーデック130や暗号処理手段150等を制御する。メモリ180は、例えば、不揮発性メモリで、CPU170が実行するプログラムや、CPU170の動作上必要なデータ、さらにデバイスによって実行される暗号処理に使用されるキーセットを記憶する。キーセットについては後段で説明する。ドライブ190は、デジタルデータを記録再生可能な記録媒体195を駆動することにより、記録媒体195からディジタルデータを読み出し(再生し)、バス110上に出力するとともに、バス110を介して供給されるディジタルデータを、記録媒体195に供給して記録させる。   The ROM 160 stores program data processed by the recording / reproducing apparatus. The CPU 170 controls the MPEG codec 130, the encryption processing means 150, and the like by executing programs stored in the ROM 160 and the memory 180. The memory 180 is, for example, a non-volatile memory, and stores a program executed by the CPU 170, data necessary for the operation of the CPU 170, and a key set used for encryption processing executed by the device. The key set will be described later. The drive 190 drives a recording medium 195 capable of recording / reproducing digital data, thereby reading (reproducing) the digital data from the recording medium 195, outputting it on the bus 110, and supplying the digital data via the bus 110. Data is supplied to the recording medium 195 and recorded.

記録媒体195は、例えば、DVD、CD等の光ディスク、光磁気ディスク、磁気ディスク、磁気テープ、あるいはRAM等の半導体メモリ等のディジタルデータの記憶可能な媒体であり、本実施の形態では、ドライブ190に対して着脱可能な構成であるとする。但し、記録媒体195は、記録再生装置100に内蔵する構成としてもよい。   The recording medium 195 is a medium capable of storing digital data, such as an optical disk such as a DVD or CD, a magneto-optical disk, a magnetic disk, a magnetic tape, or a semiconductor memory such as a RAM. In this embodiment, the recording medium 195 is a drive 190. Suppose that it is the structure which can be attached or detached with respect to. However, the recording medium 195 may be built in the recording / reproducing apparatus 100.

なお、図2に示す暗号処理手段150は、1つのワンチップLSIとして構成してもよく、また、ソフトウェア、ハードウェアを組み合わせた構成によって実現する構成としてもよい。   Note that the cryptographic processing means 150 shown in FIG. 2 may be configured as a single one-chip LSI, or may be configured by a combination of software and hardware.

[キー配信構成としてのツリー(木)構造について]
次に、図1に示すコンテンツ配信側10からコンテンツ受信側20の各デバイスに暗号データを配信する場合における各デバイスにおける暗号処理鍵の保有構成およびデータ配信構成を図3を用いて説明する。
[About tree structure as key distribution configuration]
Next, an encryption processing key holding configuration and a data distribution configuration in each device when distributing encrypted data from the content distribution side 10 to each device on the content reception side 20 shown in FIG. 1 will be described with reference to FIG.

図3の最下段に示すナンバ0〜15がコンテンツ受信側20の個々のデバイスである。すなわち図3に示す階層ツリー(木)構造の各葉(リーフ:leaf)がそれぞれのデバイスに相当する。   Numbers 0 to 15 shown at the bottom of FIG. 3 are individual devices on the content receiving side 20. That is, each leaf (leaf) of the hierarchical tree (tree) structure shown in FIG. 3 corresponds to each device.

各デバイス0〜15は、製造時あるいは出荷時、あるいはその後において、図3に示す階層ツリー(木)構造における、自分のリーフからルートに至るまでのノードに割り当てられた鍵(ノードキー)および各リーフのリーフキーからなるキーセットをメモリに格納する。図3の最下段に示すK0000〜K1111が各デバイス0〜15にそれぞれ割り当てられたリーフキーであり、最上段のKR(ルートキー)から、最下段から2番目の節(ノード)に記載されたキー:KR〜K111をノードキーとする。   Each device 0 to 15 is a key (node key) assigned to a node from its own leaf to the root in the hierarchical tree (tree) structure shown in FIG. The key set consisting of the leaf keys is stored in the memory. K0000 to K1111 shown at the bottom of FIG. 3 are leaf keys assigned to the respective devices 0 to 15, respectively. Keys described from the topmost KR (root key) to the second node (node) from the bottom : KR to K111 are used as node keys.

図3に示すツリー構成において、例えばデバイス0はリーフキーK0000と、ノードキー:K000、K00、K0、KRを所有する。デバイス5はK0101、K010、K01、K0、KRを所有する。デバイス15は、K1111、K111、K11、K1、KRを所有する。なお、図3のツリーにはデバイスが0〜15の16個のみ記載され、ツリー構造も4段構成の均衡のとれた左右対称構成として示しているが、さらに多くのデバイスがツリー中に構成され、また、ツリーの各部において異なる段数構成を持つことが可能である。   In the tree configuration shown in FIG. 3, for example, the device 0 has a leaf key K0000 and node keys: K000, K00, K0, and KR. The device 5 owns K0101, K010, K01, K0, and KR. The device 15 owns K1111, K111, K11, K1, and KR. In the tree of FIG. 3, only 16 devices of 0 to 15 are described, and the tree structure is shown as a balanced configuration with a four-stage configuration, but more devices are configured in the tree. In addition, it is possible to have a different number of stages in each part of the tree.

また、図3のツリー構造に含まれる各デバイスには、様々な記録媒体、例えば、デバイス埋め込み型あるいはデバイスに着脱自在に構成されたDVD、CD、MD、フラッシュメモリ等を使用する様々なタイプのデバイスが含まれている。さらに、様々なアプリケーションサービスが共存可能である。このような異なるデバイス、異なるアプリケーションの共存構成の上に図3に示すコンテンツあるいは鍵配布構成である階層ツリー構造が適用される。   In addition, each device included in the tree structure of FIG. 3 includes various types of recording media, such as various types using a device embedded type or a DVD, CD, MD, flash memory, etc. that are configured to be detachable from the device. The device is included. Furthermore, various application services can coexist. The hierarchical tree structure as the content or key distribution configuration shown in FIG. 3 is applied on the coexistence configuration of different devices and different applications.

これらの様々なデバイス、アプリケーションが共存するシステムにおいて、例えば図3の点線で囲んだ部分、すなわちデバイス0,1,2,3を同一の記録媒体を用いる1つのグループとして設定する。例えば、この点線で囲んだグループ内に含まれるデバイスに対しては、まとめて、共通のコンテンツを暗号化してプロバイダから送付したり、各デバイス共通に使用するコンテンツキーを送付したり、あるいは各デバイスからプロバイダあるいは決済機関等にコンテンツ料金の支払データをやはり暗号化して出力するといった処理が実行される。コンテンツプロバイダ、あるいは決済処理機関等、各デバイスとのデータ送受信を行なう機関は、図3の点線で囲んだ部分、すなわちデバイス0,1,2,3を1つのグループとして一括してデータを送付する処理を実行する。このようなグループは、図3のツリー中に複数存在する。コンテンツプロバイダ、あるいは決済処理機関等、各デバイスとのデータ送受信を行なう機関は、メッセージデータ配信手段として機能する。   In a system in which these various devices and applications coexist, for example, the portion surrounded by a dotted line in FIG. 3, that is, devices 0, 1, 2, and 3 are set as one group using the same recording medium. For example, for devices included in the group surrounded by the dotted line, the common content is encrypted and sent from the provider, the content key used in common for each device is sent, or each device is sent. Then, the process of encrypting and outputting the content fee payment data to the provider or the settlement institution is executed. An institution that performs data transmission / reception with each device, such as a content provider or a payment processing institution, sends data collectively as a group of the parts surrounded by the dotted lines in FIG. 3, that is, devices 0, 1, 2, and 3. Execute the process. There are a plurality of such groups in the tree of FIG. An organization that transmits / receives data to / from each device, such as a content provider or a payment processing organization, functions as message data distribution means.

なお、ノードキー、リーフキーは、ある1つの鍵管理センタによって統括して管理してもよいし、各グループに対する様々なデータ送受信を行なうプロバイダ、決済機関等のメッセージデータ配信手段によってグループごとに管理する構成としてもよい。これらのノードキー、リーフキーは例えばキーの漏洩等の場合に更新処理が実行され、この更新処理は鍵管理センタ、プロバイダ、決済機関等が実行する。   The node key and leaf key may be managed by a single key management center, or may be managed for each group by a message data distribution means such as a provider or a settlement organization that performs various data transmission / reception for each group. It is good. These node keys and leaf keys are updated when, for example, a key is leaked, and this updating process is executed by a key management center, a provider, a settlement organization, or the like.

このツリー構造において、図3から明らかなように、1つのグループに含まれる3つのデバイス0,1,2,3はノードキーとして共通のキーK00、K0、KRを保有する。このノードキー共有構成を利用することにより、例えば共通のコンテンツキーをデバイス0,1,2,3のみに提供することが可能となる。たとえば、共通に保有するノードキーK00自体をコンテンツキーとして設定すれば、新たな鍵送付を実行することなくデバイス0,1,2,3のみが共通のコンテンツキーの設定が可能である。また、新たなコンテンツキーKconをノードキーK00で暗号化した値Enc(K00,Kcon)を、ネットワークを介してあるいは記録媒体に格納してデバイス0,1,2,3に配布すれば、デバイス0,1,2,3のみが、それぞれのデバイスにおいて保有する共有ノードキーK00を用いて暗号Enc(K00,Kcon)を解いてコンテンツキー:Kconを得ることが可能となる。なお、Enc(Ka,Kb)はKbをKaによって暗号化したデータであることを示す。   In this tree structure, as is apparent from FIG. 3, the three devices 0, 1, 2, 3 included in one group have common keys K00, K0, KR as node keys. By using this node key sharing configuration, for example, a common content key can be provided only to the devices 0, 1, 2, and 3. For example, if the common node key K00 itself is set as the content key, only the devices 0, 1, 2, and 3 can set the common content key without executing new key transmission. Further, if the value Enc (K00, Kcon) obtained by encrypting the new content key Kcon with the node key K00 is stored in a recording medium via a network or distributed to the devices 0, 1, 2, 3, the device 0, Only 1, 2, 3 can use the shared node key K00 possessed by each device to break the encryption Enc (K00, Kcon) and obtain the content key: Kcon. Enc (Ka, Kb) indicates data obtained by encrypting Kb with Ka.

また、ある時点tにおいて、デバイス3の所有する鍵:K0011,K001,K00,K0,KRが攻撃者(ハッカー)により解析されて露呈したことが発覚した場合、それ以降、システム(デバイス0,1,2,3のグループ)で送受信されるデータを守るために、デバイス3をシステムから切り離す必要がある。そのためには、ノードキー:K001,K00,K0,KRをそれぞれ新たな鍵K(t)001,K(t)00,K(t)0,K(t)Rに更新し、デバイス0,1,2にその更新キーを伝える必要がある。ここで、K(t)aaaは、鍵Kaaaの世代(Generation):tの更新キーであることを示す。   Further, at a certain time t, when it is discovered that the keys possessed by the device 3: K0011, K001, K00, K0, KR are analyzed and exposed by an attacker (hacker), the system (devices 0, 1) , 2 and 3), the device 3 needs to be disconnected from the system. For this purpose, the node keys: K001, K00, K0, KR are updated to new keys K (t) 001, K (t) 00, K (t) 0, K (t) R, respectively, and devices 0, 1, 2 must be notified of the update key. Here, K (t) aaa indicates that the key is a renewal key of Generation: t.

更新キーの配布処理ついて説明する。キーの更新は、例えば、図4(A)に示す有効化キーブロック(EKB:Enabling Key Block)と呼ばれるブロックデータによって構成されるテーブルをたとえばネットワーク、あるいは記録媒体に格納してデバイス0,1,2に供給することによって実行される。なお、有効化キーブロック(EKB)は、図3に示すようなツリー構造を構成する各リーフに対応するデバイスに新たに更新されたキーを配布するための暗号化キーによって構成される。有効化キーブロック(EKB)は、キー更新ブロック(KRB:Key Renewal Block)と呼ばれることもある。   The update key distribution process will be described. The key is updated by, for example, storing a table composed of block data called an enabling key block (EKB) shown in FIG. 2 is executed. The enabling key block (EKB) is composed of an encryption key for distributing a newly updated key to devices corresponding to each leaf constituting the tree structure as shown in FIG. The enabling key block (EKB) is sometimes called a key renewal block (KRB).

図4(A)に示す有効化キーブロック(EKB)には、ノードキーの更新の必要なデバイスのみが更新可能なデータ構成を持つブロックデータとして構成される。図4の例は、図3に示すツリー構造中のデバイス0,1,2において、世代tの更新ノードキーを配布することを目的として形成されたブロックデータである。図3から明らかなように、デバイス0,デバイス1は、更新ノードキーとしてK(t)00、K(t)0、K(t)Rが必要であり、デバイス2は、更新ノードキーとしてK(t)001、K(t)00、K(t)0、K(t)Rが必要である。   The enabling key block (EKB) shown in FIG. 4A is configured as block data having a data configuration that can be updated only by a device that requires updating of the node key. The example of FIG. 4 is block data formed for the purpose of distributing generation t update node keys in the devices 0, 1, and 2 in the tree structure shown in FIG. As is apparent from FIG. 3, device 0 and device 1 require K (t) 00, K (t) 0, and K (t) R as update node keys, and device 2 uses K (t) as an update node key. ) 001, K (t) 00, K (t) 0, K (t) R are required.

図4(A)のEKBに示されるようにEKBには複数の暗号化キーが含まれる。最下段の暗号化キーは、Enc(K0010,K(t)001)である。これはデバイス2の持つリーフキーK0010によって暗号化された更新ノードキーK(t)001であり、デバイス2は、自身の持つリーフキーによってこの暗号化キーを復号し、K(t)001を得ることができる。また、復号により得たK(t)001を用いて、図4(A)の下から2段目の暗号化キーEnc(K(t)001,K(t)00)を復号可能となり、更新ノードキーK(t)00を得ることができる。以下順次、図4(A)の上から2段目の暗号化キーEnc(K(t)00,K(t)0)を復号し、更新ノードキーK(t)0、図4(A)の上から1段目の暗号化キーEnc(K(t)0,K(t)R)を復号しK(t)Rを得る。一方、デバイスK0000.K0001は、ノードキーK000は更新する対象に含まれておらず、更新ノードキーとして必要なのは、K(t)00、K(t)0、K(t)Rである。デバイスK0000.K0001は、図4(A)の上から3段目の暗号化キーEnc(K000,K(t)00)を復号しK(t)00、を取得し、以下、図4(A)の上から2段目の暗号化キーEnc(K(t)00,K(t)0)を復号し、更新ノードキーK(t)0、図4(A)の上から1段目の暗号化キーEnc(K(t)0,K(t)R)を復号しK(t)Rを得る。このようにして、デバイス0,1,2は更新した鍵K(t)Rを得ることができる。なお、図4(A)のインデックスは、復号キーとして使用するノードキー、リーフキーの絶対番地を示す。   As shown in the EKB in FIG. 4A, the EKB includes a plurality of encryption keys. The lowest encryption key is Enc (K0010, K (t) 001). This is an update node key K (t) 001 encrypted with the leaf key K0010 of the device 2, and the device 2 can decrypt this encryption key with the leaf key of itself and obtain K (t) 001. . In addition, by using K (t) 001 obtained by decryption, the encryption key Enc (K (t) 001, K (t) 00) in the second stage from the bottom of FIG. 4A can be decrypted and updated. The node key K (t) 00 can be obtained. Subsequently, the encryption key Enc (K (t) 00, K (t) 0) in the second stage from the top in FIG. 4A is sequentially decrypted, and the update node key K (t) 0, as shown in FIG. The first-stage encryption key Enc (K (t) 0, K (t) R) is decrypted to obtain K (t) R. On the other hand, the device K0000. K0001 is not included in the node key K000 to be updated, and K (t) 00, K (t) 0, and K (t) R are required as update node keys. Device K0000. K0001 decrypts the third-stage encryption key Enc (K000, K (t) 00) from the top of FIG. 4A to obtain K (t) 00. The second-stage encryption key Enc (K (t) 00, K (t) 0) is decrypted from the update node key K (t) 0, and the first-stage encryption key Enc from the top in FIG. (K (t) 0, K (t) R) is decoded to obtain K (t) R. In this way, the devices 0, 1, and 2 can obtain the updated key K (t) R. The index in FIG. 4A indicates the absolute address of the node key and leaf key used as the decryption key.

図3に示すツリー構造の上位段のノードキー:K(t)0,K(t)Rの更新が不要であり、ノードキーK00のみの更新処理が必要である場合には、図4(B)の有効化キーブロック(EKB)を用いることで、更新ノードキーK(t)00をデバイス0,1,2に配布することができる。   When it is not necessary to update the node keys: K (t) 0, K (t) R in the upper level of the tree structure shown in FIG. 3, and only the node key K00 needs to be updated, the processing shown in FIG. By using the enabling key block (EKB), the updated node key K (t) 00 can be distributed to the devices 0, 1, and 2.

図4(B)に示すEKBは、例えば特定のグループにおいて共有する新たなコンテンツキーを配布する場合に利用可能である。具体例として、図3に点線で示すグループ内のデバイス0,1,2,3がある記録媒体を用いており、新たな共通のコンテンツキーK(t)conが必要であるとする。このとき、デバイス0,1,2,3の共通のノードキーK00を更新したK(t)00を用いて新たな共通の更新コンテンツキー:K(t)conを暗号化したデータEnc(K(t),K(t)con)を図4(B)に示すEKBとともに配布する。この配布により、デバイス4など、その他のグループの機器においては復号されないデータとしての配布が可能となる。   The EKB shown in FIG. 4B can be used, for example, when distributing a new content key shared in a specific group. As a specific example, it is assumed that a recording medium having devices 0, 1, 2, and 3 in a group indicated by a dotted line in FIG. 3 is used and a new common content key K (t) con is required. At this time, the data Enc (K (t (K)) is obtained by encrypting a new common updated content key: K (t) con using K (t) 00 that has updated the common node key K00 of the devices 0, 1, 2, and 3. ), K (t) con) is distributed together with the EKB shown in FIG. This distribution enables distribution as data that is not decrypted in other groups of devices such as the device 4.

すなわち、デバイス0,1,2はEKBを処理して得たK(t)00を用いて上記暗号文を復号すれば、t時点でのコンテンツキーK(t)conを得ることが可能になる。   That is, the devices 0, 1, and 2 can obtain the content key K (t) con at time point t by decrypting the ciphertext using K (t) 00 obtained by processing the EKB. .

[EKBを使用したコンテンツキーの配布]
図5に、t時点でのコンテンツキーK(t)conを得る処理例として、K(t)00を用いて新たな共通のコンテンツキーK(t)conを暗号化したデータEnc(K(t)00,K(t)con)と図4(B)に示すEKBとを記録媒体を介して受領したデバイス0の処理を示す。すなわちEKBによる暗号化メッセージデータをコンテンツキーK(t)conとした例である。
[Distribution of content key using EKB]
In FIG. 5, as an example of processing for obtaining the content key K (t) con at time t, data Enc (K (t (t)) obtained by encrypting a new common content key K (t) con using K (t) 00. ) 00, K (t) con) and the EKB shown in FIG. 4B via the recording medium. That is, this is an example in which the encrypted message data by EKB is used as the content key K (t) con.

図5に示すように、デバイス0は、記録媒体に格納されている世代:t時点のEKBと自分があらかじめ格納しているノードキーK000を用いて上述したと同様のEKB処理により、ノードキーK(t)00を生成する。さらに、復号した更新ノードキーK(t)00を用いて更新コンテンツキーK(t)conを復号して、後にそれを使用するために自分だけが持つリーフキーK0000で暗号化して格納する。   As shown in FIG. 5, the device 0 uses the EKB at the time of generation: t stored in the recording medium and the node key K000 stored in advance, and the node key K (t ) 00 is generated. Further, the update content key K (t) con is decrypted using the decrypted update node key K (t) 00, and is encrypted and stored with the leaf key K0000 that only the user has in order to use it later.

[EKBのフォーマット]
図6に有効化キーブロック(EKB)のフォーマット例を示す。バージョン601は、有効化キーブロック(EKB)のバージョンを示す識別子である。なお、バージョンは最新のEKBを識別する機能とコンテンツとの対応関係を示す機能を持つ。デプスは、有効化キーブロック(EKB)の配布先のデバイスに対する階層ツリーの階層数を示す。データポインタ603は、有効化キーブロック(EKB)中のデータ部の位置を示すポインタであり、タグポインタ604はタグ部の位置、署名ポインタ605は署名の位置を示すポインタである。
[EKB format]
FIG. 6 shows a format example of the enabling key block (EKB). The version 601 is an identifier indicating the version of the enabling key block (EKB). Note that the version has a function for identifying the latest EKB and a function for indicating a correspondence relationship between contents. The depth indicates the number of hierarchies of the hierarchical tree for the device to which the enabling key block (EKB) is distributed. The data pointer 603 is a pointer indicating the position of the data part in the enabling key block (EKB), the tag pointer 604 is the position of the tag part, and the signature pointer 605 is a pointer indicating the position of the signature.

データ部606は、例えば更新するノードキーを暗号化したデータを格納する。例えば図5に示すような更新されたノードキーに関する各暗号化キー等を格納する。   The data unit 606 stores, for example, data obtained by encrypting the node key to be updated. For example, each encryption key related to the updated node key as shown in FIG. 5 is stored.

タグ部607は、データ部に格納された暗号化されたノードキー、リーフキーの位置関係を示すタグである。このタグの付与ルールを図7を用いて説明する。図7では、データとして先に図4(A)で説明した有効化キーブロック(EKB)を送付する例を示している。この時のデータは、図7の表(b)に示すようになる。このときの暗号化キーに含まれるトップノードのアドレスをトップノードアドレスとする。この場合は、ルートキーの更新キーK(t)Rが含まれているので、トップノードアドレスはKRとなる。このとき、例えば最上段のデータEnc(K(t)0,K(t)R)は、図7の(a)に示す階層ツリーに示す位置にある。ここで、次のデータは、Enc(K(t)00,K(t)0)であり、ツリー上では前のデータの左下の位置にある。データがある場合は、タグが0、ない場合は1が設定される。タグは{左(L)タグ,右(R)タグ}として設定される。最上段のデータEnc(K(t)0,K(t)R)の左にはデータがあるので、Lタグ=0、右にはデータがないので、Rタグ=1となる。以下、すべてのデータにタグが設定され、図7(c)に示すデータ列、およびタグ列が構成される。   The tag part 607 is a tag indicating the positional relationship between the encrypted node key and leaf key stored in the data part. The tag assignment rule will be described with reference to FIG. FIG. 7 shows an example in which the enabling key block (EKB) described above with reference to FIG. 4A is sent as data. The data at this time is as shown in the table (b) of FIG. The top node address included in the encryption key at this time is set as the top node address. In this case, since the update key K (t) R of the root key is included, the top node address is KR. At this time, for example, the uppermost data Enc (K (t) 0, K (t) R) is at the position shown in the hierarchical tree shown in FIG. Here, the next data is Enc (K (t) 00, K (t) 0), and is in the lower left position of the previous data on the tree. When there is data, the tag is set to 0, and when there is no data, 1 is set. The tags are set as {left (L) tag, right (R) tag}. Since there is data on the left of the uppermost data Enc (K (t) 0, K (t) R), L tag = 0, and there is no data on the right, so R tag = 1. Hereinafter, tags are set for all data, and the data string and tag string shown in FIG. 7C are configured.

タグは、データEnc(Kxxx,Kyyy)がツリー構造のどこに位置しているのかを示すために設定されるものである。データ部に格納されるキーデータEnc(Kxxx,Kyyy)...は、単純に暗号化されたキーの羅列データに過ぎないので、上述したタグによってデータとして格納された暗号化キーのツリー上の位置を判別可能としたものである。上述したタグを用いずに、先の図4で説明した構成のように暗号化データに対応させたノード・インデックスを用いて、例えば、
0:Enc(K(t)0,K(t)root)
00:Enc(K(t)00,K(t)0)
000:Enc(K((t)000,K(T)00)
...のようなデータ構成とすることも可能であるが、このようなインデックスを用いた構成とすると冗長なデータとなりデータ量が増大し、ネットワークを介する配信等においては好ましくない。これに対し、上述したタグをキー位置を示す索引データとして用いることにより、少ないデータ量でキー位置の判別が可能となる。
The tag is set to indicate where the data Enc (Kxxx, Kyyy) is located in the tree structure. Since the key data Enc (Kxxx, Kyyy)... Stored in the data portion is merely enumerated data of the encrypted keys, the key data Enc (Kxxxx, Kyyy). The position can be discriminated. Without using the above-described tag, using the node index corresponding to the encrypted data as in the configuration described in FIG. 4, for example,
0: Enc (K (t) 0, K (t) root)
00: Enc (K (t) 00, K (t) 0)
000: Enc (K ((t) 000, K (T) 00)
Although it is possible to adopt a data configuration such as ..., a configuration using such an index results in redundant data and increases the amount of data, which is not preferable in distribution via a network. On the other hand, by using the above-described tag as index data indicating the key position, the key position can be determined with a small amount of data.

図6に戻って、EKBフォーマットについてさらに説明する。署名(Signature)は、有効化キーブロック(EKB)を発行した例えば鍵管理センタ、コンテンツロバイダ、決済機関等が実行する電子署名である。EKBを受領したデバイスは署名検証によって正当な有効化キーブロック(EKB)発行者が発行した有効化キーブロック(EKB)であることを確認する。   Returning to FIG. 6, the EKB format will be further described. The signature (Signature) is an electronic signature executed by, for example, a key management center, a content provider, a settlement organization, or the like that has issued an enabling key block (EKB). The device that has received the EKB confirms by the signature verification that it is an activation key block (EKB) issued by a valid activation key block (EKB) issuer.

[EKBを使用したコンテンツキーおよびコンテンツの配信]
上述の例では、コンテンツキーのみをEKBとともに送付する例について説明したが、コンテンツキーで暗号化したコンテンツと、コンテンツキー暗号キーで暗号化したコンテンツキーと、EKBによって暗号化したコンテンツキー暗号鍵を併せて送付する構成について以下説明する。
[Content key and content distribution using EKB]
In the above-described example, the example in which only the content key is sent together with the EKB has been described. However, the content key encrypted with the content key, the content key encrypted with the content key encryption key, and the content key encryption key encrypted with the EKB are described. The configuration to be sent together will be described below.

図8にこのデータ構成を示す。図8(a)に示す構成において、Enc(Kcon,content)801は、コンテンツ(Content)をコンテンツキー(Kcon)で暗号化したデータであり、Enc(KEK,Kcon)802は、コンテンツキー(Kcon)をコンテンツキー暗号キー(KEK:Key Encryption Key)で暗号化したデータであり、Enc(EKB,KEK)803は、コンテンツキー暗号キーKEKを有効化キーブロック(EKB)によって暗号化したデータであることを示す。   FIG. 8 shows this data structure. In the configuration shown in FIG. 8A, Enc (Kcon, content) 801 is data obtained by encrypting content with a content key (Kcon), and Enc (KEK, Kcon) 802 is content key (Kcon). ) Is encrypted with a content key encryption key (KEK), and Enc (EKB, KEK) 803 is data obtained by encrypting the content key encryption key KEK with an enabling key block (EKB). It shows that.

ここで、コンテンツキー暗号キーKEKは、図3で示すノードキー(K000,K00…)、あるいはルートキー(KR)自体であってもよく、またノードキー(K000,K00…)、あるいはルートキー(KR)によって暗号化されたキーであってもよい。   Here, the content key encryption key KEK may be the node key (K000, K00...) Or the root key (KR) itself shown in FIG. 3, or the node key (K000, K00...) Or the root key (KR). It may be a key encrypted by.

図8(b)は、複数のコンテンツがメディアに記録され、それぞれが同じEnc(EKB,KEK)805を利用している場合の構成例を示す、このような構成においては、各データに同じEnc(EKB,KEK)を付加することなく、Enc(EKB,KEK)にリンクするリンク先を示すデータを各データに付加する構成とすることができる。   FIG. 8B shows a configuration example in which a plurality of contents are recorded on a medium and each uses the same Enc (EKB, KEK) 805. In such a configuration, the same Enc is used for each data. Without adding (EKB, KEK), data indicating a link destination linked to Enc (EKB, KEK) can be added to each data.

図9にコンテンツキー暗号キーKEKを、図3に示すノードキーK00を更新した更新ノードキーK(t)00として構成した場合の例を示す。この場合、図3の点線枠で囲んだグループにおいてデバイス3が、例えば鍵の漏洩によりリボーク(排除)されているとして、他のグループのメンバ、すなわち、デバイス0,1,2に対して図9に示す(a)有効化キーブロック(EKB)と、(b)コンテンツキー(Kcon)をコンテンツキー暗号キー(KEK=K(t)00)で暗号化したデータと、(c)コンテンツ(content)をコンテンツキー(Kcon)で暗号化したデータとを配信することにより、デバイス0,1,2はコンテンツを得ることができる。   FIG. 9 shows an example in which the content key encryption key KEK is configured as an updated node key K (t) 00 obtained by updating the node key K00 shown in FIG. In this case, assuming that the device 3 is revoked (excluded) due to key leakage in the group surrounded by the dotted frame in FIG. (A) an enabling key block (EKB), (b) data obtained by encrypting a content key (Kcon) with a content key encryption key (KEK = K (t) 00), and (c) content (content) By distributing the data encrypted with the content key (Kcon), the devices 0, 1, and 2 can obtain the content.

図9の右側には、デバイス0における復号手順を示してある。デバイス0は、まず、受領した有効化キーブロックから自身の保有するリーフキーK000を用いた復号処理により、コンテンツキー暗号キー(KEK=K(t)00)を取得する。次に、K(t)00による復号によりコンテンツキーKconを取得し、さらにコンテンツキーKconによりコンテンツの復号を行なう。これらの処理により、デバイス0はコンテンツを利用可能となる。デバイス1,2においても各々異なる処理手順でEKBを処理することにより、コンテンツキー暗号キー(KEK=K(t)00)を取得することが可能となり、同様にコンテンツを利用することが可能となる。   The right side of FIG. 9 shows a decoding procedure in the device 0. The device 0 first obtains the content key encryption key (KEK = K (t) 00) from the received activation key block by the decryption process using the leaf key K000 held by the device 0. Next, the content key Kcon is obtained by decryption with K (t) 00, and the content is decrypted with the content key Kcon. With these processes, the device 0 can use the content. The devices 1 and 2 can acquire the content key encryption key (KEK = K (t) 00) by processing the EKB according to different processing procedures, and can use the content in the same manner. .

図3に示す他のグループのデバイス4,5,6…は、この同様のデータ(EKB)を受信したとしても、自身の保有するリーフキー、ノードキーを用いてコンテンツキー暗号キー(KEK=K(t)00)を取得することができない。同様にリボークされたデバイス3においても、自身の保有するリーフキー、ノードキーでは、コンテンツキー暗号キー(KEK=K(t)00)を取得することができず、正当な権利を有するデバイスのみがコンテンツを復号して利用することが可能となる。   Even if the devices 4, 5, 6... Shown in FIG. 3 receive this similar data (EKB), the content key encryption key (KEK = K (t ) 00) cannot be obtained. Similarly, even in the revoked device 3, the content key encryption key (KEK = K (t) 00) cannot be acquired with its own leaf key and node key, and only the device having a legitimate right can obtain the content. It can be used after being decrypted.

このように、EKBを利用したコンテンツキーの配送を用いれば、データ量を少なくして、かつ安全に正当権利者のみが復号可能とした暗号化コンテンツを配信することが可能となる。   In this way, if content key delivery using EKB is used, it is possible to distribute encrypted content that can be decrypted only by the rightful owner safely while reducing the amount of data.

なお、有効化キーブロック(EKB)、コンテンツキー、暗号化コンテンツ等は、ネットワークを介して安全に配信することが可能な構成であるが、有効化キーブロック(EKB)、コンテンツキー、暗号化コンテンツをDVD、CD等の記録媒体に格納してユーザに提供することも可能である。この場合、記録媒体に格納された暗号化コンテンツの復号には、同一の記録媒体に格納された有効化キーブロック(EKB)の復号により得られるコンテンツキーを使用するように構成すれば、予め正当権利者のみが保有するリーフキー、ノードキーによってのみ利用可能な暗号化コンテンツの配布処理、すなわち利用可能なユーザデバイスを限定したコンテンツ配布が簡易な構成で実現可能となる。   The enabling key block (EKB), the content key, the encrypted content, etc. can be safely distributed via the network. However, the enabling key block (EKB), the content key, the encrypted content, etc. Can be stored in a recording medium such as a DVD or CD and provided to the user. In this case, if the content key obtained by decrypting the enabling key block (EKB) stored in the same recording medium is used for decryption of the encrypted content stored in the recording medium, it is valid in advance. Distribution processing of encrypted content that can be used only by the leaf key and node key held only by the right holder, that is, content distribution limited to available user devices can be realized with a simple configuration.

図10に記録媒体に暗号化コンテンツとともに有効化キーブロック(EKB)を格納した構成例を示す。図10に示す例においては、記録媒体にコンテンツC1〜C4が格納され、さらに各格納コンテンツに対応するの有効化キーブロック(EKB)を対応付けたデータが格納され、さらにバージョンMの有効化キーブロック(EKB_M)が格納されている。例えばEKB_1はコンテンツC1を暗号化したコンテンツキーKcon1を生成するのに使用され、例えばEKB_2はコンテンツC2を暗号化したコンテンツキーKcon2を生成するのに使用される。この例では、バージョンMの有効化キーブロック(EKB_M)が記録媒体に格納されており、コンテンツC3,C4は有効化キーブロック(EKB_M)に対応付けられているので、有効化キーブロック(EKB_M)の復号によりコンテンツC3,C4のコンテンツキーを取得することができる。EKB_1、EKB_2はディスクに格納されていないので、新たな提供手段、例えばネットワーク配信、あるいは記録媒体による配信によってそれぞれのコンテンツキーを復号するために必要なEKB_1,EKB_2を取得することが必要となる。   FIG. 10 shows a configuration example in which an enabling key block (EKB) is stored in the recording medium together with the encrypted content. In the example shown in FIG. 10, the contents C1 to C4 are stored in the recording medium, the data in which the activation key block (EKB) corresponding to each stored content is associated, and the version M activation key is further stored. A block (EKB_M) is stored. For example, EKB_1 is used to generate a content key Kcon1 obtained by encrypting the content C1, and for example, EKB_2 is used to generate a content key Kcon2 obtained by encrypting the content C2. In this example, the activation key block (EKB_M) of version M is stored in the recording medium, and the contents C3 and C4 are associated with the activation key block (EKB_M), so the activation key block (EKB_M) Thus, the content keys of the contents C3 and C4 can be acquired. Since EKB_1 and EKB_2 are not stored on the disc, it is necessary to acquire EKB_1 and EKB_2 necessary for decrypting the respective content keys by new providing means, for example, network distribution or distribution by a recording medium.

図11に、複数のデバイス間でコンテンツキーが流通する場合のEKBを利用したコンテンツキーの配信と、従来のコンテンツキー配信処理の比較例を示す。上段(a)が従来構成であり、下段(b)が本発明の有効化キーブロック(EKB)を利用した例である。なお、図11においてKa(Kb)は、KbをKaで暗号化したデータであることを示す。   FIG. 11 shows a comparative example of content key distribution using EKB and conventional content key distribution processing when content keys are distributed among a plurality of devices. The upper stage (a) is a conventional configuration, and the lower stage (b) is an example using the enabling key block (EKB) of the present invention. In FIG. 11, Ka (Kb) indicates data obtained by encrypting Kb with Ka.

(a)に示すように、従来は、データ送受信者の正当性を確認し、またデータ送信の暗号化処理に使用するセッションキーKsesを共有するために各デバイス間において、認証処理および鍵交換処理(AKE:Authentication and Key Exchange)を実行し、認証が成立したことを条件としてセッションキーKsesでコンテンツキーKconを暗号化して送信する処理を行なっていた。   Conventionally, as shown in (a), authentication processing and key exchange processing are performed between devices in order to confirm the legitimacy of a data sender and to share a session key Kses used for data transmission encryption processing. (AKE: Authentication and Key Exchange) is executed, and the content key Kcon is encrypted and transmitted with the session key Kses under the condition that the authentication is established.

例えば図11(a)のPCにおいては、受信したセッションキーで暗号化したコンテンツキーKses(Kcon)をセッションキーで復号してKconを得ることが可能であり、さらに取得したKconをPC自体の保有する保存キーKstrで暗号化して自身のメモリに保存することが可能となる。   For example, in the PC of FIG. 11A, the content key Kses (Kcon) encrypted with the received session key can be decrypted with the session key to obtain Kcon, and the acquired Kcon is held by the PC itself. It is possible to encrypt the data with the storage key Kstr and store it in its own memory.

図11(a)において、コンテンツプロバイダは、図11(a)の記録デバイス1101にのみデータを利用可能な形で配信したい場合でも、間にPC、再生装置が存在する場合は、図11(a)に示すように認証処理を実行し、それぞれのセッションキーでコンテンツキーを暗号化して配信するといった処理が必要となる。また、間に介在するPC、再生装置においても認証処理において生成し共有することになったセッションキーを用いることで暗号化コンテンツキーを復号してコンテンツキーを取得可能となる。   In FIG. 11 (a), even if the content provider wants to distribute data only to the recording device 1101 in FIG. 11 (a) in a form that can be used, ), An authentication process is executed, and a process of encrypting and distributing the content key with each session key is required. In addition, the content key can be acquired by decrypting the encrypted content key by using the session key generated and shared in the authentication process also in the intervening PC and playback device.

一方、図11(b)の下段に示す有効化キーブロック(EKB)を利用した例においては、コンテンツプロバイダから有効化キーブロック(EKB)と、有効化キーブロック(EKB)の処理によって得られるノードキー、またはルートキーによってコンテンツキーKconを暗号化したデータ(図の例ではKroot(Kcon))を配信することにより、配信したEKBの処理が可能な機器においてのみコンテンツキーKconを復号して取得することが可能になる。   On the other hand, in the example using the enabling key block (EKB) shown in the lower part of FIG. 11B, the enabling key block (EKB) and the node key obtained by the processing of the enabling key block (EKB) from the content provider. Or by decrypting and acquiring the content key Kcon only in a device capable of processing the distributed EKB by distributing data (Kroot (Kcon) in the example of the figure) obtained by encrypting the content key Kcon with the root key Is possible.

従って、例えば図11(b)の右端にのみ利用可能な有効化キーブロック(EKB)を生成して、その有効化キーブロック(EKB)と、そのEKB処理によって得られるノードキー、またはルートキーによってコンテンツキーKconを暗号化したデータを併せて送ることにより、間に存在するPC、再生機器等は、自身の有するリーフキー、ノードキーによっては、EKBの処理を実行することができない。従って、データ送受信デバイス間での認証処理、セッションキーの生成、セッションキーによるコンテンツキーKconの暗号化処理といった処理を実行することなく、安全に正当なデバイスに対してのみ利用可能なコンテンツキーを配信することが可能となる。   Therefore, for example, an enabling key block (EKB) that can be used only at the right end of FIG. 11B is generated, and the contents are obtained by the enabling key block (EKB) and the node key or root key obtained by the EKB processing. By sending together the encrypted data of the key Kcon, PCs, playback devices, etc. existing between them cannot execute EKB processing depending on their own leaf keys and node keys. Therefore, a content key that can be safely used only for legitimate devices can be distributed without executing processing such as authentication processing between data transmitting / receiving devices, session key generation, and content key Kcon encryption processing using the session key. It becomes possible to do.

PC、記録再生器にも利用可能なコンテンツキーを配信したい場合は、それぞれにおいて処理可能な有効化キーブロック(EKB)を生成して、配信することにより、共通のコンテンツキーを取得することが可能となる。   If you want to distribute content keys that can also be used for PCs and recording / reproducing devices, you can acquire a common content key by generating and distributing an enabling key block (EKB) that can be processed by each. It becomes.

[有効化キーブロック(EKB)を使用した認証キーの配信(共通鍵方式)]
上述の有効化キーブロック(EKB)を使用したデータあるいはキーの配信において、デバイス間で転送される有効化キーブロック(EKB)およびコンテンツあるいはコンテンツキーは常に同じ暗号化形態を維持しているため、データ伝走路を盗み出して記録し、再度、後で転送する、いわゆるリプレイアタックにより、不正コピーが生成される可能性がある。これを防ぐ構成としては、データ転送デバイス間において、従来と同様の認証処理および鍵交換処理を実行することが有効な手段である。ここでは、この認証処理および鍵交換処理を実行する際に使用する認証キーKakeを上述の有効化キーブロック(EKB)を使用してデバイスに配信することにより、安全な秘密鍵として共有する認証キーを持ち、共通鍵方式に従った認証処理を実行する構成について説明する。すなわちEKBによる暗号化メッセージデータを認証キーとした例である。
[Distribution of authentication key using activation key block (EKB) (common key method)]
In the distribution of data or key using the above-described enabling key block (EKB), the enabling key block (EKB) and the content or content key transferred between devices always maintain the same encryption form. An illegal copy may be generated by a so-called replay attack in which the data transmission path is stolen and recorded, and then transferred again later. In order to prevent this, it is an effective means to execute authentication processing and key exchange processing similar to those in the past between data transfer devices. Here, the authentication key Kake used when executing the authentication process and the key exchange process is distributed to the device using the above-described activation key block (EKB), thereby sharing the authentication key as a secure secret key. A configuration for performing authentication processing in accordance with the common key method will be described. In other words, this is an example in which encrypted message data by EKB is used as an authentication key.

図12に、共通鍵暗号方式を用いた相互認証方法(ISO/IEC 9798-2)を示す。図12においては、共通鍵暗号方式としてDESを用いているが、共通鍵暗号方式であれば他の方式も可能である。図12において、まず、Bが64ビットの乱数Rbを生成し、Rbおよび自己のIDであるID(b)をAに送信する。これを受信したAは、新たに64ビットの乱数Raを生成し、Ra、Rb、ID(b)の順に、DESのCBCモードで鍵Kabを用いてデータを暗号化し、Bに返送する。なお、鍵Kabは、AおよびBに共通の秘密鍵としてそれぞれの記録素子内に格納する鍵である。DESのCBCモードを用いた鍵Kabによる暗号化処理は、例えばDESを用いた処理においては、初期値とRaとを排他的論理和し、DES暗号化部において、鍵Kabを用いて暗号化し、暗号文E1を生成し、続けて暗号文E1とRbとを排他的論理和し、DES暗号化部において、鍵Kabを用いて暗号化し、暗号文E2を生成し、さらに、暗号文E2とID(b)とを排他的論理和し、DES暗号化部において、鍵Kabを用いて暗号化して生成した暗号文E3とによって送信データ(Token-AB)を生成する。   FIG. 12 shows a mutual authentication method (ISO / IEC 9798-2) using a common key cryptosystem. In FIG. 12, DES is used as the common key encryption method, but other methods are possible as long as the common key encryption method is used. In FIG. 12, first, B generates a 64-bit random number Rb, and transmits Rb and its own ID (b) to A. Upon receiving this, A newly generates a 64-bit random number Ra, encrypts the data using the key Kab in the DES CBC mode in the order of Ra, Rb, and ID (b), and returns it to B. The key Kab is a key stored in each recording element as a secret key common to A and B. In the encryption process using the key Kab using the DES CBC mode, for example, in the process using the DES, the initial value and Ra are exclusive-ORed, and the DES encryption unit encrypts using the key Kab, A ciphertext E1 is generated, and the ciphertexts E1 and Rb are exclusive ORed together, and the DES encryption unit encrypts the ciphertext E2 using the key Kab, and further generates the ciphertext E2 and the ID. The transmission data (Token-AB) is generated from the ciphertext E3 generated by performing an exclusive OR with (b) and encrypting with the key Kab in the DES encryption unit.

これを受信したBは、受信データを、やはり共通の秘密鍵としてそれぞれの記録素子内に格納する鍵Kab(認証キー)で復号化する。受信データの復号化方法は、まず、暗号文E1を認証キーKabで復号化し、乱数Raを得る。次に、暗号文E2を認証キーKabで復号化し、その結果とE1を排他的論理和し、Rbを得る。最後に、暗号文E3を認証キーKabで復号化し、その結果とE2を排他的論理和し、ID(b)を得る。こうして得られたRa、Rb、ID(b)のうち、RbおよびID(b)が、Bが送信したものと一致するか検証する。この検証に通った場合、BはAを正当なものとして認証する。   Upon receiving this, B decrypts the received data with a key Kab (authentication key) that is also stored in each recording element as a common secret key. As a method for decrypting received data, first, the ciphertext E1 is decrypted with the authentication key Kab to obtain the random number Ra. Next, the ciphertext E2 is decrypted with the authentication key Kab, and the result is exclusive-ORed with E1 to obtain Rb. Finally, the ciphertext E3 is decrypted with the authentication key Kab, and the result and E2 are exclusive ORed to obtain ID (b). Of Ra, Rb, and ID (b) obtained in this way, it is verified whether Rb and ID (b) match those transmitted by B. If this verification is passed, B authenticates A as valid.

次にBは、認証後に使用するセッションキー(Kses)を生成する(生成方法は、乱数を用いる)。そして、Rb、Ra、Ksesの順に、DESのCBCモードで認証キーKabを用いて暗号化し、Aに返送する。   Next, B generates a session key (Kses) to be used after authentication (a random number is used as a generation method). Then, the data is encrypted using the authentication key Kab in the DES CBC mode in the order of Rb, Ra, and Kses, and returned to A.

これを受信したAは、受信データを認証キーKabで復号化する。受信データの復号化方法は、Bの復号化処理と同様であるので、ここでは詳細を省略する。こうして得られたRb、Ra、Ksesの内、RbおよびRaが、Aが送信したものと一致するか検証する。この検証に通った場合、AはBを正当なものとして認証する。互いに相手を認証した後には、セッションキーKsesは、認証後の秘密通信のための共通鍵として利用される。   Upon receiving this, A decrypts the received data with the authentication key Kab. The method for decoding the received data is the same as the decoding process for B, so the details are omitted here. Of Rb, Ra, and Kses obtained in this way, it is verified whether Rb and Ra match those transmitted by A. If this verification is passed, A authenticates B as valid. After authenticating each other, the session key Kses is used as a common key for secret communication after authentication.

なお、受信データの検証の際に、不正、不一致が見つかった場合には、相互認証が失敗したものとして処理を中断する。   In addition, when an illegality or a mismatch is found during the verification of the received data, the processing is interrupted on the assumption that mutual authentication has failed.

上述の認証処理においては、A,Bは共通の認証キーKabを共有する。この共通鍵Kabを上述の有効化キーブロック(EKB)を使用してデバイスに配信する。   In the above authentication process, A and B share a common authentication key Kab. This common key Kab is distributed to the device using the above-described enabling key block (EKB).

例えば、図12の例では、A,またはBのいずれかが他方が復号可能な有効化キーブロック(EKB)を生成して生成した有効化キーブロック(EKB)によって認証キーKabを暗号化して、他方に送信する構成としてもよいし、あるいは第3者がデバイスA,Bに対して双方が利用可能な有効化キーブロック(EKB)を生成してデバイスA,Bに対して生成した有効化キーブロック(EKB)によって認証キーKabを暗号化して配信する構成としてもよい。   For example, in the example of FIG. 12, the authentication key Kab is encrypted with the enabling key block (EKB) generated by generating the enabling key block (EKB) that either A or B can decrypt. It is good also as a structure which transmits to the other, or the 3rd party produces | generates the enabling key block (EKB) which both can use with respect to devices A and B, and the enabling key produced | generated with respect to devices A and B The authentication key Kab may be encrypted by a block (EKB) and distributed.

図13および図14に複数のデバイスに共通の認証キーKakeを有効化キーブロック(EKB)によって配信する構成例を示す。図13はデバイス0,1,2,3に対して復号可能な認証キーKakeを配信する例、図14はデバイス0,1,2,3中のデバイス3をリボーク(排除)してデバイス0,1,2に対してのみ復号可能な認証キーを配信する例を示す。   FIG. 13 and FIG. 14 show configuration examples in which an authentication key Kake common to a plurality of devices is distributed by an enabling key block (EKB). FIG. 13 shows an example in which a decodable authentication key Kake is distributed to the devices 0, 1, 2, and 3. FIG. 14 shows a revocation (exclusion) of the device 3 in the devices 0, 1, 2, and 3, An example in which an authentication key that can be decrypted only for 1 and 2 is distributed will be shown.

図13の例では、更新ノードキーK(t)00によって、認証キーKakeを暗号化したデータ(b)とともに、デバイス0,1,2,3においてそれぞれの有するノードキー、リーフキーを用いて更新されたノードキーK(t)00を復号可能な有効化キーブロック(EKB)を生成して配信する。それぞれのデバイスは、図13の右側に示すようにまず、EKBを処理(復号)することにより、更新されたノードキーK(t)00を取得し、次に、取得したノードキーK(t)00を用いて暗号化された認証キー:Enc(K(t)00,Kake)を復号して認証キーKakeを得ることが可能となる。   In the example of FIG. 13, the node key updated using the node key and leaf key of each of the devices 0, 1, 2, and 3 together with the data (b) obtained by encrypting the authentication key Kake with the updated node key K (t) 00. An enabling key block (EKB) that can decrypt K (t) 00 is generated and distributed. As shown on the right side of FIG. 13, each device first processes (decrypts) the EKB to obtain an updated node key K (t) 00, and then obtains the obtained node key K (t) 00. It becomes possible to obtain the authentication key Kake by decrypting the authentication key Enc (K (t) 00, Kake) encrypted by using the encrypted key.

その他のデバイス4,5,6,7…は同一の有効化キーブロック(EKB)を受信しても自身の保有するノードキー、リーフキーでは、EKBを処理して更新されたノードキーK(t)00を取得することができないので、安全に正当なデバイスに対してのみ認証キーを送付することができる。   Even if the other devices 4, 5, 6, 7... Receive the same enabling key block (EKB), the node keys and leaf keys held by the other devices 4, EKB are processed and the updated node key K (t) 00 is used. Since the authentication key cannot be acquired, the authentication key can be sent only to a safe and legitimate device.

一方、図14の例は、図3の点線枠で囲んだグループにおいてデバイス3が、例えば鍵の漏洩によりリボーク(排除)されているとして、他のグループのメンバ、すなわち、デバイス0,1,2,に対してのみ復号可能な有効化キーブロック(EKB)を生成して配信した例である。図14に示す(a)有効化キーブロック(EKB)と、(b)認証キー(Kake)をノードキー(K(t)00)で暗号化したデータを配信する。   On the other hand, in the example of FIG. 14, assuming that the device 3 is revoked (excluded) due to key leakage, for example, in the group surrounded by the dotted frame in FIG. , An enabling key block (EKB) that can be decrypted only is generated and distributed. The data obtained by encrypting (a) the enabling key block (EKB) and (b) the authentication key (Kake) with the node key (K (t) 00) shown in FIG. 14 is distributed.

図14の右側には、復号手順を示してある。デバイス0,1,2は、まず、受領した有効化キーブロックから自身の保有するリーフキーまたはノードキーを用いた復号処理により、更新ノードキー(K(t)00)を取得する。次に、K(t)00による復号により認証キーKakeを取得する。   The decoding procedure is shown on the right side of FIG. The devices 0, 1, and 2 first obtain an updated node key (K (t) 00) from the received validation key block by a decryption process using the leaf key or node key held by the device. Next, an authentication key Kake is obtained by decryption with K (t) 00.

図3に示す他のグループのデバイス4,5,6…は、この同様のデータ(EKB)を受信したとしても、自身の保有するリーフキー、ノードキーを用いて更新ノードキー(K(t)00)を取得することができない。同様にリボークされたデバイス3においても、自身の保有するリーフキー、ノードキーでは、更新ノードキー(K(t)00)を取得することができず、正当な権利を有するデバイスのみが認証キーを復号して利用することが可能となる。   Even if the devices 4, 5, 6,... Shown in FIG. 3 receive this similar data (EKB), the updated node key (K (t) 00) is obtained using the leaf key and node key held by itself. I can't get it. Similarly, the revoked device 3 cannot obtain the updated node key (K (t) 00) with its own leaf key and node key, and only a device having a legitimate right decrypts the authentication key. It can be used.

このように、EKBを利用した認証キーの配送を用いれば、データ量を少なくして、かつ安全に正当権利者のみが復号可能とした認証キーを配信することが可能となる。   As described above, if the authentication key delivery using the EKB is used, it is possible to reduce the amount of data and distribute the authentication key that can be safely decrypted only by the right holder.

[公開鍵認証と有効化キーブロック(EKB)を使用したコンテンツキーの配信]
次に、公開鍵認証と有効化キーブロック(EKB)を使用したコンテンツキーの配信処理について説明する。まず、公開鍵暗号方式である160ビット長の楕円曲線暗号を用いた相互認証方法を、図15を用いて説明する。図15において、公開鍵暗号方式としてECCを用いているが、同様な公開鍵暗号方式であればいずれでもよい。また、鍵サイズも160ビットでなくてもよい。図15において、まずBが、64ビットの乱数Rbを生成し、Aに送信する。これを受信したAは、新たに64ビットの乱数Raおよび素数pより小さい乱数Akを生成する。そして、ベースポイントGをAk倍した点Av=Ak×Gを求め、Ra、Rb、Av(X座標とY座標)に対する電子署名A.Sigを生成し、Aの公開鍵証明書とともにBに返送する。ここで、RaおよびRbはそれぞれ64ビット、AvのX座標とY座標がそれぞれ160ビットであるので、合計448ビットに対する電子署名を生成する。
[Content key distribution using public key authentication and validation key block (EKB)]
Next, content key distribution processing using public key authentication and an enabling key block (EKB) will be described. First, a mutual authentication method using 160-bit elliptic curve cryptography, which is a public key cryptosystem, will be described with reference to FIG. In FIG. 15, ECC is used as the public key cryptosystem, but any public key cryptosystem may be used. Also, the key size need not be 160 bits. In FIG. 15, first, B generates a 64-bit random number Rb and transmits it to A. Upon receiving this, A newly generates a 64-bit random number Ra and a random number Ak smaller than the prime number p. Then, a point Av = Ak × G obtained by multiplying the base point G by Ak is obtained, and an electronic signature A.R. for Ra, Rb, Av (X coordinate and Y coordinate) is obtained. Sig is generated and returned to B along with A's public key certificate. Here, Ra and Rb are 64 bits each, and the X coordinate and Y coordinate of Av are 160 bits each, so that an electronic signature for a total of 448 bits is generated.

Aの公開鍵証明書、Ra、Rb、Av、電子署名A.Sigを受信したBは、Aが送信してきたRbが、Bが生成したものと一致するか検証する。その結果、一致していた場合には、Aの公開鍵証明書内の電子署名を認証局の公開鍵で検証し、Aの公開鍵を取り出す。そして、取り出したAの公開鍵を用い電子署名A.Sigを検証する。   A's public key certificate, Ra, Rb, Av, electronic signature B that receives Sig verifies whether Rb transmitted by A matches that generated by B. As a result, if they match, the electronic signature in A's public key certificate is verified with the public key of the certificate authority, and A's public key is extracted. Then, the electronic signature A.A. Verify Sig.

次に、Bは、素数pより小さい乱数Bkを生成する。そして、ベースポイントGをBk倍した点Bv=Bk×Gを求め、Rb、Ra、Bv(X座標とY座標)に対する電子署名B.Sigを生成し、Bの公開鍵証明書とともにAに返送する。   Next, B generates a random number Bk smaller than the prime number p. Then, a point Bv = Bk × G obtained by multiplying the base point G by Bk is obtained, and an electronic signature B.Rb, Ra, Bv (X coordinate and Y coordinate) is obtained. Sig is generated and returned to A along with B's public key certificate.

Bの公開鍵証明書、Rb、Ra、Av、電子署名B.Sigを受信したAは、Bが送信してきたRaが、Aが生成したものと一致するか検証する。その結果、一致していた場合には、Bの公開鍵証明書内の電子署名を認証局の公開鍵で検証し、Bの公開鍵を取り出す。そして、取り出したBの公開鍵を用い電子署名B.Sigを検証する。電子署名の検証に成功した後、AはBを正当なものとして認証する。   B's public key certificate, Rb, Ra, Av, digital signature A who receives Sig verifies whether Ra transmitted by B matches the one generated by A. As a result, if they match, the electronic signature in B's public key certificate is verified with the public key of the certificate authority, and B's public key is extracted. Then, using the B public key extracted, the electronic signature B.B. Verify Sig. After successfully verifying the electronic signature, A authenticates B as legitimate.

両者が認証に成功した場合には、BはBk×Av(Bkは乱数だが、Avは楕円曲線上の点であるため、楕円曲線上の点のスカラー倍計算が必要)を計算し、AはAk×Bvを計算し、これら点のX座標の下位64ビットをセッションキーとして以降の通信に使用する(共通鍵暗号を64ビット鍵長の共通鍵暗号とした場合)。もちろん、Y座標からセッション鍵を生成してもよいし、下位64ビットでなくてもよい。なお、相互認証後の秘密通信においては、送信データはセッションキーで暗号化されるだけでなく、電子署名も付されることがある。   If both are successfully authenticated, B is calculated as Bk × Av (Bk is a random number, but Av is a point on the elliptic curve, so a scalar multiplication of the points on the elliptic curve is required) and A is Ak × Bv is calculated, and the lower 64 bits of the X coordinate of these points are used as a session key for subsequent communications (when the common key encryption is a 64-bit key length common key encryption). Of course, the session key may be generated from the Y coordinate, or may not be the lower 64 bits. In secret communication after mutual authentication, transmission data is not only encrypted with a session key, but an electronic signature may be attached.

電子署名の検証や受信データの検証の際に、不正、不一致が見つかった場合には、相互認証が失敗したものとして処理を中断する。   If an illegality or a mismatch is found during the verification of the electronic signature or the received data, the processing is interrupted assuming that the mutual authentication has failed.

図16に公開鍵認証と有効化キーブロック(EKB)を使用したコンテンツキーの配信処理例を示す。まずコンテンツプロバイダとPC間において図15で説明した公開鍵方式による認証処理が実行される。コンテンツプロバイダは、コンテンツキー配信先である再生装置、記録媒体の有するノードキー、リーフキーによって復号可能なEKBを生成して、更新ノードキーによる暗号化を実行したコンテンツキーE(Kcon)と、有効化キーブロック(EKB)とをPC間の認証処理において生成したセッションキーKsesで暗号化してPCに送信する。   FIG. 16 shows an example of content key distribution processing using public key authentication and an enabling key block (EKB). First, authentication processing by the public key method described with reference to FIG. 15 is executed between the content provider and the PC. The content provider generates a content key E (Kcon) that is decrypted with the updated node key by generating the EKB that can be decrypted with the playback device that is the content key distribution destination, the node key and the leaf key of the recording medium, and the activation key block (EKB) is encrypted with the session key Kses generated in the authentication process between the PCs and transmitted to the PC.

PCはセッションキーで暗号化された[更新ノードキーによる暗号化を実行したコンテンツキーE(Kcon)と、有効化キーブロック(EKB)]をセッションキーで復号した後、再生装置、記録媒体に送信する。   The PC decrypts the content key E (Kcon) encrypted with the updated node key and the enabling key block (EKB) encrypted with the session key with the session key, and then transmits it to the playback device and recording medium .

再生装置、記録媒体は、自身の保有するノードキーまたはリーフキーによって[更新ノードキーによる暗号化を実行したコンテンツキーE(Kcon)と、有効化キーブロック(EKB)]を復号することによってコンテンツキーKconを取得する。   The playback device and the recording medium acquire the content key Kcon by decrypting [the content key E (Kcon) encrypted with the updated node key and the enabling key block (EKB)] using the node key or leaf key held by itself. To do.

この構成によれば、コンテンツプロバイダとPC間での認証を条件として[更新ノードキーによる暗号化を実行したコンテンツキーE(Kcon)と、有効化キーブロック(EKB)]が送信されるので、例えば、ノードキーの漏洩があった場合でも、確実な相手に対するデータ送信が可能となる。   According to this configuration, since [content key E (Kcon) and encryption key block (EKB) that has been encrypted with an updated node key] is transmitted on the condition of authentication between the content provider and the PC, for example, Even if the node key is leaked, it is possible to transmit data to a reliable partner.

[プログラムコードの有効化キーブロック(EKB)を使用した配信]
上述した例では、コンテンツキー、認証キー等を有効化キーブロック(EKB)を用いて暗号化して配信する方法を説明したが、様々なプログラムコードを有効化キーブロック(EKB)を用いて配信する構成も可能である。すなわちEKBによる暗号化メッセージデータをプログラムコードとした例である。以下、この構成について説明する。
[Delivery using program code validation key block (EKB)]
In the above-described example, the method of encrypting and distributing the content key, the authentication key, and the like using the enabling key block (EKB) has been described. However, various program codes are distributed using the enabling key block (EKB). Configuration is also possible. That is, this is an example in which encrypted message data by EKB is used as a program code. Hereinafter, this configuration will be described.

図17にプログラムコードを有効化キーブロック(EKB)の例えば更新ノードキーによって暗号化してデバイス間で送信する例を示す。デバイス1701は、デバイス1702の有するノードキー、リーフキーによって復号可能な有効化キーブロック(EKB)と、有効化キーブロック(EKB)に含まれる更新ノードキーで暗号処理したプログラムコードをデバイス1702に送信する。デバイス1702は受信したEKBを処理して更新ノードキーを取得して、さらに取得した更新ノードキーによってプログラムコードの復号を実行して、プログラムコードを得る。   FIG. 17 shows an example in which a program code is encrypted between, for example, an update node key in an enabling key block (EKB) and transmitted between devices. The device 1701 transmits to the device 1702 the activation key block (EKB) that can be decrypted with the node key and leaf key of the device 1702, and the program code encrypted with the updated node key included in the activation key block (EKB). The device 1702 processes the received EKB to obtain an update node key, and further decrypts the program code using the obtained update node key to obtain a program code.

図17に示す例では、さらに、デバイス1702において取得したプログラムコードによる処理を実行して、その結果をデバイス1701に返して、デバイス1701がその結果に基づいて、さらに処理を続行する例を示している。   In the example shown in FIG. 17, further, processing by the program code acquired in the device 1702 is executed, the result is returned to the device 1701, and the device 1701 further continues processing based on the result. Yes.

このように有効化キーブロック(EKB)と、有効化キーブロック(EKB)に含まれる更新ノードキーで暗号処理したプログラムコードを配信することにより、特定のデバイスにおいて解読可能なプログラムコードを前述の図3で示した特定のデバイス、あるいはグループに対して配信することが可能となる。   By distributing the program code encrypted with the activation key block (EKB) and the update node key included in the activation key block (EKB) in this way, the program code that can be decrypted by a specific device is converted into the above-described FIG. It is possible to distribute to a specific device or group indicated by.

[送信コンテンツに対するチェック値(ICV:Integrity Check Value)を対応させる構成]
次に、コンテンツの改竄を防止するためにコンテンツのインテグリティ・チェック値(ICV)を生成して、コンテンツに対応付けて、ICVの計算により、コンテンツ改竄の有無を判定する処理構成について説明する。
[Configuration to correspond to the check value (ICV: Integrity Check Value) for transmitted content]
Next, a description will be given of a processing configuration for generating an integrity check value (ICV) of content in order to prevent content falsification, determining the presence / absence of content falsification by calculating the ICV in association with the content.

コンテンツのインテグリティ・チェック値(ICV)は、例えばコンテンツに対するハッシュ関数を用いて計算され、ICV=hash(Kicv,C1,C2,…)によって計算される。KicvはICV生成キーである。C1,C2はコンテンツの情報であり、コンテンツの重要情報のメッセージ認証符号(MAC:Message authentication Code)が使用される。   The integrity check value (ICV) of the content is calculated using a hash function for the content, for example, and is calculated by ICV = hash (Kicv, C1, C2,...). Kicv is an ICV generation key. C1 and C2 are content information, and a message authentication code (MAC) of content important information is used.

DES暗号処理構成を用いたMAC値生成例を図18に示す。図18の構成に示すように対象となるメッセージを8バイト単位に分割し、(以下、分割されたメッセージをM1、M2、・・・、MNとする)、まず、初期値(Initial Value(以下、IVとする))とM1を排他的論理和する(その結果をI1とする)。次に、I1をDES暗号化部に入れ、鍵(以下、K1とする)を用いて暗号化する(出力をE1とする)。続けて、E1およびM2を排他的論理和し、その出力I2をDES暗号化部へ入れ、鍵K1を用いて暗号化する(出力E2)。以下、これを繰り返し、全てのメッセージに対して暗号化処理を施す。最後に出てきたENがメッセージ認証符号(MAC(Message Authentication Code))となる。   FIG. 18 shows an example of MAC value generation using the DES encryption processing configuration. As shown in the configuration of FIG. 18, the target message is divided into units of 8 bytes (hereinafter, the divided messages are referred to as M1, M2,..., MN). , IV)) and M1 are XORed (the result is I1). Next, I1 is put into the DES encryption unit and encrypted using a key (hereinafter referred to as K1) (the output is assumed to be E1). Subsequently, E1 and M2 are exclusively ORed, and the output I2 is input to the DES encryption unit and encrypted using the key K1 (output E2). Thereafter, this is repeated, and encryption processing is performed on all messages. The EN that comes out last is a message authentication code (MAC).

このようなコンテンツのMAC値とICV生成キーにハッシュ関数を適用して用いてコンテンツのインテグリティ・チェック値(ICV)が生成される。改竄のないことが保証された例えばコンテンツ生成時に生成したICVと、新たにコンテンツに基づいて生成したICVとを比較して同一のICVが得られればコンテンツに改竄のないことが保証され、ICVが異なれば、改竄があったと判定される。   A content integrity check value (ICV) is generated using a hash function applied to the MAC value and ICV generation key of the content. For example, if the same ICV is obtained by comparing an ICV generated at the time of content generation, which is guaranteed not to be falsified, with an ICV newly generated based on the content, it is guaranteed that the content will not be falsified. If they are different, it is determined that tampering has occurred.

[チェック値(ICV)の生成キーKicvをEKBによって配布する構成]
次に、コンテンツのインテグリティ・チェック値(ICV)生成キーであるKicvを上述の有効化キーブロックによって送付する構成について説明する。すなわちEKBによる暗号化メッセージデータをコンテンツのインテグリティ・チェック値(ICV)生成キーとした例である。
[Configuration for Distributing Check Value (ICV) Key Kicv via EKB]
Next, a configuration for sending Kicv, which is a content integrity check value (ICV) generation key, using the above-described activation key block will be described. That is, this is an example in which encrypted message data by EKB is used as a content integrity check value (ICV) generation key.

図19および図20に複数のデバイスに共通のコンテンツを送付した場合、それらのコンテンツの改竄の有無を検証するためのインテグリティ・チェック値生成キーKicvを有効化キーブロック(EKB)によって配信する構成例を示す。図19はデバイス0,1,2,3に対して復号可能なチェック値生成キーKicvを配信する例、図20はデバイス0,1,2,3中のデバイス3をリボーク(排除)してデバイス0,1,2に対してのみ復号可能なチェック値生成キーKicvを配信する例を示す。   19 and 20, when common contents are sent to a plurality of devices, an integrity check value generation key Kicv for verifying the presence / absence of falsification of these contents is delivered by an enabling key block (EKB). Indicates. FIG. 19 shows an example in which a decodable check value generation key Kicv is distributed to devices 0, 1, 2, and 3. FIG. 20 shows a device in which devices 3 in devices 0, 1, 2, and 3 are revoked. An example is shown in which a check value generation key Kicv that can be decrypted only for 0, 1, and 2 is distributed.

図19の例では、更新ノードキーK(t)00によって、チェック値生成キーKicvを暗号化したデータ(b)とともに、デバイス0,1,2,3においてそれぞれの有するノードキー、リーフキーを用いて更新されたノードキーK(t)00を復号可能な有効化キーブロック(EKB)を生成して配信する。それぞれのデバイスは、図19の右側に示すようにまず、EKBを処理(復号)することにより、更新されたノードキーK(t)00を取得し、次に、取得したノードキーK(t)00を用いて暗号化されたチェック値生成キー:Enc(K(t)00,Kicv)を復号してチェック値生成キーKicvを得ることが可能となる。   In the example of FIG. 19, the updated node key K (t) 00 is updated using the node key and leaf key of the devices 0, 1, 2, and 3 together with the data (b) obtained by encrypting the check value generation key Kicv. An enabling key block (EKB) that can decrypt the node key K (t) 00 is generated and distributed. As shown on the right side of FIG. 19, each device first processes (decrypts) the EKB to obtain an updated node key K (t) 00, and then obtains the obtained node key K (t) 00. The check value generation key Kicv can be obtained by decrypting the encrypted check value generation key: Enc (K (t) 00, Kicv).

その他のデバイス4,5,6,7…は同一の有効化キーブロック(EKB)を受信しても自身の保有するノードキー、リーフキーでは、EKBを処理して更新されたノードキーK(t)00を取得することができないので、安全に正当なデバイスに対してのみチェック値生成キーを送付することができる。   Even if the other devices 4, 5, 6, 7... Receive the same enabling key block (EKB), the node keys and leaf keys held by the other devices 4, EKB are processed and the updated node key K (t) 00 is used. Since it cannot be obtained, the check value generation key can be sent only to a safe and valid device.

一方、図20の例は、図3の点線枠で囲んだグループにおいてデバイス3が、例えば鍵の漏洩によりリボーク(排除)されているとして、他のグループのメンバ、すなわち、デバイス0,1,2,に対してのみ復号可能な有効化キーブロック(EKB)を生成して配信した例である。図20に示す(a)有効化キーブロック(EKB)と、(b)チェック値生成キー(Kicv)をノードキー(K(t)00)で暗号化したデータを配信する。   On the other hand, in the example of FIG. 20, it is assumed that the device 3 is revoked (excluded) due to key leakage, for example, in the group surrounded by the dotted frame in FIG. , An enabling key block (EKB) that can be decrypted only is generated and distributed. The data obtained by encrypting (a) the enabling key block (EKB) and (b) the check value generation key (Kicv) with the node key (K (t) 00) shown in FIG. 20 is distributed.

図20の右側には、復号手順を示してある。デバイス0,1,2は、まず、受領した有効化キーブロックから自身の保有するリーフキーまたはノードキーを用いた復号処理により、更新ノードキー(K(t)00)を取得する。次に、K(t)00による復号によりチェック値生成キーKicvを取得する。   The decoding procedure is shown on the right side of FIG. The devices 0, 1, and 2 first obtain an updated node key (K (t) 00) from the received validation key block by a decryption process using the leaf key or node key held by the device. Next, a check value generation key Kicv is obtained by decryption with K (t) 00.

図3に示す他のグループのデバイス4,5,6…は、この同様のデータ(EKB)を受信したとしても、自身の保有するリーフキー、ノードキーを用いて更新ノードキー(K(t)00)を取得することができない。同様にリボークされたデバイス3においても、自身の保有するリーフキー、ノードキーでは、更新ノードキー(K(t)00)を取得することができず、正当な権利を有するデバイスのみがチェック値生成キーを復号して利用することが可能となる。   Even if the devices 4, 5, 6,... Shown in FIG. 3 receive this similar data (EKB), the updated node key (K (t) 00) is obtained using the leaf key and node key held by itself. I can't get it. Similarly, the revoked device 3 cannot acquire the updated node key (K (t) 00) with its own leaf key and node key, and only the device having a legitimate right decrypts the check value generation key. Can be used.

このように、EKBを利用したチェック値生成キーの配送を用いれば、データ量を少なくして、かつ安全に正当権利者のみが復号可能としたチェック値生成キーを配信することが可能となる。   As described above, if the delivery of the check value generation key using the EKB is used, it is possible to distribute the check value generation key that can be decrypted only by the rightful owner safely while reducing the data amount.

このようなコンテンツのインテグリティ・チェック値(ICV)を用いることにより、EKBと暗号化コンテンツの不正コピーを排除することができる。例えば図21に示すように、コンテンツC1とコンテンツC2とをそれぞれのコンテンツキーを取得可能な有効化キーブロック(EKB)とともに格納したメディア1があり、これをそのままメディア2にコピーした場合を想定する。EKBと暗号化コンテンツのコピーは可能であり、これをEKBを復号可能なデバイスでは利用できることになる。   By using such an integrity check value (ICV) of content, unauthorized copying of EKB and encrypted content can be eliminated. For example, as shown in FIG. 21, it is assumed that there is a medium 1 that stores content C1 and content C2 together with an enabling key block (EKB) that can acquire the respective content keys, and this is copied to the medium 2 as it is. . Copying of EKB and encrypted content is possible, and this can be used in a device capable of decrypting EKB.

図21の(b)に示すように各メディアに正当に格納されたコンテンツに対応付けてインテグリティ・チェック値(ICV(C1,C2))を格納する構成とする。なお、(ICV(C1,C2))は、コンテンツC1とコンテンツC2にハッシュ関数を用いて計算されるコンテンツのインテグリティ・チェック値であるICV=hash(Kicv,C1,C2)を示している。図21の(b)の構成において、メディア1には正当にコンテンツ1とコンテンツ2が格納され、コンテンツC1とコンテンツC2に基づいて生成されたインテグリティ・チェック値(ICV(C1,C2))が格納される。また、メディア2には正当にコンテンツ1が格納され、コンテンツC1に基づいて生成されたインテグリティ・チェック値(ICV(C1))が格納される。この構成において、メディア1に格納された{EKB,コンテンツ2}をメディア2にコピーしたとすると、メディア2で、コンテンツチェック値を新たに生成するとICV(C1,C2)が生成されることになり、メディアに格納されているKicv(C1)と異なり、コンテンツの改竄あるいは不正なコピーによる新たなコンテンツの格納が実行されたことが明らかになる。メディアを再生するデバイスにおいて、再生ステップの前ステップにICVチェックを実行して、生成ICVと格納ICVの一致を判別し、一致しない場合は、再生を実行しない構成とすることにより、不正コピーのコンテンツの再生を防止することが可能となる。   As shown in FIG. 21 (b), the integrity check value (ICV (C1, C2)) is stored in association with the content properly stored in each medium. Note that (ICV (C1, C2)) indicates ICV = hash (Kicv, C1, C2), which is a content integrity check value calculated using a hash function for the contents C1 and C2. In the configuration of FIG. 21 (b), the contents 1 and 2 are properly stored in the medium 1, and the integrity check value (ICV (C1, C2)) generated based on the contents C1 and C2 is stored. Is done. Further, the content 2 is legitimately stored in the medium 2, and the integrity check value (ICV (C1)) generated based on the content C1 is stored. In this configuration, if {EKB, content 2} stored in the medium 1 is copied to the medium 2, when a content check value is newly generated in the medium 2, ICV (C1, C2) is generated. Unlike the Kicv (C1) stored in the media, it becomes clear that new content is stored by falsification or illegal copy of the content. In the device for reproducing media, an ICV check is executed before the reproduction step to determine whether the generated ICV and the stored ICV match, and if they do not match, the reproduction is not executed. Can be prevented from being reproduced.

また、さらに、安全性を高めるため、コンテンツのインテグリティ・チェック値(ICV)を書き換えカウンタを含めたデータに基づいて生成する構成としてもよい。すなわちICV=hash(Kicv,counter+1,C1,C2,…)によって計算する構成とする。ここで、カウンタ(counter+1)は、ICVの書き換えごとに1つインクリメントされる値として設定する。なお、カウンタ値はセキュアなメモリに格納する構成とすることが必要である。   Further, in order to further enhance safety, the content integrity check value (ICV) may be generated based on data including a rewrite counter. That is, the calculation is performed by ICV = hash (Kicv, counter + 1, C1, C2,...). Here, the counter (counter + 1) is set as a value that is incremented by one every time the ICV is rewritten. The counter value needs to be stored in a secure memory.

さらに、コンテンツのインテグリティ・チェック値(ICV)をコンテンツと同一メディアに格納することができない構成においては、コンテンツのインテグリティ・チェック値(ICV)をコンテンツとは別のメディア上に格納する構成としてもよい。   Further, in a configuration in which the content integrity check value (ICV) cannot be stored on the same medium as the content, the content integrity check value (ICV) may be stored on a medium different from the content. .

例えば、読み込み専用メディアや通常のMO等のコピー防止策のとられていないメディアにコンテンツを格納する場合、同一メディアにインテグリティ・チェック値(ICV)を格納するとICVの書き換えが不正なユーザによりなされる可能性があり、ICVの安全性が保てないおそれがある。この様な場合、ホストマシン上の安全なメディアにICVを格納して、コンテンツのコピーコントロール(例えばcheck-in/check-out、move)にICVを使用する構成とすることにより、ICVの安全な管理およびコンテンツの改竄チェックが可能となる。   For example, when content is stored in a read-only medium or a medium that is not subjected to copy prevention measures such as ordinary MO, if an integrity check value (ICV) is stored in the same medium, the ICV is rewritten by an unauthorized user. There is a possibility that ICV safety cannot be maintained. In such a case, the ICV is stored in a secure medium on the host machine, and the ICV is used for content copy control (for example, check-in / check-out, move). Management and content tampering can be checked.

この構成例を図22に示す。図22では読み込み専用メディアや通常のMO等のコピー防止策のとられていないメディア2201にコンテンツが格納され、これらのコンテンツに関するインテグリティ・チェック値(ICV)を、ユーザが自由にアクセスすることの許可されないホストマシン上の安全なメディア2202に格納し、ユーザによる不正なインテグリティ・チェック値(ICV)の書き換えを防止した例である。このような構成として、例えばメディア2201を装着したデバイスがメディア2201の再生を実行する際にホストマシンであるPC、サーバにおいてICVのチェックを実行して再生の可否を判定する構成とすれば、不正なコピーコンテンツあるいは改竄コンテンツの再生を防止できる。   An example of this configuration is shown in FIG. In FIG. 22, contents are stored in a read-only medium or a medium 2201 that is not subjected to copy prevention measures such as a normal MO, and the user is allowed to freely access the integrity check value (ICV) regarding these contents. This is an example in which it is stored in a secure medium 2202 on the host machine that is not used, and unauthorized rewriting of the integrity check value (ICV) by the user is prevented. As such a configuration, for example, when a device equipped with the media 2201 executes playback of the media 2201, it is illegal if the PC or server that is the host machine performs an ICV check to determine whether playback is possible. Reproduction of copy content or altered content can be prevented.

[階層ツリー構造のカテゴリ分類]
暗号鍵をルートキー、ノードキー、リーフキー等、図3の階層ツリー構造として構成し、コンテンツキー、認証キー、ICV生成キー、あるいはプログラムコード、データ等を有効化キーブロック(EKB)とともに暗号化して配信する構成について説明してきたが、ノードキー等を定義している階層ツリー構造を各デバイスのカテゴリ毎に分類して効率的なキー更新処理、暗号化キー配信、データ配信を実行する構成について、以下説明する。
[Category classification of hierarchical tree structure]
The encryption key is configured as the root tree, node key, leaf key, etc., in the hierarchical tree structure shown in FIG. 3, and the content key, authentication key, ICV generation key, program code, data, etc. are encrypted and delivered together with the activation key block (EKB). The configuration for performing efficient key update processing, encryption key distribution, and data distribution by classifying the hierarchical tree structure defining node keys and the like for each device category has been described below. To do.

図23に階層ツリー構造のカテゴリの分類の一例を示す。図23において、階層ツリー構造の最上段には、ルートキーKroot2301が設定され、以下の中間段にはノードキー2302が設定され、最下段には、リーフキー2303が設定される。各デバイスは個々のリーフキーと、リーフキーからルートキーに至る一連のノードキー、ルートキーを保有する。   FIG. 23 shows an example of category classification of a hierarchical tree structure. In FIG. 23, a root key Kroot 2301 is set at the top level of the hierarchical tree structure, a node key 2302 is set at the intermediate level below, and a leaf key 2303 is set at the bottom level. Each device has an individual leaf key and a series of node keys and root keys from the leaf key to the root key.

ここで、一例として最上段から第M段目のあるノードをカテゴリノード2304として設定する。すなわち第M段目のノードの各々を特定カテゴリのデバイス設定ノードとする。第M段の1つのノードを頂点として以下、M+1段以下のノード、リーフは、そのカテゴリに含まれるデバイスに関するノードおよびリーフとする。   Here, as an example, a node at the M-th stage from the top is set as the category node 2304. That is, each of the M-th level nodes is set as a device setting node of a specific category. The nodes and leaves of the Mth stage below are assumed to be nodes and leaves related to devices included in the category, with one node at the Mth stage as a vertex.

例えば図23の第M段目の1つのノード2305にはカテゴリ[メモリステッイク(商標)]が設定され、このノード以下に連なるノード、リーフはメモリステッイクを使用した様々なデバイスを含むカテゴリ専用のノードまたはリーフとして設定される。すなわち、ノード2305以下を、メモリスティックのカテゴリに定義されるデバイスの関連ノード、およびリーフの集合として定義する。   For example, a category [memory stick (trademark)] is set in one node 2305 in the M-th stage in FIG. 23, and nodes and leaves connected to this node are dedicated to the category including various devices using the memory stick. Set as a node or leaf. That is, nodes 2305 and below are defined as a set of related nodes and leaves of devices defined in the category of the memory stick.

さらに、M段から数段分下位の段をサブカテゴリノード2306として設定することができる。例えば図に示すようにカテゴリ[メモリスティック]ノード2305の2段下のノードに、メモリスティックを使用したデバイスのカテゴリに含まれるサブカテゴリノードとして、[再生専用器]のノードを設定する。さらに、サブカテゴリノードである再生専用器のノード2306以下に、再生専用器のカテゴリに含まれる音楽再生機能付き電話のノード2307が設定され、さらにその下位に、音楽再生機能付き電話のカテゴリに含まれる[PHS]ノード2308と[携帯電話]ノード2309を設定することができる。   Furthermore, a stage that is several stages lower than the M stage can be set as the subcategory node 2306. For example, as shown in the figure, a node of “playback device” is set as a subcategory node included in the category of the device using the memory stick in a node two stages below the category [memory stick] node 2305. Further, a node 2307 of a telephone with a music playback function included in the category of the playback-only device is set below the node 2306 of the playback-only device that is a sub-category node, and further included in the category of the telephone with a music playback function. [PHS] node 2308 and [mobile phone] node 2309 can be set.

さらに、カテゴリ、サブカテゴリは、デバイスの種類のみならず、例えばあるメーカー、コンテンツプロバイダ、決済機関等が独自に管理するノード、すなわち処理単位、管轄単位、あるいは提供サービス単位等、任意の単位(これらを総称して以下、エンティティと呼ぶ)で設定することが可能である。例えば1つのカテゴリノードをゲーム機器メーカーの販売するゲーム機器XYZ専用の頂点ノードとして設定すれば、メーカーの販売するゲーム機器XYZにその頂点ノード以下の下段のノードキー、リーフキーを格納して販売することが可能となり、その後、暗号化コンテンツの配信、あるいは各種キーの配信、更新処理を、その頂点ノードキー以下のノードキー、リーフキーによって構成される有効化キーブロック(EKB)を生成して配信し、頂点ノード以下のデバイスに対してのみ利用可能なデータが配信可能となる。   Furthermore, categories and subcategories are not limited to device types, for example, nodes managed independently by a certain manufacturer, content provider, payment institution, etc., that is, arbitrary units such as processing units, jurisdiction units, or service units provided (these are (Hereinafter collectively referred to as an entity). For example, if one category node is set as a vertex node dedicated to the game device XYZ sold by the game device manufacturer, the node key and leaf key below the vertex node can be stored and sold in the game device XYZ sold by the manufacturer. After that, distribution of encrypted contents or distribution and update of various keys is performed by generating and distributing an activation key block (EKB) composed of node keys and leaf keys below the vertex node key, and below the vertex nodes. Data that can be used only for these devices can be distributed.

このように、1つのノードを頂点としして、以下のノードをその頂点ノードに定義されたカテゴリ、あるいはサブカテゴリの関連ノードとして設定する構成とすることにより、カテゴリ段、あるいはサブカテゴリ段の1つの頂点ノードを管理するメーカー、コンテンツプロバイダ等がそのノードを頂点とする有効化キーブロック(EKB)を独自に生成して、頂点ノード以下に属するデバイスに配信する構成が可能となり、頂点ノードに属さない他のカテゴリのノードに属するデバイスには全く影響を及ぼさずにキー更新を実行することができる。   In this way, by setting one node as a vertex and setting the following node as a related node of the category or subcategory defined in the vertex node, one vertex in the category stage or subcategory stage It is possible for a manufacturer, content provider, etc. that manages a node to generate an enabling key block (EKB) that has that node as its vertex and distribute it to devices belonging to the node below the vertex node. The key update can be executed without affecting the devices belonging to the nodes in this category.

[簡略EKBによるキー配信構成(1)]
先に説明した例えば図3のツリー構成において、キー、例えばコンテンツキーを所定デバイス(リーフ)宛に送付する場合、キー配布先デバイスの所有しているリーフキー、ノードキーを用いて復号可能な有効化キーブロック(EKB)を生成して提供する。例えば図24(a)に示すツリー構成において、リーフを構成するデバイスa,g,jに対してキー、例えばコンテンツキーを送信する場合、a,g,jの各ノードにおいて復号可能な有効化キーブロック(EKB)を生成して配信する。
[Key distribution configuration by simplified EKB (1)]
In the tree structure shown in FIG. 3, for example, when a key, for example, a content key is sent to a predetermined device (leaf), an activation key that can be decrypted using the leaf key and node key owned by the key distribution destination device A block (EKB) is generated and provided. For example, in the tree configuration shown in FIG. 24A, when a key, for example, a content key is transmitted to devices a, g, and j constituting a leaf, an enabling key that can be decrypted at each node of a, g, and j A block (EKB) is generated and distributed.

例えば更新ルートキーK(t)rootでコンテンツキーK(t)conを暗号化処理し、EKBとともに配信する場合を考える。この場合、デバイスa,g,jは、それぞれが図24(b)に示すリーフおよびノードキーを用いて、EKBの処理を実行してK(t)rootを取得し、取得した更新ルートキーK(t)rootによってコンテンツキーK(t)conの復号処理を実行してコンテンツキーを得る。   For example, consider a case where the content key K (t) con is encrypted with the updated root key K (t) root and distributed together with the EKB. In this case, each of the devices a, g, and j performs EKB processing using the leaf and node key shown in FIG. 24B to obtain K (t) root, and the obtained update root key K ( t) The content key K (t) con is decrypted by root to obtain the content key.

この場合に提供される有効化キーブロック(EKB)の構成は、図25に示すようになる。図25に示す有効化キーブロック(EKB)は、先の図6で説明した有効化キーブロック(EKB)のフォーマットにしたがって構成されたものであり、データ(暗号化キー)と対応するタグとを持つ。タグは、先に図7を用いて説明したように左(L)、右(R)、それぞれの方向にデータがあれば0、無ければ1を示している。   The configuration of the enabling key block (EKB) provided in this case is as shown in FIG. The enabling key block (EKB) shown in FIG. 25 is configured in accordance with the format of the enabling key block (EKB) described in FIG. 6, and data (encryption key) and a corresponding tag are included. Have. As described above with reference to FIG. 7, the tag indicates 0 if there is data in the left (L) and right (R) directions, and 1 if there is no data.

有効化キーブロック(EKB)を受領したデバイスは、有効化キーブロック(EKB)の暗号化キーとタグに基づいて、順次暗号化キーの復号処理を実行して上位ノードの更新キーを取得していく。図25に示すように、有効化キーブロック(EKB)は、ルートからリーフまでの段数(デプス)が多いほど、そのデータ量は増加していく。段数(デプス)は、デバイス(リーフ)数に応じて増大するものであり、キーの配信先となるデバイス数が多い場合は、EKBのデータ量がさらに増大することになる。   The device that has received the enabling key block (EKB) sequentially executes the decryption process of the encryption key based on the encryption key and tag of the enabling key block (EKB), and acquires the update key of the upper node. Go. As shown in FIG. 25, the data amount of the enabling key block (EKB) increases as the number of steps (depth) from the root to the leaf increases. The number of stages (depth) increases according to the number of devices (leafs), and when the number of devices to which keys are distributed is large, the amount of EKB data further increases.

このような有効化キーブロック(EKB)のデータ量の削減を可能とした構成について説明する。図26は、有効化キーブロック(EKB)をキー配信デバイスに応じて簡略化して構成した例を示すものである。   A configuration that can reduce the data amount of the enabling key block (EKB) will be described. FIG. 26 shows an example in which the enabling key block (EKB) is simplified according to the key distribution device.

図25と同様、リーフを構成するデバイスa,g,jに対してキー、例えばコンテンツキーを送信する場合を想定する。図26の(a)に示すように、キー配信デバイスによってのみ構成されるツリーを構築する。この場合、図24(b)に示す構成に基づいて新たなツリー構成として図26(b)のツリー構成が構築される。KrootからKjまでは全く分岐がなく1つの枝のみが存在すればよく、KrootからKaおよびKgに至るためには、K0に分岐点を構成するのみで、2分岐構成の図26(a)のツリーが構築される。   As in FIG. 25, it is assumed that a key, for example, a content key is transmitted to the devices a, g, and j constituting the leaf. As shown in FIG. 26A, a tree constructed only by the key distribution device is constructed. In this case, the tree configuration shown in FIG. 26B is constructed as a new tree configuration based on the configuration shown in FIG. There is no branch from Kroot to Kj, and only one branch needs to exist. To reach from Kroot to Ka and Kg, only a branch point is formed at K0, and the two-branch configuration shown in FIG. A tree is built.

図26(a)に示すように、ノードとしてK0のみを持つ簡略化したツリーが生成される。更新キー配信のための有効化キーブロック(EKB)は、これらの簡略ツリーに基づいて生成する。図26(a)に示すツリーは、有効化キーブロック(EKB)を復号可能な末端ノードまたはリーフを最下段とした2分岐型ツリーを構成するパスを選択して不要ノードを省略することにより再構築される再構築階層ツリーである。更新キー配信のための有効化キーブロック(EKB)は、この再構築階層ツリーのノードまたはリーフに対応するキーのみに基づいて構成される。   As shown in FIG. 26A, a simplified tree having only K0 as a node is generated. An enabling key block (EKB) for renewal key distribution is generated based on these simplified trees. The tree shown in FIG. 26 (a) is regenerated by selecting a path constituting a two-branch tree with the end node or leaf being the lowest stage capable of decrypting the enabling key block (EKB) and omitting unnecessary nodes. It is a reconstructed hierarchical tree that is constructed. An enabling key block (EKB) for update key distribution is configured based only on keys corresponding to nodes or leaves of this reconstructed hierarchical tree.

先の図25で説明した有効化キーブロック(EKB)は、各リーフa,g,jからKrootに至るまでのすべてのキーを暗号化したデータを格納していたが、簡略化EKBは、簡略化したツリーを構成するノードについてのみの暗号化データを格納する。図26(b)に示すようにタグは3ビット構成を有する。第2および第3ビットは、図25の例と、同様の意味を持ち、左(L)、右(R)、それぞれの方向にデータがあれば0、無ければ1を示す。第1番目のビットは、EKB内に暗号化キーが格納されているか否かを示すためのビットであり、データが格納されている場合は1、データが無い場合は、0として設定される。   The enabling key block (EKB) described with reference to FIG. 25 stores data obtained by encrypting all keys from each leaf a, g, j to Kroot, but the simplified EKB is simplified. Encrypted data is stored only for the nodes that make up the tree. As shown in FIG. 26B, the tag has a 3-bit configuration. The second and third bits have the same meaning as in the example of FIG. 25 and indicate 0 if there is data in the left (L) and right (R) directions, and 1 if there is no data. The first bit is a bit for indicating whether or not the encryption key is stored in the EKB, and is set as 1 when data is stored and 0 when there is no data.

データ通信網、あるいは記憶媒体に格納されてデバイス(リーフ)に提供される有効化キーブロック(EKB)は、図26(b)に示すように、図25に示す構成に比較すると、データ量が大幅に削減されたものとなる。図26に示す有効化キーブロック(EKB)を受領した各デバイスは、タグの第1ビットに1が格納された部分のデータのみを順次復号することにより、所定の暗号化キーの復号を実現することができる。例えばデバイスaは、暗号化データEnc(Ka,K(t)0)をリーフキーKaで復号して、ノードキーK(t)0を取得して、ノードキーK(t)0によって暗号化データEnc(K(t)0,K(t)root)を復号してK(t)rootを取得する。デバイスjは、暗号化データEnc(Kj,K(t)root)をリーフキーKjで復号して、K(t)rootを取得する。   As shown in FIG. 26 (b), the enabling key block (EKB) stored in the data communication network or storage medium and provided to the device (leaf) has a data amount as compared with the configuration shown in FIG. It will be greatly reduced. Each device that has received the enabling key block (EKB) shown in FIG. 26 realizes decryption of a predetermined encryption key by sequentially decrypting only the data in the portion where 1 is stored in the first bit of the tag. be able to. For example, the device a decrypts the encrypted data Enc (Ka, K (t) 0) with the leaf key Ka, obtains the node key K (t) 0, and uses the node key K (t) 0 to encrypt the encrypted data Enc (K (T) 0, K (t) root) is decoded to obtain K (t) root. The device j decrypts the encrypted data Enc (Kj, K (t) root) with the leaf key Kj, and acquires K (t) root.

このように、配信先のデバイスによってのみ構成される簡略化した新たなツリー構成を構築して、構築されたツリーを構成するリーフおよびノードのキーのみを用いて有効化キーブロック(EKB)を生成することにより、少ないデータ量の有効化キーブロック(EKB)を生成することが可能となり、有効化キーブロック(EKB)のデータ配信が効率的に実行可能となる。   In this way, a simplified new tree configuration configured only by the delivery destination device is constructed, and an enabling key block (EKB) is generated using only the leaf and node keys that make up the constructed tree. By doing so, it becomes possible to generate an enabling key block (EKB) with a small amount of data, and data distribution of the enabling key block (EKB) can be executed efficiently.

[簡略EKBによるキー配信構成(2)]
図26で示した簡略化したツリーに基づいて生成される有効化キーブロック(EKB)をさらに、簡略化してデータ量を削減し、効率的な処理を可能とした構成について説明する。
[Key distribution configuration using simplified EKB (2)]
A configuration that further simplifies the enabling key block (EKB) generated based on the simplified tree shown in FIG. 26 to reduce the amount of data and enables efficient processing will be described.

図26を用いて説明した構成は、有効化キーブロック(EKB)を復号可能な末端ノードまたはリーフを最下段とした2分岐型ツリーを構成するパスを選択して不要ノードを省略することにより再構築される再構築階層ツリーであった。更新キー配信のための有効化キーブロック(EKB)は、この再構築階層ツリーのノードまたはリーフに対応するキーのみに基づいて構成される。   The configuration described with reference to FIG. 26 is re-executed by selecting an end node that can decrypt the enabling key block (EKB) or a path constituting a bifurcated tree with leaves at the bottom and omitting unnecessary nodes. It was a reconstructed hierarchical tree that was built. An enabling key block (EKB) for update key distribution is configured based only on keys corresponding to nodes or leaves of this reconstructed hierarchical tree.

図26(a)に示す再構築階層ツリーは、リーフa,g,jにおいて更新ルートキーK(t)rootを取得可能とするため、図26(b)に示す有効化キーブロック(EKB)を配信する。図26(b)の有効化キーブロック(EKB)の処理において、リーフjは、Enc(Kj,K(t)root)の1回の復号処理によりルートキー:K(t)rootを取得できる。しかし、リーフa,gは、Enc(Ka,K(t)0)または、Enc(Kg,K(t)0)の復号処理によりK(t)0を得た後、さらに、Enc(K(t)0,K(t)root)の復号処理を実行してルートキー:K(t)rootを取得する。すなわち、リーフa,gは、2回の復号処理を実行することが必要となる。   In the reconstructed hierarchical tree shown in FIG. 26 (a), the update key key (EKB) shown in FIG. 26 (b) is obtained so that the updated root key K (t) root can be acquired in the leaves a, g, and j. To deliver. In the processing of the enabling key block (EKB) in FIG. 26B, the leaf j can acquire the root key: K (t) root by one-time decryption processing of Enc (Kj, K (t) root). However, after the leaves a and g obtain K (t) 0 by decoding Enc (Ka, K (t) 0) or Enc (Kg, K (t) 0), Enc (K ( t) The decryption process of 0, K (t) root) is executed to obtain the root key: K (t) root. That is, the leaves a and g need to execute the decryption process twice.

図26の簡略化した再構築階層ツリーは、ノードK0がその下位リーフa,gの管理ノードとして独自の管理を実行している場合、例えば後述するサブルート・ノードとして、下位リーフの管理を実行している場合には、リーフa,gが更新キーを取得したことを確認する意味で有効であるが、ノードK0が下位リーフの管理を行なっていない場合、あるいは行なっていたとしても、上位ノードからの更新キー配信を許容している場合には、図26(a)に示す再構築階層ツリーをさらに簡略化して、ノードK0のキーを省略して有効化キーブロック(EKB)を生成して配信してもよい。   26, when the node K0 is performing its own management as the management node of the lower leaves a and g, for example, the lower leaf management is performed as a sub-root node described later. Is effective in confirming that the leaves a and g have acquired the update key, but if the node K0 is not managing the lower leaf, or even if it is, If the update key distribution is permitted, the reconstructed hierarchical tree shown in FIG. 26A is further simplified, the key of the node K0 is omitted, and the enabling key block (EKB) is generated and distributed. May be.

図27に、このような有効化キーブロック(EKB)の構成を示す。図26と同様、リーフを構成するデバイスa,g,jに対してキー、例えばコンテンツキーを送信する場合を想定する。図27の(a)に示すように、ルートKrootと各リーフa,g,jを直接接続したツリーを構築する。   FIG. 27 shows the configuration of such an enabling key block (EKB). As in FIG. 26, it is assumed that a key, for example, a content key is transmitted to devices a, g, and j constituting the leaf. As shown in FIG. 27A, a tree is constructed in which the root Kroot and each leaf a, g, j are directly connected.

図27(a)に示すように、図26(a)に示す再構築階層ツリーからノードK0が省かれた簡略化したツリーが生成される。更新キー配信のための有効化キーブロック(EKB)は、これらの簡略ツリーに基づいて生成する。図27(a)に示すツリーは、有効化キーブロック(EKB)を復号可能なリーフをとルートとを直接結ぶパスのみによって再構築される再構築階層ツリーである。更新キー配信のための有効化キーブロック(EKB)は、この再構築階層ツリーのリーフに対応するキーのみに基づいて構成される。   As shown in FIG. 27A, a simplified tree in which the node K0 is omitted from the reconstructed hierarchical tree shown in FIG. An enabling key block (EKB) for renewal key distribution is generated based on these simplified trees. The tree shown in FIG. 27A is a reconstructed hierarchical tree that is reconstructed only by a path that directly connects a leaf that can decrypt the enabling key block (EKB) and the root. An enabling key block (EKB) for renewal key distribution is configured based only on keys corresponding to the leaves of this reconstructed hierarchical tree.

なお、図27(a)の例は、末端をリーフとした構成例であるが、例えば最上位ノードか複数の中位、下位ノードに対してキーを配信する場合も、最上位ノードと中位、下位ノードとを直接接続した簡略化ツリーに基づいて有効化キーブロック(EKB)を生成してキー配信を実行することが可能である。このように、再構築階層ツリーは、簡略化したツリーを構成する頂点ノードと、簡略化したツリーを構成する末端ノードまたはリーフとを直接、接続した構成を持つ。この簡略化ツリーでは、頂点ノードからの分岐は2に限らず、配信ノードまたはリーフ数に応じて3以上の多分岐を持つツリーとして構成することが可能である。   The example of FIG. 27A is a configuration example in which the end is a leaf. However, for example, when a key is distributed to the highest node or a plurality of middle and lower nodes, the highest node and the middle node are also used. It is possible to generate an enabling key block (EKB) based on a simplified tree in which lower nodes are directly connected to execute key distribution. As described above, the reconstructed hierarchical tree has a configuration in which the vertex nodes constituting the simplified tree and the end nodes or leaves constituting the simplified tree are directly connected. In this simplified tree, the number of branches from the vertex node is not limited to 2, but can be configured as a tree having three or more branches according to the distribution node or the number of leaves.

先の図25で説明した有効化キーブロック(EKB)は、各リーフa,g,jからKrootに至るまでのすべてのキーを暗号化したデータを格納し、図26で説明した有効化キーブロック(EKB)は、リーフa,g,jのリーフキー、a,gの共通ノードとしてのK0、さらに、ルートキーを格納した構成であったが、図27(a)に示す簡略化階層ツリーに基づく有効化キーブロック(EKB)は、ノードK0のキーを省略したので、図27(b)に示すように、さらにデータ量の少ない有効化キーブロック(EKB)となる。   The enabling key block (EKB) described with reference to FIG. 25 stores data obtained by encrypting all keys from the leaves a, g, j to Kroot, and the enabling key block described with reference to FIG. (EKB) has a configuration in which leaf keys of leaves a, g, and j, K0 as a common node of a and g, and a root key are stored, but is based on the simplified hierarchical tree shown in FIG. Since the key of the node K0 is omitted, the validation key block (EKB) becomes an validation key block (EKB) with a smaller amount of data as shown in FIG.

図27(b)の有効化キーブロック(EKB)は、図26(b)の有効化キーブロック(EKB)と同様、3ビット構成のタグを有する。第2および第3ビットは、図26で説明したと同様、左(L)、右(R)、それぞれの方向にデータがあれば0、無ければ1を示す。第1番目のビットは、EKB内に暗号化キーが格納されているか否かを示すためのビットであり、データが格納されている場合は1、データが無い場合は、0として設定される。   The enabling key block (EKB) in FIG. 27 (b) has a 3-bit tag, similar to the enabling key block (EKB) in FIG. 26 (b). As described with reference to FIG. 26, the second and third bits indicate 0 if there is data in the left (L) and right (R) directions, and 1 if there is no data. The first bit is a bit for indicating whether or not the encryption key is stored in the EKB, and is set as 1 when data is stored and 0 when there is no data.

図27(b)の有効化キーブロック(EKB)において、各リーフa,g,jは、Enc(Ka,K(t)root)、またはEnc(Kg,K(t)root)Enc(Kj,K(t)root)の1回の復号処理によりルートキー:K(t)rootを取得できる。   In the enabling key block (EKB) of FIG. 27B, each leaf a, g, j is Enc (Ka, K (t) root) or Enc (Kg, K (t) root) Enc (Kj, The root key: K (t) root can be acquired by one decryption process of K (t) root).

このように簡略化された再構築ツリーの最上位ノードと、ツリーを構成する末端ノードまたはリーフとを直接、接続した構成を持つツリーに基づいて生成される有効化キーブロック(EKB)は、図27(b)に示すように、再構築階層ツリーの頂点ノードおよび末端ノードまたはリーフに対応するキーのみに基づいて構成される。   An enabling key block (EKB) generated based on a tree having a configuration in which the top node of the simplified reconstructed tree and the end nodes or leaves constituting the tree are directly connected is shown in FIG. As shown in FIG. 27 (b), it is configured based only on keys corresponding to the vertex node and the terminal node or leaf of the reconstructed hierarchical tree.

図26または図27で説明した有効化キーブロック(EKB)のように、配信先のデバイスによってのみ構成される簡略化した新たなツリー構成を構築して、構築されたツリーを構成するリーフのみ、あるいはリーフと共通ノードのキーのみを用いて有効化キーブロック(EKB)を生成することにより、少ないデータ量の有効化キーブロック(EKB)を生成することが可能となり、有効化キーブロック(EKB)のデータ配信が効率的に実行可能となる。   As in the enabling key block (EKB) described with reference to FIG. 26 or FIG. 27, a simplified new tree configuration configured only by the device of the delivery destination is constructed, and only the leaves constituting the constructed tree are configured. Alternatively, by generating an enabling key block (EKB) using only the keys of the leaf and the common node, it becomes possible to generate an enabling key block (EKB) with a small amount of data, and the enabling key block (EKB). Data distribution can be performed efficiently.

なお、簡略化した階層ツリー構成は、後段で説明するサブツリーとして設定されるカテゴリツリー単位のEKB管理構成において特に有効に活用可能である。カテゴリツリーは、キー配信構成としてのツリー構成を構成するノードあるいはリーフから選択した複数のノードあるいはリーフの集合体ブロックである。カテゴリツリーは、デバイスの種類に応じて設定される集合であったり、あるいはデバイス提供メーカー、コンテンツプロバイダ、決済機関等の管理単位等、ある共通点を持った処理単位、管轄単位、あるいは提供サービス単位等、様々な態様の集合として設定される。1つのカテゴリツリーには、ある共通のカテゴリに分類されるデバイスが集まっており、例えば複数のカテゴリツリーの頂点ノード(サブルート)によって上述したと同様の簡略化したツリーを再構築してEKBを生成することにより、選択されたカテゴリツリーに属するデバイスにおいて復号可能な簡略化された有効化キーブロック(EKB)の生成、配信が可能となる。カテゴリツリー単位の管理構成については後段で詳細に説明する。   The simplified hierarchical tree configuration can be used particularly effectively in the category tree unit EKB management configuration set as a sub-tree described later. The category tree is an aggregate block of a plurality of nodes or leaves selected from the nodes or leaves constituting the tree structure as the key distribution structure. The category tree is a set that is set according to the type of device, or a processing unit, jurisdiction unit, or service unit that has a common point, such as a management unit such as a device provider, content provider, or payment institution. Etc., and a set of various modes. In one category tree, devices classified into a common category are gathered. For example, a simplified tree similar to the above is reconstructed by using vertex nodes (sub-roots) of a plurality of category trees, and an EKB is generated. By doing so, it becomes possible to generate and distribute a simplified enabling key block (EKB) that can be decrypted by the devices belonging to the selected category tree. The management configuration for each category tree will be described in detail later.

なお、このような有効化キーブロック(EKB)は、光ディスク、DVD等の情報記録媒体に格納した構成とすることが可能である。例えば、上述の暗号化キーデータによって構成されるデータ部と、暗号化キーデータの階層ツリー構造における位置識別データとしてのタグ部とを含む有効化キーブロック(EKB)にさらに、更新ノードキーによって暗号化したコンテンツ等のメッセージデータとを格納した情報記録媒体を各デバイスに提供する構成が可能である。デバイスは有効化キーブロック(EKB)に含まれる暗号化キーデータをタグ部の識別データにしたがって順次抽出して復号し、コンテンツの復号に必要なキーを取得してコンテンツの利用を行なうことが可能となる。もちろん、有効化キーブロック(EKB)をインターネット等のネットワークを介して配信する構成としてもよい。   Such an enabling key block (EKB) can be stored in an information recording medium such as an optical disk or a DVD. For example, an enabling key block (EKB) including a data part constituted by the above-described encryption key data and a tag part as position identification data in the hierarchical tree structure of the encryption key data is further encrypted by an update node key. It is possible to provide an information recording medium storing message data such as content to each device. The device can extract and decrypt the encryption key data contained in the enabling key block (EKB) sequentially according to the identification data of the tag part, obtain the key necessary for decrypting the content, and use the content It becomes. Of course, the enabling key block (EKB) may be distributed via a network such as the Internet.

[カテゴリツリー単位のEKB管理構成]
次に、キー配信構成としてのツリー構成を構成するノードあるいはリーフを、複数のノードあるいはリーフの集合としてのブロックで管理する構成について説明する。なお、複数のノードあるいはリーフの集合としてのブロックを以下カテゴリツリーと呼ぶ。カテゴリツリーは、デバイスの種類に応じて設定される集合であったり、あるいはデバイス提供メーカー、コンテンツプロバイダ、決済機関等の管理単位等、ある共通点を持った処理単位、管轄単位、あるいは提供サービス単位等、様々な態様の集合として設定される。
[EKB management configuration for each category tree]
Next, a configuration in which nodes or leaves constituting a tree configuration as a key distribution configuration are managed by blocks as a set of a plurality of nodes or leaves will be described. A block as a set of a plurality of nodes or leaves is hereinafter referred to as a category tree. The category tree is a set that is set according to the type of device, or a processing unit, jurisdiction unit, or service unit that has a common point, such as a management unit such as a device provider, content provider, or payment institution. Etc., and a set of various modes.

カテゴリツリーについて、図28を用いて説明する。図28(a)はツリーのカテゴリツリー単位での管理構成を説明する図である。1つのカテゴリツリーは図では、三角形として示し、例えば1カテゴリツリー2701内には、複数のノードが含まれる。1カテゴリツリー内のノード構成を示すのが(b)である。1つのカテゴリツリーは、1つのノードを頂点とした複数段の2分岐形ツリーによって構成される。以下、カテゴリツリーの頂点ノード2702をサブルートと呼ぶ。   The category tree will be described with reference to FIG. FIG. 28A is a diagram for explaining a management configuration of a tree in a category tree unit. One category tree is shown as a triangle in the figure. For example, one category tree 2701 includes a plurality of nodes. (B) shows a node configuration in one category tree. One category tree is constituted by a two-stage bifurcated tree having one node as a vertex. Hereinafter, the vertex node 2702 of the category tree is referred to as a sub-root.

ツリーの末端は、(c)に示すようにリーフ、すなわちデバイスによって構成される。デバイスは、複数デバイスをリーフとし、サブルートである頂点ノード2702を持つツリーによって構成されるいずれかのカテゴリツリーに属する。   The end of the tree is constituted by leaves, ie devices, as shown in (c). A device belongs to one of category trees constituted by a tree having a plurality of devices as leaves and a vertex node 2702 as a sub-root.

図28(a)から理解されるように、カテゴリツリーは、階層構造を持つ。この階層構造について、図29を用いて説明する。   As understood from FIG. 28A, the category tree has a hierarchical structure. This hierarchical structure will be described with reference to FIG.

図29(a)は、階層構造を簡略化して説明するための図であり、Krootから数段下の段にカテゴリツリーA01〜Annが構成され、カテゴリツリーA1〜Anの下位には、さらに、カテゴリツリーB01〜Bnk、さらに、その下位にカテゴリツリーC1〜Cnqが設定されている。各カテゴリツリーは、図29(b),(c)に示す如く、複数段のノード、リーフによって構成されるツリー形状を持つ。   FIG. 29A is a diagram for explaining the hierarchical structure in a simplified manner, in which category trees A01 to Ann are configured several steps below Kroot, and further below category trees A1 to An, The category trees B01 to Bnk, and further, the category trees C1 to Cnq are set below the category trees B01 to Bnk. Each category tree has a tree shape composed of a plurality of stages of nodes and leaves, as shown in FIGS.

例えばカテゴリツリーBnkの構成は、(b)に示すように、サブルート2811を頂点ノードとして、末端ノード2812に至るまでの複数ノードを有する。このカテゴリツリーは識別子Bnkを持ち、カテゴリツリーBnk内のノードに対応するノードキー管理をカテゴリツリーBnk独自に実行することにより、末端ノード2812を頂点として設定される下位(子)カテゴリツリーの管理を実行する。また、一方、カテゴリツリーBnkは、サブルート2811を末端ノードとして持つ上位(親)カテゴリツリーAnnの管理下にある。   For example, the configuration of the category tree Bnk includes a plurality of nodes from the sub-root 2811 to the end node 2812 as shown in FIG. This category tree has an identifier Bnk, and the node key management corresponding to the nodes in the category tree Bnk is performed independently by the category tree Bnk, thereby managing the lower (child) category tree set with the end node 2812 as the vertex. To do. On the other hand, the category tree Bnk is under the management of the upper (parent) category tree Ann having the sub-root 2811 as a terminal node.

カテゴリツリーCn3の構成は、(c)に示すように、サブルート2851を頂点ノードとして、各デバイスである末端ノード2852、この場合はリーフに至るまで複数ノード、リーフを有する。このカテゴリツリーは識別子Cn3を持ち、カテゴリツリーCn3内のノード、リーフに対応するノードキー、リーフキー管理をカテゴリツリーCn3独自に実行することにより、末端ノード2852に対応するリーフ(デバイス)の管理を実行する。また、一方、カテゴリツリーCn3は、サブルート2851を末端ノードとして持つ上位(親)カテゴリツリーBn2の管理下にある。各カテゴリツリーにおけるキー管理とは、例えばキー更新処理、リボーク処理等であるが、これらは後段で詳細に説明する。   As shown in (c), the category tree Cn3 has a sub-root 2851 as a vertex node, a terminal node 2852 that is each device, in this case, a plurality of nodes and leaves up to the leaf. This category tree has an identifier Cn3, and the management of the leaf (device) corresponding to the end node 2852 is executed by executing the node key and leaf key management corresponding to the nodes and leaves in the category tree Cn3 independently of the category tree Cn3. . On the other hand, the category tree Cn3 is under the management of the upper (parent) category tree Bn2 having the sub-root 2851 as a terminal node. Key management in each category tree includes, for example, key update processing, revocation processing, and the like, which will be described in detail later.

最下段カテゴリツリーのリーフであるデバイスには、デバイスの属するカテゴリツリーのリーフキーから、自己の属するカテゴリツリーの頂点ノードであるサブルートノードに至るパスに位置する各ノードのノードキーおよびリーフキーが格納される。例えば末端ノード2852のデバイスは、末端ノード(リーフ)2852から、サブルートノード2851までの各キーを格納する。   The device which is the leaf of the lowest category tree stores the node key and leaf key of each node located in the path from the leaf key of the category tree to which the device belongs to the sub-root node which is the vertex node of the category tree to which the device belongs. For example, the device of the end node 2852 stores each key from the end node (leaf) 2852 to the sub-root node 2851.

図30を用いて、さらにカテゴリツリーの構成について説明する。カテゴリツリーは様々な段数によって構成されるツリー構造を持つことが可能である。段数、すなわちデプス(depth)は、カテゴリツリーで管理する末端ノードに対応する下位(子)カテゴリツリーの数、あるいはリーフとしてのデバイス数に応じて設定可能である。   The configuration of the category tree will be further described with reference to FIG. A category tree can have a tree structure composed of various levels. The number of stages, that is, the depth, can be set according to the number of lower (child) category trees corresponding to the end nodes managed by the category tree or the number of devices as leaves.

図30の(a)に示すような上下カテゴリツリー構成を具体化すると、(b)に示す態様となる。ルートツリーは、ルートキーを持つ最上段のツリーである。ルートツリーの末端ノードに複数の下位カテゴリツリーとしてカテゴリツリーA,B,Cが設定され、さらに、カテゴリツリーCの下位カテゴリツリーとしてカテゴリツリーDが設定される。カテゴリツリーC2901は、その末端ノードの1つ以上のノードをリザーブノード2950として保持し、自己の管理するカテゴリツリーを増加させる場合、さらに複数段のツリー構成を持つカテゴリツリーC'2902をリザーブノード2950を頂点ノードとして新設することにより、管理末端ノード2970を増加させて、管理末端ノードに増加した下位カテゴリツリーを追加することができる。   When the upper and lower category tree configuration as shown in FIG. 30A is embodied, the form shown in FIG. 30B is obtained. The root tree is a topmost tree having a root key. The category trees A, B, and C are set as a plurality of lower category trees at the end node of the root tree, and the category tree D is set as the lower category tree of the category tree C. When the category tree C2901 holds one or more of its end nodes as reserve nodes 2950 and increases the category tree managed by itself, the category tree C2901 further includes a category tree C′2902 having a multi-level tree configuration as a reserve node 2950. As a vertex node, the management end node 2970 can be increased, and the increased lower category tree can be added to the management end node.

リザーブノードについて、さらに図31を用いて説明する。カテゴリツリーA,3011は、管理する下位カテゴリツリーB,C,D…を持ち、1つのリザーブノード3021を持つ。カテゴリツリーは管理対象の下位カテゴリツリーをさらに増加させたい場合、リザーブノード3021に、自己管理の下位カテゴリツリーA',3012を設定し、下位カテゴリツリーA',3012の末端ノードにさらに管理対象の下位カテゴリツリーF,Gを設定することができる。自己管理の下位カテゴリツリーA',3012も、その末端ノードの少なくとも1つをリザーブノード3022として設定することにより、さらに下位カテゴリツリーA''3013を設定して、さらに管理カテゴリツリーを増加させることができる。下位カテゴリツリーA''3013の末端ノードにも1以上のリザーブノードを確保する。このようなリザーブノード保有構成をとることにより、あるカテゴリツリーの管理する下位カテゴリツリーは、際限なく増加させることが可能となる。なお、リザーブカテゴリツリーは、末端ノードの1つのみではなく、複数個設定する構成としてもよい。   The reserve node will be further described with reference to FIG. The category tree A, 3011 has lower category trees B, C, D... To be managed, and has one reserve node 3021. When it is desired to further increase the number of subcategory trees to be managed, the self-managed subcategory tree A ′, 3012 is set in the reserve node 3021, and the management target subordinate category tree A ′, 3012 is further managed by the terminal tree. Lower category trees F and G can be set. The self-managed lower category tree A ′, 3012 also sets the lower category tree A ″ 3013 by setting at least one of its end nodes as the reserve node 3022, and further increases the managed category tree. Can do. One or more reserve nodes are secured also at the end nodes of the lower category tree A ″ 3013. By adopting such a reserve node holding configuration, the number of lower category trees managed by a certain category tree can be increased without limit. Note that the reserve category tree may have a configuration in which a plurality of reserve category trees are set instead of only one of the end nodes.

それぞれのカテゴリツリーでは、カテゴリツリー単位で有効化キーブロック(EKB)が構成され、カテゴリツリー単位でのキー更新、リボーク処理を実行することになる。図31のように複数のカテゴリツリーA,A',A''には各カテゴリツリー個々の有効化キーブロック(EKB)が設定されることになるが、これらは、カテゴリツリーA,A',A''を共通に管理する例えばあるデバイスメーカーが一括して管理することが可能である。   In each category tree, an enabling key block (EKB) is configured for each category tree, and key update and revoke processing are performed for each category tree. As shown in FIG. 31, each category tree A, A ′, A ″ is set with an enabling key block (EKB) for each category tree. For example, a certain device manufacturer that manages A ″ in common can manage it collectively.

[新規カテゴリツリーの登録処理]
次に、新規カテゴリツリーの登録処理について説明する。登録処理シーケンスを図32に示す。図32のシーケンスにしたがって説明する。新たにツリー構成中に追加される新規(子)カテゴリツリー(N−En)は、上位(親)カテゴリツリー(P−En)に対して新規登録要求を実行する。なお、各カテゴリツリーは、公開鍵暗号方式に従った公開鍵を保有し、新規カテゴリツリーは自己の公開鍵を登録要求に際して上位カテゴリツリー(P−En)に送付する。
[New category tree registration process]
Next, a new category tree registration process will be described. The registration processing sequence is shown in FIG. This will be described according to the sequence of FIG. The new (child) category tree (N-En) newly added in the tree structure executes a new registration request for the upper (parent) category tree (P-En). Each category tree has a public key in accordance with the public key cryptosystem, and the new category tree sends its own public key to the upper category tree (P-En) upon a registration request.

登録要求を受領した上位カテゴリツリー(P−En)は、受領した新規(子)カテゴリツリー(N−En)の公開鍵を証明書発行局(CA:Certificate Authority)に転送し、CAの署名を付加した新規(子)カテゴリツリー(N−En)の公開鍵を受領する。これらの手続きは、上位カテゴリツリー(P−En)と新規(子)カテゴリツリー(N−En)との相互認証の手続きとして行われる。   Upon receiving the registration request, the higher-level category tree (P-En) transfers the received public key of the new (child) category tree (N-En) to a certificate authority (CA) and signs the CA signature. The public key of the added new (child) category tree (N-En) is received. These procedures are performed as a mutual authentication procedure between the upper category tree (P-En) and the new (child) category tree (N-En).

これらの処理により、新規登録要求カテゴリツリーの認証が終了すると、上位カテゴリツリー(P−En)は、新規(子)カテゴリツリー(N−En)の登録を許可し、新規(子)カテゴリツリー(N−En)のノードキーを新規(子)カテゴリツリー(N−En)に送信する。このノードキーは、上位カテゴリツリー(P−En)の末端ノードの1つのノードキーであり、かつ、新規(子)カテゴリツリー(N−En)の頂点ノード、すなわちサブルートキーに対応する。   When the authentication of the new registration request category tree is completed by these processes, the upper category tree (P-En) permits registration of the new (child) category tree (N-En), and the new (child) category tree ( N-En) node key is sent to the new (child) category tree (N-En). This node key is one node key of the end node of the upper category tree (P-En), and corresponds to the vertex node of the new (child) category tree (N-En), that is, the sub-root key.

このノードキー送信が終了すると、新規(子)カテゴリツリー(N−En)は、新規(子)カテゴリツリー(N−En)のツリー構成を構築し、構築したツリーの頂点に受信した頂点ノードのサブルートキーを設定し、各ノード、リーフのキーを設定して、カテゴリツリー内の有効化キーブロック(EKB)を生成する。1つのカテゴリツリー内の有効化キーブロック(EKB)をサブEKBと呼ぶ。   When this node key transmission is completed, the new (child) category tree (N-En) constructs a tree structure of the new (child) category tree (N-En) and receives the sub-root of the received vertex node at the vertex of the constructed tree. A key is set, a key for each node and leaf is set, and an enabling key block (EKB) in the category tree is generated. An enabling key block (EKB) in one category tree is called a sub-EKB.

一方、上位カテゴリツリー(P−En)は、新規(子)カテゴリツリー(N−En)の追加により、有効化する末端ノードを追加した上位カテゴリツリー(P−En)内のサブEKBを生成する。   On the other hand, the upper category tree (P-En) generates a sub EKB in the upper category tree (P-En) to which the terminal node to be activated is added by adding a new (child) category tree (N-En). .

新規(子)カテゴリツリー(N−En)は、新規(子)カテゴリツリー(N−En)内のノードキー、リーフキーによって構成されるサブEKBを生成すると、これを上位カテゴリツリー(P−En)に送信する。   When the new (child) category tree (N-En) generates a sub-EKB composed of node keys and leaf keys in the new (child) category tree (N-En), this is converted into a higher-level category tree (P-En). Send.

新規(子)カテゴリツリー(N−En)からサブEKBを受信した上位カテゴリツリー(P−En)は、受信したサブEKBと、上位カテゴリツリー(P−En)の更新したサブEKBとをキー発行センター(KDC:Key Distribute Center)に送信する。   The upper category tree (P-En) that has received the sub-EKB from the new (child) category tree (N-En) issues a key to the received sub-EKB and the updated sub-EKB of the upper category tree (P-En). Send to the center (KDC: Key Distribute Center).

キー発行センター(KDC)は、すべてのカテゴリツリーのサブEKBに基づいて、様々な態様のEKB、すなわち特定のカテゴリツリーあるいはデバイスのみが復号可能なEKBを生成することが可能となる。このように復号可能なカテゴリツリーあるいはデバイスを設定したEKBを例えばコンテンツプロバイダに提供し、コンテンツプロバイダがEKBに基づいてコンテンツキーを暗号化して、ネットワークを介して、あるいは記録媒体に格納して提供することにより、特定のデバイスでのみ利用可能なコンテンツを提供することが可能となる。   The key distribution center (KDC) can generate various types of EKBs, that is, EKBs that can be decrypted only by a specific category tree or device, based on the sub-EKBs of all category trees. The EKB in which the category tree or device that can be decrypted in this way is set is provided to the content provider, for example, and the content provider encrypts the content key based on the EKB and provides it via the network or stored in a recording medium. Thus, it is possible to provide content that can be used only on a specific device.

なお、新規カテゴリツリーのサブEKBのキー発行センター(KDC)に対する登録処理は、サブEKBを上位カテゴリツリーを介してを順次転送して実行する方法に限るものではなく、上位カテゴリツリーを介さずに、新規登録カテゴリツリーから直接、キー発行センター(KDC)に登録する処理を実行する構成としてもよい。   The registration process of the new category tree with respect to the sub-EKB key issuing center (KDC) is not limited to the method of sequentially transferring the sub-EKB through the upper category tree and executing it. Alternatively, a process of registering in the key issuing center (KDC) directly from the new registration category tree may be executed.

上位カテゴリツリーと、上位カテゴリツリーに新規追加する下位カテゴリツリーとの対応について図33を用いて説明する。上位カテゴリツリーの末端ノードの1つ3201を新規追加カテゴリツリーの頂点ノードとして、下位カテゴリツリーに提供することによって下位カテゴリツリーは、上位カテゴリツリーの管理下のカテゴリツリーとして追加される。上位カテゴリツリーの管理下のカテゴリツリーとは、後段で詳細に説明するが、下位カテゴリツリーのリボーク(排除)処理を上位カテゴリツリーが実行できる構成であるという意味を含むものである。   The correspondence between the upper category tree and the lower category tree newly added to the upper category tree will be described with reference to FIG. By providing one of the end nodes 3201 of the upper category tree as a vertex node of the newly added category tree to the lower category tree, the lower category tree is added as a category tree under the management of the upper category tree. The category tree under the management of the upper category tree, which will be described in detail later, includes the meaning that the upper category tree can execute the revocation (exclusion) processing of the lower category tree.

図33に示すように、上位カテゴリツリーに新規カテゴリツリーが設定されると、上位カテゴリツリーのリーフである末端ノードの1つのノード3201と新規追加カテゴリツリーの頂点ノード3202とが等しいノードとして設定される。すなわち上位ノードの1つのリーフである1つの末端ノードが、新規追加カテゴリツリーのサブルートとして設定される。このように設定されることにより、新規追加カテゴリツリーが全体ツリー構成の下で有効化される。   As shown in FIG. 33, when a new category tree is set in the upper category tree, one node 3201 of a terminal node that is a leaf of the upper category tree and a vertex node 3202 of the new added category tree are set as equal nodes. The That is, one terminal node that is one leaf of the upper node is set as a sub-root of the newly added category tree. By setting in this way, the newly added category tree is validated under the entire tree structure.

図34に新規追加カテゴリツリーを設定した際に上位カテゴリツリーが生成する更新EKBの例を示す。図34は、(a)に示す構成、すなわち既に有効に存在する末端ノード(node000)3301と末端ノード(node001)3302があり、ここに新規追加カテゴリツリーに新規カテゴリツリー追加末端ノード(node100)3303を付与した際に上位カテゴリツリーが生成するサブEKBの例を示したものである。   FIG. 34 shows an example of the update EKB generated by the upper category tree when the newly added category tree is set. FIG. 34 shows a configuration shown in FIG. 34A, that is, a terminal node (node000) 3301 and a terminal node (node001) 3302 that are already present, and a new category tree additional terminal node (node100) 3303 is added to the new additional category tree. This is an example of a sub-EKB generated by a higher-level category tree when “” is given.

サブEKBは、図34の(b)に示すようにな構成を持つ。それぞれ有効に存在する末端ノードキーにより暗号化された上位ノードキー、上位ノードキーで暗号化されたさらなる上位ノードキー、…さらに上位に進行してサブルートキーに至る構成となっている。この構成によりサブEKBが生成される。各カテゴリツリーは図34(b)に示すと同様、有効な末端ノード、あるいはリーフキーにより暗号化された上位ノードキー、上位ノードキーでさらに上位のノードキーを暗号化し、順次上位に深厚してサブルートに至る暗号化データによって構成されるEKBを有し、これを管理する。   The sub EKB has a configuration as shown in FIG. Each of the nodes has an upper node key encrypted with a terminal node key that exists effectively, a further upper node key encrypted with the upper node key,... With this configuration, a sub-EKB is generated. Each category tree, as shown in FIG. 34 (b), is a valid end node or a higher node key encrypted with a leaf key, and a higher node key is encrypted with an upper node key, and the encryption that reaches the sub-root is made deeper in order. It has an EKB composed of digitized data and manages it.

[カテゴリツリー管理下におけるリボーク処理]
次に、キー配信ツリー構成をカテゴリツリー単位として管理する構成におけるデバイスあるいはカテゴリツリーのリボーク(排除)処理について説明する。先の図3,4では、ツリー構成全体の中から特定のデバイスのみ復号可能で、リボークされたデバイスは復号不可能な有効化キーブロック(EKB)を配信する処理について説明した。図3,4で説明したリボーク処理は、ツリー全体の中から特定のリーフであるデバイスをリボークする処理であったが、ツリーのカテゴリツリー管理による構成では、カテゴリツリー毎にリボーク処理が実行可能となる。
[Revocation processing under category tree management]
Next, a device or category tree revocation (exclusion) process in a configuration for managing the key distribution tree configuration in units of category trees will be described. 3 and 4 described the processing for distributing an enabling key block (EKB) in which only a specific device can be decrypted from the entire tree structure and the revoked device cannot decrypt. The revocation process described with reference to FIGS. 3 and 4 is a process of revoking a device that is a specific leaf from the entire tree. However, in the configuration based on the category tree management of the tree, the revocation process can be executed for each category tree. Become.

図35以下の図を用いてカテゴリツリー管理下のツリー構成におけるリボーク処理について説明する。図35は、ツリーを構成するカテゴリツリーのうち、最下段のカテゴリツリー、すなわち個々のデバイスを管理しているカテゴリツリーによるデバイスのリボーク処理を説明する図である。   The revoke process in the tree configuration under category tree management will be described with reference to FIG. FIG. 35 is a diagram for explaining device revoke processing by a category tree at the bottom of the category trees constituting the tree, that is, a category tree managing individual devices.

図35(a)は、カテゴリツリー管理によるキー配信ツリー構造を示している。ツリー最上位にはルートノードが設定され、その数段下にカテゴリツリーA01〜Ann、さらにその下位段にB01〜Bnkのカテゴリツリー、さらにその下位段にC1〜cnのカテゴリツリーが構成されている。最も下のカテゴリツリーは、末端ノード(リーフ)が個々のデバイス、例えば記録再生器、再生専用器等であるとする。   FIG. 35A shows a key distribution tree structure based on category tree management. A root node is set at the top of the tree, and a category tree A01 to Ann is formed several stages below, a category tree of B01 to Bnk is further formed at a lower stage thereof, and a category tree of C1 to cn is further formed at a lower stage thereof. . In the lowest category tree, it is assumed that the end node (leaf) is an individual device, for example, a recording / reproducing device, a reproduction-only device, or the like.

ここで、リボーク処理は、各カテゴリツリーにおいて独自に実行される。例えば、最下段のカテゴリツリーC1〜Cnでは、リーフのデバイスのリボーク処理が実行される。図35(b)には、最下段のカテゴリツリーの1つであるカテゴリツリーCn,3430のツリー構成を示している。カテゴリツリーCn,3430は、頂点ノード3431を持ち、末端ノードであるリーフに複数のデバイスを持つ構成である。   Here, the revoke process is independently executed in each category tree. For example, in the lowermost category trees C1 to Cn, revocation processing of leaf devices is executed. FIG. 35B shows a tree configuration of category trees Cn and 3430, which is one of the lowest category trees. The category tree Cn, 3430 has a vertex node 3431 and a plurality of devices in a leaf that is a terminal node.

この末端ノードであるリーフ中に、リボーク対象となるデバイス、例えばデバイス3432があったとすると、カテゴリツリーCn,3430は、独自に更新したカテゴリツリーCn内のノードキー、リーフキーによって構成される有効化キーブロック(サブEKB)を生成する。この有効化キーブロックは、リボークデバイス3432においては復号できず、他のリーフを構成するデバイスにおいてのみ復号可能な暗号化キーにより構成されるキーブロックである。カテゴリツリーCnの管理者は、これを更新されたサブEKBとして生成する。具体的には、サブルートからリボークデバイス3432に連なるパスを構成する各ノード3431,3434,3435のノードキーを更新して、この更新ノードキーをリボークデバイス3432以外のリーフデバイスにおいてのみ復号可能な暗号化キーとして構成したブロックを更新サブEKBとする。この処理は、先の図3,4において説明したリボーク処理構成において、ルートキーを、カテゴリツリーの頂点キーであるサブルートキーに置き換えた処理に対応する。   If there is a device to be revoked, for example, a device 3432, in the leaf that is the terminal node, the category tree Cn, 3430 is an activation key block constituted by the node key and leaf key in the category tree Cn that has been independently updated. (Sub-EKB) is generated. This activation key block is a key block constituted by an encryption key that cannot be decrypted by the revoke device 3432 but can be decrypted only by devices constituting other leaves. The administrator of the category tree Cn generates this as an updated sub-EKB. Specifically, the node key of each of the nodes 3431, 3434, and 3435 constituting the path connected from the sub-root to the revocation device 3432 is updated, and this updated node key is used as an encryption key that can be decrypted only by leaf devices other than the revocation device 3432. The constructed block is set as an update sub-EKB. This processing corresponds to the processing in which the root key is replaced with the sub-root key that is the vertex key of the category tree in the revocation processing configuration described with reference to FIGS.

このようにカテゴリツリーCn,3430がリボーク処理によって更新した有効化キーブロック(サブEKB)は、上位カテゴリツリーに送信される。この場合、上位カテゴリツリーはカテゴリツリーBnk,3420であり、カテゴリツリーCn,3430の頂点ノード3431を末端ノードとして有するカテゴリツリーである。   The activation key block (sub-EKB) updated by the category tree Cn, 3430 by the revocation process is transmitted to the upper category tree. In this case, the upper category tree is the category tree Bnk, 3420, and is a category tree having the vertex node 3431 of the category tree Cn, 3430 as a terminal node.

カテゴリツリーBnk,3420は、下位カテゴリツリーCn,3430から有効化キーブロック(サブEKB)を受領すると、そのキーブロックに含まれるカテゴリツリーCnk,3430の頂点ノード3431に対応するカテゴリツリーBnk,3420の末端ノード3431を、下位カテゴリツリーCn,3430において更新されたキーに設定して、自身のカテゴリツリーBnk,3420のサブEKBの更新処理を実行する。図35(c)にカテゴリツリーBnk,3420のツリー構成を示す。カテゴリツリーBnk,3420において、更新対象となるノードキーは、図35(c)のサブルート3421からリボークデバイスを含むカテゴリツリーを構成する末端ノード3431に至るパス上のノードキーである。すなわち、更新サブEKBを送信してきたカテゴリツリーのノード3431に連なるパスを構成する各ノード3421,3424,3425のノードキーが更新対象となる。これら各ノードのノードキーを更新してカテゴリツリーBnk,3420の新たな更新サブEKBを生成する。   When category tree Bnk, 3420 receives the enabling key block (sub EKB) from lower category tree Cn, 3430, category tree Bnk, 3420 corresponds to vertex node 3431 of category tree Cnk, 3430 included in the key block. The terminal node 3431 is set as a key updated in the lower category tree Cn, 3430, and the update processing of the sub EKB of its own category tree Bnk, 3420 is executed. FIG. 35 (c) shows the tree structure of the category tree Bnk, 3420. In the category tree Bnk, 3420, the node key to be updated is a node key on the path from the sub-root 3421 in FIG. 35C to the terminal node 3431 constituting the category tree including the revocation device. That is, the node key of each of the nodes 3421, 3424, and 3425 constituting the path connected to the node 3431 of the category tree that has transmitted the update sub-EKB is to be updated. The node key of each node is updated to generate a new update sub-EKB of the category tree Bnk, 3420.

さらに、カテゴリツリーBnk,3420が更新した有効化キーブロック(サブEKB)は、上位カテゴリツリーに送信される。この場合、上位カテゴリツリーはカテゴリツリーAnn,3410であり、カテゴリツリーBnk,3420の頂点ノード3421を末端ノードとして有するカテゴリツリーである。   Further, the validation key block (sub EKB) updated by the category tree Bnk, 3420 is transmitted to the upper category tree. In this case, the upper category tree is the category tree Ann, 3410, and is a category tree having the vertex node 3421 of the category tree Bnk, 3420 as a terminal node.

カテゴリツリーAnn,3410は、下位カテゴリツリーBnk,3420から有効化キーブロック(サブEKB)を受領すると、そのキーブロックに含まれるカテゴリツリーBnk,3420の頂点ノード3421に対応するカテゴリツリーAnn,3410の末端ノード3421を、下位カテゴリツリーBnk,3420において更新されたキーに設定して、自身のカテゴリツリーAnn,3410のサブEKBの更新処理を実行する。図35(d)にカテゴリツリーAnn,3410のツリー構成を示す。カテゴリツリーAnn,3410において、更新対象となるノードキーは、図35(d)のサブルート3411から更新サブEKBを送信してきたカテゴリツリーのノード3421に連なるパスを構成する各ノード3411,3414,3415のノードキーである。これら各ノードのノードキーを更新してカテゴリツリーAnn,3410の新たな更新サブEKBを生成する。   When the category tree Ann, 3410 receives the enabling key block (sub EKB) from the lower category tree Bnk, 3420, the category tree Ann, 3410 corresponds to the vertex node 3421 of the category tree Bnk, 3420 included in the key block. The terminal node 3421 is set as a key updated in the lower category tree Bnk, 3420, and the update processing of the sub EKB of its own category tree Ann, 3410 is executed. FIG. 35D shows a tree structure of the category tree Ann, 3410. In the category tree Ann, 3410, the node key to be updated is the node key of each of the nodes 3411, 3414, 3415 constituting the path connected to the node 3421 of the category tree that has transmitted the updated sub EKB from the sub-route 3411 in FIG. It is. The node key of each node is updated to generate a new update sub EKB of the category tree Ann, 3410.

これらの処理を順次、上位のカテゴリツリーにおいて実行し、図30(b)で説明したルートカテゴリツリーまで実行する。この一連の処理により、デバイスのリボーク処理が完結する。なお、それぞれのカテゴリツリーにおいて更新されたサブEKBは、最終的にキー発行センター(KDC)に送信され、保管される。キー発行センター(KDC)は、すべてのカテゴリツリーの更新サブEKBに基づいて、様々なEKBを生成する。更新EKBは、リボークされたデバイスでの復号が不可能な暗号化キーブロックとなる。   These processes are sequentially executed in the upper category tree and executed up to the root category tree described with reference to FIG. This series of processing completes the device revocation process. The sub-EKB updated in each category tree is finally transmitted to the key issuing center (KDC) and stored. The key distribution center (KDC) generates various EKBs based on the updated sub-EKBs of all category trees. The update EKB becomes an encryption key block that cannot be decrypted by the revoked device.

デバイスのリボーク処理のシーケンス図を図36に示す。処理手順を図36のシーケンス図に従って説明する。まず、ツリー構成の最下段にあるデバイス管理カテゴリツリー(D−En)は、デバイス管理カテゴリツリー(D−En)内のリボーク対象のリーフを排除するために必要なキー更新を行ない、デバイス管理カテゴリツリー(D−En)の新たなサブEKB(D)を生成する。更新サブEKB(D)は、上位カテゴリツリーに送付される。更新サブEKB(D)を受領した上位(親)カテゴリツリー(P1−En)は、更新サブEKB(D)の更新頂点ノードに対応した末端ノードキーの更新および、その末端ノードからサブルートに至るパス上のノードキーを更新した更新サブEKB(P1)を生成する。これらの処理を順次、上位カテゴリツリーにおいて実行して、最終的に更新されたすべてのサブEKBがキー発行センター(KDC)に格納され管理される。   FIG. 36 shows a sequence diagram of the device revocation process. The processing procedure will be described with reference to the sequence diagram of FIG. First, the device management category tree (D-En) at the bottom of the tree structure performs key update necessary to eliminate the revoked leaf in the device management category tree (D-En). A new sub-EKB (D) of the tree (D-En) is generated. The updated sub EKB (D) is sent to the upper category tree. The upper (parent) category tree (P1-En) that has received the updated sub EKB (D) updates the terminal node key corresponding to the updated vertex node of the updated sub EKB (D) and the path from the terminal node to the sub-root. An updated sub EKB (P1) in which the node key is updated is generated. These processes are sequentially executed in the upper category tree, and all the sub-EKBs finally updated are stored and managed in the key issuing center (KDC).

図37にデバイスのリボーク処理によって上位カテゴリツリーが更新処理を行なって生成する有効化キーブロック(EKB)の例を示す。   FIG. 37 shows an example of an enabling key block (EKB) generated by the upper category tree performing the update process by the device revocation process.

図37は、(a)に示す構成において、リボークデバイスを含む下位カテゴリツリーから更新サブEKBを受信した上位カテゴリツリーにおいて生成するEKBの例を説明する図である。リボークデバイスを含む下位カテゴリツリーの頂点ノードは、上位カテゴリツリーの末端ノード(node100)3601に対応する。   FIG. 37 is a diagram for explaining an example of the EKB generated in the upper category tree that has received the updated sub EKB from the lower category tree including the revocation device in the configuration shown in FIG. The vertex node of the lower category tree including the revocation device corresponds to the terminal node (node 100) 3601 of the upper category tree.

上位カテゴリツリーは、上位カテゴリツリーのサブルートから末端ノード(node100)3601までのパスに存在するノードキーを更新して新たな更新サブEKBを生成する。更新サブEKBは、図37(b)のようになる。更新されたキーは、下線および[']を付して示してある。このように更新された末端ノードからサブルートまでのパス上のノードキーを更新してそのカテゴリツリーにおける更新サブEKBとする。   The upper category tree updates the node key existing in the path from the sub-root of the upper category tree to the terminal node (node 100) 3601, and generates a new updated sub-EKB. The update sub EKB is as shown in FIG. The updated key is shown underlined and [']. The node key on the path from the end node updated to the sub-root is updated as described above to obtain an updated sub EKB in the category tree.

次に、リボークする対象をカテゴリツリーとした場合の処理、すなわちカテゴリツリーのリボーク処理について説明する。   Next, processing when a revocation target is a category tree, that is, category tree revocation processing will be described.

図38(a)は、カテゴリツリー管理によるキー配信ツリー構造を示している。ツリー最上位にはルートノードが設定され、その数段下にカテゴリツリーA01〜Ann、さらにその下位段にB01〜Bnkのカテゴリツリー、さらにその下位段にC1〜cnのカテゴリツリーが構成されている。最も下のカテゴリツリーは、末端ノード(リーフ)が個々のデバイス、例えば記録再生器、再生専用器等であるとする。   FIG. 38A shows a key distribution tree structure based on category tree management. A root node is set at the top of the tree, and a category tree A01 to Ann is formed several stages below, a category tree of B01 to Bnk is further formed at a lower stage thereof, and a category tree of C1 to cn is further formed at a lower stage thereof. . In the lowest category tree, it is assumed that the end node (leaf) is an individual device, for example, a recording / reproducing device, a reproduction-only device, or the like.

ここで、リボーク処理を、カテゴリツリーCn,3730に対して実行する場合について説明する。最下段のカテゴリツリーCn,3730は、図38(b)に示すように頂点ノード3431を持ち、末端ノードであるリーフに複数のデバイスを持つ構成である。   Here, a case where the revoke process is executed on the category trees Cn and 3730 will be described. The lowermost category tree Cn, 3730 has a vertex node 3431 as shown in FIG. 38B, and has a plurality of devices in a leaf which is a terminal node.

カテゴリツリーCn,3730をリボークすることにより、カテゴリツリーCn,3730に属するすべてのデバイスのツリー構造からの一括排除が可能となる。カテゴリツリーCn,3730のリボーク処理は、カテゴリツリーCn,3730の上位カテゴリツリーであるカテゴリツリーBnk,3720において実行される。カテゴリツリーBnk,3720は、カテゴリツリーCn,3730の頂点ノード3731を末端ノードとして有するカテゴリツリーである。   By revoking the category tree Cn, 3730, all devices belonging to the category tree Cn, 3730 can be collectively excluded from the tree structure. The revocation processing of the category tree Cn, 3730 is executed in the category tree Bnk, 3720, which is a higher category tree of the category tree Cn, 3730. The category tree Bnk, 3720 is a category tree having the vertex node 3731 of the category tree Cn, 3730 as a terminal node.

カテゴリツリーBnk,3720は、下位カテゴリツリーCn,3730のリボークを実行する場合、カテゴリツリーCnk,3730の頂点ノード3731に対応するカテゴリツリーBnk,3720の末端ノード3731を更新し、さらに、そのリボークカテゴリツリー3730からカテゴリツリーBnk,3720のサブルートまでのパス上のノードキーの更新を行ない有効化キーブロックを生成して更新サブEKBを生成する。更新対象となるノードキーは、図38(c)のサブルート3721からリボークカテゴリツリーの頂点ノードを構成する末端ノード3731に至るパス上のノードキーである。すなわち、ノード3721,3724,3725,3731のノードキーが更新対象となる。これら各ノードのノードキーを更新してカテゴリツリーBnk,3720の新たな更新サブEKBを生成する。   When the category tree Bnk, 3720 executes the revocation of the lower category tree Cn, 3730, the category tree Bnk, 3720 updates the end node 3731 of the category tree Bnk, 3720 corresponding to the vertex node 3731 of the category tree Cnk, 3730, and further, the revocation category. The node key on the path from the tree 3730 to the sub-root of the category tree Bnk, 3720 is updated to generate an enabling key block to generate an updated sub EKB. The node key to be updated is a node key on the path from the sub-root 3721 in FIG. 38C to the terminal node 3731 constituting the vertex node of the revoke category tree. That is, the node keys of the nodes 3721, 3724, 3725, and 3731 are to be updated. The node key of each node is updated to generate a new update sub-EKB of the category tree Bnk, 3720.

あるいは、カテゴリツリーBnk,3720は、下位カテゴリツリーCn,3730のリボークを実行する場合、カテゴリツリーCnk,3730の頂点ノード3731に対応するカテゴリツリーBnk,3720の末端ノード3731は更新せず、そのリボークカテゴリツリー3730からカテゴリツリーBnk,3720のサブルートまでのパス上の末端ノード3731を除くノードキーの更新を行ない有効化キーブロックを生成して更新サブEKBを生成してもよい。   Alternatively, when the category tree Bnk, 3720 executes the revocation of the lower category tree Cn, 3730, the terminal node 3731 of the category tree Bnk, 3720 corresponding to the vertex node 3731 of the category tree Cnk, 3730 is not updated, and the revocation is performed. An updated sub-EKB may be generated by updating the node key excluding the terminal node 3731 on the path from the category tree 3730 to the sub-root of the category tree Bnk, 3720 to generate an enabling key block.

さらに、カテゴリツリーBnk,3720が更新した有効化キーブロック(サブEKB)は、上位カテゴリツリーに送信される。この場合、上位カテゴリツリーはカテゴリツリーAnn,3710であり、カテゴリツリーBnk,3720の頂点ノード3721を末端ノードとして有するカテゴリツリーである。   Further, the activation key block (sub EKB) updated by the category tree Bnk, 3720 is transmitted to the upper category tree. In this case, the upper category tree is the category tree Ann, 3710, and is a category tree having the vertex node 3721 of the category tree Bnk, 3720 as a terminal node.

カテゴリツリーAnn,3710は、下位カテゴリツリーBnk,3720から有効化キーブロック(サブEKB)を受領すると、そのキーブロックに含まれるカテゴリツリーBnk,3720の頂点ノード3721に対応するカテゴリツリーAnn,3710の末端ノード3721を、下位カテゴリツリーBnk,3720において更新されたキーに設定して、自身のカテゴリツリーAnn,3710のサブEKBの更新処理を実行する。図38(d)にカテゴリツリーAnn,3710のツリー構成を示す。カテゴリツリーAnn,3710において、更新対象となるノードキーは、図38(d)のサブルート3711から更新サブEKBを送信してきたカテゴリツリーのノード3721に連なるパスを構成する各ノード3711,3714,3715のノードキーである。これら各ノードのノードキーを更新してカテゴリツリーAnn,3710の新たな更新サブEKBを生成する。   When the category tree Ann, 3710 receives the enabling key block (sub EKB) from the lower category tree Bnk, 3720, the category tree Ann, 3710 corresponds to the vertex node 3721 of the category tree Bnk, 3720 included in the key block. The terminal node 3721 is set as a key updated in the lower category tree Bnk, 3720, and the sub EKB update process of its own category tree Ann, 3710 is executed. FIG. 38D shows the tree structure of the category tree Ann, 3710. In the category tree Ann, 3710, the node key to be updated is the node key of each of the nodes 3711, 3714, 3715 constituting the path connected to the node 3721 of the category tree that has transmitted the updated sub EKB from the sub-root 3711 in FIG. It is. The node key of each node is updated to generate a new update sub-EKB of the category tree Ann, 3710.

これらの処理を順次、上位のカテゴリツリーにおいて実行し、図30(b)で説明したルートカテゴリツリーまで実行する。この一連の処理により、カテゴリツリーのリボーク処理が完結する。なお、それぞれのカテゴリツリーにおいて更新されたサブEKBは、最終的にキー発行センター(KDC)に送信され、保管される。キー発行センター(KDC)は、すべてのカテゴリツリーの更新サブEKBに基づいて、様々なEKBを生成する。更新EKBは、リボークされたカテゴリツリーに属するデバイスでの復号が不可能な暗号化キーブロックとなる。   These processes are sequentially executed in the upper category tree and executed up to the root category tree described with reference to FIG. This series of processes completes the category tree revocation process. The sub-EKB updated in each category tree is finally transmitted to the key issuing center (KDC) and stored. The key distribution center (KDC) generates various EKBs based on the updated sub-EKBs of all category trees. The update EKB becomes an encryption key block that cannot be decrypted by a device belonging to the revoked category tree.

カテゴリツリーのリボーク処理のシーケンス図を図39に示す。処理手順を図39のシーケンス図に従って説明する。まず、カテゴリツリーをリボークしようとするカテゴリツリー管理カテゴリツリー(E−En)は、カテゴリツリー管理カテゴリツリー(E−En)内のリボーク対象の末端ノードを排除するために必要なキー更新を行ない、カテゴリツリー管理カテゴリツリー(E−En)の新たなサブEKB(E)を生成する。更新サブEKB(E)は、上位カテゴリツリーに送付される。更新サブEKB(E)を受領した上位(親)カテゴリツリー(P1−En)は、更新サブEKB(E)の更新頂点ノードに対応した末端ノードキーの更新および、その末端ノードからサブルートに至るパス上のノードキーを更新した更新サブEKB(P1)を生成する。これらの処理を順次、上位カテゴリツリーにおいて実行して、最終的に更新されたすべてのサブEKBがキー発行センター(KDC)に格納され管理される。キー発行センター(KDC)は、すべてのカテゴリツリーの更新サブEKBに基づいて、様々なEKBを生成する。更新EKBは、リボークされたカテゴリツリーに属するデバイスでの復号が不可能な暗号化キーブロックとなる。   FIG. 39 shows a sequence diagram of category tree revocation processing. The processing procedure will be described with reference to the sequence diagram of FIG. First, the category tree management category tree (E-En) that intends to revoke the category tree performs the key update necessary for eliminating the revoked terminal node in the category tree management category tree (E-En). A new sub-EKB (E) of the category tree management category tree (E-En) is generated. The updated sub-EKB (E) is sent to the upper category tree. The upper (parent) category tree (P1-En) that has received the updated sub EKB (E) updates the terminal node key corresponding to the updated vertex node of the updated sub EKB (E) and the path from the terminal node to the sub-root. An updated sub EKB (P1) in which the node key is updated is generated. These processes are sequentially executed in the upper category tree, and all the sub-EKBs finally updated are stored and managed in the key issuing center (KDC). The key distribution center (KDC) generates various EKBs based on the updated sub-EKBs of all category trees. The update EKB becomes an encryption key block that cannot be decrypted by a device belonging to the revoked category tree.

図40にリボークされた下位カテゴリツリーと、リボークを行なった上位カテゴリツリーの対応を説明する図を示す。上位カテゴリツリーの末端ノード3901は、カテゴリツリーのリボークにより更新され、上位カテゴリツリーのツリーにおける末端ノード3901からサブルートまでのパスに存在するノードキーの更新により、新たなサブEKBが生成される。その結果、リボークされた下位カテゴリツリーの頂点ノード3902のノードキーと、上位カテゴリツリーの末端ノード3901のノードキーは不一致となる。カテゴリツリーのリボーク後にキー発行センター(KDC)によって生成されるEKBは、上位カテゴリツリーにおいて更新された末端ノード3901のキーに基づいて生成されることになるので、その更新キーを保有しない下位カテゴリツリーのリーフに対応するデバイスは、キー発行センター(KDC)によって生成されるEKBの復号ガ不可能になる。   FIG. 40 illustrates a correspondence between the revoked lower category tree and the revoked upper category tree. The terminal node 3901 of the upper category tree is updated by revoking the category tree, and a new sub-EKB is generated by updating the node key existing in the path from the terminal node 3901 to the subroot in the tree of the upper category tree. As a result, the node key of the vertex node 3902 of the revoked lower category tree and the node key of the end node 3901 of the upper category tree are inconsistent. Since the EKB generated by the key distribution center (KDC) after the category tree is revoked is generated based on the key of the terminal node 3901 updated in the upper category tree, the lower category tree that does not hold the updated key. The device corresponding to this leaf cannot decrypt the EKB generated by the key distribution center (KDC).

なお、上述の説明では、デバイスを管理する最下段のカテゴリツリーのリボーク処理について説明したが、ツリーの中段にあるカテゴリツリー管理カテゴリツリーをその上位カテゴリツリーがリボークする処理も上記と同様のプロセスによって可能である。中段のエンティティ管理カテゴリツリーをリボークすることにより、リボークされたカテゴリツリー管理カテゴリツリーの下位に属するすべての複数カテゴリツリーおよびデバイスを一括してリボーク可能となる。   In the above description, the revoking process of the lowermost category tree for managing the device has been described. However, the process for revoking the category tree management category tree in the middle of the tree by the upper category tree is performed by the same process as described above. Is possible. By revoking the middle entity management category tree, it is possible to revoke all multiple category trees and devices belonging to the subordinates of the revoked category tree management category tree in a lump.

このように、カテゴリツリー単位でのリボークを実行することにより、1つ1つのデバイス単位で実行するリボーク処理に比較して簡易なプロセスでのリボーク処理が可能となる。   As described above, by executing the revocation in the unit of category tree, the revocation process can be performed in a simple process as compared with the revocation process executed in units of each device.

[カテゴリツリーのケイパビリティ管理]
次に、カテゴリツリー単位でのキー配信ツリー構成において、各エンティティの許容するケイパビリティ(Capability)を管理して、ケイパビリティに応じたコンテンツ配信を行なう処理構成について説明する。ここでケイパビリティとは、例えば特定の圧縮音声データの復号が可能であるとか、特定の音声再生方式を許容するとか、あるいは特定の画像処理プログラムを処理できる等、デバイスがどのようなコンテンツ、あるいはプログラム等を処理できるデバイスであるか、すなわちデバイスのデータ処理能力の定義情報である。
[Category tree capability management]
Next, in the key distribution tree configuration in units of category trees, a processing configuration that manages the capabilities (Capability) allowed by each entity and performs content distribution according to the capabilities will be described. Here, the capability means what kind of content or program the device has such as being capable of decoding specific compressed audio data, allowing a specific audio reproduction method, or processing a specific image processing program. It is the definition information of the data processing capability of the device.

図41にケイパビリティを定義したカテゴリツリー構成例を示す。キー配信ツリー構成の最頂点ににルートノードが位置し、下層に複数のカテゴリツリーが接続されて各ノードが2分岐を持つツリー構成である。ここで、例えばカテゴリツリー4001は、音声再生方式A,B,Cのいずれかを許容するケイパビリティを持つカテゴリツリーとして定義される。具体的には、例えばある音声圧縮プログラム−A、B、またはC方式で圧縮した音楽データを配信した場合に、カテゴリツリー4001以下に構成されたカテゴリツリーに属するデバイスは圧縮データを伸長する処理が可能である。   FIG. 41 shows a configuration example of a category tree in which capabilities are defined. A root node is located at the top of the key distribution tree structure, a plurality of category trees are connected to the lower layer, and each node has two branches. Here, for example, the category tree 4001 is defined as a category tree having a capability that allows any one of the audio reproduction modes A, B, and C. Specifically, for example, when music data compressed by a certain audio compression program-A, B, or C method is distributed, a device belonging to a category tree configured under the category tree 4001 has a process of decompressing the compressed data. Is possible.

同様にカテゴリツリー4002は音声再生方式BまたはC、カテゴリツリー4003は音声再生方式AまたはB、カテゴリツリー4004は音声再生方式B、カテゴリツリー4005は音声再生方式Cを処理することが可能なケイパビリティを持つカテゴリツリーとして定義される。   Similarly, the category tree 4002 has the capability of processing the audio playback mode B or C, the category tree 4003 has the capability of processing the audio playback mode A or B, the category tree 4004 has the capability of processing the audio playback mode B, and the category tree 4005 has the capability of processing the audio playback mode C. It is defined as having a category tree.

一方、カテゴリツリー4021は、画像再生方式p,q,rを許容するカテゴリツリーとして定義され、カテゴリツリー4022は方式p,qの画像再生方式、カテゴリツリー4023は方式pの画像再生が可能なケイパビリティを持つカテゴリツリーとして定義される。   On the other hand, the category tree 4021 is defined as a category tree that allows the image reproduction methods p, q, and r, the category tree 4022 is an image reproduction method of the methods p and q, and the category tree 4023 is a capability capable of image reproduction of the method p. Is defined as a category tree with

このような各カテゴリツリーのケイパビリティ情報は、キー発行センター(KDC)において管理される。キー発行センター(KDC)は、例えばあるコンテンツプロバイダが特定の圧縮プログラムで圧縮した音楽データを様々なデバイスに配信したい場合、その特定の圧縮プログラムを再生可能なデバイスに対してのみ復号可能な有効化キーブロック(EKB)を各カテゴリツリーのケイパビリティ情報に基づいて生成することができる。コンテンツを提供するコンテンツプロバイダは、ケイパビリティ情報に基づいて生成した有効化キーブロック(EKB)によって暗号化したコンテンツキーを配信し、そのコンテンツキーで暗号化した圧縮音声データを各デバイスに提供する。この構成により、データの処理が可能なデバイスに対してのみ特定の処理プログラムを確実に提供することが可能となる。   Such capability information of each category tree is managed in a key issuing center (KDC). For example, when a content provider wants to distribute music data compressed by a specific compression program to various devices, the key distribution center (KDC) enables the specific compression program to be decrypted only to a device that can play the specific compression program. A key block (EKB) can be generated based on capability information of each category tree. The content provider that provides the content distributes the content key encrypted with the enabling key block (EKB) generated based on the capability information, and provides the compressed audio data encrypted with the content key to each device. With this configuration, it is possible to reliably provide a specific processing program only to a device that can process data.

なお、図41では全てのカテゴリツリーについてケイパビリティ情報を定義している構成であるが、図41の構成ようにすべてのカテゴリツリーにケイパビリティ情報を定義することは必ずしも必要ではなく、例えば図42に示すようにデバイスが属する最下段のカテゴリツリーについてのみケイパビリティを定義して、最下段のカテゴリツリーに属するデバイスのケイパビリティをキー発行センター(KDC)において管理して、コンテンツプロバイダが望む処理の可能なデバイスにのみ復号可能な有効化キーブロック(EKB)を最下段のカテゴリツリーに定義されたケイパビリティ情報に基づいて生成する構成としてもよい。図42では、末端ノードにデバイスが定義されたカテゴリツリー4101=4105におけるケイパビリテイが定義され、これらのカテゴリツリーについてのケイパビリティをキー発行センター(KDC)において管理する構成である。例えばカテゴリツリー4101には音声再生については方式B、画像再生については方式rの処理が可能なデバイスが属している。カテゴリツリー4102には音声再生については方式A、画像再生については方式qの処理が可能なデバイスが属している等である。   In FIG. 41, the capability information is defined for all category trees. However, it is not always necessary to define the capability information for all category trees as shown in FIG. 41. For example, as shown in FIG. In this way, the capability is defined only for the lowermost category tree to which the device belongs, and the capabilities of the devices belonging to the lowermost category tree are managed in the key issuing center (KDC), so that the device that can be processed by the content provider is obtained. Only an enabling key block (EKB) that can be decrypted may be generated based on capability information defined in the category tree at the bottom. In FIG. 42, the capabilities in the category tree 4101 = 4105 in which devices are defined in the end nodes are defined, and the capabilities for these category trees are managed in the key issuing center (KDC). For example, the category tree 4101 belongs to a device capable of processing the method B for sound reproduction and the method r for image reproduction. The category tree 4102 includes devices that can process the method A for audio reproduction and the method q for image reproduction.

図43にキー発行センター(KDC)において管理するケイパビリティ管理テーブルの構成例を示す。ケイパビリティ管理テーブルは、図43(a)のようなデータ構成を持つ。すなわち、各カテゴリツリーを識別する識別子としてのカテゴリツリーID、そのカテゴリツリーに定義されたケイパビリティを示すケイパビリティリスト、このケイパビリティリストは図43(b)に示すように、例えば音声データ再生処理方式(A)が処理可能であれば[1]、処理不可能であれは[0]、音声データ再生処理方式(B)が処理可能であれば[1]、処理不可能であれは[0]…等、様々な態様のデータ処理についての可否を1ビットづつ[1]または[0]を設定して構成されている。なお、このケイパビリティ情報の設定方法はこのような形式に限らず、カテゴリツリーの管理デバイスについてのケイパビリティを識別可能であれば他の構成でもよい。   FIG. 43 shows a configuration example of a capability management table managed in the key issuing center (KDC). The capability management table has a data structure as shown in FIG. That is, a category tree ID as an identifier for identifying each category tree, a capability list indicating the capabilities defined in the category tree, and this capability list is, for example, an audio data reproduction processing method (A ) Can be processed [1], if it cannot be processed [0], if the audio data reproduction processing method (B) can be processed [1], if it cannot be processed [0], etc. , [1] or [0] is set for each bit as to whether data processing in various modes is possible. Note that the capability information setting method is not limited to such a format, and other configurations may be used as long as the capabilities of the category tree management device can be identified.

ケイパビリティ管理テーブルには、さらに、各カテゴリツリーのサブEKB、あるいはサブEKBが別のデータベースに格納されている場合は、サブEKBの識別情報が格納され、さらに、各カテゴリツリーのサブルートノード識別データが格納される。   In the capability management table, when the sub-EKB of each category tree or the sub-EKB is stored in another database, the identification information of the sub-EKB is stored, and further, the sub-root node identification data of each category tree is stored. Stored.

キー発行センター(KDC)は、ケイパビリティ管理テーブルに基づいて、例えば特定のコンテンツの再生可能なデバイスのみが復号可能な有効化キーブロック(EKB)を生成する。図44を用いて、ケイパビリティ情報に基づく有効化キーブロックの生成処理について説明する。   Based on the capability management table, for example, the key issuing center (KDC) generates an enabling key block (EKB) that can be decrypted only by a device capable of reproducing specific content. With reference to FIG. 44, the generation process of the activation key block based on the capability information will be described.

まず、ステップS4301において、キー発行センター(KDC)は、ケイパビリティ管理テーブルから、指定されたケイパビリティを持つカテゴリツリーを選択する。具体的には、例えばコンテンツプロバイダが音声データ再生処理方式Aに基づく再生可能なデータを配信したい場合は、図43(a)のケイパビリティリストから、例えば音声データ再生処理(方式A)の項目が[1]に設定されたカテゴリツリーを選択する。   First, in step S4301, the key issuing center (KDC) selects a category tree having a specified capability from the capability management table. Specifically, for example, when the content provider wants to distribute reproducible data based on the audio data reproduction processing method A, for example, the item of the audio data reproduction processing (method A) is [from the capability list of FIG. Select the category tree set to 1].

次に、ステップS4302において、選択されたカテゴリツリーによって構成される選択カテゴリツリーIDのリストを生成する。次に、ステップS4303で、選択カテゴリツリーIDによって構成されるツリーに必要なパス(キー配信ツリー構成のパス)を選択する。ステップS4304では、選択カテゴリツリーIDのリストに含まれる全てのパス選択が完了したか否かを判定し、完了するまで、ステップS4303においてパスを生成する。これは、複数のカテゴリツリーが選択された場合に、それぞれのパスを順次選択する処理を意味している。   Next, in step S4302, a list of selected category tree IDs configured by the selected category tree is generated. Next, in step S4303, a path required for the tree configured by the selected category tree ID (a path of the key distribution tree configuration) is selected. In step S4304, it is determined whether or not all paths included in the list of selected category tree IDs have been completed, and paths are generated in step S4303 until completion. This means a process of sequentially selecting each path when a plurality of category trees are selected.

選択カテゴリツリーIDのリストに含まれる全てのパス選択が完了すると、ステップS4305に進み、選択したパスと、選択カテゴリツリーによってのみ構成されるキー配信ツリー構造を構築する。   When all the paths included in the list of selected category tree IDs have been selected, the process advances to step S4305 to construct a key distribution tree structure constituted only by the selected path and the selected category tree.

次に、ステップS4306において、ステップS4305で生成したツリー構造のノードキーの更新処理を行ない、更新ノードキーを生成する。さらに、ツリーを構成する選択カテゴリツリーのサブEKBをケイパビリティ管理テーブルから取り出し、サブEKBと、ステップS4306で生成した更新ノードキーとに基づいて選択カテゴリツリーのデバイスにおいてのみ復号可能な有効化キーブロック(EKB)を生成する。このようにして生成した有効化キーブロック(EKB)は、特定のケイパビリティを持つデバイスにおいてのみ利用、すなわち復号可能な有効化キーブロック(EKB)となる。この有効化キーブロック(EKB)で例えばコンテンツキーを暗号化して、そのコンテンツキーで特定プログラムに基づいて圧縮したコンテンツを暗号化してデバイスに提供することで、キー発行センター(KDC)によって選択された特定の処理可能なデバイスにおいてのみコンテンツが利用される。   In step S4306, the node key having the tree structure generated in step S4305 is updated to generate an updated node key. Further, the sub-EKB of the selected category tree constituting the tree is extracted from the capability management table, and an enabling key block (EKB) that can be decrypted only by the device of the selected category tree based on the sub-EKB and the updated node key generated in step S4306. ) Is generated. The enabling key block (EKB) generated in this way becomes an enabling key block (EKB) that can be used, that is, decrypted only in a device having a specific capability. Selected by the key distribution center (KDC) by, for example, encrypting the content key with this enabling key block (EKB) and encrypting the content compressed based on the specific program with the content key and providing it to the device The content is used only on a specific processable device.

このようにキー発行センター(KDC)は、ケイパビリティ管理テーブルに基づいて、例えば特定のコンテンツの再生可能なデバイスのみが復号可能な有効化キーブロック(EKB)を生成する。従って、新たなカテゴリツリーが登録される場合には、その新規登録カテゴリツリーのケイパビリティを予め取得することが必要となる。このカテゴリツリー新規登録に伴うケイパビリティ通知処理について図45を用いて説明する。   In this way, the key issuing center (KDC) generates an enabling key block (EKB) that can be decrypted only by, for example, a device capable of reproducing specific content, based on the capability management table. Therefore, when a new category tree is registered, it is necessary to acquire the capability of the newly registered category tree in advance. The capability notification process associated with this new category tree registration will be described with reference to FIG.

図45は、新規カテゴリツリーがキー配信ツリー構成に参加する場合のケイパビリティ通知処理シーケンスを示した図である。   FIG. 45 is a diagram showing a capability notification processing sequence when a new category tree participates in the key distribution tree configuration.

新たにツリー構成中に追加される新規(子)カテゴリツリー(N−En)は、上位(親)カテゴリツリー(P−En)に対して新規登録要求を実行する。なお、各カテゴリツリーは、公開鍵暗号方式に従った公開鍵を保有し、新規カテゴリツリーは自己の公開鍵を登録要求に際して上位カテゴリツリー(P−En)に送付する。   The new (child) category tree (N-En) newly added in the tree structure executes a new registration request for the upper (parent) category tree (P-En). Each category tree has a public key in accordance with the public key cryptosystem, and the new category tree sends its own public key to the upper category tree (P-En) upon a registration request.

登録要求を受領した上位カテゴリツリー(P−En)は、受領した新規(子)カテゴリツリー(N−En)の公開鍵を証明書発行局(CA:Certificate Authority)に転送し、CAの署名を付加した新規(子)カテゴリツリー(N−En)の公開鍵を受領する。これらの手続きは、上位カテゴリツリー(P−En)と新規(子)カテゴリツリー(N−En)との相互認証の手続きとして行われる。   Upon receiving the registration request, the higher-level category tree (P-En) transfers the received public key of the new (child) category tree (N-En) to a certificate authority (CA) and signs the CA signature. The public key of the added new (child) category tree (N-En) is received. These procedures are performed as a mutual authentication procedure between the upper category tree (P-En) and the new (child) category tree (N-En).

これらの処理により、新規登録要求カテゴリツリーの認証が終了すると、上位カテゴリツリー(P−En)は、新規(子)カテゴリツリー(N−En)の登録を許可し、新規(子)カテゴリツリー(N−En)のノードキーを新規(子)カテゴリツリー(N−En)に送信する。このノードキーは、上位カテゴリツリー(P−En)の末端ノードの1つのノードキーであり、かつ、新規(子)カテゴリツリー(N−En)の頂点ノード、すなわちサブルートキーに対応する。   When the authentication of the new registration request category tree is completed by these processes, the upper category tree (P-En) permits registration of the new (child) category tree (N-En), and the new (child) category tree ( N-En) node key is sent to the new (child) category tree (N-En). This node key is one node key of the end node of the upper category tree (P-En), and corresponds to the vertex node of the new (child) category tree (N-En), that is, the sub-root key.

このノードキー送信が終了すると、新規(子)カテゴリツリー(N−En)は、新規(子)カテゴリツリー(N−En)のツリー構成を構築し、構築したツリーの頂点に受信した頂点ノードのサブルートキーを設定し、各ノード、リーフのキーを設定して、カテゴリツリー内の有効化キーブロック(サブEKB)を生成する。一方、上位カテゴリツリー(P−En)も、新規(子)カテゴリツリー(N−En)の追加により、有効化する末端ノードを追加した上位カテゴリツリー(P−En)内のサブEKBを生成する。   When this node key transmission is completed, the new (child) category tree (N-En) constructs a tree structure of the new (child) category tree (N-En) and receives the sub-root of the received vertex node at the vertex of the constructed tree. A key is set, and a key for each node and leaf is set to generate an enabling key block (sub-EKB) in the category tree. On the other hand, the upper category tree (P-En) also generates a sub-EKB in the upper category tree (P-En) to which the terminal node to be activated is added by adding a new (child) category tree (N-En). .

新規(子)カテゴリツリー(N−En)は、新規(子)カテゴリツリー(N−En)内のノードキー、リーフキーによって構成されるサブEKBを生成すると、これを上位カテゴリツリー(P−En)に送信し、さらに、自己のカテゴリツリーで管理するデバイスについてのケイパビリティ情報を上位カテゴリツリーに通知する。   When the new (child) category tree (N-En) generates a sub-EKB composed of node keys and leaf keys in the new (child) category tree (N-En), this is converted into a higher-level category tree (P-En). Further, the capability information about the device managed by its own category tree is notified to the upper category tree.

新規(子)カテゴリツリー(N−En)からサブEKBおよびケイパビリティ情報を受信した上位カテゴリツリー(P−En)は、受信したサブEKBとケイパビリティ情報と、上位カテゴリツリー(P−En)の更新したサブEKBとをキー発行センター(KDC:Key Distribute Center)に送信する。   The upper category tree (P-En) that has received the sub-EKB and capability information from the new (child) category tree (N-En) is updated from the received sub-EKB and capability information and the upper category tree (P-En). The sub-EKB is transmitted to the key distribution center (KDC).

キー発行センター(KDC)は、受領したカテゴリツリーのサブEKBおよびケイパビリティ情報とを図43で説明したケイパビリティ管理テーブルに登録し、ケイパビリティ管理テーブルを更新する。キー発行センター(KDC)は、更新したケイパビリティ管理テーブルに基づいて、様々な態様のEKB、すなわち特定のケイパビリティを持つカテゴリツリーあるいはデバイスのみが復号可能なEKBを生成することが可能となる。   The key issuing center (KDC) registers the received sub-EKB and capability information of the category tree in the capability management table described with reference to FIG. 43, and updates the capability management table. Based on the updated capability management table, the key distribution center (KDC) can generate various types of EKB, that is, an EKB that can be decrypted only by a category tree or a device having a specific capability.

[EKBタイプ定義リストを使用したEKB管理構成]
次に、1以上の選択されたカテゴリツリーにおいて復号可能なEKBを生成して各カテゴリツリーに属するデバイスに共通に使用可能なEKBを提供する構成において、どのカテゴリツリーで処理可能、すなわち復号可能であるかを示すEKBタイプ定義リストを使用した構成について説明する。
[EKB management configuration using EKB type definition list]
Next, in a configuration in which an EKB that can be decoded in one or more selected category trees is generated and an EKB that can be used in common for devices belonging to each category tree is provided, which category tree can be processed, that is, can be decoded. A configuration using an EKB type definition list indicating whether or not there is will be described.

本構成においては、キー発行センター(KDC)は、コンテンツプロバイダなどのEKBの使用、発行処理を望むEKBリクエスタからEKB発行要求を受領する。EKB発行要求にはEKBタイプ定義リストに定義されたEKBタイプを示すEKBタイプ識別ナンバーが含まれ、キー発行センター(KDC)は、EKBタイプ識別ナンバーに従って1または複数のカテゴリツリーにおいて処理(復号)可能なEKBを生成する。   In this configuration, the key issuing center (KDC) receives an EKB issuing request from an EKB requester that desires to use and issue an EKB such as a content provider. The EKB issue request includes an EKB type identification number indicating the EKB type defined in the EKB type definition list, and the key issue center (KDC) can be processed (decrypted) in one or more category trees according to the EKB type identification number. A new EKB is generated.

EKBの生成に際しては、キー発行センター(KDC)は、EKBタイプ定義リストのEKBタイプ識別ナンバーに対応して設定された各カテゴリツリーのトップノード識別子に基づき、カテゴリツリー管理者としてのトップレベル・カテゴリ・エンティテイ(TLCE:Top Level Category Entity)にサブEKBの生成を要求し、各TLCEの生成したサブEKBを受領し、複数のサブEKBの合成処理を実行して複数のカテゴリツリーにおいて処理可能なEKBを生成する。   When generating the EKB, the key distribution center (KDC), based on the top node identifier of each category tree set corresponding to the EKB type identification number in the EKB type definition list, is a top level category as a category tree manager. -An EKB that requests generation of a sub-EKB from an entity (TLCE: Top Level Category Entity), receives a sub-EKB generated by each TLCE, and performs a process of synthesizing a plurality of sub-EKBs to be processed in a plurality of category trees. Is generated.

本構成においては、コンテンツプロバイダ(CP)などのEKBの発行要求者は、EKBタイプ定義リストに基づいて特定のカテゴリツリーの選択を実行することが可能となる。コンテンツプロバイダ(CP)などのEKBの発行要求者は、EKBタイプ定義リストを参照して特定カテゴリツリーにおいて処理可能なEKBの発行をキー発行センター(KDC)に依頼する。キー発行センター(KDC)は、EKB発行要求に基づいて、選択されたカテゴリツリーの管理エンティテイに対してサブEKB発行要求を行ない、各選択されたカテゴリツリーの管理エンティテイは、管理エンティテイのリボークされていない正当なデバイスにおいてのみ処理可能なサブEKBを生成してキー発行センター(KDC)に送信する。キー発行センター(KDC)は、1以上のサブEKBを組み合わせてEKBの発行要求者の要求した選択カテゴリツリーにのみ処理可能なEKBを生成してEKB発行要求者に提供する。EKB発行要求者は、キー発行センター(KDC)からEKBを受領し、EKBの処理によって取得可能なキーでのみ復号可能な暗号化キー、または暗号化コンテンツの配信を実行する。   In this configuration, an EKB issuing requester such as a content provider (CP) can select a specific category tree based on the EKB type definition list. An EKB issuance requester such as a content provider (CP) refers to the EKB type definition list and requests the key issuance center (KDC) to issue an EKB that can be processed in the specific category tree. The key issuing center (KDC) makes a sub-EKB issuing request to the management entity of the selected category tree based on the EKB issuing request, and the management entity of each selected category tree is revoked from the management entity. A sub-EKB that can be processed only by a non-legitimate device is generated and transmitted to the key issuing center (KDC). The key issuance center (KDC) generates one EKB that can be processed only in the selected category tree requested by the EKB issuance requester by combining one or more sub-EKBs, and provides the EKB issuance requester. The EKB issuance requester receives the EKB from the key issuance center (KDC), and executes the distribution of the encryption key or the encrypted content that can be decrypted only with the key that can be obtained by the EKB process.

まず、以下の説明における構成エンティテイについて簡単に説明する。
キー発行センター(KDC:Key Distribution Center)
有効化キーブロック(EKB)を発行し、発行したEKBに関するEKBタイプ定義リストを管理する。
First, the configuration entity in the following description will be briefly described.
Key distribution center (KDC)
An enabling key block (EKB) is issued, and an EKB type definition list relating to the issued EKB is managed.

トップレベル・カテゴリ・エンティテイ(TLCE:Top Level Category Entity)
あるカテゴリツリーを管理するエンティテイ。たとえば記録デバイスのフォーマットホルダー。カテゴリツリーを管理し、管理下のカテゴリツリー内のデバイスにおいて処理(復号)可能なEKBであるサブEKBを生成し、キー発行センター(KDC)に提出する。
Top Level Category Entity (TLCE)
An entity that manages a category tree. For example, a format holder for recording devices. The category tree is managed, and a sub EKB that is an EKB that can be processed (decrypted) in a device in the managed category tree is generated and submitted to the key distribution center (KDC).

EKB・リクエスタ(EKB requester)
たとえば、電子コンテンツ提供(ECD:Electronic Content Distribution)サービスを実行するコンテンツプロバイダ(CP)など、画像、音声、プログラムなど様々のコンテンツをユーザデバイスに対して提供するエンティテイ、あるいは記録メディアのフォーマットホルダーであり、提供コンテンツの暗号化キーなどにEKB処理によって取得可能なキーを用いる設定としてコンテンツ、メディアを提供する。この際に用いるEKBの発行要求をキー発行センター(KDC)に対して要求する。
EKB requester (EKB requester)
For example, a content provider (CP) that executes an electronic content distribution (ECD) service, such as an entity that provides various contents such as images, sounds, and programs to a user device, or a format holder for a recording medium Content and media are provided as a setting that uses a key that can be acquired by EKB processing as an encryption key for the provided content. A request for issuing an EKB used at this time is sent to the key issuing center (KDC).

例えば、コンテンツプロバイダ(CP)は、キー発行センター(KDC)の生成したEKBのルートキー(Root Key)を用いて自分のコンテンツを暗号化して配信する。記録メディアのフォーマットホルダーは、EKBを記録メディアの製造時に書きこんで配布し、記録されるコンテンツがそのEKBのルートキー(Root Key)を用いて暗号化されるようにする。   For example, the content provider (CP) encrypts and distributes its content using the EKB root key generated by the key issuing center (KDC). The format holder of the recording medium writes and distributes the EKB when the recording medium is manufactured, and the recorded content is encrypted using the root key of the EKB.

(TLCEとカテゴリベースのツリー管理)
カテゴリベースのツリー管理については、前述したが、トップレベル・カテゴリ・エンティテイ(TLCE)とカテゴリツリーの関係について、図46を用いて説明する。
(TLCE and category-based tree management)
The category-based tree management has been described above. The relationship between the top-level category entity (TLCE) and the category tree will be described with reference to FIG.

まず、カテゴリは、前述したように同じ性質を持ったデバイスの集合であり、具体的には、同じメーカー製のデバイス、あるいは同じエンコードフォーマットを扱えるデバイス等である。図46において、A、B、C、Dはそれぞれカテゴリツリーを示す。   First, the category is a set of devices having the same properties as described above, specifically, devices made by the same manufacturer or devices that can handle the same encoding format. In FIG. 46, A, B, C, and D respectively indicate category trees.

図46において、最上段のルートツリーは、例えば8段構成(ノード段数)であり、ルートツリーの最下段にカテゴリツリーのトップノードが設定される。カテゴリツリーは、複数が上位、下位の関係になることが可能であり、図46において、カテゴリツリーCは、カテゴリツリーDの上位に対応する。   In FIG. 46, the uppermost root tree has, for example, an eight-stage configuration (number of node stages), and the top node of the category tree is set at the lowermost stage of the root tree. A plurality of category trees can have an upper and lower relationship, and the category tree C corresponds to the upper level of the category tree D in FIG.

最上段のルートツリーに直接連なるカテゴリツリーをトップレベルカテゴリツリーと呼び、トップレベルカテゴリツリーを管理するエンティテイをトップレベル・カテゴリ・エンティテイ(TLCE)と呼ぶ。図46では、A、B、Cがトップレベルカテゴリであり、これらを管理するエンティテイがトップレベル・カテゴリ・エンティテイ(TLCE)である。トップレベル・カテゴリ・エンティテイ(TLCE)は、基本的に、自己のツリー以下全体を管理する責任がある。つまり、図46のツリーCを管理するTLCEは、ツリーCと同様ツリーDについての管理も実行する。D以下にさらに下層のカテゴリツリーが存在すればその下層カテゴリツリー管理も行なう。ただし、例えば下層のカテゴリツリーDを管理するカテゴリエンティティ(Sub Category Entity)を置いて、その責任と権利を委譲することも可能である。   A category tree directly connected to the root tree at the top is called a top level category tree, and an entity that manages the top level category tree is called a top level category entity (TLCE). In FIG. 46, A, B, and C are top level categories, and the entity that manages them is a top level category entity (TLCE). A top level category entity (TLCE) is basically responsible for managing the entire tree below it. In other words, the TLCE that manages the tree C in FIG. If there is a lower category tree below D, the lower category tree is also managed. However, for example, it is possible to place a category entity (Sub Category Entity) that manages the lower category tree D and delegate responsibility and rights thereof.

コンテンツの利用を行なう記録再生装置などの各デバイスは、トップレベル・カテゴリ・エンティテイ(TLCE)により、あるツリーのリーフにアサインされ、そのリーフからルートに至るパスの間のいくつかのノードの鍵を所有する。1つのデバイスが持つノードキーの組をデバイス・ノード・キー(DNK:Device Node Key)と呼ぶ。各デバイスが、何個の鍵を持つか(DNKに何個の鍵が含まれるか)はトップレベル・カテゴリ・エンティテイ(TLCE)が決定する。   Each device such as a recording / playback apparatus that uses content is assigned to a leaf of a tree by a top-level category entity (TLCE), and keys of some nodes between paths from the leaf to the root are used. Own. A set of node keys possessed by one device is called a device node key (DNK). The top-level category entity (TLCE) determines how many keys each device has (how many keys are included in the DNK).

図47にキー発行センター(KDC)、トップレベル・カテゴリ・エンティテイ(TLCE)、EKB・リクエスタ各エンティテイの対応、処理の概要を説明する図を示す。   FIG. 47 is a diagram for explaining the outline of the correspondence and processing of each key issuing center (KDC), top level category entity (TLCE), EKB / requester entity.

キー発行センター(KDC)4511は、ツリー構成を用いたEKB配信システムの管理エンティテイ4510として位置づけられる。管理エンティテイ4510には、さらに、EKBに対する署名処理を実行する認証局(CA)4512がある。   The key issue center (KDC) 4511 is positioned as a management entity 4510 of the EKB distribution system using a tree structure. The management entity 4510 further includes a certificate authority (CA) 4512 that executes a signature process for the EKB.

キー発行センター(KDC)4511は、トップレベルカテゴリツリーなどのサブツリーのキー管理を行ない、後述するEKBタイプ定義リストの管理、EKBの生成を実行する。認証局(CA)4512は、キー発行センター(KDC)の生成したEKBに署名を実行するともに、署名を施した秘密鍵に対応する公開鍵を署名検証用の鍵として発行する。   A key issuance center (KDC) 4511 performs key management of a subtree such as a top-level category tree, and manages an EKB type definition list and generates an EKB, which will be described later. The certificate authority (CA) 4512 executes a signature on the EKB generated by the key issuing center (KDC) and issues a public key corresponding to the signed secret key as a signature verification key.

キー発行センター(KDC)4511に対してEKBの発行要求を行なうのがEKBリクエスタ4520である。EKBリクエスタは、例えばコンテンツを格納したCD、DVDなどのメディアを提供するコンテンツ格納メディアに関するコンテンツプロバイダ(CP)、電子コンテンツの配信を実行するコンテンツプロバイダ(CP)、フラッシュメモリなどのストレージシステムのフオーマットについてのライセンスを提供するストレージシステムライセンサなどである。   The EKB requester 4520 makes an EKB issue request to the key issue center (KDC) 4511. The EKB requester is, for example, a content provider (CP) related to a content storage medium that provides a medium such as a CD or DVD that stores content, a content provider (CP) that executes distribution of electronic content, and a format of a storage system such as a flash memory. Such as a storage system licensor that provides a license.

これらのEKBリクエスタ4520は、それぞれの提供するメデイア、コンテンツ、ライセンスの使用に際し、必要となるキーをEKB処理によって得られるキーとして設定したEKBをコンテンツ、メディア、ライセンスフォーマットなどに対応付けて提供する。EKBは、EKBリクエスタ4520からキー発行センター(KDC)4511に対するEKB発行要求に従ってキー発行センター(KDC)4511が生成する。   These EKB requesters 4520 provide EKB in which necessary keys are set as keys obtained by EKB processing in association with contents, media, license formats, and the like when using the media, contents, and licenses provided. The EKB is generated by the key issuing center (KDC) 4511 in accordance with an EKB issuing request from the EKB requester 4520 to the key issuing center (KDC) 4511.

EKBリクエスタ4520は、キー発行センター(KDC)4511に対する発行要求の結果として受領したEKBをメディア製造者4540、デバイス製造者4550に対して提供し、EKBを格納したメディア、またはデバイスをユーザに対して供給する処理が可能である。これらのEKBは、例えば1つまたは複数のカテゴリツリーにおいて処理可能なEKBとして生成される。   The EKB requester 4520 provides the EKB received as a result of the issuance request to the key issuing center (KDC) 4511 to the media manufacturer 4540 and the device manufacturer 4550, and the medium or device storing the EKB is provided to the user. Supply processing is possible. These EKBs are generated, for example, as EKBs that can be processed in one or more category trees.

本システムでは、複数、例えば2つあるいは3以上のカテゴリツリーにおいて共通に処理可能なEKBや、唯一のカテゴリツリーにおいてのみ処理可能なEKBなど、様々なタイプのEKBが生成され、使用される状況になる。このような様々なタイプのEKBについてリスト化したのがEKBタイプ定義リストである。EKBタイプ定義リストはキー発行センター(KDC)が管理する。EKBタイプ定義リストについては、後段で詳細に説明する。EKBリクエスタ4520は、EKBタイプ定義リストの要求をキー発行センター(KDC)4511に要求してリストを取得可能であり、また、リストのデータ変更があった場合は、キー発行センター(KDC)4511からEKBリクエスタ4520に対して通知される。   In this system, various types of EKB such as EKB that can be processed in common in two or more category trees, for example, EKB that can be processed only in one category tree, are generated and used. Become. The EKB type definition list is a list of various types of EKB. The EKB type definition list is managed by the key distribution center (KDC). The EKB type definition list will be described in detail later. The EKB requester 4520 can request the EKB type definition list from the key issuing center (KDC) 4511 to obtain the list. If there is a change in the list data, the EKB requester 4520 can receive the list from the key issuing center (KDC) 4511. The EKB requester 4520 is notified.

トップレベル・カテゴリ・エンティテイ(TLCE)4530は、前述したようにルートツリーに連なるカテゴリツリーの管理エンティテイであり、サブツリーのキー管理、管理デバイスIDと各デバイスに格納されるEKB処理のためのノードキー・セットであるデバイス・ノード・キー(DNK)との対応リストを管理する。さらに管理下のデバイスに対応するデバイスを製造するデバイス製造者4550に対して、デバイス格納用のデバイス・ノード・キー(DNK)の生成、提供処理を実行する。   As described above, the top level category entity (TLCE) 4530 is a management entity of the category tree connected to the root tree. The key management of the subtree, the management device ID, and the node key for EKB processing stored in each device A correspondence list with a device node key (DNK) that is a set is managed. Further, a device node key (DNK) for storing a device is generated and provided to a device manufacturer 4550 that manufactures a device corresponding to the device under management.

キー発行センター(KDC)4511がEKBリクエスタ4520からEKB発行要求を受信すると、キー発行センター(KDC)4511は、発行要求に従ったEKBを生成する。生成するEKBが例えば2つのトップレベル・カテゴリツリーにおいて処理可能なEKBであった場合は、その2つのトップレベル・カテゴリ・エンティテイ(TLCE)4530に対してサブEKBの発行要求を送信し、サブEKBの発行要求を受信したトップレベル・カテゴリ・エンティテイ(TLCE)4530はそれぞれのカテゴリツリー内の正当デバイスがルートキー取得可能なサブEKBを生成してキー発行センター(KDC)4511に送信する。キー発行センター(KDC)4511は、TLCEから受信した1つまたは複数のサブEKBに基づいてEKBを生成する。サブEKBに基づくEKB生成処理については後段でさらに説明する。   When the key issuing center (KDC) 4511 receives the EKB issuing request from the EKB requester 4520, the key issuing center (KDC) 4511 generates an EKB according to the issuing request. If the EKB to be generated is an EKB that can be processed in, for example, two top level category trees, a sub EKB issue request is transmitted to the two top level category entities (TLCE) 4530, and the sub EKB is issued. The top-level category entity (TLCE) 4530 that has received the issuance request generates a sub-EKB that can be acquired by the legitimate device in each category tree and transmits it to the key issuance center (KDC) 4511. A key issuing center (KDC) 4511 generates an EKB based on one or more sub-EKBs received from the TLCE. The EKB generation process based on the sub-EKB will be further described later.

トップレベル・カテゴリ・エンティテイ(TLCE)4530は、EKBリクエスタ4520と同様、EKBタイプ定義リストの要求をキー発行センター(KDC)4511に要求してリストを取得可能である。   Similar to the EKB requester 4520, the top level category entity (TLCE) 4530 can request the key issuing center (KDC) 4511 to request an EKB type definition list and obtain the list.

トップレベル・カテゴリ・エンティテイ(TLCE)4530は、さらに、EKBタイプ定義リストの自己のツリーに関して定義されたタイプの削除要求をキー発行センター(KDC)4511に要求することができる。例えば他のカテゴリツリーと共有のEKBとして定義されたEKBタイプをリストから削除する要求である。トップレベル・カテゴリ・エンティテイ(TLCE)4530は、さらに、自己の管理するツリーに関する変更があった場合には、変更情報をキー発行センター(KDC)4511に通知する。これらの処理についてはフローを用いて後段で説明する。   The top level category entity (TLCE) 4530 may further request the key distribution center (KDC) 4511 to request a deletion of the type defined for its tree in the EKB type definition list. For example, a request for deleting an EKB type defined as an EKB shared with another category tree from the list. The top level category entity (TLCE) 4530 further notifies the key issuing center (KDC) 4511 of the change information when there is a change related to the tree managed by the top level category entity (TLCE) 4530. These processes will be described later using a flow.

デバイス製造者4550は、2つの種類のデバイス製造者に区分される。1つは、製造するデバイスにデバイスノードキー(DNK)と、EKBの両データを格納したデバイスを製造するDNKEデバイス製造者4551であり、他方は、デバイスにデバイスノードキー(DNK)のみを格納したデバイスを製造するDNKデバイス製造者4552である。   Device manufacturer 4550 is divided into two types of device manufacturers. One is a DNKE device manufacturer 4551 that manufactures a device that stores both device node key (DNK) and EKB data in the device to be manufactured, and the other stores only a device node key (DNK) in the device. A DNK device manufacturer 4552 that manufactures the device.

図48に図47に示すキー発行センター(KDC)、EKBリクエスタ、トップレベル・カテゴリ・エンティテイ(TLCE)それぞれの構成例をブロック図として示す。キー発行センター(KDC)はEKB発行情報処理装置、EKBリクエスタはEKB要求情報処理装置、トップレベル・カテゴリ・エンティテイ(TLCE)はカテゴリツリー管理情報処理装置として、基本的に暗号通信可能なデータ処理装置として構成される。   FIG. 48 is a block diagram showing a configuration example of each of the key issue center (KDC), EKB requester, and top level category entity (TLCE) shown in FIG. A key processing center (KDC) is an EKB issuing information processing device, an EKB requester is an EKB request information processing device, and a top-level category entity (TLCE) is a category tree management information processing device. Configured as

各エンティテイを構成する情報処理装置は、それぞれ他エンティテイとの相互認証、データ通信時における暗号処理全般を司る暗号処理部を有する。暗号処理部内の制御部は、認証処理、暗号化/復号化処理等の暗号処理全般に関する制御を実行する制御部である。内部メモリは、相互認証処理、暗号化、復号化処理等、各種処理において必要となる鍵データ、識別データ等を格納する。識別データは、例えば他エンティテイとの相互認証処理等において用いられる。   Each information processing apparatus constituting each entity has an encryption processing unit that performs mutual authentication with other entities and overall encryption processing during data communication. The control unit in the encryption processing unit is a control unit that executes control related to the entire encryption processing such as authentication processing and encryption / decryption processing. The internal memory stores key data, identification data, and the like necessary for various processes such as mutual authentication processing, encryption, and decryption processing. The identification data is used, for example, in mutual authentication processing with other entities.

暗号/復号化部は、内部メモリに格納された鍵データ等を使用したデータ転送時の認証処理、暗号化処理、復号化処理、データの検証、乱数の発生などの処理を実行する。   The encryption / decryption unit executes processing such as authentication processing at the time of data transfer using key data stored in the internal memory, encryption processing, decryption processing, data verification, generation of random numbers, and the like.

ただし、EKBリクエスタとしての情報処理装置においては、鍵の生成処理を自装置内では実行しない構成も可能である。この場合には、鍵の生成に必要な構成要素、例えば乱数発生装置などを省略可能となる。具体的には、EKBに含ませるルートキーを自ら生成して生成したルートキーを含むEKBの生成をキー発行センターに要求するEKBリクエスタとしての情報処理装置はルートキーを生成するための手段が必要となるが、EKBに含ませるルートキーを自ら生成せず、キー発行センターにルートキーの生成処理を要求し、キー発行センター(KDC)において生成したルートキーを含むEKB生成をキー発行センターに要求するEKBリクエスタとしての情報処理装置は乱数発生装置などの鍵生成処理に伴う構成要素が省略可能である。   However, the information processing apparatus as the EKB requester may be configured such that the key generation processing is not executed in the own apparatus. In this case, components necessary for key generation, such as a random number generator, can be omitted. Specifically, an information processing apparatus as an EKB requester that requests the key issuing center to generate an EKB including a root key generated by generating a root key included in the EKB needs a means for generating a root key. However, it does not generate the root key included in the EKB itself, requests the key issuing center to generate the root key, and requests the key issuing center to generate the EKB including the root key generated at the key issuing center (KDC). In the information processing apparatus as the EKB requester, the components accompanying the key generation processing such as the random number generation apparatus can be omitted.

暗号処理部の内部メモリは、暗号鍵などの重要な情報を保持しているため、外部から不正に読み出しにくい構造にしておく必要がある。従って、暗号処理部は、外部からアクセスしにくい構造を持った例えば半導体チップで構成された耐タンパメモリとして構成される。   Since the internal memory of the encryption processing unit holds important information such as an encryption key, it is necessary to have a structure that prevents unauthorized reading from the outside. Therefore, the encryption processing unit is configured as a tamper-resistant memory composed of, for example, a semiconductor chip having a structure that is difficult to access from the outside.

各エンティテイは、これらの暗号処理機能の他に、中央演算処理装置(CPU:Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)、入力部、表示部、データベースI/F、データベースを備えている。   In addition to these cryptographic processing functions, each entity has a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), an input unit, a display unit, a database I / F, Has a database.

中央演算処理装置(CPU:Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)は、各エンティテイ本体の制御系として機能する構成部である。RAMは、CPUにおける各種処理用の主記憶メモリとして使用され、CPUによる処理のための作業領域として使用される。ROMは、CPUでの起動プログラム等が格納される。   A central processing unit (CPU), a random access memory (RAM), and a read only memory (ROM) are components that function as a control system for each entity body. The RAM is used as a main storage memory for various processes in the CPU, and is used as a work area for processing by the CPU. The ROM stores a startup program in the CPU.

各エンティテイを構成する情報処理装置のデータベースまたはその他の記憶手段には、それぞれ各エンティテイの管理するデータ、例えばキー発行センター(KDC)であれば、発行したEKBに関する管理データ、さらにEKBタイプ定義リストなどが格納され、また、トップレベル・カテゴリ・エンティテイ(TLCE)のデータベースには、管理デバイスとデバイスノードキー(DNK)の対応など、カテゴリツリーに属するデバイスの管理データが格納され、EKBリクエスタのデータベースには、提供コンテンツとコンテンツに対して使用されているEKBとの関係を対応付けた管理データ、コンテンツの提供先デバイスについての管理データなどが格納される。なお、EKBタイプ定義リストは、EKBリクエスタ、トップレベル・カテゴリ・エンティテイ(TLCE)を構成する情報処理装置中にも格納し参照可能な状態とする構成が好ましい。あるいは、EKBリクエスタ、トップレベル・カテゴリ・エンティテイ(TLCE)のアクセス可能なキー発行センター(KDC)の管理するウェブ(Web)サイトに置く構成としてもよい。   In the database or other storage means of the information processing apparatus constituting each entity, data managed by each entity, for example, management data related to the issued EKB if it is a key issuing center (KDC), further an EKB type definition list, etc. The top level category entity (TLCE) database stores management data of devices belonging to the category tree, such as correspondence between management devices and device node keys (DNK), and is stored in the EKB requester database. Stores management data in which the relationship between the provided content and the EKB used for the content is associated, management data on the content providing device, and the like. The EKB type definition list is preferably stored in an information processing apparatus that constitutes an EKB requester and a top level category entity (TLCE) so that it can be referred to. Or it is good also as a structure put on the Web (Web) site which the key issuing center (KDC) which an EKB requester and a top level category entity (TLCE) can access is managed.

前述したように、デバイスは、EKB処理(復号)のためにデバイス・ノード・キー(DNK:Device Node Key)を使用する。1つのデバイスが持つデバイス・ノード・キー(DNK)について図49を用いて説明する。図49に示すツリーは1つのカテゴリツリーを示し、最下段がデバイスが対応付けられたリーフであり、例えばトップレベル・カテゴリ・エンティテイ(TLCE)の管理ツリーに相当する。さらに上段にはルートツリー(ex.8段構成)が連なっている。ここでデバイスは、図49に示すようにデバイスから上段に至るパス上のノードキーを有する。これらのキーセットをデバイス・ノード・キー(DNK)として保有し、デバイス・ノード・キー(DNK)を用いてEKBの復号を行なう。   As described above, the device uses a device node key (DNK) for EKB processing (decryption). A device node key (DNK) possessed by one device will be described with reference to FIG. The tree shown in FIG. 49 shows one category tree, and the lowest level is a leaf associated with a device, and corresponds to, for example, a management tree of a top level category entity (TLCE). Furthermore, a root tree (ex. 8 stage configuration) is connected to the upper stage. Here, the device has a node key on the path from the device to the upper level as shown in FIG. These key sets are held as device node keys (DNK), and the EKB is decrypted using the device node keys (DNK).

基本的に、1つのデバイスが1つのリーフに重ならないようにアサインされる。例外として、たとえばPCソフトなどのソフトウェアをリーフに対応付ける場合は、1つのバージョンのソフトウェア・パッケージがすべて1つのリーフにアサインされる場合もある。これもTLCEが決める。つまり、デバイスをどのようにリーフにアサインし、どのノードキーを持たせるかはTLCEが決める。   Basically, one device is assigned so as not to overlap one leaf. As an exception, for example, when software such as PC software is associated with a leaf, one version of the software package may be all assigned to one leaf. This is also determined by TLCE. That is, TLCE determines how a device is assigned to a leaf and which node key is assigned.

トップレベル・カテゴリ・エンティテイ(TLCE)は、デバイス自体の提供業者(メーカー)である場合もあり、製造デバイスに対して予めデバイス・ノード・キー(DNK)を格納してユーザに提供(販売)することが可能である。すなわち、記録再生装置などのデバイスに対して予め、ある特定のカテゴリツリーのノードキーのセットをデバイス・ノード・キー(DNK)としてメモリに格納してユーザに提供(販売)することが可能である。   The top-level category entity (TLCE) may be a provider (manufacturer) of the device itself, and a device node key (DNK) is stored in advance for the manufactured device and provided (sold) to the user. It is possible. That is, a node key set of a specific category tree can be stored in a memory in advance as a device node key (DNK) for a device such as a recording / reproducing apparatus and provided (sold) to a user.

(EKBタイプ定義リスト)
カテゴリ単位でのEKB配信については、すでに説明した通りであるが、複数のカテゴリに共通のEKB、すなわち異なるカテゴリツリーに属するデバイスにおいて処理可能なEKBを生成して発行した場合には、いくつかの問題点が発生する場合がある。
(EKB type definition list)
The EKB distribution in the category unit is as described above, but when an EKB that is common to a plurality of categories, that is, an EKB that can be processed in devices belonging to different category trees, is generated and issued, Problems may occur.

例えば、ある再書き込み可能なメディア(記録媒体)例えば、携帯型フラッシュメモリのフォーマットのライセンシー(ライセンス受領者)として、A社とB社の異なる2社が存在し、メディア(携帯型フラッシュメモリ)のライセンサー(ライセンス許諾者)であるメーカーがトップレベルカテゴリとして存在し、その下にA社の管理するカテゴリツリーとB社の管理するカテゴリツリーがある構成において、A社とB社は相互のデバイスに互換性を持たせ、様々な配布コンテンツを共通に利用することを可能とするため、A社のカテゴリツリーとB社のカテゴリツリーの2つのカテゴリツリーの所属デバイスにおいて処理(復号)可能なEKBをキー発行センター(KDC)において生成し発行する。   For example, there are two different rewritable media (recording media), for example, portable flash memory format licensees (license recipients), company A and company B, and the media (portable flash memory) In a configuration in which a manufacturer that is a licensor (license licensor) exists as a top-level category and there is a category tree managed by A company and a category tree managed by B company, A company and B company are mutual devices. Can be used in common, and various distribution contents can be used in common, so that EKB that can be processed (decrypted) in the devices belonging to two category trees, the category tree of company A and the category tree of company B Is generated and issued at the key issuing center (KDC).

このような状況でA社の管理するカテゴリツリーに属する1つのデバイスのデバイス・ノード・キー(DNK)が漏洩してしまうと、そのデバイスノードキー(DNK)を利用してA社、B社の相互のデバイスにおいて利用可能とした配布コンテンツがすべて不正に利用されてしまう可能性が発生することになる。利用を排除するためには、リボーク処理としてのEKB更新処理が必要となるが、この場合、A社のカテゴリツリーに関するリボーク処理ではなく、A社およびB社の2つのカテゴリツリーに共通のEKBが存在するため、EKB更新処理はA社およびB社の2つのカテゴリツリーに関して実行することが必要となる。   In such a situation, if the device node key (DNK) of one device belonging to the category tree managed by company A leaks, the device node key (DNK) is used to There is a possibility that all the distributed contents that can be used in the mutual devices are illegally used. In order to eliminate use, EKB update processing as revocation processing is required. In this case, EKB that is common to the two category trees of Company A and Company B is not the revocation processing related to the category tree of Company A. Therefore, the EKB update process needs to be executed for two category trees of Company A and Company B.

このように、複数のカテゴリツリーに共通のEKBを生成して提供した場合、1つのカテゴリツリー内でのリボーク処理、EKB更新処理のみではなく、共通するEKBを使用するすべての他のカテゴリツリーにおいてリボークに伴うEKB更新処理を実行することが必要となる。これはB社にとっては、自己の管理するデバイスと異なる他の管理カテゴリツリーの影響を受けることになり、処理負荷が高まることになってしまう。   As described above, when a common EKB is generated and provided for a plurality of category trees, not only in the revocation process and the EKB update process in one category tree, but in all other category trees using the common EKB. It is necessary to execute an EKB update process accompanying revocation. For company B, it will be affected by another management category tree different from the device that it manages, and the processing load will increase.

このような状況を解決するため、複数のカテゴリにおいて共通に使用可能なEKBの発行の許可権限を、それぞれのカテゴリを管理するカテゴリ・エンティテイが有する構成とする。つまり、互換性をとるために、相手のカテゴリに属するデバイスの不具合によって引き起こされる自分のカテゴリ内デバイスへのリスクを許容できる場合にのみ、互換性をとるEKBの発行を認め、リスクが許容できない場合は、共通に使用可能なEKBの発行、または使用を認めないものとする。   In order to solve such a situation, the category entity that manages each category has a permission authority to issue EKB that can be commonly used in a plurality of categories. In other words, in order to ensure compatibility, the issuance of compatible EKB is permitted only when the risk to the device in its category caused by the malfunction of the device belonging to the partner category is allowed, and the risk is not acceptable Shall not issue or use a commonly usable EKB.

このような処理を行なおうとすると、複数、例えば2つあるいは3以上のカテゴリツリーにおいて共通に処理可能なEKBや、唯一のカテゴリツリーにおいてのみ処理可能なEKBなど、様々なタイプのEKBが生成され、使用される状況になる。このような様々なタイプのEKBについてリスト化したのがEKBタイプ定義リストである。図50にEKBタイプ定義リストの例を示す。EKBタイプ定義リストはキー発行センター(KDC)が記録媒体に記録して管理する。また、EKBリクエスタ、TLCEに対しても必要に応じて提供または閲覧可能な状態におかれる。   When such processing is performed, various types of EKB are generated, such as EKB that can be processed in common, for example, two or more category trees, or EKB that can be processed only in one category tree. , Will be the situation used. The EKB type definition list is a list of various types of EKB. FIG. 50 shows an example of the EKB type definition list. The EKB type definition list is recorded and managed by a key issuing center (KDC) on a recording medium. Further, the EKB requester and the TLCE can be provided or viewed as necessary.

図50に示すように、EKBタイプ定義リストは、「EKBタイプ識別ナンバー」、「ノード」、「説明」の各フィールドを有し、「EKBタイプ識別ナンバー」は、EKBタイプ定義リストにリストアップされた様々な態様のEKBを識別するナンバーであり、識別ナンバーが異なれば、そのEKBを処理可能なカテゴリツリーまたはその組み合わせが異なる構成となっている。   As shown in FIG. 50, the EKB type definition list has fields of “EKB type identification number”, “node”, and “description”, and “EKB type identification number” is listed in the EKB type definition list. In addition, this is a number for identifying various types of EKBs. If the identification numbers are different, the category trees or combinations thereof that can process the EKBs are different.

「ノード」フィールドは、EKBを適用可能なカテゴリツリーのトップノードIDを記録するフィールドである。例えばEKBタイプ識別ナンバー:1のEKBは、MS(MemoryStick:メモリスティック)のカテゴリツリーのトップノードIDが記録される。また、EKBタイプ識別ナンバー:3のEKBは、MS(MemoryStick:メモリスティック)のカテゴリツリーのトップノードIDとPHSのカテゴリツリーのトップノードIDが記録される。   The “node” field is a field for recording a top node ID of a category tree to which EKB can be applied. For example, the EKB with the EKB type identification number: 1 records the top node ID of the category tree of MS (Memory Stick). The EKB with an EKB type identification number: 3 records the top node ID of the MS (Memory Stick) category tree and the top node ID of the PHS category tree.

「説明」フィールドは、EKBタイプ定義リストにリストアップされた様々な態様のEKBの説明を記録するフィールドであり、例えばEKBタイプ識別ナンバー:1のEKBは、MS(MemoryStick:メモリスティック)用のEKBであることを示している。また、EKBタイプ識別ナンバー:3のEKBは、MS(MemoryStick:メモリスティック)とPHSのカテゴリツリーのデバイスに共通に使用可能なEKBであることを示している。   The “description” field is a field for recording descriptions of various types of EKBs listed in the EKB type definition list. For example, an EKB with an EKB type identification number of 1 is an EKB for MS (Memory Stick). It is shown that. An EKB with an EKB type identification number: 3 indicates that the EKB can be used in common for devices in the MS (Memory Stick) and PHS category trees.

図50に示すEKBタイプ定義リストはキー発行センター(KDC)が管理する。また、EKBの処理により取得可能なキーによって暗号化した暗号化キーまたは暗号化コンテンツ等の暗号化データ配信を行なおうとするエンティテイ、例えばコンテンツプロバイダは、図50に示すEKBタイプ定義リストを参照して、コンテンツの提供対象となるデバイスを含むカテゴリツリーによって処理可能なEKBタイプを選択し、そのEKBタイプ識別ナンバーを指定して、キー発行センター(KDC)にEKB生成処理を依頼する。   The EKB type definition list shown in FIG. 50 is managed by the key issuing center (KDC). Also, an entity that wants to distribute encrypted data such as an encrypted key or encrypted content encrypted with a key that can be obtained by EKB processing, for example, a content provider refers to the EKB type definition list shown in FIG. Then, an EKB type that can be processed is selected by a category tree including a device to which content is to be provided, the EKB type identification number is designated, and an EKB generation process is requested to the key issuing center (KDC).

ただし、EKBタイプ定義リストに対する様々なタイプのEKB登録処理においては、登録対象となるカテゴリツリーのトップレベル・カテゴリ・エンティテイ(TLCE)の承認が必要となる。例えばカテゴリツリーAのTLCE−Aが他のカテゴリと共有するEKBの発行を拒否すれば、カテゴリツリーAと他のカテゴリツリーの共有となるEKBのタイプはEKBタイプ定義リストに登録されない。   However, in various types of EKB registration processing for the EKB type definition list, approval of the top level category entity (TLCE) of the category tree to be registered is required. For example, if the TLCE-A of the category tree A refuses to issue an EKB shared with another category, the EKB type shared by the category tree A and the other category tree is not registered in the EKB type definition list.

例えばカテゴリツリーAのTLCE−A、カテゴリツリーBのTLCE−B、カテゴリツリーCのTLCE−Cの各々が共有のEKBの発行を承認すれば、これら3つのカテゴリツリーにおいて処理可能な共通のEKBのタイプがEKBタイプ定義リストに登録され、例えばコンテンツプロバイダがその登録タイプを示すEKBタイプ識別ナンバーを指定してキー発行センター(KDC)にEKB生成処理を依頼することが可能となる。   For example, if each of TLCE-A in category tree A, TLCE-B in category tree B, and TLCE-C in category tree C approves the issuance of a shared EKB, a common EKB that can be processed in these three category trees The type is registered in the EKB type definition list. For example, the content provider can specify an EKB type identification number indicating the registered type and request the key issuing center (KDC) to perform an EKB generation process.

つまり、EKBタイプ定義リストに新たなEKBタイプを登録し、そのEKBタイプに対応するEKBタイプ識別ナンバーを定義するためには、下記の処理が必要となる。
(1)定義しようとするEKBタイプ識別ナンバーに対応するEKBの適用対象となるカテゴリを管理するすべてのTLCEがEKBタイプ登録リクエストをキー発行センター(KDC)に送る。
(2)キー発行センター(KDC)は要求にある登録対象となるEKBを処理可能な1以上のカテゴリツリーのトップレベル・カテゴリ・エンティテイ(TLCE)のすべてが上記のEKBタイプ登録リクエストを送ってきたことを確認した後に、新たなEKBタイプ識別ナンバーを定義し、EKBタイプ定義リストに加える。
(3)キー発行センター(KDC)はEKBタイプ定義リストに変更があったことを知らせるため、EKBタイプ定義リスト変更通知を全TLCEおよびEKBリクエスタに送る。
That is, in order to register a new EKB type in the EKB type definition list and define an EKB type identification number corresponding to the EKB type, the following processing is required.
(1) All TLCEs that manage the category to which EKB is applied corresponding to the EKB type identification number to be defined send an EKB type registration request to the key issuing center (KDC).
(2) The key issuing center (KDC) has sent the above EKB type registration request to all of the top level category entities (TLCE) of one or more category trees that can process the EKB to be registered in the request. After confirming this, a new EKB type identification number is defined and added to the EKB type definition list.
(3) The key issuing center (KDC) sends an EKB type definition list change notification to all TLCEs and EKB requesters in order to notify that the EKB type definition list has changed.

なお、EKBタイプ定義リストは、全TLCEおよびEKBリクエスタに送られ、またウェブ(Web)サイトに置かれるなどして全TLCEおよびEKBリクエスタに公開される。従って、TLCEおよびEKBリクエスタは、常に最新のEKBタイプ定義リストに登録されたEKBタイプ情報を取得することが可能となる。   The EKB type definition list is sent to all TLCE and EKB requesters, and is made available to all TLCE and EKB requesters by placing it on a web site. Therefore, the TLCE and EKB requester can always acquire the EKB type information registered in the latest EKB type definition list.

(EKBタイプ登録処理)
EKBタイプ定義リストに新たなEKBタイプを登録する際に、キー発行センター(KDC)の実行する処理を説明する処理フローを図51に示す。まず、キー発行センター(KDC)は、新たなEKBタイプの登録要求を行なうTLCEからのEKBタイプ登録リクエストを受信(S101)する。TLCEからのEKBタイプ登録リクエストには、登録要求EKBが共通に使用可能とするカテゴリ数が含まれる。キー発行センター(KDC)は、要求内のカテゴリ数に一致する数のカテゴリに対応するTLCEから同様のEKBタイプ登録リクエストを受領したか否かを判定(S102)し、要求内のカテゴリ数に一致する数のカテゴリに対応するTLCEからの要求を受理したことを条件として、EKBタイプ定義リストに対して要求に従った新たなEKBタイプを登録し、リストの更新処理、リストの更新通知処理(S103)を行なう。更新通知処理は、TLCEおよびEKBリクエスタに対して行われる。
(EKB type registration process)
FIG. 51 shows a processing flow for explaining processing executed by the key issuing center (KDC) when a new EKB type is registered in the EKB type definition list. First, the key issuing center (KDC) receives an EKB type registration request from the TLCE that makes a new EKB type registration request (S101). The EKB type registration request from the TLCE includes the number of categories that the registration request EKB can use in common. The key issuing center (KDC) determines whether or not a similar EKB type registration request has been received from the TLCE corresponding to the number of categories that matches the number of categories in the request (S102), and matches the number of categories in the request. On the condition that the requests from the TLCE corresponding to the number of categories to be received are received, a new EKB type according to the request is registered in the EKB type definition list, the list update process, the list update notification process (S103) ). The update notification process is performed for the TLCE and EKB requester.

このように、キー発行センター(KDC)は、EKBタイプ定義リストに対するEKBタイプ識別子の新規登録処理において、登録予定のEKBタイプの処理可能なカテゴリツリーとして選択された1以上のカテゴリツリーを管理するすべてのカテゴリ・エンティテイの承認を条件として登録を行なう。   In this way, the key distribution center (KDC) manages all of one or more category trees selected as the processable category tree of the EKB type to be registered in the new registration process of the EKB type identifier for the EKB type definition list. Registration is subject to approval of the category / entity.

なお、これらの処理において、キー発行センター(KDC)とTLCE、EKBリクエスタ間の通信においては必要に応じて相互認証処理、送信データの暗号化処理が行われる。また、その他のメッセージ暗号化処理、デジタル署名生成、検証処理を行なう構成としてもよい。なお、公開鍵暗号方式に基づく認証あるいは暗号通信を実行する場合は、各エンティテイ間において予め公開鍵を保有し合う手続きを行なっておく。   In these processes, mutual authentication processing and transmission data encryption processing are performed as necessary in communication between the key issuing center (KDC) and the TLCE and EKB requesters. Further, other message encryption processing, digital signature generation, and verification processing may be performed. When performing authentication or encryption communication based on the public key cryptosystem, a procedure for holding a public key between the entities is performed in advance.

(EKBタイプ無効化処理)
たとえば、あるカテゴリに属するすべての機器をリボークしなければならないときには、トップレベル・カテゴリ・エンティテイ(TLCE)はそのカテゴリが要素となっているEKBタイプを無効化する要求をキー配信センター(KDC)に出す必要がある。また、トップレベル・カテゴリ・エンティテイ(TLCE)は、たとえばあるサービスを停止するなどの理由で、現在登録されているEKBタイプを無効化する要求をKDCに出すことができる。
(EKB type invalidation processing)
For example, when all devices belonging to a category must be revoked, the top-level category entity (TLCE) sends a request to the key distribution center (KDC) to invalidate the EKB type of which the category is an element. It is necessary to put out. Also, the top level category entity (TLCE) can issue a request to the KDC to invalidate the currently registered EKB type, for example, for stopping a certain service.

このEKBタイプ無効化処理の流れを図52の処理フローに従って説明する。キー発行センター(KDC)は、EKBタイプの無効化要求を行なうTLCEからのEKBタイプ無効化リクエストを受信(S201)する。TLCEからのEKBタイプ無効化リクエストを受信すると、キー発行センター(KDC)は、そのリクエストにより無効化されるEKBタイプの要素となっているカテゴリを管理するTLCEがそのリクエストの発信者であることを確認した上で、EKBタイプ定義リスト内の無効化リクエストにおいて指定されたタイプに対応するEKBタイプ識別ナンバーを無効化してEKBタイプ定義リストを更新し、リストの更新通知処理(S202)を行なう。更新通知処理は、TLCEおよびEKBリクエスタに対して行われる。   The flow of this EKB type invalidation processing will be described according to the processing flow of FIG. The key issuing center (KDC) receives an EKB type invalidation request from the TLCE that makes an EKB type invalidation request (S201). Upon receiving an EKB type revocation request from a TLCE, the Key Distribution Center (KDC) confirms that the TLCE that manages the category that is the element of the EKB type revoked by the request is the originator of the request. After confirmation, the EKB type identification number corresponding to the type specified in the invalidation request in the EKB type definition list is invalidated, the EKB type definition list is updated, and a list update notification process (S202) is performed. The update notification process is performed for the TLCE and EKB requester.

このように、キー発行センター(KDC)は、EKBタイプ定義リストに登録されたEKBタイプ識別子の無効化処理において、無効化予定のEKBタイプの処理可能なカテゴリツリーとして選択された1以上のカテゴリツリーを管理する少なくとも1つのカテゴリ・エンティテイの無効化要求を条件として無効化処理を行なう。この場合、他のカテゴリ・エンティテイの承認は必要としない。   As described above, the key issuing center (KDC) has selected one or more category trees selected as processable category trees of the EKB type to be invalidated in the invalidation process of the EKB type identifier registered in the EKB type definition list. The invalidation processing is performed on the condition that an invalidation request for at least one category entity managing In this case, approval of other category entities is not required.

なお、これらの処理において、キー発行センター(KDC)とTLCE、EKBリクエスタ間の通信においては必要に応じて相互認証処理、送信データの暗号化処理が行われる。また、その他のメッセージ暗号化処理、デジタル署名生成、検証処理を行なう構成としてもよい。なお、公開鍵暗号方式に基づく認証あるいは暗号通信を実行する場合は、各エンティテイ間において予め公開鍵を保有し合う手続きを行なっておく。   In these processes, mutual authentication processing and transmission data encryption processing are performed as necessary in communication between the key issuing center (KDC) and the TLCE and EKB requesters. Further, other message encryption processing, digital signature generation, and verification processing may be performed. When performing authentication or encryption communication based on the public key cryptosystem, a procedure for holding a public key between the entities is performed in advance.

(EKBタイプ定義リスト変更通知処理)
たとえばあるカテゴリツリー内において、デバイスリボケーション(デバイス排除)や、あるデバイスが格納したDNKを新しいものに交換するデバイスノードキー(DNK)の更新などのツリー内の状態を変化させる処理をそのカテゴリツリーを管理するTLCEが行った場合、それらのデバイスを対象とするEKBを使用しているEKBリクエスタまたは関連TLCEに対して、これらの処理が起こったことを知らせる必要がある。
(EKB type definition list change notification process)
For example, in a certain category tree, processing for changing the state in the tree, such as device revocation (device exclusion) or updating a device node key (DNK) for exchanging DNK stored in a certain device, is performed in the category tree. When the TLCE managing the device is performed, it is necessary to inform the EKB requester or the related TLCE using the EKB intended for those devices that these processes have occurred.

なぜならば、デバイスリボケーションが起こったのにそれを知らせず、コンテンツプロバイダ(CP)が古いEKBを使いつづけてコンテンツを暗号化して配信したとすると、古いEKBでは、リボークされたデバイスにおいてもEKB処理(復号)が可能であり、コンテンツの不正利用が続けられる可能性があるからである。また、デバイスノードキー(DNK)の更新を行なった場合、通常は置きかえられた古いDNKは捨てられ、デバイスは新しいDNKを持つことになるが、この新しいDNKに対応したEKBをコンテンツプロバイダが使用しなければ、新しいDNKを持つデバイスはEKBを処理(復号)することができなくなり、コンテンツにアクセスできなくなってしまうからである。   This is because if a device revocation occurs but the content provider (CP) continues to use the old EKB and encrypts and distributes the content, the old EKB uses the EKB process even on the revoked device. This is because (decryption) is possible and unauthorized use of the content may continue. When the device node key (DNK) is updated, the old DNK that was replaced is usually discarded and the device has a new DNK. However, the content provider uses the EKB corresponding to this new DNK. Otherwise, the device having the new DNK cannot process (decrypt) the EKB and cannot access the content.

このような弊害を避けるため、
*デバイスリボケーションなどの結果として、EKBのタグパートに変更が生じた場合、
*デバイスノードキー(DNK)の更新などの結果として少なくともひとつの機器が持つDNKの値に変更が生じた場合、
これらの場合には、TLCEは、ツリー変更通知(Tree Change Notification)をキー発行センター(KDC)に送る必要がある。ツリー変更通知(Tree Change Notification)には、変更を要するEKBタイプ定義リストに登録済みのEKBタイプ識別ナンバー、EKBタイプ識別ナンバーに対応して登録されているどのカテゴリで起こったかを示す情報と、リボケーション、DNK更新の何が起こったかという情報が含まれる。
In order to avoid such harmful effects,
* If the EKB tag part changes as a result of device revocation, etc.
* If the DNK value of at least one device changes as a result of updating the device node key (DNK), etc.
In these cases, the TLCE needs to send a tree change notification (Tree Change Notification) to the key issuing center (KDC). The tree change notification includes an EKB type identification number registered in the EKB type definition list that needs to be changed, information indicating which category has been registered corresponding to the EKB type identification number, Information about what happened in the application or DNK update.

EKBタイプ定義リスト変更通知処理の流れを図53の処理フローに従って説明する。キー発行センター(KDC)は、TLCEからツリー変更通知を受信(S301)する。TLCEからのツリー変更通知を受信すると、キー発行センター(KDC)は、EKBタイプ定義リストから、そのカテゴリを要素に持つEKBタイプ識別ナンバーを抽出し、どのEKBタイプ識別ナンバーに、どのような変化(ex.リボケーションか、DNK更新(リプレイスメント)か)が起こったかの情報を持つEKBタイプ定義リスト変更通知をすべてのTLCEおよびEKBリクエスタに対して行なう。なお、これらの処理において、キー発行センター(KDC)とTLCE、EKBリクエスタ間の通信においては必要に応じて相互認証処理、送信データの暗号化処理が行われる。また、その他のメッセージ暗号化処理、デジタル署名生成、検証処理を行なう構成としてもよい。なお、公開鍵暗号方式に基づく認証あるいは暗号通信を実行する場合は、各エンティテイ間において予め公開鍵を保有し合う手続きを行なっておく。   The flow of the EKB type definition list change notification process will be described with reference to the process flow of FIG. The key issuing center (KDC) receives a tree change notification from the TLCE (S301). Upon receiving the tree change notification from the TLCE, the key distribution center (KDC) extracts the EKB type identification number having the category as an element from the EKB type definition list, and changes to which EKB type identification number ( ex.Revocation or DNK update (replacement)) EKB type definition list change notification is sent to all TLCEs and EKB requesters. In these processes, mutual authentication processing and transmission data encryption processing are performed as necessary in communication between the key issuing center (KDC) and the TLCE and EKB requesters. Further, other message encryption processing, digital signature generation, and verification processing may be performed. When performing authentication or encryption communication based on the public key cryptosystem, a procedure for holding a public key between the entities is performed in advance.

(EKBタイプ定義リスト要求)
トップレベル・カテゴリ・エンティテイ(TLCE)やTLCE以外のサブカテゴリ・エンティテイ(SCE)、あるいはコンテンツプロバイダ等のEKBリクエスタは、最新版のEKBタイプ定義リストを知るために、EKBタイプ定義リストの送付をキー発行センター(KDC)に要求することができる。キー発行センター(KDC)はこの要求に対して、最新版のEKBタイプ定義リストを要求者に送り返す。
(EKB type definition list request)
Top-level category entities (TLCE), subcategory entities other than TLCE (SCE), or EKB requesters such as content providers, issue a key to send the EKB type definition list to know the latest version of the EKB type definition list You can request from the center (KDC). In response to this request, the key distribution center (KDC) sends the latest version of the EKB type definition list back to the requester.

EKBタイプ定義リスト要求処理の流れを図54の処理フローに従って説明する。キー発行センター(KDC)は、TLCE、サブカテゴリ・エンティテイ、またはEKBリクエスタのいずれかからEKBタイプ定義リスト要求を受信(S401)する。EKBタイプ定義リスト要求を受信すると、キー発行センター(KDC)は、最新のEKBタイプ定義リストを抽出し、要求処理を行なったエンティテイに対して最新のEKBタイプ定義リストを送信(S402)する。なお、これらの処理において、キー発行センター(KDC)とTLCE、サブカテゴリ・エンティテイ、EKBリクエスタ間の通信においては必要に応じて相互認証処理、送信データの暗号化処理が行われる。また、その他のメッセージ暗号化処理、デジタル署名生成、検証処理を行なう構成としてもよい。なお、公開鍵暗号方式に基づく認証あるいは暗号通信を実行する場合は、各エンティテイ間において予め公開鍵を保有し合う手続きを行なっておく。   The flow of the EKB type definition list request process will be described according to the process flow of FIG. The key issuing center (KDC) receives the EKB type definition list request from any of the TLCE, the subcategory entity, or the EKB requester (S401). Upon receiving the EKB type definition list request, the key distribution center (KDC) extracts the latest EKB type definition list and transmits the latest EKB type definition list to the entity that has performed the request processing (S402). In these processes, mutual authentication processing and transmission data encryption processing are performed as necessary in communication between the key issuing center (KDC) and the TLCE, subcategory entity, and EKB requester. Further, other message encryption processing, digital signature generation, and verification processing may be performed. When performing authentication or encryption communication based on the public key cryptosystem, a procedure for holding a public key between the entities is performed in advance.

(EKB発行処理)
EKBの発行処理は、EKBリクエスタによるEKB発行要求に基づいて行われる。EKBリクエスタは、
[a]CD、DVDなどの、コンテンツ格納メディアを提供するコンテンツプロバイダ(CP)。
[b]電子情報配信(ECD:Electronic Content Distribution)サービスを提供するコンテンツプロバイダ。
[c]記録システムのフォーマットホルダー。
など、EKBの復号によって取得されるキーを用いてコンテンツの利用、フォーマットの使用を可能とするサービス、メディア、デバイスを提供するエンティテイである。
(EKB issue processing)
The EKB issuance process is performed based on an EKB issuance request by the EKB requester. The EKB requester
[A] A content provider (CP) that provides a content storage medium such as a CD or a DVD.
[B] A content provider that provides an electronic content distribution (ECD) service.
[C] Format holder for recording system.
For example, an entity that provides services, media, and devices that enable the use of content and the use of formats by using a key obtained by decrypting the EKB.

上記の[c]記録システムのフォーマットホルダーには、
[c1]たとえば製造時に記録媒体にEKBを格納するようなフォーマットにおいて、記録媒体の製造業社に取得したEKBを与えるフォーマットホルダー。
[c2]たとえば製造時に記録デバイスにEKBを格納するようなフォーマットにおいて、記録デバイスの製造業社に取得したEKBを与えるフォーマットホルダー。
の2種類のフォーマットホルダーがある。
The format holder of the above [c] recording system includes
[C1] A format holder that gives an EKB acquired to a recording medium manufacturer in a format in which the EKB is stored in the recording medium at the time of manufacture.
[C2] A format holder that gives the EKB acquired to the manufacturer of the recording device in a format that stores the EKB in the recording device at the time of manufacture.
There are two types of format holders.

EKB発行処理の手順について、以下説明する。   The procedure of the EKB issue process will be described below.

(1)コンテンツキーの作成
まず、コンテンツプロバイダなどのEKBリクエスタは、自己の提供するコンテンツ、デバイス、メディアに対応して使用されるコンテンツキーを生成する。
例えばEKBリクエスタが、
[a]CD、DVDなどの、コンテンツ格納メディアを提供するコンテンツプロバイダ(CP)。
[b]電子情報配信(ECD:Electronic Content Distribution)サービスを提供するコンテンツプロバイダ。
である場合、
生成するコンテンツキーは、メディア上や電子情報配信(ECD)サービスにおいて、コンテンツを守る(暗号化する)鍵として使用される。
(1) Creation of content key First, an EKB requester such as a content provider generates a content key to be used corresponding to the content, device, and media provided by the EKB requester.
For example, an EKB requester
[A] A content provider (CP) that provides a content storage medium such as a CD or a DVD.
[B] A content provider that provides an electronic content distribution (ECD) service.
If it is,
The content key to be generated is used as a key for protecting (encrypting) the content on the media or in an electronic information distribution (ECD) service.

また、EKBリクエスタが、
[c1]製造時に記録媒体にEKBを格納するようなフォーマットにおいて、記録媒体の製造業社に取得したEKBを与えるフォーマットホルダー。
である場合、コンテンツキーは、その記録媒体上に記録されるコンテンツを守る(暗号化する)鍵として使用される。
さらに、EKBリクエスタが、
[c2]製造時に記録デバイスにEKBを格納するようなフォーマットにおいて、記録デバイスの製造業社に取得したEKBを与えるフォーマットホルダー。
である場合、コンテンツキーは、その記録デバイスを用いて記録されるコンテンツを守る(暗号化する)鍵として使用される。
In addition, the EKB requester
[C1] A format holder that gives an EKB acquired to a recording medium manufacturer in a format in which the EKB is stored in the recording medium at the time of manufacture.
The content key is used as a key for protecting (encrypting) the content recorded on the recording medium.
In addition, the EKB requester
[C2] A format holder that gives the EKB acquired to the manufacturer of the recording device in a format in which the EKB is stored in the recording device at the time of manufacture.
The content key is used as a key for protecting (encrypting) the content recorded using the recording device.

なお、コンテンツキーを用いてコンテンツを保護するための暗号アルゴリズムなどのメカニズムは、各フォーマットごとに任意に決めることができる。   Note that a mechanism such as an encryption algorithm for protecting content using a content key can be arbitrarily determined for each format.

(2)ルートキーの生成
EKBリクエスタはEKBの復号処理によって取得可能としたルートキーを生成する。なお、EKBリクエスタは自らはルートキーを生成せず、キー発行センター(KDC)に生成を依頼してもよい。ルートキーはコンテンツキーを保護する(暗号化する)ために使用される。なおルートキーを用いてコンテンツキーを保護するための暗号アルゴリズムなどのメカニズムは、各フォーマットごとに任意に決めることができる。
(2) Generation of root key The EKB requester generates a root key that can be acquired by the EKB decryption process. Note that the EKB requester does not generate the root key itself but may request the key issuing center (KDC) to generate it. The root key is used to protect (encrypt) the content key. Note that a mechanism such as an encryption algorithm for protecting the content key using the root key can be arbitrarily determined for each format.

(3)EKB発行要求
EKBリクエスタはEKBの発行要求をキー発行センター(KDC)に送る。
このリクエストには上記のルートキーおよび、EKBによりルートキーをどのカテゴリの機器に送るかという、EKBタイプ定義リストに登録されているEKBタイプ識別ナンバーのひとつが含まれる。EKBリクエスタは、自装置の記憶手段に格納したEKBタイプ定義リスト、あるいはネットワーク上の閲覧可能サイトから取得したEKBタイプ定義リストに基づいてコンテンツ提供などのサービスを提供する対象となるデバイスを含むカテゴリからなるEKBタイプを選択して、選択したEKBタイプを示すEKBタイプ識別ナンバーをEKB発行要求中に含ませてキー発行センター(KDC)に送信する。
(3) EKB issue request The EKB requester sends an EKB issue request to the key issue center (KDC).
This request includes the above root key and one of the EKB type identification numbers registered in the EKB type definition list indicating to which category of device the root key is sent by EKB. The EKB requester starts from a category including a device that is a target for providing a service such as content provision based on an EKB type definition list stored in the storage means of the own device or an EKB type definition list acquired from a browsable site on the network. The EKB type is selected, and an EKB type identification number indicating the selected EKB type is included in the EKB issuance request and transmitted to the key issuance center (KDC).

(4)EKB発行処理
キー発行センター(KDC)はEKBリクエスタからのEKB発行要求に基づき、EKB発行要求中にルートキーが含まれてい場合は、そのルートキーを含むEKBの生成を行ない、EKB発行要求中にルートキーが含まれず、ルートキー生成処理依頼がなされた場合は、KDCがルートキーを生成し、生成ルートキーを含むEKBを生成してEKBリクエスタに送信する。
(4) EKB Issuance Processing Based on the EKB issuance request from the EKB requester, the key issuance center (KDC) generates an EKB including the root key if the EKB issuance request includes the root key. If a root key is not included in the request and a root key generation processing request is made, the KDC generates a root key, generates an EKB including the generated root key, and transmits it to the EKB requester.

キー発行センターの生成するEKBは、単一のカテゴリツリーにおいて処理可能なEKBである場合と、複数のカテゴリツリーにおいて共通に処理可能なEKBである場合がある。キー発行センター(KDC)はEKB発行要求に含まれるEKBタイプ識別ナンバーに基づいて、そのEKBタイプ識別ナンバーの構成要素となっているカテゴリ、すなわちEKBタイプ定義リストにおいて、指定されたEKBタイプ識別ナンバーのノードフィールドに記録されたノードを抽出する。ノードフィールドにはカテゴリツリーのトップノードIDが記録されている。これは、そのカテゴリツリーの管理エンティテイに対応するノードIDである。このノードIDに基づいて、カテゴリツリーの管理エンティテイであるトップレベル・カテゴリ・エンティテイ(TLCE)に対し、サブEKBの発行要求を出す。サブEKBの発行要求にはルートキーと、各カテゴリを表す情報が含まれる。   The EKB generated by the key issuing center may be an EKB that can be processed in a single category tree or an EKB that can be processed in common in a plurality of category trees. Based on the EKB type identification number included in the EKB issuance request, the key issuing center (KDC), in the category constituting the EKB type identification number, that is, the EKB type identification number specified in the EKB type definition list. Extract the node recorded in the node field. In the node field, the top node ID of the category tree is recorded. This is a node ID corresponding to the management entity of the category tree. Based on this node ID, a sub-EKB issue request is issued to the top-level category entity (TLCE), which is the management entity of the category tree. The sub-EKB issue request includes a root key and information representing each category.

キー発行センター(KDC)からサブEKB発行要求を受け取ったTLCEは、指定された1つ以上のカテゴリ内の(リボークされていない)各機器から、最終的にルートキーを得られる構成を持つサブEKBを生成してキー発行センター(KDC)に送信する。   The TLCE that has received the sub-EKB issue request from the key distribution center (KDC) can finally obtain a root key from each device (not revoked) in one or more designated categories. Is generated and transmitted to the key issuing center (KDC).

トップレベル・カテゴリ・エンティテイ(TLCE)の生成するサブEKBは、バージョン番号やその検証用の情報(Version Check Value)を持たないほかは、通常のEKB(図6参照)と同様の構造を持つ情報の組である。ここで、サブEKBにおけるリーフキーやノードキーを用いて上位のノードキーやルートキーを暗号化するアルゴリズムや鍵長、モードは、サブEKBを生成する各TLCE(フォーマットホルダー)ごとに任意に決めることができる。これにより、他のフォーマットとは別個に独自のセキュリティ方式を用いることができる。また、デフォルトとしてたとえば 暗号アルゴリズムを FIPS46-2 のトリプルDES(Triple-DES)と決めておき、これに異存のないTLCEはトリプルDESアルゴリズムを適用する構成としてもよい。TLCEが任意に暗号アルゴリズムや鍵長を決める場合でも、別のTLCEが作ったサブEKBと合成されたEKBを、他のTLCEの支配下にある機器でも処理できるように、ひとつひとつの(暗号化された)鍵は、所定長、たとえば16バイト(16Byte)のデータで表すと決める。このように複数のカテゴリツリーで共通のEKBを生成する場合に所定のルールに従って、データを設定することにより、異なるカテゴリツリーの各機器は、EKBのタグを辿って、自分が何番目の鍵データが必要か判断可能となる。すなわちEKB内に含まれる鍵データの各々が16バイトであれば、自デバイスで処理可能な鍵データを順次抽出して処理することが可能となり、最終的にルートキーを取得することが可能となる。   The sub-EKB generated by the top-level category entity (TLCE) has the same structure as a normal EKB (see FIG. 6), except that it does not have a version number or verification information (Version Check Value). It is a pair. Here, the algorithm, key length, and mode for encrypting the upper node key and root key using the leaf key and node key in the sub-EKB can be arbitrarily determined for each TLCE (format holder) that generates the sub-EKB. Thus, a unique security method can be used separately from other formats. Further, for example, the encryption algorithm may be determined to be FIPS46-2 triple DES (Triple-DES) as a default, and TLCE that is not different from this may be configured to apply the triple DES algorithm. Even when TLCE arbitrarily decides the encryption algorithm and key length, each EKB that is combined with the sub-EKB created by another TLCE can be processed by other devices under the control of TLCE. The key is determined to be represented by data of a predetermined length, for example, 16 bytes (16 bytes). In this way, when a common EKB is generated in a plurality of category trees, data is set according to a predetermined rule, so that each device in a different category tree traces the EKB tag to determine what key data Can be determined. That is, if each of the key data included in the EKB is 16 bytes, it is possible to sequentially extract and process key data that can be processed by the own device, and finally obtain a root key. .

すなわち、サブEKBに基づいて生成される合成EKBは、複数のキー・データの各々が固定長のデータフィールド内に格納された構成を有する。従って、各々独自のアルゴリズム、独自のキー・データ長を持つサブ有効化キーブロック(サブEKB)に基づいて生成される合成EKBは、サブEKB内の複数の暗号化キーデータを、キーツリーにおけるノードまたはリーフ位置に応じて再配列して生成されても、EKBのタグを辿って必要なキー・データを順次取得可能となる。このような合成EKBは、ネットワークを介してあるいは様々な記録媒体に格納して、ユーザ(デバイス)に対して配信または提供される。   That is, the composite EKB generated based on the sub-EKB has a configuration in which each of a plurality of key data is stored in a fixed-length data field. Therefore, a composite EKB generated based on a sub-validation key block (sub-EKB) having a unique algorithm and a unique key / data length is used to generate a plurality of encrypted key data in the sub-EKB as nodes in the key tree. Alternatively, even if rearranged and generated according to the leaf position, necessary key data can be sequentially acquired by tracing the EKB tag. Such a synthetic EKB is distributed or provided to a user (device) via a network or stored in various recording media.

キー発行センター(KDC)は、TLCEから送られてきたサブEKBを、必要に応じて組替え、合成し、バージョン番号と、その検証用の情報を付加して合成した合成EKBを完成させてEKBリクエスタに送信する。ただし公開鍵暗号技術を用いたデジタル署名は、キー発行センター(KDC)とは別の認証局(CA:Certificate Authority)に依頼する場合もある。   The key issuing center (KDC) rearranges and synthesizes the sub-EKB sent from the TLCE as necessary, completes the synthesized EKB by adding the version number and verification information, and then completes the EKB requester. Send to. However, digital signatures using public key cryptography may be requested from a certificate authority (CA) other than the key issuing center (KDC).

サブEKBの生成、サブEKBから合成EKBの生成について、図を参照して説明する。図55は、カテゴリツリーA,5100とカテゴリツリーB,5200に共通の合成EKBを生成する処理において、カテゴリツリーA,5100のTLCEの生成するサブEKB−(A)の構成を説明する図である。サブEKB−(A)は、カテゴリツリーA,5100の各デバイスがルートキーを取得可能なEKBとして生成される。なお、図においてルートツリー領域5300は上述の説明では8段構成として説明してきたが、ここでは説明を簡略化するため2段構成としてある。   Generation of sub-EKB and generation of synthetic EKB from sub-EKB will be described with reference to the drawings. FIG. 55 is a diagram for explaining the configuration of sub-EKB- (A) generated by the TLCE of category trees A and 5100 in the process of generating a combined EKB common to category trees A and 5100 and category trees B and 5200. . The sub-EKB- (A) is generated as an EKB from which each device in the category tree A, 5100 can obtain a root key. In the figure, the root tree region 5300 has been described as having an eight-stage configuration in the above description, but here has a two-stage structure in order to simplify the description.

図55において、ツリー構成内に記載されたアンダーラインを付加した3桁の数値[XXX]はEKB内のタグ(e,l,r)を示し、前述(図26,図27参照)したように、e=1はデータあり、e=0はデータなしを示し、l=1は左に枝なし、l=0は左に枝ありを示し、r=1は右に枝なし、r=0は右に枝ありを示している。   In FIG. 55, a 3-digit numerical value [XXX] with an underline described in the tree structure indicates a tag (e, l, r) in the EKB, as described above (see FIGS. 26 and 27). E = 1 with data, e = 0 with no data, l = 1 with no branches on the left, l = 0 with branches on the left, r = 1 with no branches on the right, r = 0 A branch is shown on the right.

図55のカテゴリツリーA,5100の各デバイス(リーフ)がルートキーを取得するためには、各リーフが共通に格納しているノードキーによってルートキーを暗号化したデータを格納したEKBを生成すればよい。各デバイスは、図55のカテゴリツリーA,5100のデバイスノードキー(DNK)領域5120のツリーの各パスのノードキーを保有しているので、DNK領域5120の最上段のノードキーでルートキーを暗号化したEKBを生成すればよい。   In order for each device (leaf) in the category trees A and 5100 in FIG. 55 to acquire the root key, an EKB storing data obtained by encrypting the root key with a node key stored in common in each leaf is generated. Good. Since each device has a node key of each path of the tree in the device node key (DNK) area 5120 of the category tree A, 5100 in FIG. 55, the root key is encrypted with the uppermost node key in the DNK area 5120. What is necessary is just to produce | generate EKB.

従って、カテゴリツリーA,5100のTLCEの生成するサブEKB−(A)は、タグパート:101,010,000,111,111、キーパート:Enc(K010,Kroot),Enc(K011,Kroot)となるサブEKB−(A)となる。カテゴリツリーA,5100のTLCEは、このサブEKB−(A)をキー発行センター(KDC)に送信する。   Accordingly, the sub-EKB- (A) generated by the TLCE of the category tree A, 5100 includes tag parts: 101, 010,000, 111, 111, key parts: Enc (K010, Kroot), Enc (K011, Kroot). Sub-EKB- (A) The TLCE of category tree A 5100 transmits this sub-EKB- (A) to the key issuing center (KDC).

次に、カテゴリツリーB,5200の生成するサブEKB−(B)について図56を用いて説明する。カテゴリツリーB,5200の各デバイス(リーフ)がルートキーを取得するためには、各リーフが共通に格納しているノードキーによってルートキーを暗号化したデータを格納したEKBを生成すればよい。各デバイスは、図56のカテゴリツリーB5200のデバイスノードキー(DNK)領域5220のツリーの各パスのノードキーを保有しているので、DNK領域5220の最上段のノードキーでルートキーを暗号化したEKBを生成すればよい。   Next, sub-EKB- (B) generated by category tree B 5200 will be described with reference to FIG. In order for each device (leaf) in the category tree B and 5200 to acquire the root key, an EKB storing data obtained by encrypting the root key with a node key stored in each leaf may be generated. Since each device has a node key of each path of the tree in the device node key (DNK) area 5220 of the category tree B 5200 in FIG. 56, an EKB obtained by encrypting the root key with the uppermost node key in the DNK area 5220 is stored. It only has to be generated.

従って、カテゴリツリーB,5200のTLCEの生成するサブEKB−(B)は、タグパート:110,010,000,111,111、キーパート:Enc(K110,Kroot),Enc(K111,Kroot)となるサブEKB−(B)となる。カテゴリツリーB,5200のTLCEは、このサブEKB−(B)をキー発行センター(KDC)に送信する。   Therefore, the sub-EKB- (B) generated by the TLCE of the category tree B, 5200 includes tag parts: 110, 010,000, 111, 111, key parts: Enc (K110, Kroot), Enc (K111, Kroot). Sub-EKB- (B). The TLCE of category tree B 5200 transmits this sub-EKB- (B) to the key issuing center (KDC).

キー発行センターは、各TLCEの生成したサブEKB−(A)とサブEKB−(B)とから合成EKBを生成する。合成EKBの生成について図57を用いて説明する。合成EKBは、カテゴリツリーA,5100、およびカテゴリツリーB,5200の各ツリーに属するデバイスがルートキーを取得可能としたEKBとして構成される。基本的には、受領した複数のサブEKBの鍵データ配列を混合してツリー上段から揃える作業によって合成EKBが生成される。なお、同一段では左側を先とするデータ配列を行なう。   The key issuing center generates a composite EKB from the sub-EKB- (A) and the sub-EKB- (B) generated by each TLCE. The generation of the combined EKB will be described with reference to FIG. The combined EKB is configured as an EKB that allows a device belonging to each of the category trees A and 5100 and the category trees B and 5200 to obtain a root key. Basically, a composite EKB is generated by mixing the received key data arrays of a plurality of sub-EKBs and aligning them from the top of the tree. In the same stage, data arrangement is performed with the left side first.

この結果、合成EKBは、タグパート:100,010,010,000,000,111,111,111,111、キーパート:Enc(K010,Kroot),Enc(K011,Kroot),Enc(K110,Kroot),Enc(K111,Kroot)を持つEKBとして生成される。各キーパートの鍵データは前述したように各々例えば16バイトとして設定することにより、各カテゴリツリー内のデバイスは自デバイスで処理可能な鍵データ位置を検出可能であるので、合成EKBからルートキーを取得することが可能となる。   As a result, the synthetic EKB has tag parts: 100, 010, 010,000,000, 111, 111, 111, 111, key parts: Enc (K010, Kroot), Enc (K011, Kroot), Enc (K110, Kroot) ), Enc (K111, Kroot). By setting the key data of each key part as 16 bytes, for example, as described above, the device in each category tree can detect the key data position that can be processed by the device itself. It can be acquired.

以上は、いずれのカテゴリツリーにもリボークされたデバイスがない場合のサブEKBの生成および合成EKBの生成処理構成であるが、次に、リボークデバイスがある場合のサブEKBの生成および合成EKBの生成について説明する。   The above is the generation configuration of sub-EKB and synthetic EKB when there is no revoked device in any category tree. Next, generation of sub-EKB and generation of synthetic EKB when there is a revoked device Will be described.

図58は、カテゴリツリーA,5100にリボークデバイス(01101)5150が存在する場合のサブEKBの生成について説明する図である。この場合のサブEKBは、リボークデバイス(01101)5150のみが処理できないサブEKB−(A')として生成される。   FIG. 58 is a diagram for explaining generation of a sub-EKB when the revocation device (01101) 5150 exists in the category tree A 5100. The sub EKB in this case is generated as sub EKB- (A ′) that cannot be processed only by the revocation device (01101) 5150.

この場合、図の太線で示すパスを接続した鍵データ構成を持つサブEKBを生成することになる。従って、カテゴリツリーA,5100のTLCEの生成するサブEKB−(A')は、タグパート:101,010,000,111,000,001,111,111、キーパート:Enc(K010,Kroot),Enc(K0111,Kroot),Enc(K01100,Kroot)となるサブEKB−(A')となる。カテゴリツリーA,5100のTLCEは、このサブEKB−(A')をキー発行センター(KDC)に送信する。   In this case, a sub-EKB having a key data configuration in which paths indicated by bold lines in the figure are connected is generated. Accordingly, the sub-EKB- (A ′) generated by the TLCE of the category tree A, 5100 includes a tag part: 101,010,000,111,000,001,111,111, a key part: Enc (K010, Kroot), Sub-EKB- (A ′) which becomes Enc (K0111, Kroot), Enc (K01100, Kroot). The TLCE of the category tree A, 5100 transmits this sub-EKB- (A ′) to the key issuing center (KDC).

キー発行センターは、各TLCEの生成したサブEKB−(A')と、リボークデバイスのないカテゴリツリーB,5200のTLCEから受領したサブEKB−(B)(図56参照)とから合成EKBを生成する。合成EKBの生成について図59を用いて説明する。合成EKBは、カテゴリツリーA,5100のリボークデバイス(01101)5150を除くデバイス、およびカテゴリツリーB,5200のツリーに属するデバイスがルートキーを取得可能としたEKBとして構成される。基本的には、受領した複数のサブEKBの鍵データ配列を混合してツリー上段から揃える作業によって合成EKBが生成される。なお、同一段では左側を先とするデータ配列を行なう。   The key issuing center generates a synthetic EKB from the sub-EKB- (A ′) generated by each TLCE and the sub-EKB- (B) (see FIG. 56) received from the TLCE of the category tree B, 5200 having no revoke device. To do. The generation of the composite EKB will be described with reference to FIG. The combined EKB is configured as an EKB that allows a device other than the revoke device (01101) 5150 in the category tree A, 5100 and devices belonging to the tree in the category tree B, 5200 to obtain the root key. Basically, a composite EKB is generated by mixing the received key data arrays of a plurality of sub-EKBs and aligning them from the top of the tree. In the same stage, data arrangement is performed with the left side first.

この結果、合成EKBは、タグパート:100,010,010,000,000,111,000,111,111,001,111,111、キーパート:Enc(K010,Kroot),Enc(K110,Kroot),Enc(K111,Kroot),Enc(K0111,Kroot),Enc(K01100,Kroot)を持つEKBとして生成される。この合成EKBは、カテゴリツリーA,5100のリボークデバイス(01101)5150を除くデバイス、およびカテゴリツリーB,5200のツリーに属するデバイスがルートキーを取得可能なEKBである。   As a result, the synthesized EKB has tag parts: 100,010,010,000,000,111,000,111,111,001,111,111, key parts: Enc (K010, Kroot), Enc (K110, Kroot) , Enc (K111, Kroot), Enc (K0111, Kroot), and Enc (K01100, Kroot). This combined EKB is an EKB from which devices other than the revoke device (01101) 5150 in the category tree A, 5100 and devices belonging to the tree in the category tree B, 5200 can obtain the root key.

(5)EKBの利用
上述のような処理によってキー発行センター(KDC)の生成したEKBは、EKBリクエスタに送信される。
例えばEKBリクエスタが、
[a]CD、DVDなどの、コンテンツ格納メディアを提供するコンテンツプロバイダ(CP)。
[b]電子情報配信(ECD:Electronic Content Distribution)サービスを提供するコンテンツプロバイダ。
である場合、
EKBによって取得可能なルートキーでコンテンツキーを暗号化し、コンテンツキーでユーザデバイスに提供するコンテンツを暗号化してコンテンツを流通させることになる。この構成により、EKBの処理可能な特定のカテゴリツリーに属するデバイスのみがコンテンツの利用が可能となる。
(5) Use of EKB The EKB generated by the key issuing center (KDC) by the above-described processing is transmitted to the EKB requester.
For example, an EKB requester
[A] A content provider (CP) that provides a content storage medium such as a CD or a DVD.
[B] A content provider that provides an electronic content distribution (ECD) service.
If it is,
The content key is encrypted with a root key that can be acquired by EKB, and the content provided to the user device is encrypted with the content key to distribute the content. With this configuration, only devices belonging to a specific category tree that can be processed by EKB can use the content.

また、EKBリクエスタが、
[c1]製造時に記録媒体にEKBを格納するようなフォーマットにおいて、記録媒体の製造業社に取得したEKBを与えるフォーマットホルダー。
である場合、生成したEKB、ルートキーで暗号化したコンテンツキーを記録媒体製造業者に提供して、EKBおよびルートキーで暗号化したコンテンツキーを格納した記録媒体を製造、あるいは自ら記録媒体を製造して流通させる。この構成により、EKBの処理可能な特定のカテゴリツリーに属するデバイスのみが記録媒体のEKBを利用したコンテンツ記録再生時の暗号化処理、復号処理が可能となる。
In addition, the EKB requester
[C1] A format holder that gives an EKB acquired to a recording medium manufacturer in a format in which the EKB is stored in the recording medium at the time of manufacture.
If this is the case, the generated EKB and the content key encrypted with the root key are provided to the recording medium manufacturer, and the recording medium storing the content key encrypted with the EKB and the root key is manufactured, or the recording medium is manufactured by itself. And distribute. With this configuration, only devices belonging to a specific category tree that can be processed by EKB can perform encryption processing and decryption processing during content recording / playback using EKB of the recording medium.

さらに、EKBリクエスタが、
[c2]製造時に記録デバイスにEKBを格納するようなフォーマットにおいて、記録デバイスの製造業社に取得したEKBを与えるフォーマットホルダー。
である場合、生成したEKB、ルートキーで暗号化したコンテンツキーを記録デバイス製造業者に提供して、EKBおよびルートキーで暗号化したコンテンツキーを格納した記録デバイスを製造、あるいは自ら記録デバイスを製造して流通させる。この構成により、EKBの処理可能な特定のカテゴリツリーに属するデバイスのみがEKBを利用したコンテンツ記録再生時の暗号化処理、復号処理が可能となる。
In addition, the EKB requester
[C2] A format holder that gives the EKB acquired to the manufacturer of the recording device in a format in which the EKB is stored in the recording device at the time of manufacture.
If this is the case, the content key encrypted with the generated EKB and the root key is provided to the recording device manufacturer, and the recording device storing the content key encrypted with the EKB and the root key is manufactured, or the recording device is manufactured by itself. And distribute. With this configuration, only devices belonging to a specific category tree that can be processed by EKB can perform encryption processing and decryption processing during content recording / playback using EKB.

以上のような処理によってEKBが発行されることになる。なお、EKB発行処理プロセスにおける各エンティテイ、EKBリクエスタ、キー発行センター(KDC)、TLCE間の通信においては必要に応じて相互認証処理、送信データの暗号化処理が行われる。また、その他のメッセージ暗号化処理、デジタル署名生成、検証処理を行なう構成としてもよい。なお、公開鍵暗号方式に基づく認証あるいは暗号通信を実行する場合は、各エンティテイ間において予め公開鍵を保有し合う手続きを行なっておく。   The EKB is issued by the above processing. In the communication between each entity, EKB requester, key issuing center (KDC), and TLCE in the EKB issuing process, mutual authentication processing and transmission data encryption processing are performed as necessary. Further, other message encryption processing, digital signature generation, and verification processing may be performed. When performing authentication or encryption communication based on the public key cryptosystem, a procedure for holding a public key between the entities is performed in advance.

(サブEKBの単純集合を合成EKBとする構成例)
上述したサブEKBから合成EKBを生成する処理においては、個々のサブEKBに含まれる暗号化鍵データの配列を全体ツリーの上段から下段に至るように並び替える処理を行なっていた。次に、このような並び替え処理を実行することなく、各カテゴリツリーのTLCEの生成したサブEKBをそのまま合成EKBに順次格納して合成EKBを生成する構成について説明する。
(Configuration example in which a simple set of sub-EKBs is a composite EKB)
In the process of generating the composite EKB from the sub EKB described above, the process of rearranging the arrangement of the encryption key data included in each sub EKB from the upper stage to the lower stage of the entire tree is performed. Next, a description will be given of a configuration in which the sub EKB generated by the TLCE of each category tree is sequentially stored in the composite EKB as it is without executing such a rearrangement process to generate the composite EKB.

図60は、複数のカテゴリツリーのTLCEの生成したサブEKBをそのままの形で複数格納した合成EKB6000の例を示した図である。   FIG. 60 is a diagram showing an example of a combined EKB 6000 in which a plurality of sub-EKBs generated by TLCEs of a plurality of category trees are stored as they are.

EKBの発行処理において、キー発行センター(KDC)は、EKBリクエスタによって指定されたEKBタイプ識別ナンバーに対応してEKBタイプ定義リストに記録されたカテゴリツリーの管理エンティテイであるTLCEに対してサブEKBの生成要求を発行し、各TLCEから提出されたサブEKB6110,6120…を単に集めて合成EKB内に格納する。ただし各カテゴリに属する機器がその合成EKB中からその機器が処理可能な自デバイスの属するカテゴリに対応するサブEKBを選択できるように、各サブEKB部分の大きさ(ex.データレングス)6111、そのサブEKBがどのカテゴリ用のものかを表すデータ(ex.ノードID)6112を付加する。   In the EKB issuance process, the key issuance center (KDC) sends the sub EKB to the TLCE which is the management entity of the category tree recorded in the EKB type definition list corresponding to the EKB type identification number designated by the EKB requester. A generation request is issued, and the sub-EKBs 6110, 6120... Submitted from each TLCE are simply collected and stored in the composite EKB. However, the size (ex. Data length) 6111 of each sub-EKB portion so that the device belonging to each category can select the sub-EKB corresponding to the category to which the device can process from the combined EKB. Data (ex. Node ID) 6112 indicating which category the sub-EKB is for is added.

すなわち、格納対象として選択されたサブEKBの各々には、サブEKB格納領域のデータ長を示すレングス、およびサブEKB識別データとしての各サブEKBの対応カテゴリツリーのノード識別子としてのノードIDが対応付けられて格納される。また合成EKBに含まれるサブEKBの数がヘッダ情報6200として付加される。合成EKBの全データに基づいて署名(ex.認証局(CA)の署名)6300が生成されて付加される。   That is, each sub-EKB selected as a storage target is associated with a length indicating the data length of the sub-EKB storage area and a node ID as a node identifier of the corresponding category tree of each sub-EKB as sub-EKB identification data. Stored. The number of sub-EKBs included in the combined EKB is added as header information 6200. A signature (ex. Certificate authority (CA) signature) 6300 is generated and added based on all data of the combined EKB.

本方式に従って、前述の図57を用いた説明に対応する合成EKBを生成すると、図61に示すような合成EKBが生成されることになる。サブEKB6110の格納EKBは、図55で説明したカテゴリツリーAのTLCEの生成したサブEKB−(A)そのものであり、タグパート:101,010,000,111,111、キーパート:Enc(K010,Kroot),Enc(K011,Kroot)となる。また、サブEKB6120の格納EKBは、図56で説明したカテゴリツリーBのTLCEの生成したサブEKB−(B)そのものであり、タグパート:110,010,000,111,111、キーパート:Enc(K110,Kroot),Enc(K111,Kroot)となる。   When a synthetic EKB corresponding to the description using FIG. 57 described above is generated according to this method, a synthetic EKB as shown in FIG. 61 is generated. The storage EKB of the sub EKB 6110 is the sub EKB- (A) itself generated by the TLCE of the category tree A described with reference to FIG. 55, the tag part: 101,010,000, 111,111, the key part: Enc (K010, Kroot), Enc (K011, Kroot). Further, the storage EKB of the sub EKB 6120 is the sub EKB- (B) itself generated by the TLCE of the category tree B described with reference to FIG. 56, the tag part: 110, 010,000, 111, 111, the key part: Enc ( K110, Kroot), Enc (K111, Kroot).

また、前述の図58、図59を用いて説明したリボークデバイスがある場合の合成EKBは、図62に示すデータ構成となる。サブEKB6110の格納EKBは、図58で説明したカテゴリツリーAのTLCEの生成したサブEKB−(A')そのものであり、サブEKB−(A')は、タグパート:101,010,000,111,000,001,111,111、キーパート:Enc(K010,Kroot),Enc(K0111,Kroot),Enc(K01100,Kroot)となる。また、リボークデバイスの発生していないサブEKB6120の格納EKBは、図56で説明したカテゴリツリーBのTLCEの生成したサブEKB−(B)そのものであり、タグパート:110,010,000,111,111、キーパート:Enc(K110,Kroot),Enc(K111,Kroot)となる。   Further, the combined EKB in the case where there is a revoke device described with reference to FIGS. 58 and 59 described above has a data configuration shown in FIG. The stored EKB of the sub EKB 6110 is the sub EKB- (A ′) itself generated by the TLCE of the category tree A described with reference to FIG. 58, and the sub EKB- (A ′) is the tag part: 101,1010,000,111. , 000, 001, 111, 111, key parts: Enc (K010, Kroot), Enc (K0111, Kroot), Enc (K01100, Kroot). Further, the stored EKB of the sub-EKB 6120 in which no revocation device is generated is the sub-EKB- (B) itself generated by the TLCE of the category tree B described in FIG. 56, and the tag parts: 110, 010,000, 111, 111, key parts: Enc (K110, Kroot), Enc (K111, Kroot).

このような構成をとることにより、各カテゴリに属するデバイスは自己のデバイスが属するカテゴリに対応するサブEKBを選択して処理(復号)することが可能となる。従って、各カテゴリ(TLCE)ごとに、完全に任意の暗号アルゴリズムや鍵長を用いて、サブEKBを生成することができる。すなわち、他のカテゴリに左右されず、TLCEが暗号アルゴリズムや鍵長を決めることができる。   By adopting such a configuration, a device belonging to each category can select and process (decode) a sub-EKB corresponding to the category to which its own device belongs. Therefore, for each category (TLCE), a sub-EKB can be generated by completely using an arbitrary encryption algorithm and key length. That is, the TLCE can determine the encryption algorithm and the key length regardless of other categories.

キー発行センター(KDC)にとっては、各TLCEから集めたサブEKBのタグ、および鍵データ部分を分解、組み直ししなくてよくなり、負荷が軽くなる。   For the key issuing center (KDC), it is not necessary to disassemble and reassemble the sub-EKB tags and key data parts collected from each TLCE, and the load is reduced.

この方式に従ったEKBを入手した機器は、自分が属するカテゴリのサブEKBを見つけ、それを、自デバイスを管理するTLCEが定める独自の方法で処理することによりルートキーを得ることができる。他のサブEKBを処理するための、他のカテゴリのTLCEが定めた方法は知る必要がなく、またサブEKBにおいて個々の鍵を固定長で表すなどの工夫が不要なため、理論的にはどの大きさの鍵でも用いることができるようになる。   A device that has obtained an EKB according to this method can obtain a root key by finding a sub-EKB of the category to which the device belongs and processing it in a unique method determined by the TLCE that manages the device. There is no need to know the methods defined by other categories of TLCEs for processing other sub-EKBs, and there is no need for ingenuity such as representing individual keys in fixed lengths in sub-EKBs. Even large-sized keys can be used.

(リボケーション処理−(1))
複数カテゴリにおいて共通に使用可能なEKBを利用した処理におけるリボークの発生に際して実行される処理について、以下説明する。暗号化コンテンツをネットワークまたはメデイアによって外部から受領してEKBによって取得したキーを用いてコンテンツキーを取得してコンテンツ利用を行なう場合のリボーク処理についてまず説明する。
(Revocation process-(1))
Processing executed when revocation occurs in processing using EKB that can be commonly used in a plurality of categories will be described below. A revoke process in the case where encrypted content is received from the outside by a network or media and a content key is acquired using a key acquired by EKB will be described first.

図63を参照しながら説明する。カテゴリツリーA,7100とカテゴリツリーB,7200において共通に使用されるEKB7000が利用されている状況を想定する。また、カテゴリツリーA,7100とカテゴリツリーB,7200において共通に使用されるEKB7000はEKBタイプ定義リストでは、EKBタイプ識別ナンバーが#1に定義されているものとする。   This will be described with reference to FIG. Assume that an EKB 7000 that is commonly used in the category trees A and 7100 and the category trees B and 7200 is used. Further, it is assumed that EKB 7000 commonly used in category tree A, 7100 and category tree B, 7200 has an EKB type identification number defined as # 1 in the EKB type definition list.

このような状況において、コンテンツプロバイダは、ネットワークまたはメデイアによってコンテンツキーで暗号化したコンテンツを提供し、カテゴリツリーA,7100とカテゴリツリーB,7200に属するデバイスは、EKB7000を用いてルートキーの取得、ルートキーによる復号処理によるコンテンツキーの取得、コンテンツキーによる暗号化コンテンツの取得を実行してコンテンツを利用している。   In such a situation, the content provider provides the content encrypted with the content key by the network or media, and the devices belonging to the category trees A and 7100 and the category tree B and 7200 obtain the root key using the EKB 7000, Content is obtained by executing acquisition of a content key by decryption processing using a root key and acquisition of encrypted content using a content key.

この状況でカテゴリツリーA,7100に属するデバイスA1,7120の鍵データの漏洩など不正処理可能な状況が発覚し、デバイスA1,7120のリボークを行なうとする。   In this situation, it is assumed that a situation where illegal processing such as leakage of key data of the devices A1 and 7120 belonging to the category trees A and 7100 is detected and the devices A1 and 7120 are revoked.

この場合、カテゴリツリーA,7100のTLCEは、キー発行センター(KDC)に対してツリー変更通知(図53参照)を実行し、キー発行センター(KDC)は、受信したツリー変更通知に基づいて管理下の各TLCE、EKBリクエスタに対して通知する。この時点の通知は、ツリー変更通知を受領したことを知らせるのみであり、EKBタイプ定義リストの更新処理は実行されない。   In this case, the TLCEs of the category trees A and 7100 execute a tree change notification (see FIG. 53) to the key issuing center (KDC), and the key issuing center (KDC) manages based on the received tree change notification. Notify each TLCE and EKB requester below. The notification at this point only informs that the tree change notification has been received, and the update process of the EKB type definition list is not executed.

なお、リボーク発生に基づくツリー変更通知は、リボークの発生したカテゴリツリーにおいて処理可能なEKBを利用しているエンティテイとしてのEKBリクエスタに対してのみ、あるいはさらに、リボークの発生したカテゴリツリーと共有のEKBが適用されている他のカテゴリツリーを管理するカテゴリ・エンティテイに対してのみ実行する構成としてもよい。この処理を行なうため、キー発行センター(KDC)は、発行済みEKBの利用者リストとして、EKBタイプ識別ナンバーとそのEKBタイプを利用しているEKBリクエスタとを対応付けたリストを保有する。   It should be noted that the tree change notification based on the occurrence of revocation is performed only for an EKB requester as an entity using an EKB that can be processed in the category tree where the revocation occurred, or in addition, an EKB shared with the category tree where the revocation occurred. It may be configured to execute only for a category entity that manages another category tree to which is applied. In order to perform this process, the key issuing center (KDC) holds a list in which an EKB type identification number and an EKB requester using the EKB type are associated with each other as a user list of issued EKBs.

リボーク処理を実行したカテゴリツリーのデバイスを対象としてコンテンツの配信を実行しているEKBリクエスタとしてのコンテンツプロバイダは、リボーク処理対象以外のデバイスにおいてのみ処理可能な更新されたEKBを生成するようにキー発行センター(KDC)に対してEKB発行要求を行なう。この場合、EKBリクエスタとしてのコンテンツプロバイダは、カテゴリツリーA,7100とカテゴリツリーB,7200において共通に使用されるEKBのタイプとして定義されているEKBタイプ識別ナンバー#1を指定する。また、新たなルートキーをEKBリクエスタ自ら生成してKDCに送付するか、あるいは新たなルートキーの生成をKDCに依頼する。   A content provider as an EKB requester that executes content distribution for devices in the category tree that has executed revocation processing issues a key so as to generate an updated EKB that can be processed only on devices that are not subject to revocation processing. An EKB issue request is made to the center (KDC). In this case, the content provider as an EKB requester designates an EKB type identification number # 1 defined as an EKB type commonly used in the category trees A and 7100 and the category trees B and 7200. In addition, the EKB requester itself generates a new root key and sends it to the KDC, or requests the KDC to generate a new root key.

キー発行センター(KDC)は、指定されたEKBタイプ識別ナンバー#1に基づいて、EKBタイプ定義リストを参照し、対応するカテゴリツリーのノードに基づいてカテゴリツリーA,7100とカテゴリツリーB,7200のTLCEに対して新たなルートキーを正当なデバイスにおいて取得可能なサブEKBの生成を依頼する。   The key distribution center (KDC) refers to the EKB type definition list based on the designated EKB type identification number # 1, and based on the corresponding category tree node, the category tree A, 7100 and the category tree B, 7200 The TLCE is requested to generate a sub EKB that can acquire a new root key in a valid device.

カテゴリツリーA,7100とカテゴリツリーB,7200のTLCEの各々は、依頼に基づいてサブEKBを生成する。この場合、カテゴリツリーA,7100においてはリボークされたデバイスA1,7120を排除した他のデバイスにおいてのみ新規のルートキーを取得可能なサブEKB−(A)が生成される。カテゴリツリーB,7200ではリボークされたデバイスが存在しなければ、カテゴリに属するすべてのデバイスにおいて新規のルートキーを取得可能なサブEKB−(B)を生成してキー発行センター(KDC)に対して送信する。   Each of the TLCEs of category tree A, 7100 and category tree B, 7200 generates a sub-EKB based on the request. In this case, in the category tree A, 7100, a sub-EKB- (A) that can acquire a new root key is generated only in other devices excluding the revoked devices A1, 7120. If there is no revoked device in the category tree B, 7200, a sub-EKB- (B) capable of acquiring a new root key is generated in all devices belonging to the category and is generated to the key issuing center (KDC). Send.

キー発行センター(KDC)は各TLCEから受信したサブEKBに基づいて合成EKBを前述した方法に従って生成し、生成したEKBをEKBリクエスタ(ex.コンテンツプロバイダ)に送信する。   The key issuing center (KDC) generates a composite EKB based on the sub-EKB received from each TLCE according to the method described above, and transmits the generated EKB to the EKB requester (ex. Content provider).

EKBリクエスタ(ex.コンテンツプロバイダ)はキー発行センター(KDC)から受領した新たなEKBを適用してコンテンツ配信を行なう。具体的にはコンテンツキーで暗号化したコンテンツを提供し、EKBの復号によって得られるルートキーでコンテンツキーを暗号化して提供する。カテゴリツリーA,7100とカテゴリツリーB,7200に属するデバイスは、EKBを用いてルートキーの取得、ルートキーによる復号処理によるコンテンツキーの取得、コンテンツキーによる暗号化コンテンツの取得を実行してコンテンツが利用可能である。ただし、カテゴリツリーA,7100のリボークデバイスA1,7120は更新されたEKBを処理できないのでコンテンツの利用ができなくなる。   The EKB requester (ex. Content provider) distributes content by applying the new EKB received from the key issuing center (KDC). Specifically, the content encrypted with the content key is provided, and the content key is encrypted with the root key obtained by decrypting the EKB. Devices belonging to the category trees A and 7100 and the category trees B and 7200 execute the acquisition of the root key using the EKB, the acquisition of the content key by the decryption process using the root key, and the acquisition of the encrypted content using the content key. Is available. However, since the revocation devices A1 and 7120 of the category tree A and 7100 cannot process the updated EKB, the contents cannot be used.

なお、上述の説明においては、キー発行センター(KDC)はTLCEからのツリー変更通知を受領した場合、その時点では、EKBタイプ定義リストの更新処理を実行しない例を説明したが、KDCがツリー変更通知を受領した時点で、キー発行センター(KDC)がツリー変更情報に基づいて、EKBタイプ定義リストの更新処理、EKB更新処理を実行し、各EKBリクエスタ、TLCEに更新されたEKBタイプ定義リストを送付する構成としてもよい。   In the above description, when the key issuing center (KDC) receives the tree change notification from the TLCE, the update process of the EKB type definition list is not executed at that time, but the KDC has changed the tree. When the notification is received, the key distribution center (KDC) executes the update process of the EKB type definition list and the EKB update process based on the tree change information, and the EKB type definition list updated by each EKB requester and TLCE It is good also as a structure to send.

(リボケーション処理−(2))
次に、例えば記録デバイスあるいは記録媒体にEKBを格納した構成で、記録媒体に対してユーザが様々なコンテンツを暗号化して記録し暗号化処理、復号処理に必要となるキーを記録デバイスあるいは記録媒体に格納したEKBから取得されるルートキーを用いたものとするいわゆる自己記録型の形態におけるリボーク処理に伴う処理について説明する。
(Revocation process-(2))
Next, for example, in a configuration in which EKB is stored in a recording device or a recording medium, a user encrypts and records various contents on the recording medium, and keys necessary for encryption processing and decryption processing are recorded on the recording device or recording medium. A process associated with the revoke process in the so-called self-recording type using the root key acquired from the EKB stored in the EKB will be described.

図64を参照しながら説明する。カテゴリツリーA,8100とカテゴリツリーB,8200において共通に使用されるEKB8000が利用されている状況を想定する。すなわちカテゴリツリーA,8100とカテゴリツリーB,8200において共通に使用される記録デバイスあるいは記録媒体には、共通のEKBが格納され、ユーザは、EKBを利用したコンテンツ暗号化、復号処理によるコンテンツ記録再生を行なっているものとする。なお、カテゴリツリーA,8100とカテゴリツリーB,8200において共通に使用されるEKB8000はEKBタイプ定義リストでは、EKBタイプ識別ナンバーが#1に定義されているものとする。   This will be described with reference to FIG. Assume a situation in which EKB 8000 that is used in common in category tree A, 8100 and category tree B, 8200 is used. That is, a common EKB is stored in a recording device or a recording medium that is commonly used in the category trees A and 8100 and the category trees B and 8200, and the user can record and reproduce content by content encryption and decryption processing using the EKB. It is assumed that Note that EKB 8000 commonly used in category tree A, 8100 and category tree B, 8200 has an EKB type identification number defined as # 1 in the EKB type definition list.

この状況でカテゴリツリーA,8100に属するデバイスA1,8120の鍵データの漏洩など不正処理可能な状況が発覚し、デバイスA1,8120のリボークを行なうとする。   In this situation, it is assumed that a situation in which unauthorized processing is possible, such as leakage of key data of devices A1 and 8120 belonging to category trees A and 8100, is detected, and devices A1 and 8120 are revoked.

この場合、カテゴリツリーA,8100のTLCEは、キー発行センター(KDC)に対してツリー変更通知(図53参照)を実行し、キー発行センター(KDC)は、受信したツリー変更通知に基づいて管理下の各TLCE、関連EKBリクエスタに対して通知する。この時点の通知は、ツリー変更通知を受領したことを知らせるのみであり、EKBタイプ定義リストの更新処理は実行されない。   In this case, the TLCEs of the category trees A and 8100 execute a tree change notification (see FIG. 53) to the key issuing center (KDC), and the key issuing center (KDC) manages based on the received tree change notification. Notify each TLCE and associated EKB requester below. The notification at this point only informs that the tree change notification has been received, and the update process of the EKB type definition list is not executed.

リボーク処理を実行したカテゴリツリーのTLCEは、リボークデバイスA1,8120における将来におけるEKBを利用した新たなコンテンツ処理を停止させるため、自らEKBリクエスタとして、リボーク処理対象以外のデバイスにおいてのみ処理可能な更新されたEKBを生成するようにキー発行センター(KDC)に対してEKB発行要求を行なう。この場合、EKBリクエスタとしてのTLCEは、カテゴリツリーA,8100とカテゴリツリーB,8200において共通に使用されるEKBのタイプとして定義されているEKBタイプ識別ナンバー#1を指定する。また、新たなルートキーをEKBリクエスタ自ら生成してKDCに送付するか、あるいは新たなルートキーの生成をKDCに依頼する。   The TLCE of the category tree that has executed the revocation processing is updated so that it can be processed only by a device other than the revocation processing target as an EKB requester in order to stop new content processing using the EKB in the future in the revocation devices A1 and 8120. An EKB issuance request is made to the key issuance center (KDC) so as to generate an EKB. In this case, the TLCE as the EKB requester designates an EKB type identification number # 1 defined as an EKB type commonly used in the category trees A and 8100 and the category trees B and 8200. In addition, the EKB requester itself generates a new root key and sends it to the KDC, or requests the KDC to generate a new root key.

キー発行センター(KDC)は、指定されたEKBタイプ識別ナンバー#1に基づいて、EKBタイプ定義リストを参照し、対応するカテゴリツリーのノードに基づいてカテゴリツリーA,8100とカテゴリツリーB,8200のTLCEに対して新たなルートキーを正当なデバイスにおいて取得可能なサブEKBの生成を依頼する。   The key distribution center (KDC) refers to the EKB type definition list on the basis of the designated EKB type identification number # 1, and on the category tree A, 8100 and category tree B, 8200 on the basis of the corresponding category tree node. The TLCE is requested to generate a sub EKB that can acquire a new root key in a valid device.

カテゴリツリーA,8100とカテゴリツリーB,8200のTLCEの各々は、依頼に基づいてサブEKBを生成する。この場合、カテゴリツリーA,8100においてはリボークされたデバイスA1,8120を排除した他のデバイスにおいてのみ新規のルートキーを取得可能なサブEKB−(A)が生成される。カテゴリツリーB,8200ではリボークされたデバイスが存在しなければ、カテゴリに属するすべてのデバイスにおいて新規のルートキーを取得可能なサブEKB−(B)を生成してキー発行センター(KDC)に対して送信する。   Each of the TLCEs of category tree A, 8100 and category tree B, 8200 generates a sub-EKB based on the request. In this case, in the category tree A, 8100, a sub-EKB- (A) that can acquire a new root key is generated only in other devices excluding the revoked devices A1, 8120. If there is no revoked device in category tree B, 8200, a sub-EKB- (B) that can acquire a new root key in all devices belonging to the category is generated and the key issuing center (KDC) Send.

キー発行センター(KDC)は各TLCEから受信したサブEKBに基づいて合成EKBを前述した方法に従って生成し、生成したEKBを各TLCE(ex.フォーマットホルダー)に送信する。   The key issuing center (KDC) generates a composite EKB based on the sub-EKB received from each TLCE according to the method described above, and transmits the generated EKB to each TLCE (ex. Format holder).

各TLCE(ex.フォーマットホルダー)はキー発行センター(KDC)から受領した新たなEKBを各デバイスに配信して、EKBの更新を実行させる。カテゴリツリーA,8100とカテゴリツリーB,8200に属するデバイスは、新たなコンテンツの記録デバイスに対する記録を更新したEKBを用いて取得したルートキーを適用した暗号化処理として実行する。新たなEKBを用いて暗号化記録されたコンテンツは対応するEKBを適用した場合にのみ復号可能となるので、リボークされたデバイスにおいては利用不可能となる。   Each TLCE (ex. Format holder) distributes a new EKB received from the key issuing center (KDC) to each device, and updates the EKB. Devices belonging to the category trees A and 8100 and the category trees B and 8200 are executed as an encryption process using the root key acquired using the EKB updated in the recording of the new content recording device. Since the content encrypted and recorded using the new EKB can be decrypted only when the corresponding EKB is applied, the content cannot be used in the revoked device.

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

以上、説明したように、本発明の情報処理システムおよび方法によれば、カテゴリに基づいて区分され、カテゴリ・エンティテイによって管理されるサブツリーを複数有するキーツリーを構成し、キーツリーを構成するパスを選択して選択パス上の下位キーによる上位キーの暗号化処理データからなるEKBを生成してデバイスに提供する構成において、EKBタイプ識別子と、EKB処理可能な1以上のカテゴリツリーの識別データとを対応付けたEKBタイプ定義リストに基づいてEKBの発行管理を実行するように構成したので、EKB生成要求者としてのEKBリクエスタが容易に適用対象となるカテゴリを選択できる。   As described above, according to the information processing system and method of the present invention, a key tree having a plurality of subtrees divided based on categories and managed by category entities is formed, and paths constituting the key tree are determined. In the configuration of selecting and generating an EKB consisting of encryption processing data of the upper key by the lower key on the selected path and providing it to the device, an EKB type identifier and identification data of one or more category trees capable of EKB processing are provided. Since the EKB issuance management is executed based on the associated EKB type definition list, the EKB requester as the EKB generation requester can easily select the category to be applied.

また、本発明の情報処理システムおよび方法によれば、有効化キーブロック(EKB)の生成要求において、ルートキーを自ら生成する構成と、ルートキーの生成をキー発行センターに依頼する構成を選択的に実行可能としたので、EKB生成要求者の負担軽減が実現され、また、EKB発行センターにおけるEKB生成において、EKB生成要求時にサブEKBの生成をカテゴリ管理者であるカテゴリ・エンティテイに依頼する構成としたのでEKB生成、管理処理の効率化が可能となる。   Further, according to the information processing system and method of the present invention, in the request for generating the enabling key block (EKB), a configuration for generating the root key itself and a configuration for requesting the key issuing center to generate the root key are selectively used. The load on the EKB generation requester can be reduced, and the EKB generation at the EKB issuing center can request the category entity that is the category manager to generate the sub-EKB when the EKB generation is requested. Therefore, the efficiency of EKB generation and management processing can be improved.

10 コンテンツ配信側
11 インターネット
12 衛星放送
13 電話回線
14 メディア
20 コンテンツ受信側
21 パーソナルコンピュータ(PC)
22 ポータブルデバイス(PD)
23 携帯電話、PDA
24 記録再生器
25 再生専用器
30 メディア
100 記録再生装置
110 バス
120 入出力I/F
130 MPEGコーデック
140 入出力I/F
141 A/D,D/Aコンバータ
150 暗号処理手段
160 ROM
170 CPU
180 メモリ
190 ドライブ
195 記録媒体
601 バージョン
602 デプス
603 データポインタ
604 タグポインタ
605 署名ポインタ
606 データ部
607 タグ部
608 署名
1101 記録デバイス
2301 ルートキー
2302 ノードキー
2303 リーフキー
2304 カテゴリノード
2306 サブカテゴリノード
2701 カテゴリツリー
2702 サブルート
2811,2851 サブルート
2812,2852 カテゴリツリー末端ノード
2901,2902 カテゴリツリー
2950 リザーブノード
2970 管理末端ノード
3011,3012,3013 カテゴリツリー
3021,3022,3023 リザーブノード
3201 末端ノード
3202 頂点ノード
3301,3302 末端ノード
3303 新規カテゴリツリー追加末端ノード
3410,3420,3430 カテゴリツリー
3411,3421,3431 サブルート
3432 リボークデバイスノード
3601 末端ノード
3710,3720,3730 カテゴリツリー
3711,3721,3731 サブルート
3901 末端ノード
3902 頂点ノード(サブルートノード)
4001〜4005 カテゴリツリー
4021,4022,4023 カテゴリツリー
4101〜4105 カテゴリツリー
4510 管理エンティテイ
4511 キー発行センター(KDC)
4520 EKBリクエスタ
4530 トップレベル・カテゴリ・エンティテイ(TLCE)
4540 メディア製造者
4550 デバイス製造者
4551 DNKEデバイス製造者
4552 DNKデバイス製造者
5100 カテゴリツリーA
5120 デバイスノードキー領域
5150 リボークデバイス
5200 カテゴリツリーB
5220 デバイスノードキー領域
5300 ルートツリー
6000 EKB
6110,6120 サブEKB
6111,6121 レングスデータ
6112,6122 カテゴリ識別データ
6200 ヘッダ情報
6300 署名データ
7000 EKB
7100 カテゴリツリーA
7120 リボークデバイス
7200 カテゴリツリーB
8000 EKB
8100 カテゴリツリーA
8120 リボークデバイス
8200 カテゴリツリーB
10 Content Distribution Side 11 Internet 12 Satellite Broadcasting 13 Telephone Line 14 Media 20 Content Reception Side 21 Personal Computer (PC)
22 Portable Device (PD)
23 Mobile phones, PDAs
24 Recording / Reproducing Device 25 Dedicated Reproducing Device 30 Media 100 Recording / Reproducing Device 110 Bus 120
130 MPEG codec 140 Input / output I / F
141 A / D, D / A converter 150 Cryptographic processing means 160 ROM
170 CPU
180 Memory 190 Drive 195 Recording medium 601 Version 602 Depth 603 Data pointer 604 Tag pointer 605 Signature pointer 606 Data part 607 Tag part 608 Signature 1101 Recording device 2301 Root key 2302 Node key 2303 Leaf key 2304 Category node 2306 Subcategory node 2701 Category tree 2702 Subroot 2811 , 2851 Sub-root 2812, 2852 Category tree end node 2901, 2902 Category tree 2950 Reserve node 2970 Management end node 3011, 3012, 3013 Category tree 3021, 3022, 3023 Reserve node 3201 End node 3202 Vertex node 3301, 3302 End node 3303 New category Tree -Additional end nodes 3410, 3420, 3430 Category tree 3411, 3421, 3431 Sub-root 3432 Revocation device node 3601 End node 3710, 3720, 3730 Category tree 3711, 3721, 3731 Sub-root 3901 End node 3902 Vertex node (sub-root node)
4001 to 4005 Category tree 4021, 4022, 4023 Category tree 4101 to 4105 Category tree 4510 Management entity 4511 Key issuing center (KDC)
4520 EKB Requester 4530 Top Level Category Entity (TLCE)
4540 Media Manufacturer 4550 Device Manufacturer 4551 DNKE Device Manufacturer 4552 DNK Device Manufacturer 5100 Category Tree A
5120 Device node key area 5150 Revocation device 5200 Category tree B
5220 Device node key area 5300 Root tree 6000 EKB
6110, 6120 Sub EKB
6111, 6121 Length data 6112, 6122 Category identification data 6200 Header information 6300 Signature data 7000 EKB
7100 Category tree A
7120 Revocation Device 7200 Category Tree B
8000 EKB
8100 Category tree A
8120 Revocation device 8200 Category tree B

Claims (9)

複数のデバイスをリーフとして構成したツリーのルートからリーフまでのパス上のルート、ノード、およびリーフに各々キーを対応付けたキーツリーを構成し、該キーツリーを構成するパスを選択して選択パス上の下位キーによる上位キーの暗号化処理データを有し、前記選択パスに対応するノードキーセットを利用可能なデバイスにおいてのみ復号可能とした有効化キーブロック(EKB)をデバイスに提供する構成を持つ情報処理システムであり、
前記キーツリーは、カテゴリに基づいて区分され、カテゴリ・エンティテイによって管理されるサブツリーとしてのカテゴリツリーを複数有する構成であり、
有効化キーブロック(EKB)を生成するキー発行センター(KDC)は、
EKB生成の要求エンティテイであるEKBリクエスタの要求に基づく有効化キーブロック(EKB)の生成において、生成する有効化キーブロック(EKB)の復号可能なカテゴリツリーを管理する1以上のカテゴリ・エンティテイに各カテゴリツリーにおいて処理可能なサブEKBの生成要求を出力し、カテゴリ・エンティテイから受領したサブ有効化キーブロック(サブEKB)に基づいて1以上のカテゴリツリーにおいて処理可能なEKBを生成する構成を有することを特徴とする情報処理システム。
Configure a key tree in which a key is associated with each root, node, and leaf on the path from the root of the tree that configures multiple devices as leaves to the leaf, and select the path that configures the key tree and select it A configuration for providing an enabling key block (EKB) that can be decrypted only by a device that has encryption processing data of the upper key by the upper lower key and that can use the node key set corresponding to the selected path. An information processing system
The key tree is configured based on categories, and has a plurality of category trees as sub-trees managed by category entities,
The key issuing center (KDC) that generates the enabling key block (EKB)
In the generation of the enabling key block (EKB) based on the request of the EKB requester which is the request entity of the EKB generation, each of the one or more category entities that manage the decodable category tree of the generated enabling key block (EKB) A configuration for generating a sub-EKB generation request that can be processed in the category tree and generating an EKB that can be processed in one or more category trees based on the sub-validation key block (sub-EKB) received from the category entity. An information processing system characterized by
前記キー発行センター(KDC)は、
EKBタイプ識別子と、EKB処理可能なカテゴリツリーの識別データとを対応付けたEKBタイプ定義リストを有し、EKBの生成を要求するエンティテイであるEKBリクエスタから受領するEKB生成要求中に含まれるEKBタイプ識別子に基づくEKBタイプ定義リストの検索によりカテゴリツリーの識別データを抽出して、抽出されたカテゴリツリーの識別データに対応する1以上のカテゴリ・エンティテイの生成したサブEKBに基づいて、EKBタイプ定義リストに設定されたカテゴリツリーに共通に使用可能なEKBを生成して提供する構成であることを特徴とする請求項1に記載の情報処理システム。
The key issuing center (KDC)
An EKB type included in an EKB generation request received from an EKB requester that has an EKB type definition list in which an EKB type identifier is associated with identification data of an EKB processable category tree, and is an entity that requests generation of an EKB The identification data of the category tree is extracted by searching the EKB type definition list based on the identifier, and based on the sub EKB generated by one or more category entities corresponding to the extracted identification data of the category tree, the EKB type definition list The information processing system according to claim 1, wherein the information processing system is configured to generate and provide an EKB that can be commonly used for the category tree set to “1”.
前記キー発行センター(KDC)からサブEKB生成要求を受領したカテゴリ・エンティテイは、自己の管理するカテゴリツリーに属するノードまたはリーフに対応付けられたキーに基づいて処理可能なEKBとしてのサブ有効化キーブロック(サブEKB)を生成する構成であることを特徴とする請求項1に記載の情報処理システム。   The category entity that has received the sub-EKB generation request from the key issuing center (KDC) has a sub-validation key as an EKB that can be processed based on a key associated with a node or leaf belonging to the category tree managed by the category entity. The information processing system according to claim 1, wherein the information processing system is configured to generate a block (sub-EKB). 前記キーツリーは、最上段に複数段のルートツリーが構成され、該ルートツリーに直結するトップレベル・カテゴリツリー、該トップレベル・カテゴリツリーの下段に連結されるサブカテゴリツリーによって構成され、
前記カテゴリ・エンティテイは、前記トップレベル・カテゴリツリーの管理エンティテイとして該トップレベル・カテゴリツリーおよび該トップレベル・カテゴリツリーの下段に連なるサブカテゴリツリーの管理を行ない、
前記カテゴリ・エンティテイは、自己の管理するトップレベル・カテゴリツリーおよび該トップレベル・カテゴリツリーの下段に連なるサブカテゴリツリーに属するノードまたはリーフに対応して設定されるキーに基づいて処理可能なEKBとしてのサブ有効化キーブロック(サブEKB)を生成する構成であることを特徴とする請求項1に記載の情報処理システム。
The key tree is composed of a root tree of a plurality of stages at the top, a top-level category tree directly connected to the root tree, and a sub-category tree connected to the bottom of the top-level category tree,
The category entity manages the top-level category tree and a sub-category tree connected to the lower level of the top-level category tree as a management entity of the top-level category tree.
The category entity is an EKB that can be processed based on a key set corresponding to a node or leaf belonging to a top-level category tree managed by itself and a sub-category tree connected to a lower level of the top-level category tree. The information processing system according to claim 1, wherein the information processing system is configured to generate a sub-validation key block (sub-EKB).
複数のデバイスをリーフとして構成したツリーのルートからリーフまでのパス上のルート、ノード、およびリーフに各々キーを対応付けたキーツリーを構成し、該キーツリーを構成するパスを選択して選択パス上の下位キーによる上位キーの暗号化処理データを有し、前記選択パスに対応するノードキーセットを利用可能なデバイスにおいてのみ復号可能とした有効化キーブロック(EKB)をデバイスに提供する構成を持つシステムにおける情報処理方法であり、
前記キーツリーは、カテゴリに基づいて区分され、カテゴリ・エンティテイによって管理されるサブツリーとしてのカテゴリツリーを複数有する構成であり、
有効化キーブロック(EKB)を生成するキー発行センター(KDC)は、
EKB生成の要求エンティテイであるEKBリクエスタの要求に基づく有効化キーブロック(EKB)の生成において、生成する有効化キーブロック(EKB)の復号可能なカテゴリツリーを管理する1以上のカテゴリ・エンティテイに各カテゴリツリーにおいて処理可能なサブEKBの生成要求を出力し、カテゴリ・エンティテイから受領したサブ有効化キーブロック(サブEKB)に基づいて1以上のカテゴリツリーにおいて処理可能なEKBを生成することを特徴とする情報処理方法。
Configure a key tree in which a key is associated with each root, node, and leaf on the path from the root of the tree that configures multiple devices as leaves to the leaf, and select the path that configures the key tree and select it A configuration for providing an enabling key block (EKB) that can be decrypted only by a device that has encryption processing data of the upper key by the upper lower key and that can use the node key set corresponding to the selected path. Information processing method in the system
The key tree is configured based on categories, and has a plurality of category trees as sub-trees managed by category entities,
The key issuing center (KDC) that generates the enabling key block (EKB)
In the generation of the enabling key block (EKB) based on the request of the EKB requester which is the request entity of the EKB generation, each of the one or more category entities that manage the decodable category tree of the generated enabling key block (EKB) A sub-KB generation request that can be processed in the category tree is output, and an EKB that can be processed in one or more category trees is generated based on the sub-validation key block (sub-EKB) received from the category entity. Information processing method.
前記キー発行センター(KDC)は、
EKBタイプ識別子と、EKB処理可能なカテゴリツリーの識別データとを対応付けたEKBタイプ定義リストを有し、EKBの生成を要求するエンティテイであるEKBリクエスタから受領するEKB生成要求中に含まれるEKBタイプ識別子に基づくEKBタイプ定義リストの検索によりカテゴリツリーの識別データを抽出して、抽出されたカテゴリツリーの識別データに対応する1以上のカテゴリ・エンティテイの生成したサブEKBに基づいて、EKBタイプ定義リストに設定されたカテゴリツリーに共通に使用可能なEKBを生成して提供する構成であることを特徴とする請求項5に記載の情報処理方法。
The key issuing center (KDC)
An EKB type included in an EKB generation request received from an EKB requester that has an EKB type definition list in which an EKB type identifier is associated with identification data of an EKB processable category tree, and is an entity that requests generation of an EKB The identification data of the category tree is extracted by searching the EKB type definition list based on the identifier, and based on the sub EKB generated by one or more category entities corresponding to the extracted identification data of the category tree, the EKB type definition list 6. The information processing method according to claim 5, wherein an EKB that can be commonly used in a category tree set to be generated and provided.
前記キー発行センター(KDC)からサブEKB生成要求を受領したカテゴリ・エンティテイは、自己の管理するカテゴリツリーに属するノードまたはリーフに対応付けられたキーに基づいて処理可能なEKBとしてのサブ有効化キーブロック(サブEKB)を生成することを特徴とする請求項5に記載の情報処理方法。   The category entity that has received the sub-EKB generation request from the key issuing center (KDC) has a sub-validation key as an EKB that can be processed based on a key associated with a node or leaf belonging to the category tree managed by the category entity. 6. The information processing method according to claim 5, wherein a block (sub-EKB) is generated. 前記キーツリーは、最上段に複数段のルートツリーが構成され、該ルートツリーに直結するトップレベル・カテゴリツリー、該トップレベル・カテゴリツリーの下段に連結されるサブカテゴリツリーによって構成され、
前記カテゴリ・エンティテイは、前記トップレベル・カテゴリツリーの管理エンティテイとして該トップレベル・カテゴリツリーおよび該トップレベル・カテゴリツリーの下段に連なるサブカテゴリツリーの管理を行ない、
前記カテゴリ・エンティテイは、自己の管理するトップレベル・カテゴリツリーおよび該トップレベル・カテゴリツリーの下段に連なるサブカテゴリツリーに属するノードまたはリーフに対応して設定されるキーに基づいて処理可能なEKBとしてのサブ有効化キーブロック(サブEKB)を生成することを特徴とする請求項5に記載の情報処理方法。
The key tree is composed of a root tree of a plurality of stages at the top, a top-level category tree directly connected to the root tree, and a sub-category tree connected to the bottom of the top-level category tree,
The category entity manages the top-level category tree and a sub-category tree connected to the lower level of the top-level category tree as a management entity of the top-level category tree.
The category entity is an EKB that can be processed based on a key set corresponding to a node or leaf belonging to a top-level category tree managed by itself and a sub-category tree connected to a lower level of the top-level category tree. 6. The information processing method according to claim 5, wherein a sub validation key block (sub EKB) is generated.
複数のデバイスをリーフとして構成したツリーのルートからリーフまでのパス上のルート、ノード、およびリーフに各々キーを対応付けたキーツリーを構成し、該キーツリーを構成するパスを選択して選択パス上の下位キーによる上位キーの暗号化処理データを有し、前記選択パスに対応するノードキーセットを利用可能なデバイスにおいてのみ復号可能とした有効化キーブロック(EKB)をデバイスに提供する構成を持つシステムにおける情報処理をコンピュータ・システム上で実行せしめるコンピュータ・プログラムを記録したプログラム記録媒体であって、前記コンピュータ・プログラムは、
EKB生成要求に含まれるEKBタイプ識別子に基づいて、EKBタイプ識別子と、EKB処理可能な1以上のカテゴリツリーの識別データとを対応付けたEKBタイプ定義リストからカテゴリツリーの識別データを抽出するステップと、
抽出されたカテゴリツリーの識別データに対応するカテゴリツリーを管理する1以上のカテゴリ・エンティテイに各カテゴリツリーにおいて処理可能なサブ有効化キーブロック(サブEKB)の生成要求を出力するステップと、
カテゴリ・エンティテイから受領したサブ有効化キーブロック(サブEKB)に基づいて1以上のカテゴリツリーにおいて処理可能なEKBを生成するステップと、
を有することを特徴とするプログラム記録媒体。
Configure a key tree in which a key is associated with each root, node, and leaf on the path from the root of the tree that configures multiple devices as leaves to the leaf, and select the path that configures the key tree and select it A configuration for providing an enabling key block (EKB) that can be decrypted only by a device that has encryption processing data of the upper key by the upper lower key and that can use the node key set corresponding to the selected path. A computer-readable recording medium storing a computer program that causes a computer system to execute information processing in a system having the computer program,
Extracting the identification data of the category tree from the EKB type definition list in which the EKB type identifier is associated with the identification data of one or more category trees capable of EKB processing based on the EKB type identifier included in the EKB generation request; ,
Outputting a generation request for a sub-enabling key block (sub-EKB) that can be processed in each category tree to one or more category entities that manage the category tree corresponding to the extracted identification data of the category tree;
Generating an EKB that can be processed in one or more category trees based on a sub-enabling key block (sub-EKB) received from a category entity;
A program recording medium comprising:
JP2010159592A 2010-07-14 2010-07-14 Information processing system, information processing method and program recording medium Pending JP2010288291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010159592A JP2010288291A (en) 2010-07-14 2010-07-14 Information processing system, information processing method and program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010159592A JP2010288291A (en) 2010-07-14 2010-07-14 Information processing system, information processing method and program recording medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000395844A Division JP4581246B2 (en) 2000-12-26 2000-12-26 Information processing system, information processing method, and program recording medium

Publications (1)

Publication Number Publication Date
JP2010288291A true JP2010288291A (en) 2010-12-24

Family

ID=43543599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010159592A Pending JP2010288291A (en) 2010-07-14 2010-07-14 Information processing system, information processing method and program recording medium

Country Status (1)

Country Link
JP (1) JP2010288291A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102508524B1 (en) * 2021-11-09 2023-03-09 펜타시큐리티시스템 주식회사 Encryption Key Management Method in Data Subscription System

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11187013A (en) * 1997-12-24 1999-07-09 Ibm Japan Ltd Cryptographic key distribution system
US6049878A (en) * 1998-01-20 2000-04-11 Sun Microsystems, Inc. Efficient, secure multicasting with global knowledge

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11187013A (en) * 1997-12-24 1999-07-09 Ibm Japan Ltd Cryptographic key distribution system
US6049878A (en) * 1998-01-20 2000-04-11 Sun Microsystems, Inc. Efficient, secure multicasting with global knowledge

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6010028671; Waldvogel, M. et al.: 'The VersaKey Framework:Versatile Group Key Management' IEEE Journal on Selected Areas in Communications Vol.17 No.9, 199906, p.1614-1631 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102508524B1 (en) * 2021-11-09 2023-03-09 펜타시큐리티시스템 주식회사 Encryption Key Management Method in Data Subscription System

Similar Documents

Publication Publication Date Title
JP4581246B2 (en) Information processing system, information processing method, and program recording medium
JP4078802B2 (en) Information processing system, information processing method, information processing apparatus, information recording medium, and program recording medium
JP4710132B2 (en) Information processing system, information processing method, and program recording medium
JP4023083B2 (en) Information processing system, information processing method, information recording medium, and program providing medium
JP4622087B2 (en) Information processing apparatus, information processing method, and program storage medium
KR100840823B1 (en) System and method for processing information using encryption key block
WO2001078298A1 (en) Information processing system and method
JP2001358707A (en) Information processing system and method using cryptographic key block and program providing medium
JP4120135B2 (en) Information processing system and information processing method using encryption key block, and program providing medium
JP4806847B2 (en) Information processing system, information processing method, information recording medium, and program recording medium
JP3988385B2 (en) Information processing system, information processing method, information recording medium, and program recording medium
JP2010288291A (en) Information processing system, information processing method and program recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121106

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130312