JP5391315B2 - License information receiving apparatus, license information receiving program, and license information receiving method - Google Patents

License information receiving apparatus, license information receiving program, and license information receiving method Download PDF

Info

Publication number
JP5391315B2
JP5391315B2 JP2012151481A JP2012151481A JP5391315B2 JP 5391315 B2 JP5391315 B2 JP 5391315B2 JP 2012151481 A JP2012151481 A JP 2012151481A JP 2012151481 A JP2012151481 A JP 2012151481A JP 5391315 B2 JP5391315 B2 JP 5391315B2
Authority
JP
Japan
Prior art keywords
license information
encrypted
information
content
key
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.)
Expired - Fee Related
Application number
JP2012151481A
Other languages
Japanese (ja)
Other versions
JP2012186868A (en
Inventor
友成 西本
秋継 馬場
亜里砂 藤井
辰弥 栗岡
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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting 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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2012151481A priority Critical patent/JP5391315B2/en
Publication of JP2012186868A publication Critical patent/JP2012186868A/en
Application granted granted Critical
Publication of JP5391315B2 publication Critical patent/JP5391315B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、コンテンツと共に、コンテンツの使用を許可する情報であるライセンス情報を受信するライセンス情報受信装置、ライセンス情報受信プログラムおよびライセンス情報受信方法に関する。   The present invention relates to a license information receiving apparatus, a license information receiving program, and a license information receiving method for receiving license information that is information that permits use of the content together with the content.

従来、デジタル放送では、映像音声のコンテンツを放送する放送側(送信側)において、「デジタル放送におけるアクセス制御方式標準規格」(非特許文献1参照)で規定されている限定受信方式を用いて、当該コンテンツをトランスポートストリームレベルでスクランブル(暗号化コンテンツ)して放送することによって、受信側における不正受信を防止している。また、このデジタル放送では、映像音声の暗号化コンテンツを受信する受信側において、非特許文献1で規定されている限定再生方式を用いて、受信し蓄積した暗号化コンテンツを再生、複製することによって、不正な再生や複製を防止している。   Conventionally, in digital broadcasting, on the broadcast side (transmission side) that broadcasts video and audio content, the conditional access system defined in “Access Control System Standards in Digital Broadcasting” (see Non-Patent Document 1) is used. The content is scrambled (encrypted content) at the transport stream level and broadcast to prevent unauthorized reception on the receiving side. Also, in this digital broadcasting, on the receiving side that receives video / audio encrypted content, by using the limited playback method defined in Non-Patent Document 1, the received and stored encrypted content is reproduced and copied. , Preventing unauthorized playback and duplication.

受信側において用いられる限定再生方式では、受信し蓄積した暗号化コンテンツを再生する際に、当該暗号化コンテンツを復号するための復号鍵を含んでいるライセンス情報が必要になる。このライセンス情報は、暗号化コンテンツに多重化されているECM(Entitlement Control Message)に含まれており、放送を通じて(放送波によって)受信側に送られる。また、このライセンス情報は、暗号化コンテンツとは別に、放送を通じて(放送波によって)または他の手段によって受信側に送られる。例えば、暗号化コンテンツのみを先に放送しておき、その後、電話や葉書等の手段によって受信側の視聴者からの暗号化コンテンツの視聴要求を受け付けて、放送を通じて、先に放送された暗号化コンテンツを復号するためのライセンス情報が受信側に送られる。   In the limited reproduction method used on the reception side, when reproducing the received and stored encrypted content, license information including a decryption key for decrypting the encrypted content is required. This license information is included in an ECM (Entitlement Control Message) multiplexed on the encrypted content, and is sent to the receiving side through broadcasting (by broadcast waves). The license information is sent to the receiving side through broadcasting (by broadcast waves) or by other means, separately from the encrypted content. For example, only the encrypted content is broadcasted first, and then the request for viewing the encrypted content is received from the receiver on the receiving side by means of a telephone, a postcard, etc. License information for decrypting the content is sent to the receiving side.

しかし、従来の電話や葉書等の手段によってライセンス情報を要求する方法では、受信側の視聴者が暗号化コンテンツの視聴要求をした後、すぐに、暗号化コンテンツを視聴できるわけではなく、視聴者の満足いくサービス(視聴要求してからライセンス情報が送られるまでの応答速度)を得ることができない。つまり、暗号化コンテンツの視聴要求をする視聴者の数(世帯数)が多いので、放送局側では、ライセンス情報の処理をするまでの時間がかかってしまうためである。なお、放送局側におけるライセンス情報の処理とは、当該視聴要求を受け付けた後、放送を通じて、当該視聴要求をした視聴者が所有する受信側の機器でライセンス情報から復号鍵を個別に取得できるようにすることである。ちなみに、受信側の視聴者の世帯数は1000万世帯以上である。   However, in the conventional method of requesting license information by means of telephone or postcard, the viewer on the receiving side cannot view the encrypted content immediately after making a request to view the encrypted content. Can not obtain a satisfactory service (response speed from the request for viewing until the license information is sent). In other words, since the number of viewers (the number of households) requesting to view encrypted content is large, it takes time until the license information is processed on the broadcasting station side. The processing of license information on the broadcasting station side means that after receiving the viewing request, the decryption key can be individually acquired from the license information by the receiving side device owned by the viewer who has made the viewing request through broadcasting. Is to do. Incidentally, the number of viewers on the receiving side is more than 10 million.

このため、放送を通じることなく(放送波によらず)、暗号化コンテンツの視聴要求をしてきた視聴者が所有する受信側の機器にライセンス情報を送るために、インターネットやブロードバンドネットワーク等の通信ネットワークを用いて、暗号化コンテンツの視聴要求を受け付け、当該視聴要求受信後に即座にライセンス情報を送信する方式が実現されている。   For this reason, a communication network such as the Internet or a broadband network is used to send license information to a receiving device owned by a viewer who has requested viewing of encrypted content without broadcasting (regardless of broadcast waves). Is used to receive a request for viewing encrypted content, and to transmit license information immediately after receiving the viewing request.

この視聴要求受信後に即座にライセンス情報を送信する方式の一つに、X.509証明書(公開鍵情報)を利用して受信側の機器認証を行うTLS(Transport Layer Security)プロトコル利用方式がある。このTLSプロトコル利用方式は、TLSプロトコルを用いて、通信ネットワーク上にセキュアな回線を構築し、ライセンス情報を安全に送信する方式である。TLSプロトコルは、IETF(Internet Engineering Task Force)で標準化された技術仕様の文献RFC 2246 The TLS Protocol Version 1.0で定義されたもので、通信ネットワーク上における送信側と受信側との間で安全性の高い、つまり、送信側のコネクション(接続点)と受信側のコネクション(接続点)との間に攻撃者(不正にライセンス情報を取得して、利用しようとする者)が介在中継したとしても、送受信している情報(ライセンス情報)を取得することができないものである。   One of the methods for transmitting license information immediately after receiving this viewing request is X. There is a TLS (Transport Layer Security) protocol utilization method that performs device authentication on the receiving side using a 509 certificate (public key information). This TLS protocol utilization method is a method of constructing a secure line on a communication network using the TLS protocol and transmitting license information safely. The TLS protocol is defined in RFC 2246 The TLS Protocol Version 1.0, which is a technical specification standardized by the Internet Engineering Task Force (IETF), and secures between a transmission side and a reception side on a communication network. Even if an attacker (a person who illegally acquires license information and tries to use it) intervenes between the connection on the sending side (connection point) and the connection on the receiving side (connection point) The information (license information) being transmitted / received cannot be acquired.

また、限定受信方式および限定再生方式では、CAS(Conditional Access System)カードと呼ばれるICカードを受信側の機器に備え、このICカード毎に別々の秘密情報(マスター鍵Km等)を保持させることで、限定受信機能および限定再生機能を実現すると共に、このICカード内で、鍵情報の処理を行うことで、安全性を向上させている。   Further, in the limited reception method and the limited reproduction method, an IC card called a CAS (Conditional Access System) card is provided in a receiving device, and individual secret information (master key Km or the like) is held for each IC card. In addition to realizing the limited reception function and the limited playback function, the security is improved by processing the key information in the IC card.

「デジタル放送におけるアクセス制御方式標準規格」ARIB STD−B25 社団法人 電波産業会発行、2003年2月6日、全頁“Access Control System Standard for Digital Broadcasting” ARIB STD-B25 Published by The Radio Industries Association, February 6, 2003, all pages

しかしながら、従来のX.509証明書(公開鍵情報)を利用して機器認証を行うTLSプロトコル利用方式では、ライセンス情報を安全に送信できる(安全性は高い)ものの、TLSプロトコルを実装するデバイスを新たに製作しなければならない。また、限定受信方式および限定再生方式では、CASカード内でライセンス情報の取り扱いを行っていない。このため、これらTLSプロトコル利用方式と、限定受信方式および限定再生方式とを混合した方式を想定すると、CASカード内にTLSプロトコルを実装する必要が生じるが、CASカード内にTLSプロトコルを実装することは技術的に困難であるので、CASカードとは別に、TLSプロトコルを実装するセキュリティモジュール(ICカード)が必要になり、受信側の機器の生産コストが増加する(機器が高価になる)という問題がある。   However, the conventional X. In the TLS protocol using method in which device authentication is performed using a 509 certificate (public key information), license information can be transmitted safely (highly secure), but a device that implements the TLS protocol must be manufactured. Don't be. In the limited reception method and the limited reproduction method, license information is not handled in the CAS card. For this reason, assuming a method in which these TLS protocol utilization methods, a limited reception method, and a limited reproduction method are mixed, it is necessary to implement the TLS protocol in the CAS card, but the TLS protocol must be implemented in the CAS card. Is technically difficult, and in addition to the CAS card, a security module (IC card) that implements the TLS protocol is required, which increases the production cost of the receiving device (the device becomes expensive). There is.

また、CASカード内で保持される秘密情報(マスター鍵Km)に加えて、X.509証明書を管理する必要が生じ、運用コストが増加するという問題がある。   In addition to the secret information (master key Km) held in the CAS card, X. There is a problem that it is necessary to manage the 509 certificate and the operation cost increases.

そこで、本発明の目的は前記した従来の技術が有する課題を解消し、生産コストおよび運用コストを増加させることなく、ライセンス情報を安全に受信することができるライセンス情報受信装置、ライセンス情報受信プログラムおよびライセンス情報受信方法を提供することにある。   Therefore, an object of the present invention is to solve the problems of the conventional technology described above, and to receive the license information safely without increasing the production cost and the operation cost, the license information receiving program, and It is to provide a license information receiving method.

本発明は、前記した目的を達成するため、以下に示す構成とした。
請求項1記載のライセンス情報受信装置は、コンテンツの利用を許可する期間を設定した利用条件情報、前記コンテンツを識別するコンテンツID、前記コンテンツを暗号化した暗号化コンテンツを復号する復号鍵を少なくとも含むライセンス情報と、前記コンテンツを暗号化する暗号鍵とを生成し、この暗号鍵で前記コンテンツを暗号化して暗号化コンテンツとし、さらに、前記ライセンス情報を受信側の機器と一対一に保持している秘密情報で暗号化して暗号化ライセンス情報とし、前記秘密情報および受信側の機器で生成された乱数に基づいてセッション鍵およびMAC鍵を生成し、前記ライセンス情報暗号化手段で暗号化した暗号化ライセンス情報を前記セッション鍵で暗号化した暗号化メッセージとし、前記MAC鍵を用いて生成したMAC情報を該暗号化メッセージに対し付加することでMAC情報付加暗号化メッセージとして生成して通信ネットワークを介して送信し、加えて、前記暗号化コンテンツと前記暗号化ライセンス情報とを多重化し、多重化コンテンツとして出力するライセンス情報送信装置から、前記MAC情報付加暗号化メッセージと前記多重化コンテンツとを受信し、この多重化コンテンツに多重化されている暗号化ライセンス情報と暗号化コンテンツとを分離して復号するライセンス情報受信装置であって、通信手段と、メッセージ解析手段と、受信分離手段と、ライセンス情報処理手段と、復号手段と、を備える構成とした。
In order to achieve the above-described object, the present invention has the following configuration.
The license information receiving apparatus according to claim 1 includes at least usage condition information that sets a period during which content usage is permitted, a content ID that identifies the content, and a decryption key that decrypts the encrypted content obtained by encrypting the content. Generates license information and an encryption key for encrypting the content, encrypts the content with the encryption key to obtain encrypted content, and further holds the license information one-to-one with the receiving device Encrypted license that is encrypted with secret information to obtain encrypted license information, a session key and a MAC key are generated based on the secret information and a random number generated by a receiving device, and encrypted by the license information encryption unit Generated using the MAC key as an encrypted message with information encrypted with the session key MAC information added to the encrypted message is generated as a MAC information added encrypted message and transmitted via a communication network. In addition, the encrypted content and the encrypted license information are multiplexed, Receives the MAC information-added encrypted message and the multiplexed content from the license information transmitting apparatus that outputs the multiplexed content, and separates the encrypted license information and the encrypted content multiplexed in the multiplexed content. The license information receiving apparatus for decrypting the information includes a communication unit, a message analysis unit, a reception separation unit, a license information processing unit, and a decryption unit.

かかる構成によれば、ライセンス情報受信装置は、通信手段によって、MAC情報付加暗号化メッセージを、通信ネットワークを介して受信すると共に、ライセンス情報送信装置とのセッション確立時に乱数を発生させて通信ネットワークを介してライセンス情報送信装置に送信する。また、このライセンス情報受信装置は、メッセージ解析手段によって、ライセンス情報送信装置と一対一に保持している秘密情報に基づいてセッション鍵およびMAC鍵を生成すると共に、MAC鍵を用いて通信手段で受信したMAC情報付加暗号化メッセージから暗号化メッセージを検出し、この検出した暗号化メッセージをセッション鍵で復号し、暗号化ライセンス情報を取得する。さらに、このライセンス情報受信装置は、受信分離手段によって、送信側のライセンス情報送信装置から送信された多重化コンテンツを受信し、この多重化コンテンツを暗号化ライセンス情報と暗号化コンテンツとに分離する。続いて、このライセンス情報受信装置は、ライセンス情報処理手段によって、暗号化ライセンス情報を、ライセンス情報送信装置と一対一に保持している秘密情報(例えば、マスター鍵Km等)で復号し、この復号したライセンス情報に含まれている復号鍵を出力する。そして、このライセンス情報受信装置は、復号手段によって、ライセンス情報処理手段で出力された復号鍵で暗号化コンテンツを復号する。   According to such a configuration, the license information receiving apparatus receives the MAC information-added encrypted message via the communication network by the communication means, and generates a random number when establishing a session with the license information transmitting apparatus to establish the communication network. Via the license information transmitting apparatus. In addition, the license information receiving device generates a session key and a MAC key based on the secret information held one-on-one with the license information transmitting device by the message analysis unit and receives the MAC key using the communication unit. The encrypted message is detected from the MAC information addition encrypted message, and the detected encrypted message is decrypted with the session key to obtain the encrypted license information. Further, the license information receiving apparatus receives the multiplexed content transmitted from the transmission-side license information transmitting apparatus by the reception separating means, and separates the multiplexed content into encrypted license information and encrypted content. Subsequently, the license information receiving device decrypts the encrypted license information with the secret information (for example, the master key Km, etc.) held one-to-one with the license information transmitting device by the license information processing means. Output the decryption key included in the license information. In the license information receiving apparatus, the decryption unit decrypts the encrypted content with the decryption key output from the license information processing unit.

請求項2記載のライセンス情報受信プログラムは、コンテンツの利用を許可する期間を設定した利用条件情報、前記コンテンツを識別するコンテンツID、前記コンテンツを暗号化した暗号化コンテンツを復号する復号鍵を少なくとも含むライセンス情報と、前記コンテンツを暗号化する暗号鍵とを生成し、この暗号鍵で前記コンテンツを暗号化して暗号化コンテンツとし、さらに、前記ライセンス情報を受信側の機器と一対一に保持している秘密情報で暗号化して暗号化ライセンス情報とし、前記秘密情報および受信側の機器で生成された乱数に基づいてセッション鍵およびMAC鍵を生成し、前記ライセンス情報暗号化手段で暗号化した暗号化ライセンス情報を前記セッション鍵で暗号化した暗号化メッセージとし、前記MAC鍵を用いて生成したMAC情報を該暗号化メッセージに対し付加することでMAC情報付加暗号化メッセージとして生成して通信ネットワークを介して送信し、加えて、前記暗号化コンテンツと前記暗号化ライセンス情報とを多重化し、多重化コンテンツとして出力するライセンス情報送信装置から、前記MAC情報付加暗号化メッセージと前記多重化コンテンツとを受信し、この多重化コンテンツに多重化されている暗号化ライセンス情報と暗号化コンテンツとを分離して復号する装置を、通信手段、メッセージ解析手段、受信分離手段、ライセンス情報処理手段、復号手段、として機能させる構成とした。   The license information receiving program according to claim 2 includes at least usage condition information that sets a period during which content usage is permitted, a content ID that identifies the content, and a decryption key that decrypts the encrypted content obtained by encrypting the content. Generates license information and an encryption key for encrypting the content, encrypts the content with the encryption key to obtain encrypted content, and further holds the license information one-to-one with the receiving device Encrypted license that is encrypted with secret information to obtain encrypted license information, a session key and a MAC key are generated based on the secret information and a random number generated by a receiving device, and encrypted by the license information encryption unit Information is encrypted with the session key and the MAC key is used. By adding the generated MAC information to the encrypted message, it is generated as a MAC information-added encrypted message and transmitted via a communication network. In addition, the encrypted content and the encrypted license information are multiplexed. Receiving the MAC information-added encrypted message and the multiplexed content from the license information transmitting apparatus that outputs the multiplexed content and the encrypted license information and the encrypted content multiplexed on the multiplexed content. The apparatus for separating and decrypting is configured to function as communication means, message analysis means, reception separation means, license information processing means, and decryption means.

かかる構成によれば、ライセンス情報受信プログラムは、通信手段によって、MAC情報付加暗号化メッセージを、通信ネットワークを介して受信すると共に、ライセンス情報送信装置とのセッション確立時に乱数を発生させて通信ネットワークを介してライセンス情報送信装置に送信する。また、このライセンス情報受信装置は、メッセージ解析手段によって、ライセンス情報送信装置と一対一に保持している秘密情報に基づいてセッション鍵およびMAC鍵を生成すると共に、MAC鍵を用いて通信手段で受信したMAC情報付加暗号化メッセージから暗号化メッセージを検出し、この検出した暗号化メッセージをセッション鍵で復号し、暗号化ライセンス情報を取得する。さらに、このライセンス情報受信プログラムは、受信分離手段によって、送信側の機器から送信された多重化コンテンツを受信させ、この多重化コンテンツを暗号化ライセンス情報と暗号化コンテンツとに分離させるように当該装置を機能させる。続いて、このライセンス情報受信プログラムは、ライセンス情報処理手段によって、暗号化ライセンス情報を、送信側の機器と一対一に保持している秘密情報(例えば、マスター鍵Km等)で復号させ、この復号したライセンス情報に含まれている復号鍵を出力させるように当該装置を機能させる。そして、このライセンス情報受信プログラムは、復号手段によって、ライセンス情報処理手段で出力された復号鍵で暗号化コンテンツを復号させるように当該装置を機能させる。   According to this configuration, the license information receiving program receives the MAC information-added encrypted message via the communication network by the communication means, and generates a random number when establishing a session with the license information transmitting apparatus, Via the license information transmitting apparatus. In addition, the license information receiving device generates a session key and a MAC key based on the secret information held one-on-one with the license information transmitting device by the message analysis unit and receives the MAC key using the communication unit. The encrypted message is detected from the MAC information addition encrypted message, and the detected encrypted message is decrypted with the session key to obtain the encrypted license information. Further, the license information receiving program receives the multiplexed content transmitted from the transmission-side device by the reception separating means, and separates the multiplexed content into encrypted license information and encrypted content. To work. Subsequently, the license information receiving program causes the license information processing means to decrypt the encrypted license information with secret information (for example, the master key Km, etc.) held one-to-one with the device on the transmission side. The device is caused to function so as to output the decryption key included in the license information. The license information receiving program causes the apparatus to function so that the decryption means decrypts the encrypted content with the decryption key output from the license information processing means.

請求項3記載のライセンス情報受信方法は、コンテンツの利用を許可する期間を設定した利用条件情報、前記コンテンツを識別するコンテンツID、前記コンテンツを暗号化した暗号化コンテンツを復号する復号鍵を少なくとも含むライセンス情報と、前記コンテンツを暗号化する暗号鍵とを生成し、この暗号鍵で前記コンテンツを暗号化して暗号化コンテンツとし、さらに、前記ライセンス情報を受信側の機器と一対一に保持している秘密情報で暗号化して暗号化ライセンス情報とし、前記秘密情報および受信側の機器で生成された乱数に基づいてセッション鍵およびMAC鍵を生成し、前記ライセンス情報暗号化手段で暗号化した暗号化ライセンス情報を前記セッション鍵で暗号化した暗号化メッセージとし、前記MAC鍵を用いて生成したMAC情報を該暗号化メッセージに対し付加することでMAC情報付加暗号化メッセージとして生成して通信ネットワークを介して送信し、加えて、前記暗号化コンテンツと前記暗号化ライセンス情報とを多重化し、多重化コンテンツとして出力するライセンス情報送信装置から、前記MAC情報付加暗号化メッセージと前記多重化コンテンツとを受信し、この多重化コンテンツに多重化されている暗号化ライセンス情報と暗号化コンテンツとを分離して復号するライセンス情報受信方法であって、通信ステップと、乱数送信ステップと、メッセージ解析ステップと、受信分離ステップと、ライセンス情報処理ステップと、復号ステップと、を含む手順とした。   The license information receiving method according to claim 3 includes at least usage condition information that sets a period during which content usage is permitted, a content ID that identifies the content, and a decryption key that decrypts the encrypted content obtained by encrypting the content. Generates license information and an encryption key for encrypting the content, encrypts the content with the encryption key to obtain encrypted content, and further holds the license information one-to-one with the receiving device Encrypted license that is encrypted with secret information to obtain encrypted license information, a session key and a MAC key are generated based on the secret information and a random number generated by a receiving device, and encrypted by the license information encryption unit Generated using the MAC key as an encrypted message with information encrypted with the session key MAC information added to the encrypted message is generated as a MAC information added encrypted message and transmitted via a communication network. In addition, the encrypted content and the encrypted license information are multiplexed, Receives the MAC information-added encrypted message and the multiplexed content from the license information transmitting apparatus that outputs the multiplexed content, and separates the encrypted license information and the encrypted content multiplexed in the multiplexed content. The license information receiving method for decryption is a procedure including a communication step, a random number transmission step, a message analysis step, a reception separation step, a license information processing step, and a decryption step.

かかる手順によれば、ライセンス情報受信方法は、通信ステップにおいて、通信手段が、MAC情報付加暗号化メッセージを、通信ネットワークを介して受信する。また、このライセンス情報受信方法は、乱数送信ステップにおいて、通信手段が、ライセンス情報送信装置とのセッション確立時に乱数を発生させて通信ネットワークを介してライセンス情報送信装置に送信する。さらに、このライセンス情報受信方法は、メッセージ解析ステップにおいて、メッセージ解析手段が、ライセンス情報送信装置と一対一に保持している秘密情報に基づいてセッション鍵およびMAC鍵を生成すると共に、MAC鍵を用いて通信手段で受信したMAC情報付加暗号化メッセージから暗号化メッセージを検出し、この検出した暗号化メッセージをセッション鍵で復号し、暗号化ライセンス情報を取得する。続いて、このライセンス情報受信方法は、受信分離ステップにおいて、受信分離手段が、送信側の機器から送信された多重化コンテンツを受信し、この多重化コンテンツを暗号化ライセンス情報と暗号化コンテンツとに分離する。続いて、このライセンス情報受信方法は、ライセンス情報処理ステップにおいて、ライセンス情報処理手段が、暗号化ライセンス情報を、送信側の機器と一対一に保持している秘密情報(例えば、マスター鍵Km等)で復号し、この復号したライセンス情報に含まれている復号鍵を出力する。そして、このライセンス情報受信方法は、復号ステップにおいて、復号手段が、ライセンス情報処理ステップにて出力された復号鍵で暗号化コンテンツを復号する。   According to this procedure, in the license information receiving method, in the communication step, the communication means receives the MAC information-added encrypted message via the communication network. In this license information receiving method, in the random number transmission step, the communication means generates a random number when establishing a session with the license information transmitting apparatus and transmits the random number to the license information transmitting apparatus via the communication network. Further, in the license information receiving method, in the message analysis step, the message analysis unit generates a session key and a MAC key based on secret information held one-on-one with the license information transmission device, and uses the MAC key. The encrypted message is detected from the MAC information-added encrypted message received by the communication means, and the detected encrypted message is decrypted with the session key to obtain the encrypted license information. Subsequently, in this license information reception method, in the reception separation step, the reception separation means receives the multiplexed content transmitted from the transmission side device, and the multiplexed content is converted into the encrypted license information and the encrypted content. To separate. Subsequently, in this license information receiving method, in the license information processing step, the license information processing means holds the secret information (for example, the master key Km, etc.) that holds the encrypted license information one-to-one with the device on the transmission side. And decryption key included in the decrypted license information is output. In this license information receiving method, in the decryption step, the decryption means decrypts the encrypted content with the decryption key output in the license information processing step.

本発明は、以下に示す優れた効果を奏するものである。
請求項1、2および3記載の発明によれば、送信側の機器と一対一に保持されている秘密情報を用いて、暗号化ライセンス情報を復号しているので、生産コストおよび運用コストを増加させることなく、ライセンス情報を安全に受信することができる。
The present invention has the following excellent effects.
According to the first, second, and third aspects of the invention, since the encrypted license information is decrypted using the secret information held one-on-one with the device on the transmission side, the production cost and the operation cost are increased. The license information can be received safely without causing it to occur.

本発明による一実施の形態であるライセンス情報送受信システムのブロック 図である(第一の実施の形態)。BRIEF DESCRIPTION OF THE DRAWINGS It is a block diagram of the license information transmission / reception system which is one embodiment by this invention (1st embodiment). 本発明による一実施の形態であるライセンス情報送受信システムのブロック 図である(第二の実施の形態)。It is a block diagram of the license information transmission / reception system which is one embodiment by this invention (2nd embodiment). 本発明による一実施の形態であるライセンス情報送受信システムのブロック 図である(第三の実施の形態)。It is a block diagram of the license information transmission / reception system which is one embodiment by this invention (3rd embodiment). 図1に示したライセンス情報送受信システムの動作を説明したシーケンスチ ャートである。FIG. 2 is a sequence chart for explaining the operation of the license information transmission / reception system shown in FIG. 図2に示したライセンス情報送受信システムの動作を説明したシーケンスチ ャートである。FIG. 3 is a sequence chart for explaining the operation of the license information transmission / reception system shown in FIG. 2. FIG. 図3に示したライセンス情報送受信システムの動作を説明したシーケンスチ ャートである。FIG. 4 is a sequence chart for explaining the operation of the license information transmission / reception system shown in FIG. 3. FIG. MAC情報付加暗号化メッセージの構造例を示した図である。It is the figure which showed the structural example of the MAC information addition encryption message. EMMの構造例を示した図である。It is the figure which showed the structural example of EMM.

以下、本発明の一実施の形態について、図面を参照して詳細に説明する。
この実施の形態では、ライセンス情報送信装置とライセンス情報受信装置とからなるライセンス情報送受信システムの3つの実施の形態(第一の実施の形態、第二の実施の形態および第三の実施の形態)について、まず、各ライセンス情報送受信システムの構成(図1〜図3)を説明し、次に、各ライセンス情報送受信システムの全体動作(ライセンス情報送信装置の動作、ライセンス情報受信装置の動作を含む、図4〜図6)を説明し、その後、MAC情報付加暗号化メッセージの構造例(図7)と、EMMの構造例(図8)とについて説明する。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
In this embodiment, three embodiments of a license information transmission / reception system including a license information transmission device and a license information reception device (first embodiment, second embodiment, and third embodiment) First, the configuration of each license information transmission / reception system (FIGS. 1 to 3) will be described, and then the entire operation of each license information transmission / reception system (including the operation of the license information transmission device and the operation of the license information reception device). 4 to 6) will be described, and then a structural example (FIG. 7) of the MAC information addition encrypted message and a structural example of the EMM (FIG. 8) will be described.

(ライセンス情報送受信システムの構成 第一の実施の形態)
図1に、第一の実施の形態であるライセンス情報送受信システムのブロック図を示す。この図1に示すように、ライセンス情報送受信システムAは、ライセンス情報送信装置1(1A)と、ライセンス情報受信装置3(3A)と、このライセンス情報受信装置3(3A)で復号されたコンテンツを表示する液晶ディスプレイ、CRT等からなる表示装置2とを備えている。
(Configuration of License Information Transmission / Reception System First Embodiment)
FIG. 1 shows a block diagram of a license information transmission / reception system according to the first embodiment. As shown in FIG. 1, the license information transmission / reception system A includes a license information transmission device 1 (1A), a license information reception device 3 (3A), and contents decrypted by the license information reception device 3 (3A). And a display device 2 including a liquid crystal display, a CRT, and the like.

このライセンス情報送受信システムAは、放送によって、コンテンツと共に、ライセンス情報を配信(送信)する場合の態様である。   This license information transmission / reception system A is a mode in which license information is distributed (transmitted) together with contents by broadcasting.

[ライセンス情報送信装置の構成 第一の実施の形態]
ライセンス情報送信装置1(1A)は、映像音声データ等からなるコンテンツを暗号化した暗号化コンテンツと、当該コンテンツの利用(視聴)を許可する情報を含むライセンス情報を暗号化した暗号化ライセンス情報とを多重化した多重化コンテンツを送信するもので、ライセンス情報生成部5(ライセンス情報生成手段)と、暗号化部7(コンテンツ暗号化手段)と、ECM/EMM生成部9(ライセンス情報暗号化手段)と、多重化部11(多重化出力手段)と、秘密情報保持部13とを備えている。
[Configuration of License Information Transmitting Apparatus First Embodiment]
The license information transmitting apparatus 1 (1A) includes encrypted content obtained by encrypting content including video / audio data, and encrypted license information obtained by encrypting license information including information permitting use (viewing) of the content. The license information generating unit 5 (license information generating unit), the encrypting unit 7 (content encrypting unit), and the ECM / EMM generating unit 9 (license information encrypting unit) are transmitted. ), A multiplexing unit 11 (multiplexing output means), and a secret information holding unit 13.

ライセンス情報生成部5は、コンテンツを暗号化する暗号鍵を生成すると共に、ライセンス情報を生成するものである。ライセンス情報には、コンテンツの利用を許可する期間を設定した利用条件情報と、コンテンツを識別するためのコンテンツIDと、このコンテンツIDに関連付けられており、コンテンツを暗号鍵で暗号化した暗号化コンテンツを復号する復号鍵とが含まれている。また、利用条件情報には、コンテンツの利用を許可する期間(視聴許可期間)の他に、コンテンツの早送り再生の可否、コンテンツのコピー限度回数等の情報が含まれている。   The license information generation unit 5 generates an encryption key for encrypting content and also generates license information. The license information includes usage condition information that sets a period during which content usage is permitted, a content ID for identifying the content, and an encrypted content that is associated with the content ID and that is encrypted with an encryption key. And a decryption key for decrypting. Further, the usage condition information includes information such as whether or not fast-forward playback of the content and the copy limit number of the content are permitted, in addition to the period during which the content is permitted to be used (viewing permission period).

例えば、ライセンス情報は、利用条件情報の視聴許可期間として"02/06/2003−09/06/2003"(2003年6月2日から2003年6月9日、まで視聴可能)、早送り再生の可否として"Skip No"(早送り不可)、コピー限度回数として"Copy 3"(3回コピー可能)が含まれており、また、コンテンツIDとして、"0000001"(6Byte)と、128bitの鍵長を持つ復号鍵(共通鍵暗号化方式が用いられた場合)とが含まれている。   For example, the license information is “02/06 / 2003-09 / 06/2003” (viewable from June 2, 2003 to June 9, 2003) as the viewing permission period of the use condition information, and fast-forward playback “Skip No” (cannot be fast-forwarded) as copyability, “Copy 3” (can be copied three times) as the maximum number of copies, “0000001” (6 bytes) as the content ID, and 128-bit key length And a decryption key possessed (when a common key encryption method is used).

さらに、このライセンス情報生成部5で生成される暗号鍵は、秒単位で逐次更新(変更)されるものである。例えば、この暗号鍵はスクランブル鍵Ksである。   Further, the encryption key generated by the license information generation unit 5 is sequentially updated (changed) in units of seconds. For example, this encryption key is a scramble key Ks.

暗号化部7は、入力されたコンテンツをライセンス情報生成部5で生成された暗号鍵で暗号化した暗号化コンテンツを多重化部11に出力するものである。この暗号化部7では、コンテンツを暗号化する際に、秒単位で変更する暗号鍵(スクランブル鍵Ks)をECM(Entitlement Control Message;共通情報)に入れ、このECMを、ライセンス情報生成部5で生成した別の暗号鍵で暗号化し、この暗号化部7で暗号化された暗号化コンテンツに多重化してもよい。   The encryption unit 7 outputs the encrypted content obtained by encrypting the input content with the encryption key generated by the license information generation unit 5 to the multiplexing unit 11. In the encryption unit 7, when encrypting the content, an encryption key (scramble key Ks) to be changed in units of seconds is put in an ECM (Entlement Control Message; common information), and this ECM is stored in the license information generation unit 5. It may be encrypted with another generated encryption key and multiplexed with the encrypted content encrypted by the encryption unit 7.

ECM/EMM生成部9は、ライセンス情報生成部5で生成されたライセンス情報を、秘密情報保持部13で保持(記録)されている秘密情報で暗号化し、この暗号化した暗号化ライセンス情報を多重化部11に出力するものである。このECM/EMM生成部9が請求項に記載のライセンス情報暗号化手段に相当しており、この実施の形態では、暗号化ライセンス情報をECMまたはEMM(Entitlement Management Message;個別情報)として多重化部11に出力している。   The ECM / EMM generation unit 9 encrypts the license information generated by the license information generation unit 5 with the secret information held (recorded) by the secret information holding unit 13, and multiplexes the encrypted encrypted license information. Is output to the conversion unit 11. The ECM / EMM generation unit 9 corresponds to the license information encryption unit described in the claims. In this embodiment, the encryption license information is multiplexed as ECM or EMM (Entlement Management Message; individual information). 11 is output.

多重化部11は、暗号化部7から出力された暗号化コンテンツと、ECM/EMM生成部9から出力された暗号化ライセンス情報とを多重化した多重化コンテンツとして出力するものである。なお、この実施の形態では、多重化部11から出力される多重化コンテンツは、放送波に重畳されて配信される。   The multiplexing unit 11 outputs the multiplexed content obtained by multiplexing the encrypted content output from the encryption unit 7 and the encrypted license information output from the ECM / EMM generation unit 9. In this embodiment, the multiplexed content output from the multiplexing unit 11 is delivered while being superimposed on the broadcast wave.

秘密情報保持部13は、受信側のライセンス情報受信装置3(3A)に個別に保持されている秘密情報と、同じ秘密情報を全て保持しているものである。つまり、ライセンス情報受信装置3(3A)毎に付されている機器番号と対応付けた秘密情報を保持している。   The secret information holding unit 13 holds all the same secret information as the secret information individually held in the license information receiving apparatus 3 (3A) on the receiving side. That is, secret information associated with the device number assigned to each license information receiving device 3 (3A) is held.

また、秘密情報は、受信側のライセンス情報受信装置3(3A)に備えられているセキュリティモジュール(ICカード等)内に記録されているマスター鍵Km等である。ただし、秘密情報にマスター鍵Kmを用いる場合、受信側のライセンス情報受信装置3(3A)毎に備えられているマスター鍵Kmと同じマスター鍵Kmを使用してライセンス情報を暗号化して送信しなければならない。つまり、コンテンツの利用を許可する全てのライセンス情報受信装置3(3A)に対して、ライセンス情報(暗号化ライセンス情報)を配信(送信)しなければならず、結果としてライセンス情報の配信量が多くなってしまう。そこで、ライセンス情報の配信量を減少させるために、ライセンス情報の受信を許可するライセンス情報受信装置3(3A)に対して、マスター鍵Kmを用いて暗号化したワーク鍵Kwと呼ばれる秘密情報を予め配布しておき、さらに、ライセンス情報(暗号化ライセンス情報)をECMまたはEMMに入れ、このワーク鍵Kwを用いて暗号化するように構成してもよい。   The secret information is a master key Km or the like recorded in a security module (IC card or the like) provided in the license information receiving device 3 (3A) on the receiving side. However, when the master key Km is used for the secret information, the license information must be encrypted and transmitted using the same master key Km as the master key Km provided for each license information receiving apparatus 3 (3A) on the receiving side. I must. In other words, license information (encrypted license information) must be distributed (transmitted) to all license information receiving apparatuses 3 (3A) that permit the use of content, resulting in a large amount of license information distributed. turn into. Therefore, in order to reduce the distribution amount of the license information, secret information called a work key Kw encrypted in advance using the master key Km is preliminarily sent to the license information receiving apparatus 3 (3A) that permits the reception of the license information. Further, the license information (encrypted license information) may be stored in the ECM or EMM and encrypted using the work key Kw.

この第一の実施の形態で説明したライセンス情報送信装置1(1A)によれば、ライセンス情報生成部5によって、ライセンス情報と、暗号鍵とが生成される。続いて、暗号化部7によって、ライセンス情報生成部5で生成された暗号鍵でコンテンツを暗号化した暗号化コンテンツとされ、ECM/EMM生成部9によって、ライセンス情報が秘密情報で暗号化された暗号化ライセンス情報とされる。多重化部11によって、暗号化コンテンツと、暗号化ライセンス情報とが多重化された多重化コンテンツが出力される。このため、受信側のライセンス情報受信装置3(3A)と一対一に保持されている秘密情報を用いて、ライセンス情報を暗号化しているので、生産コストおよび運用コストを増加させることなく、ライセンス情報を安全に送信することができる。   According to the license information transmitting apparatus 1 (1A) described in the first embodiment, the license information generating unit 5 generates license information and an encryption key. Subsequently, the encrypted content is encrypted by the encryption unit 7 using the encryption key generated by the license information generation unit 5, and the license information is encrypted by the ECM / EMM generation unit 9 with the secret information. This is encrypted license information. The multiplexing unit 11 outputs the multiplexed content in which the encrypted content and the encrypted license information are multiplexed. For this reason, since the license information is encrypted using the secret information held one-to-one with the license information receiving device 3 (3A) on the receiving side, the license information is not increased without increasing the production cost and the operating cost. Can be sent safely.

[ライセンス情報受信装置の構成 第一の実施の形態]
ライセンス情報受信装置3(3A)は、ライセンス情報送信装置1(1A)から送信された多重化コンテンツを受信して、多重化コンテンツに含まれている暗号化コンテンツを復号したコンテンツを表示装置2に出力するもので、受信分離部15(受信分離手段)と、セキュリティモジュール17と、復号部19(復号手段)とを備えている。
[Configuration of License Information Receiving Device First Embodiment]
The license information receiving device 3 (3A) receives the multiplexed content transmitted from the license information transmitting device 1 (1A), and displays the content obtained by decrypting the encrypted content included in the multiplexed content on the display device 2. The output unit includes a reception separation unit 15 (reception separation unit), a security module 17, and a decryption unit 19 (decryption unit).

受信分離部15は、ライセンス情報送信装置1(1A)から配信(送信)された多重化コンテンツを受信すると共に、この多重化コンテンツに含まれている暗号化コンテンツと、暗号化ライセンス情報を分離して、暗号化ライセンス情報をセキュリティモジュール17に、暗号化コンテンツを復号部19に出力するものである。   The reception separating unit 15 receives the multiplexed content distributed (transmitted) from the license information transmitting device 1 (1A), and separates the encrypted content included in the multiplexed content and the encrypted license information. Thus, the encrypted license information is output to the security module 17, and the encrypted content is output to the decryption unit 19.

セキュリティモジュール17は、耐タンパー性を備えたモジュールであり、ライセンス情報処理部21(ライセンス情報処理手段)と、秘密情報保持部23とを備えている。なお、このセキュリティモジュール17は、ICカード等によって構成されており、従来のCASカードに相当するものである。   The security module 17 is a module having tamper resistance, and includes a license information processing unit 21 (license information processing means) and a secret information holding unit 23. The security module 17 is composed of an IC card or the like, and corresponds to a conventional CAS card.

ライセンス情報処理部21は、受信分離部15から出力された暗号化ライセンス情報を処理するものである。すなわち、暗号化ライセンス情報を秘密情報保持部23に保持(記録)されている秘密情報によって復号し、この復号したライセンス情報に含まれている復号鍵を復号部19に出力するものである。   The license information processing unit 21 processes the encrypted license information output from the reception separation unit 15. That is, the encrypted license information is decrypted with the secret information held (recorded) in the secret information holding unit 23, and the decryption key included in the decrypted license information is output to the decryption unit 19.

秘密情報保持部23は、送信側のライセンス情報送信装置1(1A)に保持されている秘密情報と共通(同一)の秘密情報を保持(記録)するものである。この秘密情報は、例えば、マスター鍵Km、或いは、ワーク鍵Kwである。   The secret information holding unit 23 holds (records) common (same) secret information as the secret information held in the license information transmitting apparatus 1 (1A) on the transmission side. This secret information is, for example, the master key Km or the work key Kw.

復号部19は、受信分離部15から出力された暗号化コンテンツを、セキュリティモジュール17のライセンス情報処理部21から出力された復号鍵で復号したコンテンツを当該装置3(3A)の外部に出力するものである。この実施の形態では、コンテンツは表示装置2に出力され、この表示装置2で表示される。   The decryption unit 19 outputs the content obtained by decrypting the encrypted content output from the reception separation unit 15 with the decryption key output from the license information processing unit 21 of the security module 17 to the outside of the device 3 (3A). It is. In this embodiment, the content is output to the display device 2 and displayed on the display device 2.

この第一の実施の形態で説明したライセンス情報受信装置3(3A)によれば、受信分離部15によって、送信側のライセンス情報送信装置1(1A)から送信された多重化コンテンツが受信され、この多重化コンテンツが暗号化ライセンス情報と暗号化コンテンツとに分離される。続いて、ライセンス情報処理部21によって、暗号化ライセンス情報が、ライセンス情報送信装置1(1A)と一対一に保持されている秘密情報(例えば、マスター鍵Km)で復号され、この復号されたライセンス情報に含まれている復号鍵が出力される。そして、復号部19によって、ライセンス情報処理部21から出力された復号鍵で暗号化コンテンツが復号され、この復号されたコンテンツが出力される。このため、送信側のライセンス情報送信装置1(1A)と一対一に保持されている秘密情報を用いて、暗号化ライセンス情報を復号しているので、生産コストおよび運用コストを増加させることなく、ライセンス情報を安全に受信することができる。   According to the license information receiving device 3 (3A) described in the first embodiment, the reception separating unit 15 receives the multiplexed content transmitted from the license information transmitting device 1 (1A) on the transmission side, This multiplexed content is separated into encrypted license information and encrypted content. Subsequently, the license information processing unit 21 decrypts the encrypted license information with the secret information (for example, the master key Km) held one-on-one with the license information transmitting apparatus 1 (1A), and the decrypted license The decryption key included in the information is output. Then, the decryption unit 19 decrypts the encrypted content with the decryption key output from the license information processing unit 21 and outputs the decrypted content. For this reason, since the encrypted license information is decrypted using the secret information held one-to-one with the license information transmitting apparatus 1 (1A) on the transmission side, without increasing the production cost and the operation cost, License information can be received securely.

(ライセンス情報送受信システムの構成 第二の実施の形態)
次に、図2に、第二の実施の形態であるライセンス情報送受信システムのブロック図を示す。この図2に示すように、ライセンス情報送受信システムBは、ライセンス情報送信装置1(1B)と、ライセンス情報受信装置3(3B)と、このライセンス情報受信装置3(3B)で復号されたコンテンツを表示する液晶、CRT等からなる表示装置2とを備えている。
(Configuration of License Information Transmission / Reception System Second Embodiment)
Next, FIG. 2 shows a block diagram of a license information transmission / reception system according to the second embodiment. As shown in FIG. 2, the license information transmission / reception system B has a license information transmission apparatus 1 (1B), a license information reception apparatus 3 (3B), and contents decrypted by the license information reception apparatus 3 (3B). And a display device 2 composed of a liquid crystal display, a CRT, or the like.

このライセンス情報送受信システムBは、放送によって、コンテンツ(暗号化コンテンツ)を配信すると共に、通信ネットワークを介して、ライセンス情報(暗号化ライセンス情報)を送信する場合の態様である。   This license information transmission / reception system B is a mode in which content (encrypted content) is distributed by broadcasting and license information (encrypted license information) is transmitted via a communication network.

[ライセンス情報送信装置の構成 第二の実施の形態]
ライセンス情報送信装置1(1B)は、ライセンス情報生成部5と、暗号化部7(コンテンツ暗号化送信手段)と、秘密情報保持部13と、EMM生成部25(ライセンス情報暗号化手段)と、機器認証部27とを備えている。なお、このライセンス情報送信装置1(1B)の構成の中で、図1に示したライセンス情報送信装置1(1A)の構成において説明したものは、同一の符号を付して、その説明は省略する。
[Configuration of License Information Transmitter Second Embodiment]
The license information transmission device 1 (1B) includes a license information generation unit 5, an encryption unit 7 (content encryption transmission unit), a secret information holding unit 13, an EMM generation unit 25 (license information encryption unit), And a device authentication unit 27. Among the configurations of the license information transmitting apparatus 1 (1B), those described in the configuration of the license information transmitting apparatus 1 (1A) shown in FIG. To do.

EMM生成部25は、ライセンス情報生成部5から出力されたライセンス情報を、秘密情報保持部13に保持されている秘密情報で暗号化した暗号化ライセンス情報をEMMとして、機器認証部27に出力するものである。   The EMM generation unit 25 outputs the license information output from the license information generation unit 5 with the secret information stored in the secret information storage unit 13 to the device authentication unit 27 as EMM. Is.

機器認証部27は、受信側の機器(この場合、ライセンス情報受信装置3(3B))の認証を行うために、MAC情報付加暗号化メッセージを生成して、通信ネットワークを介して、当該メッセージを送信するもので、メッセージ生成部29(メッセージ生成手段)と、通信部31(通信手段)とを備えている。   The device authentication unit 27 generates a MAC information addition encrypted message to authenticate the receiving device (in this case, the license information receiving device 3 (3B)), and sends the message via the communication network. The transmission unit includes a message generation unit 29 (message generation unit) and a communication unit 31 (communication unit).

メッセージ生成部29は、EMM生成部25でEMMとして生成された(EMMの可変部に入れられている)暗号化ライセンス情報を暗号化した暗号化メッセージを生成し、この暗号化メッセージに、当該メッセージの改ざんを検出するためのMAC情報を付加したMAC情報付加暗号化メッセージを生成するものである。   The message generation unit 29 generates an encrypted message obtained by encrypting the encryption license information (entered in the EMM variable unit) generated by the EMM generation unit 25 as an EMM, and the message is sent to the message MAC information-added encrypted message to which MAC information for detecting tampering is added is generated.

このMAC情報付加暗号化メッセージの生成方法は、まず、このメッセージ生成部29で、受信側のライセンス情報受信装置3(3B)と、通信部31、通信ネットワークを介して接続される際(セッション確立時)に、乱数を発生させる。続いて、当該ライセンス情報受信装置3(3B)で発生された乱数を、通信ネットワーク、通信部31を介して取得し、この取得した乱数と、発生させた乱数と、秘密情報とに基づいて、セッション鍵とMAC鍵を生成させる。   In this MAC information addition encryption message generation method, first, the message generation unit 29 is connected to the receiving side license information receiving apparatus 3 (3B) via the communication unit 31 and the communication network (session establishment). A random number is generated. Subsequently, the random number generated by the license information receiving device 3 (3B) is acquired via the communication network and the communication unit 31, and based on the acquired random number, the generated random number, and the secret information, Generate a session key and a MAC key.

そして、EMM生成部25でEMMとして生成された(EMMの可変部に入れられている)暗号化ライセンス情報をセッション鍵で暗号化した暗号化メッセージを生成すると共に、MAC鍵に基づいてMAC情報を作成し、暗号化メッセージにMAC情報を付加したMAC情報付加暗号化メッセージを生成する。   Then, the EMM generation unit 25 generates an encrypted message obtained by encrypting the encrypted license information generated in the EMM (entered in the variable part of the EMM) with the session key, and the MAC information based on the MAC key. Create a MAC information-added encrypted message by adding MAC information to the encrypted message.

なお、セッション鍵は、ここでは(第二の実施の形態および第三の実施の形態)、受信側のライセンス情報受信装置3(3B)と通信ネットワークを介して接続される際(セッション確立時)に当該装置1(1B)とライセンス情報受信装置3(3B)とで、各々生成した乱数を交換し、この交換した乱数と秘密情報とを合わせたもののハッシュ値をとり、このハッシュ値の数バイトのデータである。   Here, the session key is here (second embodiment and third embodiment) when connected to the license information receiving apparatus 3 (3B) on the receiving side via the communication network (when the session is established). The device 1 (1B) and the license information receiving device 3 (3B) exchange generated random numbers, take a hash value of the combined random number and secret information, and take several bytes of the hash value It is data of.

MAC鍵は、ここでは(第二の実施の形態および第三の実施の形態)、受信側のライセンス情報受信装置3(3B)と通信ネットワークを介して接続される際(セッション確立時)に当該装置1(1B)とライセンス情報受信装置3(3B)とで、各々生成した乱数を交換し、この交換した乱数と秘密情報とライセンス情報受信装置3(3B)に備えられるセキュリティモジュール35(後記)のID(モジュールID)とを合わせたもののハッシュ値をとり、このハッシュ値の数バイトのデータである。MAC情報は、暗号化メッセージの最後尾に付加されるものである。   In this case (second embodiment and third embodiment), the MAC key is associated with the license information receiving apparatus 3 (3B) on the receiving side via a communication network (when a session is established). The generated random numbers are exchanged between the device 1 (1B) and the license information receiving device 3 (3B), and the exchanged random number, secret information, and security module 35 provided in the license information receiving device 3 (3B) (described later) The hash value of the combination of the ID (module ID) is taken, and this hash value is data of several bytes. The MAC information is added to the end of the encrypted message.

このMAC情報付加暗号化メッセージは、受信側のライセンス情報受信装置3(3B)の機器認証を行うための情報である。つまり、このMAC情報付加暗号化メッセージの一部である暗号化メッセージを復号するためには、秘密情報が必要であり、不正受信者は、秘密情報を知り得なければ、暗号化ライセンス情報を得ることができず(正しく、受信側のライセンス情報受信装置3(3B)とメッセージ交換ができない)、すなわち、通信ネットワークを介して何らかの秘密情報を得ること無しに、現在放送に用いられているモジュールIDと、マスター鍵Kmとを当該1(1B)で管理しておけば、正しいセキュリティモジュール35(後記)を備えたライセンス情報受信装置3(3B)のみがメッセージ交換可能となる。   This MAC information addition encryption message is information for performing device authentication of the license information receiving device 3 (3B) on the receiving side. That is, in order to decrypt the encrypted message that is a part of the MAC information-added encrypted message, the secret information is necessary, and if the unauthorized receiver does not know the secret information, the encrypted license information is obtained. The module ID that is currently used for broadcasting without obtaining any secret information via the communication network (that is, the message cannot be exchanged correctly with the license information receiving device 3 (3B) on the receiving side). If the master key Km is managed with the 1 (1B), only the license information receiving device 3 (3B) having the correct security module 35 (described later) can exchange messages.

これによって、現在放送に用いられているモジュールIDと、マスター鍵Kmおよび機器認証のために使用する秘密情報の管理のみで十分であるので、通信ネットワークを介して、ライセンス情報を配布する機能を送信側に付加したとしても、運用コストの増加を抑制することができる。   As a result, it is sufficient to manage the module ID currently used for broadcasting, the master key Km, and the secret information used for device authentication, so the function of distributing the license information via the communication network is transmitted. Even if added to the side, an increase in operation cost can be suppressed.

通信部31は、通信ネットワークを介して、メッセージ生成部29で生成されたMAC情報付加暗号化メッセージを送信すると共に、受信側のライセンス情報受信装置3(3B)で発生された乱数を受信して、メッセージ生成部29に出力するものである。   The communication unit 31 transmits the MAC information addition encryption message generated by the message generation unit 29 via the communication network, and also receives the random number generated by the license information receiving device 3 (3B) on the receiving side. Is output to the message generator 29.

この第二の実施の形態で説明したライセンス情報送信装置1(1B)によれば、ライセンス情報生成部5によって、ライセンス情報と、コンテンツを暗号化する暗号鍵とが生成される。続いて、暗号化部7によって、ライセンス情報生成部5で生成された暗号鍵でコンテンツが暗号化された暗号化コンテンツが送信され、EMM生成部25によって、ライセンス情報が秘密情報で暗号化された暗号化ライセンス情報とされる。   According to the license information transmitting apparatus 1 (1B) described in the second embodiment, the license information generating unit 5 generates license information and an encryption key for encrypting content. Subsequently, encrypted content obtained by encrypting the content with the encryption key generated by the license information generation unit 5 is transmitted by the encryption unit 7, and the license information is encrypted by the EMM generation unit 25 using the secret information. This is encrypted license information.

また、メッセージ生成部29によって、秘密情報に基づいて、セッション鍵およびMAC鍵が生成される共に、EMM生成部25で暗号化された暗号化ライセンス情報がセッション鍵で暗号化された暗号化メッセージに、MAC鍵が用いられて生成されたMAC情報が付加されたMAC情報付加暗号化メッセージが生成される。そして、通信部31によって、MAC情報付加暗号化メッセージが送信される。このため、受信側のライセンス情報受信装置3(3B)と一対一に保持されている秘密情報を用いて、ライセンス情報を暗号化し、通信ネットワークを介して送信しているので、ライセンス情報受信装置3(3B)の生産コストおよび運用コストを増加させることなく、ライセンス情報を安全に送信することができる。   In addition, the message generation unit 29 generates a session key and a MAC key based on the secret information, and the encrypted license information encrypted by the EMM generation unit 25 is converted into an encrypted message encrypted with the session key. Then, the MAC information addition encrypted message to which the MAC information generated using the MAC key is added is generated. Then, the MAC information-added encrypted message is transmitted by the communication unit 31. For this reason, since the license information is encrypted and transmitted via the communication network using the secret information held one-to-one with the license information receiving device 3 (3B) on the receiving side, the license information receiving device 3 The license information can be transmitted safely without increasing the production cost and operation cost of (3B).

[ライセンス情報受信装置の構成 第二の実施の形態]
ライセンス情報受信装置3(3B)は、通信部33(通信手段)と、セキュリティモジュール35と、復号部19(受信復号手段)とを備えている。なお、このライセンス情報受信装置3(3B)の構成の中で、図1に示したライセンス情報受信装置3(3A)の構成において説明したものは、同一の符号を付して、その説明は省略する。
[Configuration of License Information Receiving Device Second Embodiment]
The license information receiving apparatus 3 (3B) includes a communication unit 33 (communication unit), a security module 35, and a decryption unit 19 (reception decryption unit). Among the configurations of the license information receiving device 3 (3B), those described in the configuration of the license information receiving device 3 (3A) shown in FIG. To do.

通信部33は、送信側のライセンス情報送信装置1(1B)から送信されたMAC情報付加暗号化メッセージを、通信ネットワークを介して受信するものである。   The communication unit 33 receives the MAC information addition encryption message transmitted from the license information transmission apparatus 1 (1B) on the transmission side via the communication network.

セキュリティモジュール35は、耐タンパー性を備えたモジュールであり、メッセージ解析部37(メッセージ解析手段)と、ライセンス情報処理部21(ライセンス情報処理手段)と、秘密情報保持部23とを備えている。   The security module 35 is a module having tamper resistance, and includes a message analysis unit 37 (message analysis unit), a license information processing unit 21 (license information processing unit), and a secret information holding unit 23.

メッセージ解析部37は、通信部33から出力されたMAC情報付加暗号化メッセージを解析して、EMMとして暗号化ライセンス情報をライセンス情報処理部21に出力するものである。   The message analysis unit 37 analyzes the MAC information addition encrypted message output from the communication unit 33, and outputs the encrypted license information to the license information processing unit 21 as an EMM.

このMAC情報付加暗号化メッセージの解析方法は、まず、このメッセージ解析部37で、送信側のライセンス情報送信装置1(1B)と、通信部33、通信ネットワークを介して接続される際(セッション確立時)に、乱数を発生させる。続いて、当該ライセンス情報送信装置1(1B)で発生された乱数を、通信ネットワーク、通信部33を介して取得し、この取得した乱数と、発生させた乱数と、秘密情報とに基づいて、セッション鍵とMAC鍵を生成させる。   In this MAC information addition encrypted message analysis method, first, the message analysis unit 37 is connected to the license information transmission apparatus 1 (1B) on the transmission side via the communication unit 33 and the communication network (session establishment). A random number is generated. Subsequently, the random number generated by the license information transmitting apparatus 1 (1B) is acquired via the communication network and the communication unit 33, and based on the acquired random number, the generated random number, and the secret information, Generate a session key and a MAC key.

そして、通信部33で受信されたMAC情報付加暗号化メッセージに、MAC鍵を用いてMAC情報の検出を行い、MAC情報付加暗号化メッセージから暗号化メッセージを分離(抽出)する。そして、暗号化メッセージをセッション鍵で復号した暗号化ライセンス情報を取得し、ライセンス情報処理部21に出力する。   Then, the MAC information is detected from the MAC information-added encrypted message received by the communication unit 33 using the MAC key, and the encrypted message is separated (extracted) from the MAC information-added encrypted message. Then, the encrypted license information obtained by decrypting the encrypted message with the session key is acquired and output to the license information processing unit 21.

なお、セッション鍵は、ここでは(第二の実施の形態および第三の実施の形態)、送信側のライセンス情報送信装置1(1B)と通信ネットワークを介して接続される際(セッション確立時)に当該装置3(3B)とライセンス情報送信装置1(1B)とで、各々生成した乱数を交換し、この交換した乱数と秘密情報とを合わせたもののハッシュ値をとり、このハッシュ値の数バイトのデータである。   Here, the session key is here (second embodiment and third embodiment) when connected to the license information transmitting apparatus 1 (1B) on the transmission side via the communication network (when the session is established). The device 3 (3B) and the license information transmitting device 1 (1B) exchange generated random numbers, take a hash value of the combined random number and secret information, and take several bytes of the hash value It is data of.

MAC鍵は、ここでは(第二の実施の形態および第三の実施の形態)、送信側のライセンス情報送信装置1(1B)と通信ネットワークを介して接続される際(セッション確立時)に当該装置3(3B)とライセンス情報送信装置1(1B)とで、各々生成した乱数を交換し、この交換した乱数と秘密情報と当該装置3(3B)に備えられるセキュリティモジュール35のID(製造番号等、予め設定された識別情報)とを合わせたもののハッシュ値をとり、このハッシュ値の数バイトのデータである。   In this case (second embodiment and third embodiment), the MAC key is associated with the license information transmitting apparatus 1 (1B) on the transmission side via a communication network (when a session is established). The generated random numbers are exchanged between the device 3 (3B) and the license information transmitting device 1 (1B), and the exchanged random number, the secret information, and the ID (manufacturing number) of the security module 35 provided in the device 3 (3B). The hash value of a combination of the identification information set in advance and the like is taken, and data of several bytes of the hash value is obtained.

また、通信部33と、メッセージ解析部37とが送信側のライセンス情報送信装置1(1B)の機器認証部27と同様の役割を果たしている。   In addition, the communication unit 33 and the message analysis unit 37 play the same role as the device authentication unit 27 of the license information transmission device 1 (1B) on the transmission side.

この第二の実施の形態で説明したライセンス情報受信装置3(3B)によれば、通信部33によって、通信ネットワークを介して、ライセンス情報送信装置1(1B)から送信されたMAC情報付加暗号化メッセージが受信され、メッセージ解析部37によって、ライセンス情報送信装置1(1B)と一対一に保持される秘密情報に基づいて、セッション鍵およびMAC鍵が生成されると共に、セッション鍵とMAC鍵が用いられて、MAC情報付加暗号化メッセージから暗号化メッセージが検出され、この検出された暗号化メッセージがセッション鍵で復号された暗号化ライセンス情報が取得される。   According to the license information receiving device 3 (3B) described in the second embodiment, the MAC information additional encryption transmitted from the license information transmitting device 1 (1B) by the communication unit 33 via the communication network. When the message is received, the message analysis unit 37 generates a session key and a MAC key based on the secret information held one-on-one with the license information transmitting apparatus 1 (1B), and uses the session key and the MAC key. Then, an encrypted message is detected from the MAC information-added encrypted message, and encrypted license information obtained by decrypting the detected encrypted message with the session key is acquired.

そして、ライセンス情報処理部21によって、暗号化ライセンス情報が秘密情報(例えば、マスター鍵Km等)で復号され、この復号されたライセンス情報に含まれている復号鍵が出力され、復号部19によって、受信された暗号化コンテンツがライセンス情報処理部21で出力された復号鍵で復号され、この復号されたコンテンツが出力される。このため、送信側のライセンス情報送信装置1(1B)と一対一に保持されている秘密情報を用いて、通信ネットワークを介して受信された暗号化ライセンス情報を復号しているので、生産コストおよび運用コストを増加させることなく、ライセンス情報を安全に受信することができる。   Then, the license information processing unit 21 decrypts the encrypted license information with the secret information (for example, the master key Km), and outputs the decryption key included in the decrypted license information. The received encrypted content is decrypted with the decryption key output from the license information processing unit 21, and the decrypted content is output. For this reason, since the encrypted license information received via the communication network is decrypted using the secret information held one-to-one with the license information transmitting apparatus 1 (1B) on the transmission side, the production cost and The license information can be received safely without increasing the operating cost.

(ライセンス情報送受信システムの構成 第三の実施の形態)
次に、図3に、第三の実施の形態であるライセンス情報送受信システムのブロック図を示す。この図3に示すように、ライセンス情報送受信システムCは、ライセンス情報送信装置1(1C)と、ライセンス情報受信装置3(3C)と、このライセンス情報受信装置3(3C)で復号されたコンテンツを表示する液晶ディスプレイ、CRT等からなる表示装置2とを備えている。
(Configuration of License Information Transmission / Reception System Third Embodiment)
Next, FIG. 3 shows a block diagram of a license information transmission / reception system according to the third embodiment. As shown in FIG. 3, the license information transmission / reception system C includes a license information transmission apparatus 1 (1C), a license information reception apparatus 3 (3C), and contents decrypted by the license information reception apparatus 3 (3C). And a display device 2 including a liquid crystal display, a CRT, and the like.

このライセンス情報送受信システムCは、放送によって、コンテンツ(暗号化コンテンツ)およびライセンス情報(暗号化ライセンス情報)を配信すると共に、通信ネットワークを介して、ライセンス情報(暗号化ライセンス情報)を送信する場合の態様である。   The license information transmission / reception system C distributes content (encrypted content) and license information (encrypted license information) by broadcasting, and transmits license information (encrypted license information) via a communication network. It is an aspect.

[ライセンス情報送信装置の構成 第三の実施の形態]
ライセンス情報送信装置1(1C)は、ライセンス情報生成部5と、暗号化部7(コンテンツ暗号化手段)と、ECM/EMM生成部9と、多重化部11と、秘密情報保持部13と、機器認証部27とを備えている。なお、このライセンス情報送信装置1(1C)の構成の中で、図1に示したライセンス情報送信装置1(1A)の構成において説明したものおよび図2に示したライセンス情報送信装置1(1B)の構成において説明したものは、同一の符号を付して、その説明は省略する。
[Configuration of License Information Transmitting Apparatus Third Embodiment]
The license information transmitting apparatus 1 (1C) includes a license information generation unit 5, an encryption unit 7 (content encryption unit), an ECM / EMM generation unit 9, a multiplexing unit 11, a secret information holding unit 13, And a device authentication unit 27. Among the configurations of the license information transmitting apparatus 1 (1C), those described in the configuration of the license information transmitting apparatus 1 (1A) shown in FIG. 1 and the license information transmitting apparatus 1 (1B) shown in FIG. The components described in the configuration are denoted by the same reference numerals, and the description thereof is omitted.

なお、このライセンス情報送信装置1(1C)のECM/EMM生成部9は、ライセンス情報を秘密情報で暗号化した暗号化ライセンス情報を多重化部11に対しては、ECMまたはEMMとして出力すると共に、メッセージ生成部29に対しては、EMMとして出力するものである。   The ECM / EMM generating unit 9 of the license information transmitting apparatus 1 (1C) outputs the encrypted license information obtained by encrypting the license information with the secret information to the multiplexing unit 11 as ECM or EMM. The message generator 29 outputs the message as an EMM.

この第二の実施の形態で説明したライセンス情報送信装置1(1C)によれば、ライセンス情報生成部5によって、ライセンス情報と、コンテンツを暗号化する暗号鍵とが生成される。続いて、暗号化部7によって、ライセンス情報生成部5で生成された暗号鍵でコンテンツが暗号化された暗号化コンテンツとされ、ECM/EMM生成部9によって、受信側のライセンス情報受信装置3(3C)と一対一に保持される秘密情報で暗号化された暗号化ライセンス情報とされ、ECMまたはEMMとして多重化部11に出力される共に、EMMとしてメッセージ生成部29に出力される。   According to the license information transmitting apparatus 1 (1C) described in the second embodiment, the license information generating unit 5 generates license information and an encryption key for encrypting content. Subsequently, the content is encrypted by the encryption unit 7 using the encryption key generated by the license information generation unit 5, and the ECM / EMM generation unit 9 receives the license information reception device 3 ( 3C) and encrypted license information encrypted with secret information held one-on-one, and is output to the multiplexing unit 11 as an ECM or EMM and also output to the message generation unit 29 as an EMM.

そして、メッセージ生成部29によって、秘密情報に基づいて、セッション鍵およびMAC鍵が生成されると共に、ECM/EMM生成部9で暗号化された暗号化ライセンス情報と、生成されたMAC鍵とを用いて、MAC情報を生成し、このMAC情報を暗号化ライセンス情報の最後に付加して、この付加したもの全体をセッション鍵で暗号化されたMAC情報付加暗号化メッセージが生成され、この生成されたMAC情報付加暗号化メッセージが通信部31によって、通信ネットワークを介して送信される。   The message generation unit 29 generates a session key and a MAC key based on the secret information, and uses the encrypted license information encrypted by the ECM / EMM generation unit 9 and the generated MAC key. MAC information is generated, the MAC information is added to the end of the encrypted license information, and the added information is encrypted with the session key to generate a MAC information addition encryption message. The MAC information-added encrypted message is transmitted by the communication unit 31 via the communication network.

また、多重化部11によって、暗号化コンテンツと暗号化ライセンス情報とが多重化され、この多重化された多重化コンテンツが出力される。このため、受信側のライセンス情報受信装置3(3C)と一対一に保持されている秘密情報を用いて、ライセンス情報を暗号化しており、放送と、通信ネットワークを介して送信しているので、生産コストおよび運用コストを増加させることなく、ライセンス情報を安全に送信することができる。   Also, the multiplexing unit 11 multiplexes the encrypted content and the encrypted license information, and outputs this multiplexed content. For this reason, the license information is encrypted using the secret information held one-to-one with the license information receiving device 3 (3C) on the receiving side, and is transmitted via the broadcast and the communication network. License information can be transmitted safely without increasing production costs and operational costs.

[ライセンス情報受信装置の構成 第三の実施の形態]
ライセンス情報受信装置3(3C)は、受信分離部15と、復号部19(復号手段)と、通信部33(通信手段)と、セキュリティモジュール35と、を備えている。なお、このライセンス情報受信装置3(3C)の構成の中で、図1に示したライセンス情報受信装置3(3A)の構成において説明したものおよび図2に示したライセンス情報受信装置3(3B)の構成において説明したものは、同一の符号を付して、その説明は省略する。
[Configuration of License Information Receiving Device Third Embodiment]
The license information receiving apparatus 3 (3C) includes a reception separation unit 15, a decryption unit 19 (decryption unit), a communication unit 33 (communication unit), and a security module 35. Among the configurations of the license information receiving device 3 (3C), those described in the configuration of the license information receiving device 3 (3A) shown in FIG. 1 and the license information receiving device 3 (3B) shown in FIG. The components described in the configuration are denoted by the same reference numerals, and the description thereof is omitted.

なお、このライセンス情報受信装置3(3C)のライセンス情報処理部21は、受信分離部15で分離された暗号化ライセンス情報(ECMまたはEMM)と、メッセージ解析部37から出力された暗号化ライセンス情報(EMM)との何れか一方を復号し、復号したライセンス情報に含まれている復号鍵を復号部19に出力するものである。   The license information processing unit 21 of the license information receiving device 3 (3C) includes the encrypted license information (ECM or EMM) separated by the reception separating unit 15 and the encrypted license information output from the message analyzing unit 37. (EMM) is decrypted, and the decryption key included in the decrypted license information is output to the decryption unit 19.

この第三の実施の形態で説明したライセンス情報受信装置3(3C)によれば、通信部33によって、送信側のライセンス情報送信装置1(1C)から送信されたMAC情報付加暗号化メッセージが、通信ネットワークを介して受信され、メッセージ解析部37によって、ライセンス情報送信装置1(1C)と一対一に保持される秘密情報に基づいて、セッション鍵およびMAC鍵が生成されると共に、MAC鍵を用いて通信部33で受信されたMAC情報付加暗号化メッセージから暗号化メッセージが検出され、この検出された暗号化メッセージがセッション鍵で復号された暗号化ライセンス情報が取得される。   According to the license information receiving device 3 (3C) described in the third embodiment, the MAC information-added encrypted message transmitted from the transmission-side license information transmitting device 1 (1C) by the communication unit 33 is: A session key and a MAC key are generated by the message analysis unit 37 based on the secret information received in a one-to-one relationship with the license information transmitting apparatus 1 (1C) by using the MAC key. Then, an encrypted message is detected from the MAC information-added encrypted message received by the communication unit 33, and encrypted license information obtained by decrypting the detected encrypted message with the session key is acquired.

また、受信分離部15によって、送信側のライセンス情報送信装置1(1C)から送信された多重化コンテンツが受信され、この多重化コンテンツが暗号化ライセンス情報と暗号化コンテンツとに分離される。そして、ライセンス情報処理部21によって、受信分離部15で分離された暗号化ライセンス情報と、メッセージ解析手段で取得された暗号化ライセンス情報との何れか一方が、秘密情報(例えば、マスター鍵Km等)で復号され、この復号された何れかのライセンス情報に含まれている復号鍵が出力される。その後、復号部19によって、ライセンス情報処理部21で出力された復号鍵で暗号化コンテンツが復号されたコンテンツが出力される。このため、送信側のライセンス情報送信装置1(1C)と一対一に保持されている秘密情報を用いて、放送と、通信ネットワークを介して取得された暗号化ライセンス情報を復号しているので、生産コストおよび運用コストを増加させることなく、ライセンス情報を安全に受信することができる。   Further, the reception separating unit 15 receives the multiplexed content transmitted from the license information transmitting apparatus 1 (1C) on the transmission side, and the multiplexed content is separated into the encrypted license information and the encrypted content. Then, any one of the encrypted license information separated by the license separation unit 15 by the license information processing unit 21 and the encrypted license information acquired by the message analysis unit is stored as secret information (for example, a master key Km or the like). And the decryption key included in any of the decrypted license information is output. Thereafter, the decryption unit 19 outputs the content obtained by decrypting the encrypted content with the decryption key output from the license information processing unit 21. For this reason, the encrypted license information obtained via the broadcast and communication network is decrypted using the secret information held one-on-one with the license information transmitting device 1 (1C) on the transmission side. The license information can be received safely without increasing production costs and operation costs.

(ライセンス情報送受信システムの全体動作 第一の実施の形態)
次に、図4に示すシーケンスチャートを参照して、ライセンス情報送受信システムAの全体動作(ライセンス情報送信装置1(1A)の動作と、ライセンス情報受信装置3(3A)の動作とを含む)を説明する(適宜、図1参照)。
(Overall Operation of License Information Transmission / Reception System First Embodiment)
Next, referring to the sequence chart shown in FIG. 4, the overall operation of license information transmission / reception system A (including the operation of license information transmission device 1 (1A) and the operation of license information reception device 3 (3A)). This will be described (see FIG. 1 as appropriate).

まず、ライセンス情報送信装置1(1A)のライセンス情報生成部5でライセンス情報および暗号鍵が生成される(A1)。続いて、暗号化部7で入力されたコンテンツがライセンス情報生成部5で生成された暗号鍵で暗号化され、暗号化コンテンツとされる(A2)。また、ECM/EMM生成部9でライセンス情報生成部5で生成されたライセンス情報が秘密情報保持部13に保持されている秘密情報で暗号化され、暗号化ライセンス情報とされる(A3)。   First, the license information generation unit 5 of the license information transmitting apparatus 1 (1A) generates license information and an encryption key (A1). Subsequently, the content input by the encryption unit 7 is encrypted with the encryption key generated by the license information generation unit 5 to obtain encrypted content (A2). In addition, the license information generated by the license information generation unit 5 in the ECM / EMM generation unit 9 is encrypted with the secret information held in the secret information holding unit 13 to obtain encrypted license information (A3).

そして、多重化部11で、暗号化部7にて暗号化された暗号化コンテンツと、ECM/EMM生成部9にて暗号化された暗号化ライセンス情報とが多重化され、多重化コンテンツとして出力(放送)される。   The multiplexing unit 11 multiplexes the encrypted content encrypted by the encryption unit 7 and the encrypted license information encrypted by the ECM / EMM generation unit 9 and outputs the multiplexed content. (Broadcast).

すると、ライセンス情報受信装置3(3A)では、受信分離部15で多重化コンテンツが受信され、この多重化コンテンツが暗号化コンテンツと、暗号化ライセンス情報とに分離され、暗号化コンテンツが復号部19に出力され、暗号化ライセンス情報がセキュリティモジュール17のライセンス情報処理部21に出力される(B1)。   Then, in the license information receiving device 3 (3A), the multiplexed content is received by the reception separating unit 15, the multiplexed content is separated into the encrypted content and the encrypted license information, and the encrypted content is decrypted by the decrypting unit 19. The encrypted license information is output to the license information processing unit 21 of the security module 17 (B1).

そして、セキュリティモジュール17では、ライセンス情報処理部21で暗号化ライセンス情報が秘密情報保持部23で保持されている秘密情報で復号され、ライセンス情報が取得され、このライセンス情報に含まれている復号鍵が復号部19に出力される(C1)。   In the security module 17, the license information processing unit 21 decrypts the encrypted license information with the secret information held in the secret information holding unit 23, obtains the license information, and the decryption key included in the license information Is output to the decoding unit 19 (C1).

その後、ライセンス情報受信装置3(3A)では、復号部19で、ライセンス情報処理部21で出力された復号鍵で、暗号化コンテンツが復号されてコンテンツとして、外部の表示装置2に出力される(B2)。   Thereafter, in the license information receiving device 3 (3A), the decryption unit 19 decrypts the encrypted content with the decryption key output from the license information processing unit 21, and outputs the decrypted content as content to the external display device 2 ( B2).

このライセンス情報送受信システムAの動作で説明したように、送信側のライセンス情報送信装置1(1A)と受信側のライセンス情報受信装置3(3A)とで、一対一に保持されている秘密情報でライセンス情報を暗号化し、復号しており、この秘密情報がコンテンツを暗号化、復号する放送用のものと併用されているので、このライセンス情報の運用コストを増加させることなく、安全に扱うことができる。   As described in the operation of the license information transmission / reception system A, the secret information held in one-to-one correspondence between the license information transmission device 1 (1A) on the transmission side and the license information reception device 3 (3A) on the reception side. License information is encrypted and decrypted, and this secret information is used together with broadcast content that encrypts and decrypts content, so it can be handled safely without increasing the operating cost of this license information. it can.

(ライセンス情報送受信システムの全体動作 第二の実施の形態)
次に、図5に示すシーケンスチャートを参照して、ライセンス情報送受信システムBの全体動作(ライセンス情報送信装置1(1B)の動作と、ライセンス情報受信装置3(3B)の動作とを含む)を説明する(適宜、図2参照)。
(Overall Operation of License Information Transmission / Reception System Second Embodiment)
Next, referring to the sequence chart shown in FIG. 5, the overall operation of the license information transmission / reception system B (including the operation of the license information transmission device 1 (1B) and the operation of the license information reception device 3 (3B)). This will be described (see FIG. 2 as appropriate).

まず、ライセンス情報送信装置1(1B)のライセンス情報生成部5でライセンス情報および暗号鍵が生成される(A11)。続いて、暗号化部7で入力されたコンテンツがライセンス情報生成部5で生成された暗号鍵によって暗号化され、暗号化コンテンツとされ、出力(放送)される(A12)。また、EMM生成部25で、ライセンス情報生成部5にて生成されたライセンス情報が秘密情報保持部13に保持されている秘密情報で暗号化され、暗号化ライセンス情報とされる(A13)。   First, the license information generation unit 5 of the license information transmitting apparatus 1 (1B) generates license information and an encryption key (A11). Subsequently, the content input by the encryption unit 7 is encrypted with the encryption key generated by the license information generation unit 5 to be an encrypted content, which is output (broadcast) (A12). Further, the EMM generation unit 25 encrypts the license information generated by the license information generation unit 5 with the secret information held in the secret information holding unit 13 to obtain encrypted license information (A13).

このライセンス情報送信装置1(1B)から出力(放送)された暗号化コンテンツがライセンス情報受信装置3(3B)の復号部19で受信されると、図示を省略したライセンス情報受信装置3(3B)の制御部からライセンス情報の生成要求データが通信部33を介して、セキュリティモジュール35のメッセージ解析部37に出力される(B11)。すると、セキュリティモジュール35のメッセージ解析部37では、カードID(セキュリティモジュールのID)の指示と、乱数R1とが生成され、通信部33に出力される(C11)。   When the encrypted content output (broadcast) from the license information transmission device 1 (1B) is received by the decryption unit 19 of the license information reception device 3 (3B), the license information reception device 3 (3B) (not shown) is omitted. The license information generation request data is output from the control unit to the message analysis unit 37 of the security module 35 via the communication unit 33 (B11). Then, the message analysis unit 37 of the security module 35 generates a card ID (security module ID) instruction and a random number R1 and outputs them to the communication unit 33 (C11).

そして、ライセンス情報受信装置3(3B)の通信部33から認証要求データ(カードIDおよび乱数R1を含む)がライセンス情報送信装置1(1B)に送信される(B12)。すると、ライセンス情報送信装置1(1B)の機器認証部27の通信部31で認証要求データが受信され、メッセージ生成部29で、乱数R2が生成され、この生成された乱数R2と、受信した乱数R1と、秘密情報とに基づいて、セッション鍵が生成され、さらに、乱数R1、乱数R2、秘密情報およびカードIDに基づいて、MAC鍵が生成され、認証応答データ(乱数R2を含む)が機器認証部27の通信部31から送信される(A14)。   Then, authentication request data (including the card ID and the random number R1) is transmitted from the communication unit 33 of the license information receiving apparatus 3 (3B) to the license information transmitting apparatus 1 (1B) (B12). Then, the authentication request data is received by the communication unit 31 of the device authentication unit 27 of the license information transmitting apparatus 1 (1B), the random number R2 is generated by the message generation unit 29, and the generated random number R2 and the received random number A session key is generated based on R1 and the secret information. Further, a MAC key is generated based on the random number R1, the random number R2, the secret information, and the card ID, and authentication response data (including the random number R2) is stored in the device. It is transmitted from the communication unit 31 of the authentication unit 27 (A14).

すると、ライセンス情報受信装置3(3B)の通信部33で認証応答データが受信され(B13)、セキュリティモジュール35のメッセージ解析部37に出力される。そして、セキュリティモジュール35のメッセージ解析部37で、乱数R1、乱数R2および秘密情報に基づいて、セッション鍵が生成され、乱数R1、乱数R2、秘密情報およびカードIDに基づいて、MAC鍵が生成され、通信部33に出力される(C12)。   Then, the authentication response data is received by the communication unit 33 of the license information receiving apparatus 3 (3B) (B13) and output to the message analysis unit 37 of the security module 35. Then, the message analysis unit 37 of the security module 35 generates a session key based on the random number R1, the random number R2, and the secret information, and generates a MAC key based on the random number R1, the random number R2, the secret information, and the card ID. Is output to the communication unit 33 (C12).

そして、通信部33からコンテンツIDがセキュリティモジュール35に指示され(B14)、このコンテンツIDとMAC鍵に基づいて、MAC情報が生成され、MAC情報付加暗号化メッセージが生成される(C13)。   Then, a content ID is instructed from the communication unit 33 to the security module 35 (B14), MAC information is generated based on the content ID and the MAC key, and a MAC information-added encrypted message is generated (C13).

そして、ライセンス情報受信装置3(3B)の通信部33からライセンス情報の送信要求データが、通信ネットワークを介して、ライセンス情報送信装置1(1B)の機器認証部27の通信部31に送信される(B15)。そして、ライセンス情報送信装置1(1B)は、暗号化ライセンス情報を含むEMM(MAC情報付加暗号化メッセージ)を生成し送信する(A15)。   Then, license information transmission request data is transmitted from the communication unit 33 of the license information receiving device 3 (3B) to the communication unit 31 of the device authentication unit 27 of the license information transmitting device 1 (1B) via the communication network. (B15). Then, the license information transmitting apparatus 1 (1B) generates and transmits an EMM (MAC information addition encrypted message) including the encrypted license information (A15).

すると、ライセンス情報受信装置3(3B)の通信部33でMAC情報付加暗号化メッセージが受信され(B16)、セキュリティモジュール35のメッセージ解析部37に出力される。このメッセージ解析部37で、MAC情報付加暗号化メッセージが秘密情報で復号され、MAC情報が検証され、暗号化ライセンス情報が取得される。そして、この暗号化ライセンス情報が秘密情報で復号され、復号鍵が復号部19に出力される(C15)。   Then, the MAC information-added encrypted message is received by the communication unit 33 of the license information receiving device 3 (3B) (B16) and output to the message analysis unit 37 of the security module 35. The message analysis unit 37 decrypts the MAC information-added encrypted message with the secret information, verifies the MAC information, and acquires the encrypted license information. The encrypted license information is decrypted with the secret information, and the decryption key is output to the decryption unit 19 (C15).

その後、ライセンス情報受信装置3(3B)の復号部19で、暗号化コンテンツが復号鍵で復号されてコンテンツとなり、このコンテンツが外部の表示装置2に出力される(B17)。   Thereafter, the decryption unit 19 of the license information receiving device 3 (3B) decrypts the encrypted content with the decryption key to become the content, and the content is output to the external display device 2 (B17).

このライセンス情報送受信システムBの動作で説明したように、送信側のライセンス情報送信装置1(1B)と受信側のライセンス情報受信装置3(3B)とで、一対一に保持されている秘密情報でライセンス情報を暗号化し、復号しており、しかも、ライセンス情報のみを、通信ネットワークを介して送信している。この秘密情報がコンテンツを暗号化、復号する放送用のものと併用されているので、このライセンス情報の運用コストを増加させることなく、安全に扱うことができる。   As described in the operation of the license information transmission / reception system B, the secret information held in one-to-one correspondence between the transmission-side license information transmission device 1 (1B) and the reception-side license information reception device 3 (3B). The license information is encrypted and decrypted, and only the license information is transmitted via the communication network. Since this secret information is used together with the broadcast for encrypting and decrypting the content, it can be handled safely without increasing the operating cost of this license information.

(ライセンス情報送受信システムの全体動作 第三の実施の形態)
次に、図6に示すシーケンスチャートを参照して、ライセンス情報送受信システムCの全体動作(ライセンス情報送信装置1(1C)の動作と、ライセンス情報受信装置3(3C)の動作とを含む)を説明する(適宜、図3参照)。
(Overall Operation of License Information Transmission / Reception System Third Embodiment)
Next, referring to the sequence chart shown in FIG. 6, the overall operation of the license information transmission / reception system C (including the operation of the license information transmission device 1 (1C) and the operation of the license information reception device 3 (3C)). This will be described (see FIG. 3 as appropriate).

まず、ライセンス情報送信装置1(1C)のライセンス情報生成部5でライセンス情報および暗号鍵が生成される(A21)。続いて、暗号化部7で入力されたコンテンツがライセンス情報生成部5で生成された暗号鍵によって暗号化され、暗号化コンテンツとされる(A22)。また、ECM/EMM生成部9で、ライセンス情報生成部5にて生成されたライセンス情報が秘密情報保持部13に保持されている秘密情報で暗号化され、暗号化ライセンス情報とされる(A23)。   First, the license information generating unit 5 of the license information transmitting apparatus 1 (1C) generates license information and an encryption key (A21). Subsequently, the content input by the encryption unit 7 is encrypted with the encryption key generated by the license information generation unit 5 to obtain encrypted content (A22). Also, the ECM / EMM generation unit 9 encrypts the license information generated by the license information generation unit 5 with the secret information held in the secret information holding unit 13 to obtain encrypted license information (A23). .

そして、多重化部11で、暗号化部7にて暗号化された暗号化コンテンツと、ECM/EMM生成部9にて暗号化された暗号化ライセンス情報とが多重化され、多重化コンテンツとして出力(放送)される(A24)。   The multiplexing unit 11 multiplexes the encrypted content encrypted by the encryption unit 7 and the encrypted license information encrypted by the ECM / EMM generation unit 9 and outputs the multiplexed content. (Broadcast) (A24).

すると、ライセンス情報受信装置3(3C)では、受信分離部15で多重化コンテンツが受信され、この多重化コンテンツが暗号化コンテンツと、暗号化ライセンス情報とに分離され、暗号化コンテンツが復号部19に出力され、暗号化ライセンス情報がセキュリティモジュール35のライセンス情報処理部21に出力される(B21)。   Then, in the license information receiving device 3 (3C), the multiplexed content is received by the reception separating unit 15, the multiplexed content is separated into the encrypted content and the encrypted license information, and the encrypted content is decrypted by the decrypting unit 19. The encrypted license information is output to the license information processing unit 21 of the security module 35 (B21).

このライセンス情報送信装置1(1C)から出力(放送)された暗号化コンテンツがライセンス情報受信装置3(3C)の復号部19で受信されると、図示を省略したライセンス情報受信装置3(3C)の制御部からライセンス情報の生成要求データが通信部33を介して、セキュリティモジュール35のメッセージ解析部37に出力される(B22)。すると、セキュリティモジュール35のメッセージ解析部37では、カードID(セキュリティモジュールのID)の指示と、乱数R1とが生成され、通信部33に出力される(C21)。   When the encrypted content output (broadcast) from the license information transmission apparatus 1 (1C) is received by the decryption unit 19 of the license information reception apparatus 3 (3C), the license information reception apparatus 3 (3C) (not shown) is omitted. The license information generation request data is output from the control unit to the message analysis unit 37 of the security module 35 via the communication unit 33 (B22). Then, the message analysis unit 37 of the security module 35 generates a card ID (security module ID) instruction and a random number R1 and outputs them to the communication unit 33 (C21).

そして、ライセンス情報受信装置3(3C)の通信部33から認証要求データ(カードIDおよび乱数R1を含む)がライセンス情報送信装置1(1C)に送信される(B23)。すると、ライセンス情報送信装置1(1C)の機器認証部27の通信部31で認証要求データが受信され、メッセージ生成部29で、乱数R2が生成され、この生成された乱数R2と、受信した乱数R1と、秘密情報とに基づいて、セッション鍵が生成され、さらに、乱数R1、乱数R2、秘密情報およびカードIDに基づいて、MAC鍵が生成され、認証応答データ(乱数R2を含む)が機器認証部27の通信部31から送信される(A25)。   Then, authentication request data (including the card ID and the random number R1) is transmitted from the communication unit 33 of the license information receiving apparatus 3 (3C) to the license information transmitting apparatus 1 (1C) (B23). Then, the authentication request data is received by the communication unit 31 of the device authentication unit 27 of the license information transmitting apparatus 1 (1C), the random number R2 is generated by the message generation unit 29, and the generated random number R2 and the received random number A session key is generated based on R1 and the secret information. Further, a MAC key is generated based on the random number R1, the random number R2, the secret information, and the card ID, and authentication response data (including the random number R2) is stored in the device. It is transmitted from the communication unit 31 of the authentication unit 27 (A25).

すると、ライセンス情報受信装置3(3C)の通信部33で認証応答データが受信され(B24)、セキュリティモジュール35のメッセージ解析部37に出力される。そして、セキュリティモジュール35のメッセージ解析部37で、乱数R1、乱数R2および秘密情報に基づいて、セッション鍵が生成され、乱数R1、乱数R2、秘密情報およびカードIDに基づいて、MAC鍵が生成され、通信部33に出力される(C22)。   Then, the authentication response data is received by the communication unit 33 of the license information receiving apparatus 3 (3C) (B24) and output to the message analysis unit 37 of the security module 35. Then, the message analysis unit 37 of the security module 35 generates a session key based on the random number R1, the random number R2, and the secret information, and generates a MAC key based on the random number R1, the random number R2, the secret information, and the card ID. Is output to the communication unit 33 (C22).

そして、通信部33からコンテンツIDがセキュリティモジュール35に指示され(B25)、このコンテンツIDとMAC鍵に基づいて、MAC情報が生成され、MAC情報付加暗号化メッセージ(検証用)が生成される(C23)。なお、このMAC情報付加暗号化メッセージ(検証用)は、予め、当該セキュリティモジュール35の図示を省略した記憶部に記憶されているライセンス情報(個別の契約情報)に基づいて生成されるもので、送信側のライセンス情報送信装置1(1C)から送信されるMAC情報付加暗号化メッセージと比較するためのものである。そして、MAC情報付加暗号化メッセージ(検証用)が生成された後、生成完了信号が通信部33に出力される。   Then, the content ID is instructed from the communication unit 33 to the security module 35 (B25), MAC information is generated based on the content ID and the MAC key, and a MAC information-added encrypted message (for verification) is generated ( C23). The MAC information addition encryption message (for verification) is generated based on license information (individual contract information) stored in advance in a storage unit (not shown) of the security module 35. This is for comparison with the MAC information-added encrypted message transmitted from the license information transmitting apparatus 1 (1C) on the transmission side. Then, after the MAC information addition encrypted message (for verification) is generated, a generation completion signal is output to the communication unit 33.

そして、ライセンス情報受信装置3(3C)の通信部33からライセンス情報の送信要求データが、通信ネットワークを介して、ライセンス情報送信装置1(1C)の機器認証部27の通信部31に送信される(B26)。そして、ライセンス情報送信装置1(1C)は、暗号化ライセンス情報を含むEMM(MAC情報付加暗号化メッセージ)を生成し送信する(A26)。   Then, license information transmission request data is transmitted from the communication unit 33 of the license information receiving device 3 (3C) to the communication unit 31 of the device authentication unit 27 of the license information transmitting device 1 (1C) via the communication network. (B26). Then, the license information transmitting apparatus 1 (1C) generates and transmits an EMM (MAC information addition encrypted message) including the encrypted license information (A26).

すると、ライセンス情報受信装置3(3C)の通信部33でMAC情報付加暗号化メッセージが受信され(B27)、セキュリティモジュール35のメッセージ解析部37に出力される。このメッセージ解析部37で、MAC情報付加暗号化メッセージが秘密情報で復号され、MAC情報が検証され、暗号化ライセンス情報が取得される。そして、この暗号化ライセンス情報が秘密情報で復号され、復号鍵が復号部19に出力される(C25)。   Then, the MAC information-added encrypted message is received by the communication unit 33 of the license information receiving apparatus 3 (3C) (B27) and output to the message analysis unit 37 of the security module 35. The message analysis unit 37 decrypts the MAC information-added encrypted message with the secret information, verifies the MAC information, and acquires the encrypted license information. The encrypted license information is decrypted with the secret information, and the decryption key is output to the decryption unit 19 (C25).

その後、ライセンス情報受信装置3(3C)の復号部19で、暗号化コンテンツが復号鍵で復号されてコンテンツとなり、このコンテンツが外部の表示装置2に出力される(B28)。   Thereafter, the decryption unit 19 of the license information receiving device 3 (3C) decrypts the encrypted content with the decryption key to become the content, and the content is output to the external display device 2 (B28).

このライセンス情報送受信システムCの動作で説明したように、送信側のライセンス情報送信装置1(1C)と受信側のライセンス情報受信装置3(3C)とで、一対一に保持されている秘密情報でライセンス情報を暗号化し、復号しており、ライセンス情報を、放送と、通信ネットワークを介して送信している。この秘密情報がコンテンツを暗号化、復号する放送用のものと併用されているので、このライセンス情報の運用コストを増加させることなく、安全に扱うことができる。   As described in the operation of the license information transmission / reception system C, the secret information held in one-to-one correspondence between the license information transmission device 1 (1C) on the transmission side and the license information reception device 3 (3C) on the reception side. The license information is encrypted and decrypted, and the license information is transmitted via broadcasting and a communication network. Since this secret information is used together with the broadcast for encrypting and decrypting the content, it can be handled safely without increasing the operating cost of this license information.

(MAC情報付加暗号化メッセージの構造例について)
次に、図7を参照して、MAC情報付加暗号化メッセージの構造例について説明する。図7は、MAC情報付加暗号化メッセージの構造例を示したものである。この図7に示すように、MAC情報付加暗号化メッセージは、非暗号部と暗号化部とを備えている。
(Example of structure of MAC information-added encrypted message)
Next, with reference to FIG. 7, a structural example of the MAC information-added encrypted message will be described. FIG. 7 shows an example of the structure of the MAC information-added encrypted message. As shown in FIG. 7, the MAC information-added encrypted message includes a non-encrypted part and an encrypted part.

非暗号化部には、通信プロトコルの番号を示すプロトコル番号と、ライセンス情報送信装置1とライセンス情報受信装置3とが通信ネットワークを介して接続する際のセッションを識別する際のセッションIDとを備えている。   The non-encrypting unit includes a protocol number indicating a communication protocol number, and a session ID for identifying a session when the license information transmitting device 1 and the license information receiving device 3 are connected via the communication network. ing.

暗号化部は、暗号化ライセンス情報が含まれるメッセージと、MAC鍵から生成されるMAC情報(図7中、MAC)とを備えている。   The encryption unit includes a message including encryption license information and MAC information (MAC in FIG. 7) generated from the MAC key.

(EMMの構造例について)
次に、図8を参照して、EMMの構造例について説明する。図8は、EMMの構造例を示したものである。この図8に示すように、EMMセクションは、EMMのセクションを記述するEMMセクションヘッダと、ライセンス情報や契約情報が含まれており、秘密情報(マスター鍵Km)で暗号化されている複数のEMM本体と、当該EMMセクションの誤り訂正符号であるセクションCRCとから構成されている。
(EMM structure example)
Next, a structural example of the EMM will be described with reference to FIG. FIG. 8 shows an example of the structure of the EMM. As shown in FIG. 8, the EMM section includes an EMM section header describing an EMM section, license information and contract information, and a plurality of EMMs encrypted with secret information (master key Km). It is composed of a main body and a section CRC which is an error correction code of the EMM section.

また、EMM本体には、EMMを受信させたい(送信側からして)ライセンス情報受信装置3が保持しているカードID(セキュリティモジュールのID)やプロトコル番号等を入れるEMM固定部と、ライセンス情報や契約情報を入れるEMM可変部と、EMMセクションの改ざんを検出する改竄検出(改ざん検出)とから構成されている。   Also, the EMM main body receives an EMM (from the transmission side), an EMM fixing unit for entering a card ID (security module ID), a protocol number, etc. held by the license information receiving device 3, and license information And an EMM variable part for storing contract information, and falsification detection (falsification detection) for detecting falsification of the EMM section.

以上、三つの実施形態に基づいて本発明を説明したが、本発明はこれに限定されるものではない。
例えば、ライセンス情報送信装置1、ライセンス情報受信装置3の各構成の処理を、汎用的なコンピュータ言語で記述したライセンス情報送信プログラム、ライセンス情報受信プログラムとみなすことができ、各構成の処理を一つずつの工程ととらえたライセンス情報送信方法、ライセンス情報受信方法とみなすことができる。これらの場合、ライセンス情報送信装置1、ライセンス情報受信装置3と同様の効果を得ることができる。
As mentioned above, although this invention was demonstrated based on three embodiment, this invention is not limited to this.
For example, the processing of each configuration of the license information transmission device 1 and the license information reception device 3 can be regarded as a license information transmission program and a license information reception program described in a general-purpose computer language. It can be regarded as a license information transmission method and a license information reception method that are regarded as respective processes. In these cases, the same effects as those of the license information transmitting apparatus 1 and the license information receiving apparatus 3 can be obtained.

1 ライセンス情報送信装置
3 ライセンス情報受信装置
5 ライセンス情報生成部(ライセンス情報生成手段)
7 暗号化部(コンテンツ暗号化手段、コンテンツ暗号化送信手段)
9 ECM/EMM生成部(ライセンス情報暗号化手段)
11 多重化部(多重化出力手段)
13、23 秘密情報保持部
15 受信分離部(受信分離手段)
17、35 セキュリティモジュール
19 復号部(復号手段)
21 ライセンス情報処理部(ライセンス情報処理手段)
25 EMM生成部(ライセンス情報暗号化手段)
27 機器認証部
29 メッセージ生成部(メッセージ生成手段)
31、33 通信部(通信手段)
37 メッセージ解析部(メッセージ解析手段)
DESCRIPTION OF SYMBOLS 1 License information transmission apparatus 3 License information reception apparatus 5 License information generation part (license information generation means)
7 Encryption unit (content encryption means, content encryption transmission means)
9 ECM / EMM generator (license information encryption means)
11 Multiplexer (Multiplexing output means)
13, 23 Secret information holding unit 15 Reception separation unit (reception separation means)
17, 35 Security module 19 Decryption unit (decryption means)
21 License information processing section (license information processing means)
25 EMM generator (license information encryption means)
27 Device Authentication Unit 29 Message Generation Unit (Message Generation Unit)
31, 33 Communication unit (communication means)
37 Message analysis unit (message analysis means)

Claims (3)

コンテンツの利用を許可する期間を設定した利用条件情報、前記コンテンツを識別するコンテンツID、前記コンテンツを暗号化した暗号化コンテンツを復号する復号鍵を少なくとも含むライセンス情報と、前記コンテンツを暗号化する暗号鍵とを生成し、この暗号鍵で前記コンテンツを暗号化して暗号化コンテンツとし、さらに、前記ライセンス情報を受信側の機器と一対一に保持している秘密情報で暗号化して暗号化ライセンス情報とし、前記秘密情報および受信側の機器で生成された乱数に基づいてセッション鍵およびMAC鍵を生成し、前記ライセンス情報暗号化手段で暗号化した暗号化ライセンス情報を前記セッション鍵で暗号化した暗号化メッセージとし、前記MAC鍵を用いて生成したMAC情報を該暗号化メッセージに対し付加することでMAC情報付加暗号化メッセージとして生成して通信ネットワークを介して送信し、加えて、前記暗号化コンテンツと前記暗号化ライセンス情報とを多重化し、多重化コンテンツとして出力するライセンス情報送信装置から、前記MAC情報付加暗号化メッセージと前記多重化コンテンツとを受信し、この多重化コンテンツに多重化されている暗号化ライセンス情報と暗号化コンテンツとを分離して復号するライセンス情報受信装置であって、
前記MAC情報付加暗号化メッセージを、通信ネットワークを介して受信すると共に、前記乱数を発生させて通信ネットワークを介して前記ライセンス情報送信装置に送信する通信手段と、
前記ライセンス情報送信装置と一対一に保持している前記秘密情報および前記乱数に基づいてセッション鍵およびMAC鍵を生成すると共に、前記MAC鍵を用いて前記通信手段で受信した前記MAC情報付加暗号化メッセージから暗号化メッセージを検出し、この検出した暗号化メッセージを前記セッション鍵で復号し、暗号化ライセンス情報を取得するメッセージ解析手段と、
前記多重化コンテンツを受信し、前記暗号化ライセンス情報と前記暗号化コンテンツとに分離する受信分離手段と、
この受信分離手段で分離された暗号化ライセンス情報と、前記メッセージ解析手段で取得された暗号化ライセンス情報とを、前記秘密情報で復号し、この復号した何れかのライセンス情報に含まれている復号鍵を出力するライセンス情報処理手段と、
このライセンス情報処理手段で出力された復号鍵で前記暗号化コンテンツを復号する復号手段と、
を備えることを特徴とするライセンス情報受信装置。
Usage condition information in which a period for permitting the use of content is set, content ID for identifying the content, license information including at least a decryption key for decrypting the encrypted content, and encryption for encrypting the content A key, encrypting the content with the encryption key to obtain encrypted content, and further encrypting the license information with secret information held one-to-one with the receiving device to obtain encrypted license information. Encryption that generates a session key and a MAC key based on the secret information and a random number generated by the receiving device, and that encrypts the encrypted license information encrypted by the license information encryption unit with the session key Message and MAC information generated using the MAC key is sent to the encrypted message. To generate a MAC information-added encrypted message and transmit it via a communication network. In addition, the license information transmission device multiplexes the encrypted content and the encrypted license information and outputs the multiplexed content. A license information receiving device that receives the MAC information-added encrypted message and the multiplexed content, and separates and decrypts the encrypted license information multiplexed into the multiplexed content and the encrypted content. And
A communication means for receiving the MAC information-added encrypted message via a communication network and generating the random number and transmitting the random number to the license information transmitting device via the communication network;
The MAC information-added encryption received by the communication means using the MAC key while generating a session key and a MAC key based on the secret information and the random number held one-on-one with the license information transmitting device A message analysis means for detecting an encrypted message from the message, decrypting the detected encrypted message with the session key, and acquiring encrypted license information;
Receiving and separating means for receiving the multiplexed content and separating the encrypted license information and the encrypted content;
The encrypted license information separated by the receiving / separating means and the encrypted license information acquired by the message analyzing means are decrypted with the secret information, and the decrypted information included in any of the decrypted license information A license information processing means for outputting a key;
Decryption means for decrypting the encrypted content with the decryption key output by the license information processing means;
A license information receiving apparatus comprising:
コンテンツの利用を許可する期間を設定した利用条件情報、前記コンテンツを識別するコンテンツID、前記コンテンツを暗号化した暗号化コンテンツを復号する復号鍵を少なくとも含むライセンス情報と、前記コンテンツを暗号化する暗号鍵とを生成し、この暗号鍵で前記コンテンツを暗号化して暗号化コンテンツとし、さらに、前記ライセンス情報を受信側の機器と一対一に保持している秘密情報で暗号化して暗号化ライセンス情報とし、前記秘密情報および受信側の機器で生成された乱数に基づいてセッション鍵およびMAC鍵を生成し、前記ライセンス情報暗号化手段で暗号化した暗号化ライセンス情報を前記セッション鍵で暗号化した暗号化メッセージとし、前記MAC鍵を用いて生成したMAC情報を該暗号化メッセージに対し付加することでMAC情報付加暗号化メッセージとして生成して通信ネットワークを介して送信し、加えて、前記暗号化コンテンツと前記暗号化ライセンス情報とを多重化し、多重化コンテンツとして出力するライセンス情報送信装置から、前記MAC情報付加暗号化メッセージと前記多重化コンテンツとを受信し、この多重化コンテンツに多重化されている暗号化ライセンス情報と暗号化コンテンツとを分離して復号する装置を、
前記MAC情報付加暗号化メッセージを、通信ネットワークを介して受信すると共に、前記乱数を発生させて通信ネットワークを介して前記ライセンス情報送信装置に送信する通信手段、
前記ライセンス情報送信装置と一対一に保持している前記秘密情報および前記乱数に基づいてセッション鍵およびMAC鍵を生成すると共に、前記MAC鍵を用いて前記通信手段で受信した前記MAC情報付加暗号化メッセージから暗号化メッセージを検出し、この検出した暗号化メッセージを前記セッション鍵で復号し、暗号化ライセンス情報を取得するメッセージ解析手段、
前記多重化コンテンツを受信し、前記暗号化ライセンス情報と前記暗号化コンテンツとに分離する受信分離手段、
この受信分離手段で分離された暗号化ライセンス情報と、前記メッセージ解析手段で取得された暗号化ライセンス情報とを、前記秘密情報で復号し、この復号した何れかのライセンス情報に含まれている復号鍵を出力するライセンス情報処理手段、
このライセンス情報処理手段で出力された復号鍵で前記暗号化コンテンツを復号する復号手段、
として機能させることを特徴とするライセンス情報受信プログラム。
Usage condition information in which a period for permitting the use of content is set, content ID for identifying the content, license information including at least a decryption key for decrypting the encrypted content, and encryption for encrypting the content A key, encrypting the content with the encryption key to obtain encrypted content, and further encrypting the license information with secret information held one-to-one with the receiving device to obtain encrypted license information. Encryption that generates a session key and a MAC key based on the secret information and a random number generated by the receiving device, and that encrypts the encrypted license information encrypted by the license information encryption unit with the session key Message and MAC information generated using the MAC key is sent to the encrypted message. To generate a MAC information-added encrypted message and transmit it via a communication network. In addition, the license information transmission device multiplexes the encrypted content and the encrypted license information and outputs the multiplexed content. An apparatus for receiving the MAC information-added encrypted message and the multiplexed content, and separating and decrypting the encrypted license information and the encrypted content multiplexed in the multiplexed content,
A communication means for receiving the MAC information-added encrypted message via a communication network and generating the random number and transmitting the random number to the license information transmitting device via the communication network;
The MAC information-added encryption received by the communication means using the MAC key while generating a session key and a MAC key based on the secret information and the random number held one-on-one with the license information transmitting device A message analysis means for detecting an encrypted message from the message, decrypting the detected encrypted message with the session key, and acquiring encrypted license information;
Receiving and separating means for receiving the multiplexed content and separating it into the encrypted license information and the encrypted content;
The encrypted license information separated by the receiving / separating means and the encrypted license information acquired by the message analyzing means are decrypted with the secret information, and the decrypted information included in any of the decrypted license information License information processing means for outputting a key;
Decryption means for decrypting the encrypted content with the decryption key output by the license information processing means;
A license information receiving program that is made to function as:
コンテンツの利用を許可する期間を設定した利用条件情報、前記コンテンツを識別するコンテンツID、前記コンテンツを暗号化した暗号化コンテンツを復号する復号鍵を少なくとも含むライセンス情報と、前記コンテンツを暗号化する暗号鍵とを生成し、この暗号鍵で前記コンテンツを暗号化して暗号化コンテンツとし、さらに、前記ライセンス情報を受信側の機器と一対一に保持している秘密情報で暗号化して暗号化ライセンス情報とし、前記秘密情報および受信側の機器で生成された乱数に基づいてセッション鍵およびMAC鍵を生成し、前記ライセンス情報暗号化手段で暗号化した暗号化ライセンス情報を前記セッション鍵で暗号化した暗号化メッセージとし、前記MAC鍵を用いて生成したMAC情報を該暗号化メッセージに対し付加することでMAC情報付加暗号化メッセージとして生成して通信ネットワークを介して送信し、加えて、前記暗号化コンテンツと前記暗号化ライセンス情報とを多重化し、多重化コンテンツとして出力するライセンス情報送信装置から、前記MAC情報付加暗号化メッセージと前記多重化コンテンツとを受信し、この多重化コンテンツに多重化されている暗号化ライセンス情報と暗号化コンテンツとを分離して復号するライセンス情報受信方法であって、
通信手段が、前記MAC情報付加暗号化メッセージを、通信ネットワークを介して受信する通信ステップと、
通信手段が、前記乱数を発生させ、通信ネットワークを介して前記ライセンス情報送信装置に送信する乱数送信ステップと、
メッセージ解析手段が、前記ライセンス情報送信装置と一対一に保持している前記秘密情報と前記乱数とに基づいてセッション鍵およびMAC鍵を生成すると共に、前記MAC鍵を用いて前記通信手段で受信した前記MAC情報付加暗号化メッセージから暗号化メッセージを検出し、この検出した暗号化メッセージを前記セッション鍵で復号し、暗号化ライセンス情報を取得するメッセージ解析ステップと、
受信分離手段が、前記多重化コンテンツを受信し、前記暗号化ライセンス情報と前記暗号化コンテンツとに分離する受信分離ステップと、
ライセンス情報処理手段が、前記受信分離手段で分離された暗号化ライセンス情報と、前記メッセージ解析手段で取得された暗号化ライセンス情報とを、前記秘密情報で復号し、この復号した何れかのライセンス情報に含まれている復号鍵を出力するライセンス情報処理ステップと、
復号手段が、前記ライセンス情報処理手段で出力された復号鍵で前記暗号化コンテンツを復号する復号ステップと、
を含むことを特徴とするライセンス情報受信方法。
Usage condition information in which a period for permitting the use of content is set, content ID for identifying the content, license information including at least a decryption key for decrypting the encrypted content, and encryption for encrypting the content A key, encrypting the content with the encryption key to obtain encrypted content, and further encrypting the license information with secret information held one-to-one with the receiving device to obtain encrypted license information. Encryption that generates a session key and a MAC key based on the secret information and a random number generated by the receiving device, and that encrypts the encrypted license information encrypted by the license information encryption unit with the session key Message and MAC information generated using the MAC key is sent to the encrypted message. To generate a MAC information-added encrypted message and transmit it via a communication network. In addition, the license information transmission device multiplexes the encrypted content and the encrypted license information and outputs the multiplexed content. Receiving the MAC information-added encrypted message and the multiplexed content, and separating and decrypting the encrypted license information and the encrypted content multiplexed in the multiplexed content. And
A communication step in which communication means receives the MAC information-added encrypted message via a communication network;
A random number transmitting step in which communication means generates the random number and transmits the random number to the license information transmitting device via a communication network;
The message analysis unit generates a session key and a MAC key based on the secret information and the random number held one-on-one with the license information transmission device, and received by the communication unit using the MAC key A message analysis step of detecting an encrypted message from the MAC information-added encrypted message, decrypting the detected encrypted message with the session key, and acquiring encrypted license information;
A receiving and separating step for receiving and demultiplexing the multiplexed content into the encrypted license information and the encrypted content;
The license information processing means decrypts the encrypted license information separated by the reception separating means and the encrypted license information obtained by the message analyzing means with the secret information, and any of the decrypted license information A license information processing step for outputting a decryption key included in
A decrypting step for decrypting the encrypted content with the decryption key output by the license information processing unit;
Including a license information receiving method.
JP2012151481A 2012-07-05 2012-07-05 License information receiving apparatus, license information receiving program, and license information receiving method Expired - Fee Related JP5391315B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012151481A JP5391315B2 (en) 2012-07-05 2012-07-05 License information receiving apparatus, license information receiving program, and license information receiving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012151481A JP5391315B2 (en) 2012-07-05 2012-07-05 License information receiving apparatus, license information receiving program, and license information receiving method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009239988A Division JP5132651B2 (en) 2009-10-19 2009-10-19 License information transmitting apparatus and license information transmitting program

Publications (2)

Publication Number Publication Date
JP2012186868A JP2012186868A (en) 2012-09-27
JP5391315B2 true JP5391315B2 (en) 2014-01-15

Family

ID=47016444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012151481A Expired - Fee Related JP5391315B2 (en) 2012-07-05 2012-07-05 License information receiving apparatus, license information receiving program, and license information receiving method

Country Status (1)

Country Link
JP (1) JP5391315B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07202884A (en) * 1993-12-28 1995-08-04 Sony Corp Transmitter and receiver
JPH09139930A (en) * 1995-11-15 1997-05-27 Toshiba Corp Ic card for pay broadcast and pay broadcast system
JPH11213553A (en) * 1998-01-28 1999-08-06 Toshiba Corp Contract managing device and reproducing device
JP2000196546A (en) * 1998-12-25 2000-07-14 Jisedai Joho Hoso System Kenkyusho:Kk Method for transmitting/receiving broadcast, broadcast transmitter, broadcast receiver, and broadcast transmitting/receiving system
US7073063B2 (en) * 1999-03-27 2006-07-04 Microsoft Corporation Binding a digital license to a portable device or the like in a digital rights management (DRM) system and checking out/checking in the digital license to/from the portable device or the like
JP4352601B2 (en) * 2000-09-01 2009-10-28 ソニー株式会社 Data falsification checking method and apparatus, and recording medium
JP2002281018A (en) * 2001-03-19 2002-09-27 Toshiba Corp Reception terminal equipment and encipherment system updating method
JP2003115835A (en) * 2002-06-17 2003-04-18 Sony Corp Descramble method and receiving terminal

Also Published As

Publication number Publication date
JP2012186868A (en) 2012-09-27

Similar Documents

Publication Publication Date Title
CN101719910B (en) Terminal equipment for realizing content protection and transmission method thereof
US7356147B2 (en) Method, system and program product for attaching a title key to encrypted content for synchronized transmission to a recipient
US10091537B2 (en) Method and multimedia unit for processing a digital broadcast transport stream
WO2008013287A1 (en) Terminal device, server device, and content distribution system
US9432709B2 (en) System and method to prevent manipulation of transmitted video data
WO2011120901A1 (en) Secure descrambling of an audio / video data stream
JP2012510743A (en) Content decryption apparatus and encryption system using additional key layer
JP2010157927A (en) Information communication method, communication terminal apparatus, and information communication system
CN112511299B (en) Interface data transmission method and device, electronic equipment and storage medium
CN108476337B (en) Method and apparatus for identifying peripheral devices from digital content
KR100927920B1 (en) Method for processing encoded data for a first domain received in a network pertaining to a second domain
JP4422437B2 (en) License information transmitting apparatus and license information receiving apparatus
JP4098348B2 (en) Terminal device, server device, and content distribution system
JP2007088802A (en) Content transmitter, content transmitting program, content receiver and content receiving program
WO2015034020A1 (en) Transmission device, reception device, limited reception system, and limited reception method
JP5132651B2 (en) License information transmitting apparatus and license information transmitting program
JP5391315B2 (en) License information receiving apparatus, license information receiving program, and license information receiving method
JP4847880B2 (en) Content sharing control device, content sharing controlled device, content sharing control program, and content sharing controlled program
KR20130096575A (en) Apparatus and method for distributing group key based on public-key
KR100497336B1 (en) Conversion method of entitlement message for public key infrastructure based on conditional access system
JP2008118708A (en) Terminal device, server device, and content distribution system
JP6596130B2 (en) Transmitting apparatus, receiving apparatus and conditional access system
JP5143186B2 (en) Information communication method and server
KR102190886B1 (en) Protection of Control Words in Conditional Access System
JP2001251290A (en) Data transmission system and method for distributing and storing and reproducing contents

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120705

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130917

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131011

R150 Certificate of patent or registration of utility model

Ref document number: 5391315

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees