Method and storage medium for distributing and executing licenses
Through homomorphic encryption and one-time random number operation technology, the problem of binding DRM licenses to devices is solved, user-centered license management is realized, and privacy and security are enhanced.
Patent Information
- Application Number
- CN201980034390.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-22
- Filing Date
- 2019-05-21
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-05-21
AI Technical Summary
The existing digital rights management (DRM) license is bound to the device rather than the user, resulting in the user having to re-register when the device is replaced, and the usage rights stored in the blockchain are not anonymous and can be easily discovered by attackers.
Homomorphic encryption technology is used to encrypt the usage rights, and homomorphic operations are performed through one-time random numbers to generate modified encrypted usage rights. The validity of the usage rights is verified through decryption to ensure that the license is bound to the user rather than the device. At the same time, the privacy of usage rights is protected.
Implemented a solution where the license is bound to the user rather than the device, enhancing the privacy and security of usage rights and preventing attackers from discovering the user's usage rights.
Smart Images

Figure CN112189197B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to digital rights management (DRM) licenses, and more particularly, to distributing and executing DRM licenses. Background Art
[0002] DRM licenses are currently issued by license servers, which receive authorization and usage rights for DRM licenses from client management services or rights lockers. These licenses are bound to a given device or set of devices. DRM or conditional access systems (CAS) can carry usage rights associated with a piece of content and a user in a data structure called a license or authorization management message (EMM). This license is protected (and restricted) so that only a given device or a set of identified devices can utilize the data structure. This restriction is enforced by encrypting the license that is unique to the target device. Therefore, the right to use is bound to the ownership of a given set of hardware devices that hold certain secrets. Licenses are usually generated by license servers.
[0003] However, the above arrangement has several disadvantages. For example, with this arrangement, a user is defined by the devices that the user owns, rather than by the persona. If a user acquires a new device, the user must register the new device with a license server (or in some cases a rights locker), which will issue a new set of licenses specific to the new device.
[0004] To address the shortcomings of the above arrangement, another arrangement has been proposed in which a blockchain is used to hold all of a user's licenses. One disadvantage of this arrangement is that the usage rights are not anonymous. That is, since the blockchain may be public, an attacker may be able to discover the rights purchased by a user because the usage rights are in plain text, or if the usage rights are encrypted, an attacker may be able to discover the rights purchased by a user by looking for similar licenses in a known blockchain. Summary of the invention
[0005] The present disclosure provides a method for binding a license to its licensee rather than to the device while still being able to protect the license.
[0006] In one embodiment, a method for distributing and executing a license according to conditions defined by usage rights declared in a license for content to be consumed is disclosed. The method includes: encrypting the usage rights with a key using homomorphic encryption and sending the encrypted usage rights to an agent; receiving from the agent a modified encrypted usage right generated by homomorphically operating the encrypted usage rights with a one-time random number (nonce); and decrypting the modified encrypted usage right and sending the decrypted modified usage right back to the agent, wherein the usage rights are extracted from the decrypted modified usage right by performing an operation opposite to the homomorphic operation performed with the one-time random number.
[0007] In one embodiment, the method further includes: verifying that the extracted usage rights are the same as the usage rights included in the license. In one embodiment, the method further includes: receiving content to be consumed according to the usage rights when verifying. In one embodiment, the content is received by an application installed on a mobile device owned by a user. In one embodiment, the key is a private key unique to the user. In one embodiment, the key is generated by the user. In one embodiment, homomorphic encryption uses Advanced Encryption Standard Counter (AES-CTR) mode and exclusive OR (XOR) as a homomorphic operation.
[0008] In another embodiment, a method for distributing and executing a license according to conditions defined by usage rights declared in a license for content to be consumed is disclosed. The method includes: receiving an encrypted usage right from a user, the encrypted usage right encrypted with a key using homomorphic encryption; performing a homomorphic operation on the encrypted usage right with a one-time random number to generate a modified encrypted usage right and sending the modified encrypted usage right to the user; receiving a decrypted modified usage right from the user, the decrypted modified usage right decrypted with the key; and extracting the usage right from the decrypted modified usage right by performing an operation opposite to the homomorphic operation performed with the one-time random number.
[0009] In one embodiment, the method further includes verifying that the extracted usage rights are the same as the usage rights included in the license. In one embodiment, the license includes the encrypted usage rights, the hashed usage rights, and the digital signature of the registration authority. In one embodiment, the method further includes verifying the validity of the license by checking the validity of the digital signature of the registration authority.
[0010] In yet another embodiment, a mobile device is disclosed, comprising an application for executing the license according to conditions defined by the usage rights declared in the license for the content to be consumed. The mobile device comprises: a first interface coupled to an agent; and a second interface coupled to a registration authority and configured to receive the usage rights of the content generated by the registration authority, wherein the application encrypts the usage rights with a key using homomorphic encryption and sends the encrypted usage rights to the agent through the first interface; wherein the agent receives the encrypted usage rights and performs a homomorphic operation on the encrypted usage rights with a one-time random number, and sends the modified encrypted usage rights back to the application through the first interface; wherein the application decrypts the modified encrypted usage rights and sends the decrypted modified usage rights back to the agent to verify the validity of the user and the usage rights by performing an operation opposite to the homomorphic operation performed with the one-time random number.
[0011] In one embodiment, the validity of the usage right is verified by: extracting the usage right from the decrypted modified usage right; and verifying that the extracted usage right is the same as the usage right included in the license. In one embodiment, when the agent verifies the validity of the usage right, the application receives the content to be consumed through the third interface according to the usage right. In one embodiment, the license is stored on the blockchain.
[0012] In yet another embodiment, a non-transitory computer-readable storage medium is disclosed that stores a computer program to execute the license according to conditions defined by usage rights declared in a license for content to be consumed. The computer program includes executable instructions that cause a computer to: encrypt the usage rights with a key using homomorphic encryption and send the encrypted usage rights to an agent; receive from the agent a modified encrypted usage right generated by homomorphically operating the encrypted usage rights with a one-time random number; and decrypt the modified encrypted usage right and send the decrypted modified usage right back to the agent, wherein the usage rights are extracted from the decrypted modified usage right by performing an operation reverse to the homomorphic operation performed with the one-time random number.
[0013] In one embodiment, the non-transitory computer-readable storage medium further includes executable instructions for causing a computer to perform the following operations: verify that the extracted usage rights are the same as the usage rights included in the license. In one embodiment, the non-transitory computer-readable storage medium further includes executable instructions for causing a computer to perform the following operations: after verification, receiving content to be consumed according to the usage rights. In one embodiment, the content is received by an application installed on a mobile device owned by a user. In one embodiment, homomorphic encryption uses Advanced Encryption Standard Counter (AES-CTR) mode and exclusive OR (XOR) as a homomorphic operation.
[0014] Other features and advantages will be apparent from the present description which illustrates various aspects of the disclosure by way of example. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Details regarding the structure and operation of the present disclosure may be gleaned in part by studying the accompanying drawings, in which like reference numerals refer to like parts, and in which:
[0016] Figure 1A is a block diagram of a system for distributing and enforcing licenses for content (e.g., media) according to one embodiment of the present disclosure;
[0017] Figure 1B is a flow chart of a process for distributing and enforcing licenses for content (e.g., media) according to one embodiment of the present disclosure;
[0018] Figure 2 is a block diagram of a license generated by a registration authority according to one embodiment of the present disclosure;
[0019] Figure 3 is a block diagram of a license generated by a registration authority according to another embodiment of the present disclosure;
[0020] Figure 4A is a flow chart illustrating a process for generating obfuscated encrypted usage rights by an agent according to one embodiment of the present disclosure;
[0021] Figure 4B is a flowchart illustrating a process for receiving obfuscated encrypted usage rights by a user and generating obfuscated decrypted usage rights according to one embodiment of the present disclosure; and
[0022] Figure 5 is a flow chart illustrating a process for receiving usage rights and generating descrambled content according to one embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] As mentioned above, there are drawbacks to binding a DRM license to a given device or set of devices. Certain embodiments of the present disclosure provide for binding a license to its licensee rather than to the device, while still being able to protect the license. The DRM agent or authority does not share any secrets with the user, but still authenticates the user and ensures that the license "belongs" to the user. This solution does not disclose the portfolio of licensed content, thereby adding privacy to the blockchain.
[0024] After reading these descriptions, it will become apparent how to implement the present disclosure in various embodiments and applications. Although various embodiments of the present disclosure will be described herein, it should be understood that these embodiments are given only by way of example and not limitation. Thus, this detailed description of various embodiments should not be construed as limiting the scope or breadth of the present disclosure.
[0025] Figure 1A is a block diagram of a system 100 for distributing and enforcing licenses for content (eg, media) according to one embodiment of the present disclosure. Figure 1A In the illustrated embodiment, license distribution system 100 includes DRM agent 110, registration authority 120, content provider 130 and user 140. In one embodiment, the term "user" may refer to an application (e.g., an application on a user's mobile device), user credentials, or the user himself.
[0026] In one embodiment, user 140 purchases content from content provider 130 and plays the content through DRM agent 110. User 140 has a user key 142 generated by itself, which can be a private symmetric key. In one embodiment, the user is an application executed on a removable device such as a smart card or in the cloud. In another embodiment, the user is an application executed on a mobile device. Content provider 130 is configured to provide content to be consumed to user 140 according to the conditions defined by the usage rights declared in the license. In one embodiment, consuming content includes the user playing content on a mobile device. Registration agency 120 is configured to generate a license for the content. The license carries a set of usage rights and a hash value of the usage rights for a given user 140. DRM agent 110 receives the license and verifies whether the license is valid and whether the usage rights are properly fulfilled. If this is the case, DRM agent 110 decrypts the content and provides the decrypted content to user 140.
[0027] In one embodiment, user 140 receives the usage rights from registration authority 120 and encrypts the usage rights using a user key 142 that is unique to the user. In one embodiment, the usage rights are encrypted using homomorphic encryption, which allows calculations to be performed on encrypted text that match the results of operations performed on plain text when decrypted. Therefore, if the encryption E is homomorphic with the operator ∫, then given two messages m and m', D(E(m)∫m') = m∫m', where D represents the decryption corresponding to the encryption E.
[0028] In one embodiment, the DRM agent 110 performs a homomorphic operation (referred to as "obfuscation") on the encrypted usage rights with a one-time random number, which is an arbitrary random number or pseudo-random number that is used only once in a cryptographic communication. Therefore, the homomorphic operation must be compatible with the selected homomorphic encryption. The user 140 receives and decrypts the modified (or obfuscated) encrypted usage rights and returns the result to the DRM agent. The DRM agent 110 verifies whether the returned operation is correct. In this case, the user 140 can only return the correct information if the user 140 has the correct decryption key that was originally used to encrypt the usage rights.
[0029] In one embodiment, the user 140 is implemented as an application on a mobile device, which includes: a first interface 144 that interfaces with the DRM agent 110; a second interface 146 that interfaces with the registration authority 120; and a third interface 148 that interfaces with the content provider 130. In one embodiment, the second interface 146 is configured to receive the usage rights generated by the registration authority 120 and send the usage rights to the application, and the application encrypts the usage rights with a key using homomorphic encryption. The application sends the encrypted usage rights to the agent 110 through the first interface 144. The agent 110 receives the encrypted usage rights and operates the encrypted usage rights with a one-time random number to generate an obfuscated encrypted usage right, and sends the obfuscated encrypted usage rights back to the application through the first interface 144. Then, the application decrypts the obfuscated encrypted usage rights and sends the obfuscated decrypted usage rights back to the agent to verify the validity of the user and the usage rights. In one embodiment, once the agent 110 verifies that the usage rights and the user are valid, the decrypted content is received from the agent 110 through the first interface 144 so that the content can be consumed by the application. In another embodiment, the third interface is configured to receive the decrypted content from the content provider 130 when the agent 110 verifies that the usage rights and the user are valid so that the content can be consumed by the application.
[0030] Figure 1B is a flow chart of a process 150 for distributing and enforcing licenses for content (eg, media) according to one embodiment of the present disclosure. Figure 1BIn the illustrated embodiment, once the user 140 purchases the content from the content provider 130, the user 140 receives the content from the content provider 130 at step 152, which is consumed according to the conditions defined by the usage rights stated in the license. At step 154, the content provider 130 also notifies the registry 120 to generate a license for the content. The license carries a set of usage rights for a given user 140. The usage rights are then sent from the registry 120 to the user 140 at step 160, and the user 140 encrypts the usage rights using a user key 142 unique to the user, and sends the encrypted usage rights to the DRM agent 110 at step 162. In one embodiment, the usage rights are encrypted using homomorphic encryption, which allows computations to be performed on encrypted text that matches the results of operations performed on plain text when decrypted. Therefore, if the encryption E is isomorphic to the operator ∫, then given two messages m and m', D(E(m)∫m')=m∫m', where D denotes the decryption corresponding to the encryption E.
[0031] In one embodiment, the DRM agent 110 operates the encrypted usage rights with a one-time random number, and the DRM agent 110 sends the result back to the user 140. At step 170, the user 140 receives and decrypts the modified encrypted usage rights, and returns the result to the DRM agent 110. The DRM agent 110 verifies at step 180 whether the returned operation is correct. In this case, the user 140 can only return the correct information if the user 140 has the correct decryption key corresponding to the user key 142 used to originally encrypt the usage rights. Therefore, if it is determined at step 180 that the returned operation result is correct, the content can be played according to the usage rights at step 184. Otherwise, if it is determined at step 180 that the returned operation result is incorrect, then at step 182, the content cannot be played.
[0032] In one embodiment, when a user 140 purchases content from a content provider 130, the following operations are performed by the content provider 130 and the registry 120. The content provider 130 defines usage rights, including an identifier of an item of content and licensing conditions for the use of the content. The content provider 130 sends a link to the user 140 together with the usage rights to the registry 120. The registry 120 requests the user 140 to encrypt the usage rights. The user 140 encrypts the usage rights using its user key 142 and returns the encrypted usage rights to the registry 120. In one embodiment, homomorphic encryption is used to encrypt the usage rights. The registry 120 calculates a hash value of the usage rights and creates a hashed usage right. In one embodiment, the hash algorithm is SHA-512 encoded in base64.
[0033] In one embodiment, the usage rights may be expressed as follows:
[0034] Usage rights = {content ID, permission}, where
[0035] Content IDs use the Entertainment Identifier Registry (EIDR),
[0036] The permissions are a data structure that lists a list of permitted audio languages and a list of permitted subtitles.
[0037] In one embodiment, the DRM agent 110 uses a unique 128-bit DRM_KEY to encrypt the scrambled key CW. In one embodiment, the Advanced Encryption Standard (AES) is used for encryption. Therefore, EncryptedCW = AES {DRM_KEY} (CW). In addition, the content can be represented as follows:
[0038] Content = {Content ID, encrypted CW, scrambled body}, where,
[0039] The content ID is the EIDR code,
[0040] Encrypted CW is AES encrypted CW,
[0041] The scrambled essence is the essence (including all available audio tracks and subtitle tracks) encrypted using CW with AES.
[0042] In other embodiments, the content provider 130 uses several DRM technologies, in which case each supported DRM agent is identified by a DRM-ID. In this case, the content may also include a list of multiple pairs of DRM-IDs and corresponding encrypted CWs. In addition, each encrypted CW is a CW encrypted by the private DRM_KEY of the corresponding DRM agent.
[0043] In one embodiment, when user 140 purchases content from content provider 130, content provider 130 registers the purchased content version in the EIDR global database and receives the content ID. Content provider 130 also generates a random 128-bit number as CW. In addition, content provider 130 calculates the corresponding encrypted CW by encrypting the CW with the corresponding DRM_KEY. Content provider 130 scrambles the plain text body using CW to generate a scrambled body. In one embodiment, the scrambling process uses AES in CTR mode. Content provider 130 packages all this information into content. Then, because the content is self-protective, it can be distributed freely.
[0044] Figure 2FIG. 2 is a block diagram of a license 200 generated by a registration authority according to one embodiment of the present disclosure. Figure 2 In the illustrated embodiment, the license 200 includes an encrypted usage right 210, a hashed usage right 220, and a signature 230. In one embodiment, the signature 230 is a digital signature generated by a registry of the encrypted usage right 210 and the hashed usage right 220. In one embodiment, the registry 120 then provides the license 200 to the user. In another embodiment, the license is stored on a blockchain.
[0045] In one embodiment, before the user 140 plays an item of content, the DRM agent 110 receives and verifies three conditions about the provided license 200. First, the DRM agent 110 verifies that a known legitimate authority issued the license and that it was signed by the registration authority 120 by checking the validity of the signature 230. Second, the DRM agent 110 checks to ensure that the owner of the license (i.e., the user) can decrypt the usage rights of the license by performing the following operations: (1) Generate a one-time random number (Agent_nonce); (2) Calculate ObfuscatedEncryptedUsageRights = f(Agent_nonce, EncrytedUsageRights); (3) Send ObfuscatedEncryptedUsageRights to the user 140 to decrypt it using the user key 142; (4) Receive the result ObfuscatedDecryptedUsageRights returned from the user 140; (5) Calculate DecryptedUsageRights = f -1 (Agent_nonce, ObfuscatedDecryptedUsageRights); and (6) computing the hash value of DecryptedUsageRights to verify that it is equal to the hashed usage rights 220. With respect to (3), since encryption is homomorphic to operation f, the result should be the original usage rights. In addition, since a one-time random number is used to protect the delivered DecryptedUsageRights, there is proof that the user 140 possesses the user key 142. This also ensures that an attacker cannot create a dictionary attack. Third, the DRM agent 110 checks whether the usage rights are valid, that is, whether the conditions are met. Therefore, once the above three conditions are met, the DRM agent 110 proceeds to decrypt the content.
[0046] In one specific embodiment, homomorphic encryption uses the Advanced Encryption Standard Counter (AES-CTR) mode for the XOR operation, denoted as ⊕. Thus, the operation is described as follows:
[0047] D{K,IV} (E {K,IV} (m)⊕R)=m⊕R, where
[0048] E {K,IV} Indicates AES encryption in CTR mode using key K and initialization vector (IV) with initial count of 0 or initial one-time random number.
[0049] D {K,IV} Indicates the corresponding decryption.
[0050] The use of AES-CTR mode means that an XOR function can be applied to the encrypted message.
[0051] Return to reference Figure 1A In one embodiment, the user key 142 is a 128-bit random number unique to the user and is generated by the user 140. The user key 142 is known only to the user and is kept secret. In a specific embodiment, the registration authority 120 uses a Rivest-Shamir-Adleman (RSA) 4096 public-private key pair (K pub_authority and K pri_authority ) to generate the signature. Key K pub_authority Available to all users and DRM agents. In a specific embodiment, the registration authority 120 sends (to the user 140) an RSA 2048 public-private key pair (K pub_user and K pri_user ) and by the registration authority using K pri_authority The corresponding X509 certificate of the signature.
[0052] Figure 3 FIG. 3 is a block diagram of a license 300 generated by a registration authority according to another embodiment of the present disclosure. Figure 3 In the illustrated embodiment, the license 300 includes an encrypted usage right 310, a hashed usage right 320, an initialization vector (IV) 330, and a signature 340. In one embodiment, the signature 340 is a digital signature of the registry 120 on the encrypted usage right 310, the hashed usage right 320, and the IV 330. In one embodiment, the registry 120 then provides the license 200 to the user. In another embodiment, the license is stored on a blockchain.
[0053] In another embodiment, when a user purchases an item of content from a content provider, Figure 1AThe entities shown perform the following operations. Content provider 130 defines usage rights (UsageRights). The usage rights list all audio tracks and subtitles acquired by user 140. Registry 120 calculates a hash value of the usage rights to create HashUsageRights. In one embodiment, HashUsageRights = SHA-512(UsageRights). Content provider 130 associates the usage rights with a link to user 140 and the user's public certificate K pub_user The registration authority 120 sends the public-private key pair (K pub_user and K pri_user ), using a typical challenge response to verify the identity of user 140. Registration authority 120 requests user 140 to encrypt the usage rights by securely sending them to user 140. User 140 encrypts the usage rights with user key 142 by generating a 128-bit one-time random number IV. User 140 encrypts the usage rights with user key 142. User 140 {UserKey,IV} The EncryptedUsageRights is calculated by encrypting the UsageRights with the user key and the IV 330. The user 140 then returns the EncryptedUsageRights and the IV to the registry 120, which constructs a license including the above elements.
[0054] Figure 4A is a flow chart illustrating a process 400 for generating obfuscated encrypted usage rights by an agent according to one embodiment of the present disclosure. Figure 4A In the illustrated embodiment, before the user 140 plays the item of content, the DRM agent 110 receives the license 300 at step 410 and plays the license 300 at step 420 by using the stored K pub_authorityThe validity of the signature 340 is checked to verify the validity of the license 300. If the validity of the signature cannot be verified at step 420, the process 400 stops at step 422. Otherwise, if the validity of the signature is verified at step 420, the DRM agent 110 then generates a one-time random number (i.e., Agent_nonce) consistent with the length of EncryptedUsageRights (i.e., the usage rights encrypted by the user using his own key) at step 430, and calculates ObfuscatedEncryptedUsageRights=EncryptedUsageRights⊕Agent_nonce at step 440. The result (i.e., ObfuscatedEncryptedUsageRights) is sent to the user 140 together with the IV 330 at step 450.
[0055] Figure 4B 4 is a flow chart illustrating a process 460 for receiving obfuscated encrypted usage rights by a user and generating obfuscated decrypted usage rights according to one embodiment of the present disclosure. Figure 4B In the illustrated embodiment, obfuscated encrypted usage rights are received from the agent at step 470. Obfuscated decrypted usage rights are then generated at step 480 by decrypting the obfuscated encrypted usage rights using the user key 142 and IV 330. ObfuscatedDecryptedUsageRights = D {UserKey,IV} (ObfuscatedEncryptedUsageRights). In step 490, the result is sent back to the proxy.
[0056] Figure 5 is a flow chart illustrating a process 500 for receiving obfuscated decrypted usage rights and generating descrambled content according to one embodiment of the present invention. Figure 5 In the illustrated embodiment, the agent 110 receives ObfuscatedDecryptedUsageRights at step 510 and calculates at step 520 In step 530, the DRM agent 110 also calculates the hash value of DecryptedUsageRights and verifies that it is equal to HashUsageRights (i.e., the hash value of the usage rights in the license originally received from the registration authority 120; SHA_512(DecryptedUsageRights)==HashUsageRights) in step 540. If the test result in step 540 is positive, the DRM agent 110 verifies whether the DecryptedUsageRights is valid by verifying that the content ID in DecryptedUsageRights matches the content ID of the content. If valid, in step 560, the DRM agent 110 decrypts the encrypted CW with its private key DRM_KEY and retrieves the plaintext CW. Then in step 570, the DRM agent 110 descrambles the content with the CW and provides the language and subtitles listed in DecryptedUsageRights. Otherwise, if the test results in steps 540 and / or 550 are negative, process 500 stops.
[0057] The description of the embodiments disclosed herein is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the principles defined herein may be applied to other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments shown herein, but should be given the widest scope consistent with the principles and novel features disclosed herein.
[0058] Various embodiments of the present disclosure are implemented in electronic hardware, computer software, or a combination of these technologies. Some embodiments include one or more computer programs executed by one or more computing devices. Typically, a computing device includes one or more processors, one or more data storage components (e.g., volatile or non-volatile storage modules and permanent optical and magnetic storage devices, such as hard disk and floppy disk drives, CD-ROM drives, and tape drives), one or more input devices (e.g., game controllers, mice, and keyboards), and one or more output devices (e.g., display devices).
[0059] A computer program includes executable code that is typically stored in a permanent storage medium and then copied to memory at run time. At least one processor executes the code by retrieving the program instructions from memory in a predetermined order. When executing the program code, the computer receives data from input and / or storage devices, operates on the data, and then transmits the resulting data to output and / or storage devices.
[0060] Those skilled in the art will appreciate that the various illustrative modules and method steps described herein can be implemented as electronic hardware, software, firmware or the aforementioned combination. In order to clearly illustrate this interchangeability of hardware and software, various illustrative modules and method steps are generally described herein according to their functions. Whether this functionality is implemented as hardware or software depends on specific applications and the design constraints imposed on the entire system. The technician can implement the described functions in various ways for each specific application, but this implementation decision should not be interpreted as causing departure from the scope of the present disclosure. In addition, the functional grouping in the module or step is for ease of description. A specific function can be moved from one module or step to another module or step without departing from the present disclosure.
[0061] All features of each of the above examples are not necessary in a particular embodiment of the present disclosure. In addition, it should be understood that the description and drawings presented herein represent the subject matter widely contemplated by the present disclosure. It should also be understood that the scope of the present disclosure fully encompasses other embodiments that will become apparent to those skilled in the art, and the scope of the present disclosure is therefore limited only by the appended claims.
Claims
1. A method of distributing and executing a license for content to be consumed according to conditions defined by usage rights stated in the license, the method comprising: Binding a license for content to a user as the licensee rather than to a user device owned by the user; In the user device, the usage right is encrypted using a key unique to the user who owns the user device using homomorphic encryption, and the encrypted usage right is sent to an agent, wherein the agent performs a homomorphic operation on the encrypted usage right using a one-time random number to generate a modified encrypted usage right, thereby not sharing any secrets with the user but still being able to authenticate the user, and the one-time random number is a pseudo-random number used only once during communication between the user and the agent; receiving, in the user device, the modified encrypted usage rights from the agent; In the user device, decrypting the modified encrypted usage right to generate a decrypted modified usage right, and sending the decrypted modified usage right back to the agent; In the agent, extracting the usage right from the decrypted modified usage right by performing an operation opposite to the homomorphic operation performed using the one-time random number; and In the agent, it is verified that the extracted usage rights are identical to the usage rights included in the license.
2. The method according to claim 1, further comprising: After the verification is performed, the user device receives the content to be consumed according to the usage rights.
3. The method according to claim 2, wherein: The content is received by an application installed on a mobile device owned by the user.
4. The method according to claim 1, further comprising: In the user equipment, the key is generated by the user himself. 5 . The method of claim 1 , wherein the homomorphic operation comprises using Advanced Encryption Standard Counter (AES-CTR) mode for an XOR operation.
6. A non-transitory computer-readable storage medium storing a computer program for executing a license for content to be consumed according to conditions defined by usage rights stated in the license, the computer program comprising executable instructions for causing a computer to: Binding a license for content to a user as the licensee rather than to a user device owned by the user; Encrypting the usage right using homomorphic encryption with a key unique to the user who owns the user device, and sending the encrypted usage right to an agent, wherein the agent performs a homomorphic operation on the encrypted usage right using a one-time random number to generate a modified encrypted usage right, thereby not sharing any secrets with the user but still being able to authenticate the user, and wherein the one-time random number is a pseudo-random number used only once during communication between the user and the agent; receiving the modified encrypted usage rights from the agent; decrypting the modified encrypted usage right to generate a decrypted modified usage right, and sending the decrypted modified usage right back to the agent; In the agent, extracting the usage right from the decrypted modified usage right by performing an operation opposite to the homomorphic operation performed using the one-time random number; and In the agent, it is verified that the extracted usage rights are identical to the usage rights included in the license.
7. The non-transitory computer-readable storage medium of claim 6 , further comprising executable instructions for causing the computer to: After the verification is performed, the content to be consumed is received according to the usage rights.
8. The non-transitory computer-readable storage medium of claim 6, wherein: The homomorphic operation includes using the Advanced Encryption Standard Counter AES-CTR mode for the XOR operation.
