Authority management method and system

By receiving license identifiers, verifying and managing licenses, using layered structures and encryption technology, it solves the lack of trust and security in existing license systems, enabling flexible license management and enhanced security.

CN118633087APending Publication Date: 2024-09-10NCHAIN LICENSING AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380019915.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-01
Filing Date
2023-01-31
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing license system has trust issues in verification and management. It is difficult to effectively associate identities and licenses pseudo-anonymously. Moreover, the definition, revocation and addition of permissions are not flexible enough and the security is insufficient.

Method used

Get relevant data by receiving license identifiers in requests, verify license status, create, revoke and extend licenses, employ layered structures and encryption to ensure security, use blockchain to record interactions for greater transparency and insecurity transsexual.

Benefits of technology

It achieves flexible license management, enhances security, ensures the accuracy and unforgeability of permissions, and improves the overall credibility of the system and user privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633087A_ABST
    Figure CN118633087A_ABST
Patent Text Reader

Abstract

The present disclosure presents a method, apparatus, system and computer program for creating a license. In more detail, the method comprises the steps of: receiving a request comprising a first license identifier, where the first license identifier identifies a first license; and obtaining first license data based on the first license identifier, where the first license data includes data indicating at least one permission, and wherein the at least one permission provides an indication of one or more actions that a holder of the first license can take and / or operations that the holder of the first license is allowed to perform, where the request is a request to create another license, and the request includes data indicative of another license.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to providing a permit (or license) and permissions system. More specifically, the present disclosure provides flexible permits, allowing pseudo-anonymous association of identities with permits; flexible permission definition, revocation and addition; and enhanced security. Background Art

[0002] A licence is something you have (usually carry with you) that allows you to do something. Licences can be for a range of different things, and with different levels of permission. For example, a person might have a driver's licence, which shows that they have permission to drive. Different driver's licences may also contain different restrictions. For example, a provisional driver's licence might only allow you to drive certain types of vehicles during certain time periods, or only allow you to drive with another driver who has full permission. Other licences might include a fishing licence which allows fishing, but may also impose restrictions on the type, size and / or amount of fish that can be caught in a period of time.

[0003] It can be seen that preferably a license comprises two parts: the rights (optionally with additional restrictions associated with them) and the persons who are allowed to perform the operations within that right.

[0004] The license may require a high degree of trust between the holder and the verifier. Specifically, the verifier must trust that the actual holder of the license is who they say they are, that the license has not been forged in any way and comes from a trusted source, and that the operations that the license allows the holder to perform are correct.

[0005] Therefore, there is a need for an improved, universal and / or secure licensing system, or at least to provide a useful alternative. Summary of the invention

[0006] In a first aspect, the present disclosure proposes a method, device, system and computer program for creating a license. In more detail, the method comprises the following steps: receiving a request, the request comprising a first license identifier, wherein the first license identifier identifies a first license; and obtaining first license data based on the first license identifier, wherein the first license data comprises data for indicating at least one permission, and wherein the at least one permission provides an indication of one or more actions that the holder of the first license can take and / or the operations that the holder of the first license is allowed to perform, wherein the request is a request to create another license, and the request comprises data for indicating another license.

[0007] Some specific components and embodiments of the disclosed method are now described in an illustrative manner with reference to the drawings, wherein like reference numerals represent like features. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 An exemplary secure processing environment and some devices configured to interact therewith are depicted.

[0009] Figure 2 , Figure 3A and Figure 3B An exemplary hierarchical license structure is depicted.

[0010] Figure 4A and Figure 4B Exemplary methods for generating new licenses and / or additional extensions are described.

[0011] Figure 5 Exemplary methods for revoking a license and / or extending a license are described.

[0012] Figure 6 is a schematic diagram illustrating a computing environment in which various aspects and embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION

[0013] Provided herein are methods, devices, systems, and computer programs for creating, revoking, extending, verifying, or otherwise interacting with licenses that include permissions. Preferably, the license provides identification information (or information that can be used in the process of identifying the holder of the license) and a description of the operations that the holder is allowed to perform and / or the actions that can be taken. More preferably, the license and / or sublicenses of the license are interacted with through requests.

[0014] In a first aspect, the present disclosure proposes a method, device, system and computer program for creating a license. In more detail, the method comprises the following steps: receiving a request including a first license identifier, wherein the first license identifier identifies a first license; and obtaining first license data based on the first license identifier, wherein the first license data includes data indicating at least one permission, and wherein the at least one permission provides an indication of one or more actions that a holder of the first license can take and / or operations that the holder of the first license is allowed to perform, wherein the request is a request to create another license, and the request includes data indicating another license.

[0015] Advantageously, creating a sublicense can establish a hierarchical structure within the license system. The hierarchical structure can enable efficient revocation methods, as described below. In addition, a secure and flexible license creation method is provided, allowing a license holder to build a sublicense by using the requested content.

[0016] In one embodiment, the method further comprises the steps of: verifying the first license; creating another license based on data indicating another license; and recording a reference to the other license on the first license data, such that the other license is recorded as a child of the first license. Advantageously, the reference to the child license is used to further enable traversal of the hierarchical license structure and all the advantages associated therewith.

[0017] In one embodiment, the step of verifying the first license data includes determining whether the first license has been revoked. In one embodiment, the step of determining whether the first license has been revoked includes checking a revoked field in the first license data. Advantageously, revocation enables skipping of remaining checks associated with license creation (since a revoked license cannot create a new sublicense), thereby improving processing efficiency. Furthermore, efficiency is improved by storing the revoked field in the license data itself, as this enables the license itself to report whether it has been revoked, and does not rely on any other resources (e.g., a revoked list) or third parties, which may be untrustworthy and / or require additional resources to interact with and store the results.

[0018] In one embodiment, the step of determining whether the first license has been revoked comprises comparing a first time stored in the revoked field with a current time. Preferably, if the first time is in the past compared to the current time, the first license is considered to be revoked. Preferably, if the first license is considered to be revoked, another license is not created and / or processing of the request is stopped. By using a timestamp in the revoked field, flexibility and additional security can be added to the system regarding when a license is considered to be revoked.

[0019] In one embodiment, the method includes the step of verifying that the first license is capable of creating sublicenses. In one embodiment, the step of verifying that the first license is capable of creating sublicenses includes any one or more of the following steps: verifying that a maximum number of sublicenses associated with the first license is not exceeded; and / or verifying that a maximum depth of sublicenses associated with the first license is not exceeded. Storing data indicating whether a license is capable of creating sublicenses on the parent license itself can provide computational efficiency because no separate resources need to be managed or referenced. In addition, these methods of limiting sublicense creation result in a flexible and secure system because the creator of the first license can set sublicense creation restrictions that must be followed during the validity period of the first license.

[0020] In one embodiment, the method further comprises the step of verifying the data indicative of the further license. In one embodiment, the request further comprises a signature, and wherein the step of verifying the data indicative of the further license comprises verifying that the signature is valid and has been signed using the private key of the holder of the first license. Advantageously, verifying the signature in a cryptographically secure manner can improve the overall security of the system and limit or completely prohibit third parties from impersonating license holders.

[0021] In one embodiment, the step of verifying the data indicating the other license includes: verifying that the validity range of the other license is within the validity range of the first license. Preferably, verifying that the validity range of the other license is within the validity range of the first license includes: determining that the starting point of the validity range of the other license is the same as or later than the starting point of the first license; and determining that the end point of the validity range of the other license is the same as or earlier than the end point of the first license. Advantageously, providing the validity range of the license can improve security by reducing the time a third party interacts with the license in the event of unauthorized access.

[0022] In one embodiment, the step of verifying data indicating another license includes: verifying that one or more permissions of the other license are within the scope of permissions that the parent license is allowed to create. In one embodiment, the one or more permissions of the other license are included in the request. In one embodiment, the step of verifying that any permissions of the other license are within the scope of permissions that the parent license can create includes: determining one or more namespaces that the parent license is allowed to create; determining one or more namespaces for one or more permissions of the other license; and determining that the one or more namespaces for the one or more permissions of the other license are the same as, or prefixed with, the one or more namespaces that the parent license is allowed to create. Advantageously, this provides a hierarchical aspect or dimension to permissions, thereby also improving security because permissions cannot be created that are not within the scope of permissions allowed by, for example, an organization.

[0023] In one embodiment, the step of creating another license comprises creating another license data instance based on the license, wherein the another license data comprises a parent license value, the parent license value being set as the first license identifier.

[0024] In one embodiment, the method further comprises the step of providing the sender of the request with another license identifier. In one embodiment, the sender of the request is provided with another license identifier only. Advantageously, the license identifier is used to interact with the license pseudo-anonymously, as the user associated with the license cannot be identified using the identifier alone.

[0025] In one embodiment, the data indicating at least one permission are objects comprising at least one name-value pair. In one embodiment, the name of the name-value pair is represented by a string, and the value of the name-value pair is represented by a string and / or at least one other name-value pair. In one embodiment, the string is arbitrary and / or user-generated. In one embodiment, the value is arbitrary and / or user-generated. Advantageously, using the name-value pair, especially the name-value pair generated by the user can improve the design flexibility of the security license system, and further realize the namespace feature, as described below.

[0026] In one embodiment, the request is received via an API that is only provided to computing modules that belong to the secure computing environment. In one embodiment, the computing module that performs any one or more of the methods described in the foregoing embodiments is part of the secure computing environment. Advantageously, in the case where the request originates from the secure computing environment, the request can be assumed to be valid in many cases. By assuming that the request is valid, processing time can be saved because other checks (e.g., signature verification, authorization, verification of the request itself, and other checks) can be skipped, thereby reducing the processing time and computing resources required to process the request.

[0027] In one embodiment, the first license is part of a license hierarchy. In one embodiment, the first license data includes data indicating a parent license. In one embodiment, the first license data includes data indicating a sublicense. Advantageously, the hierarchical license structure enables replacement and improved management of licenses. In one embodiment, the hierarchical structure is such that when a parent license is revoked, its sublicenses are also revoked. Preferably, having parent licenses and sublicenses can provide a hierarchical tree structure. More advantageously, the hierarchical structure allows for parent license and sublicense relationships, thereby achieving the following advantages related to namespaces, sublicense creation restrictions, and cascading revocations.

[0028] In one embodiment, the first license data includes at least one namespace, wherein each namespace defines a portion of the permissions that a sublicense of the first license may have. Advantageously, this provides a method of limiting the operations that a license may perform, such that if a sublicense and / or parent license is compromised in any way, the sublicense will be limited in what other permissions it can receive and / or generate on other licenses.

[0029] In one embodiment, the first license data includes an indication of whether other licenses may be generated as sublicenses of the first license. In one embodiment, the first license data includes an indication of the maximum depth of descendant licenses that the first license may have. In one embodiment, the first license data includes a maximum number of sublicenses that the first license may have. In one embodiment, the first license data includes an array indicating the maximum number of descendant licenses that the first license may have at different depths. Advantageously, limiting the number of sublicenses that a license may create (even to zero), the depth of sublicenses, and / or the number of sublicenses at different depths may improve security because these limitations allow a parent license holder to limit the operations that a potentially compromised and / or hostile first license holder may perform.

[0030] In one embodiment, the first license data includes a validity range. In one embodiment, the first license data includes a time indicating the start of the license validity period. In one embodiment, the first license data includes a time indicating the end of the license validity period. Advantageously, providing a time value for the start or end of the license validity period can increase the flexibility of the parent license holder in selecting the license validity period. In addition, the security of the system is increased by limiting the validity time of the license. Limiting the start / end time of the license validity period can limit the amount of time a hostile third party can interfere with the license.

[0031] In one embodiment, the first license identifier obliviates the identity of the holder of the first license. In one embodiment, the first license identifier is a pseudo-randomly generated string. Advantageously, rendering the license identifier unable to identify the user associated with the license can further improve security because it is more difficult for a hostile third party with access to the identifier to identify, impersonate, approach and / or otherwise interact with / as the associated user.

[0032] In one embodiment, the method further comprises the step of transmitting data indicative of the request for storage in a log or inclusion on a blockchain. Preferably, the data indicative of the request is configured to provide an indication of the status of the license. More preferably, a set of data indicative of previous interactions with the license is configured to provide an indication of the current status of the license.

[0033] Advantageously, by storing all of these interactions with the license (particularly any "send" interactions that modify the license), including the creation of the license, the license can be reconstructed using that set of interactions. This reconstruction can be compared to the current state of the license to ensure that nothing about the license has been tampered with, further increasing security and the ability of third parties to rely on the secure state of the license. Using a blockchain to record these interactions can further increase security, as the blockchain can provide additional security and public, verifiable non-malleability of the interaction log.

[0034] In more detail, the system of the first aspect comprises: a first computing module configured to generate a first request; and a license computing module configured to perform any one of the embodiments of the method of the first aspect. In one embodiment, the license computing module belongs to a secure computing environment. In one embodiment, the first computing module is another license computing module, and the other license computing module belongs to the secure computing environment.

[0035] Advantageously, when these devices are all operating in the same secure computing environment, this can serve as a way to confirm that the request originated from a secure source and can therefore (in many cases) be assumed to be valid. By assuming that the request is valid, processing time can be saved because other checks (e.g., signature verification, authorization, verification of the request itself, and other checks) can be skipped, thereby reducing the processing time and computing resources required to process the request.

[0036] In one embodiment, the first computing module is a user device. Advantageously, this allows other users to interact with the license.

[0037] In more detail, the device of this aspect includes a processor and a memory, the memory includes executable instructions, and when the processor executes the executable instructions, the device performs a computer-implemented method according to any one of the embodiments of the method of the first aspect.

[0038] According to the first aspect, a non-transitory computer-readable storage medium is also described, the non-transitory computer-readable storage medium comprising computer program code instructions executable by a computer to perform any of the embodiments of the method of the first aspect.

[0039] In a second aspect, the present disclosure proposes a method, device, system and computer program for verifying a license. In more detail, the method of the second aspect includes the following steps: receiving a request including a first license identifier, wherein the first license identifier identifies a first license; and obtaining first license data based on the first license identifier, wherein the first license data includes data indicating at least one permission, and wherein the at least one permission provides an indication of one or more actions that the holder of the first license can take and / or the operations that the holder of the first license is allowed to perform, wherein the request is a request to verify an expression associated with at least one permission of the first license, and the request includes data indicating the expression.

[0040] Advantageously, receiving and processing requests in a process associated with a license enables third parties to interact with and verify the licenses, thereby enabling a user's rights to be verified in a secure and programmatic manner.Further advantages are provided below alongside each optional embodiment and as each embodiment is described throughout the specification.

[0041] In one embodiment, the method further comprises the step of determining whether the license includes a right that matches the data indicating another right. Preferably, the method further comprises the step of returning the determination of the matching right to the sender. Advantageously, allowing a third party wishing to verify different rights of the license to reference a particular right can increase flexibility in the construction of the license and in the way these rights interact.

[0042] In one embodiment, the method further comprises the step of continuing to process the request based on determining whether the first license has been revoked. Advantageously, revocation enables the remaining entitlement checks to be skipped (as they are all deemed invalid), thereby increasing processing efficiency.

[0043] In one embodiment, the step of determining whether the first license has been revoked comprises: checking a revoked field in the first license data. Advantageously, efficiency is improved by storing the revoked field in the license data itself, as this enables the license itself to report whether it has been revoked and does not rely on any other resources (e.g., revoked lists) or third parties, which may be untrustworthy and / or require additional resources to interact with and store the results.

[0044] In one embodiment, the step of determining whether the first license has been revoked includes checking whether the first time stored in the revoked field is earlier than the current time. By using a timestamp in the revoked field, the system can be given more flexibility as to when a license is considered to have been revoked, thereby also increasing security, as it also reduces the attack surface through which the license may be tampered with.

[0045] In one embodiment, the expression includes data configured to interrogate features of permissions associated with the first license. In one embodiment, the method further includes the step of evaluating the expression. In one embodiment, the method further includes the step of returning the evaluation result of the expression to the sender of the request. Advantageously, by using expressions and being able to evaluate these expressions based on the permissions of the license, license creators and requestors can flexibly adjust and expand how licenses interact and the kinds of features they can store in the license.

[0046] In one embodiment, the method further comprises the step of determining whether the permission subset is valid. In one embodiment, the method further comprises comparing the current time with a validity range, the validity range being associated with the permission subset.

[0047] In one embodiment, the request includes data identifying the subset of permissions. In one embodiment, the step of evaluating the expression includes identifying or accessing the one or more permissions being queried based on the data identifying the subset of permissions.

[0048] In one embodiment, the method further comprises: receiving another request to verify a signature signed by the holder of the license. In one embodiment, the other request comprises a signature and a message to which the signature is applied. In one embodiment, the method comprises verifying the signature, wherein the verification signature is based on a public key of the first license, the public key being obtained from the first license data, the signature and the data. In one embodiment, the result of the verification is provided to the sender of the other request. In one embodiment, the sender of the request and the sender of the other request are the same sender. Advantageously, the use of cryptographic security techniques to secure the "who" portion of various aspects of the license enables the license to improve the security of the overall method and use of the license.

[0049] In one embodiment, the data indicating at least one permission is an object comprising at least one name-value pair. In one embodiment, the name of the name-value pair is represented by a string, and the value of the name-value pair is represented by the string and / or at least one other name-value pair. In one embodiment, the string is arbitrary and / or user-generated. In one embodiment, the value is arbitrary and / or user-generated. Advantageously, the use of name-value pairs, especially user-generated name-value pairs, can improve the design flexibility of the security license system, and further implement the namespace feature, as described below.

[0050] In one embodiment, the request is received via an API that is only provided to computing modules that belong to the secure computing environment. In one embodiment, the computing module that performs any one or more of the methods described in the embodiments herein is part of the secure computing environment. Advantageously, in the case where the request originates from the secure computing environment, the request can be assumed to be valid in many cases. By assuming that the request is valid, processing time can be saved because other checks (e.g., signature verification, authorization, verification of the request itself, and other checks) can be skipped, thereby reducing the processing time and computing resources required to process the request.

[0051] In one embodiment, the first license is part of a license hierarchy. In one embodiment, the first license data includes data indicating a parent license. In one embodiment, the first license data includes data indicating a sublicense. Advantageously, the hierarchical license structure enables replacement and improved management of licenses. In one embodiment, the hierarchical structure is such that when a parent license is revoked, its sublicenses are also revoked. Preferably, having parent licenses and sublicenses can provide a hierarchical tree structure. More advantageously, the hierarchical structure allows for parent license and sublicense relationships, thereby achieving the following advantages related to namespaces, sublicense creation restrictions, and cascading revocations.

[0052] In one embodiment, the first license data includes at least one namespace, wherein each namespace defines a portion of the permissions that a sublicense of the first license may have. Advantageously, this provides a method of limiting the operations that a license may perform, such that if a sublicense and / or parent license is compromised in any way, the sublicense will be limited in what other permissions it can receive and / or generate on other licenses.

[0053] In one embodiment, the first license data includes an indication of whether other licenses may be generated as sublicenses of the first license. In one embodiment, the first license data includes an indication of the maximum depth of descendant licenses that the first license may have. In one embodiment, the first license data includes a maximum number of sublicenses that the first license may have. In one embodiment, the first license data includes an array indicating the maximum number of descendant licenses that the first license may have at different depths. Advantageously, limiting the number of sublicenses that a license may create (even to zero), the depth of sublicenses, and / or the number of sublicenses at different depths may improve security because these limitations allow a parent license holder to limit the operations that a potentially compromised and / or hostile first license holder may perform.

[0054] In one embodiment, the first license data includes a time indicating the start of the license validity period. In one embodiment, the first license data includes a time indicating the end of the license validity period. Advantageously, providing a time value for the start or end of the license validity period can increase the flexibility of the parent license holder in selecting the license validity period. In addition, the security of the system is increased by limiting the validity time of the license. Limiting the start / end time of the license validity period can limit the amount of time a hostile third party can interfere with the license.

[0055] In one embodiment, the first license identifier obscures the identity of the holder of the first license. In one embodiment, the first license identifier is a pseudo-randomly generated string. Advantageously, rendering the license identifier non-identifiable to the user associated with the license may further improve security, as it may be more difficult for a hostile third party having access to the identifier to identify, impersonate, approach and / or otherwise interact with / as the associated user.

[0056] In one embodiment, the method further comprises the step of transmitting data indicative of the request for storage in a log or inclusion on a blockchain. Preferably, the data indicative of the request is configured to provide an indication of the status of the license. More preferably, a set of data indicative of previous interactions with the license is configured to provide an indication of the current status of the license.

[0057] Advantageously, by storing all of these interactions with the license (particularly any interactions that modify the license), including the creation of the license, the license can be reconstructed using that set of interactions. This reconstruction can be compared to the current state of the license to ensure that nothing about the license has been tampered with, further increasing security and the ability of third parties to rely on the secure state of the license. Using a blockchain to record these interactions can further increase security, as the blockchain can provide additional security and public, verifiable non-malleability of the interaction log.

[0058] In more detail, the system of the second aspect includes: a first computing module configured to generate a first request; and a license computing module configured to perform any one of the embodiments of the method of the second aspect. In one embodiment, the license computing module belongs to a secure computing environment. In one embodiment, the first computing module is another license computing module, and the other license computing module belongs to the secure computing environment.

[0059] Advantageously, when these devices are all operating in the same secure computing environment, this can serve as a way to confirm that the request originated from a secure source and can therefore (in many cases) be assumed to be valid. By assuming that the request is valid, processing time can be saved because other checks (e.g., signature verification, authorization, verification of the request itself, and other checks) can be skipped, thereby reducing the processing time and computing resources required to process the request.

[0060] In one embodiment, the first computing module is a user device. Advantageously, this allows other users to interact with the license.

[0061] In more detail, the device of the second aspect includes a processor and a memory, the memory includes executable instructions, and when the processor executes the executable instructions, the device performs a computer-implemented method according to any one of the embodiments of the method of the second aspect.

[0062] According to the second aspect, a non-transitory computer-readable storage medium is also described, which includes computer program code instructions executable by a computer to perform any of the embodiments of the method of the second aspect.

[0063] In a third aspect, the present disclosure proposes a method, device, system and computer program for revoking at least one permission. In more detail, the method of the third aspect includes: receiving a request including a first license identifier, wherein the first license identifier identifies a first license; and obtaining first license data based on the first license identifier, wherein the first license data includes data indicating at least one permission, and wherein the at least one permission provides an indication of one or more actions that can be taken by the holder of the first license and / or the operations that the holder of the first license is allowed to perform, wherein the request is a request to revoke at least a subset of permissions of the first license data, and the method also includes the step of revoking the subset of permissions.

[0064] In one embodiment, the step of revoking the subset of permissions is a step of revoking all permissions. In one embodiment, the step of revoking all permissions comprises: revoking the first license. Advantageously, if all permissions of a license (and the license itself) need to be revoked, a computationally efficient method is proposed because no permission sets or individual permissions need to be iterated to delete / revoke them.

[0065] In one embodiment, the request also includes an indication of the subset of permissions to be revoked. In one embodiment, the indication of the subset of permissions is a string. In one embodiment, the string is user-generated. Advantageously, allowing strings to represent groups of permissions provides an efficient method of identifying and, in particular, revoking groups of permissions, compared to listing each individual permission that the user wishes to revoke, and also provides more refined control than revoking the entire license.

[0066] In one embodiment, the step of revoking the subset of permissions of the first license data includes: setting a value to a revoked field in the first license data. In one embodiment, the value is a time value. In one embodiment, the time value set in the revoked field is the current time, or a time field in the request. In one embodiment, based on the value in the revoked field, the first license and / or the subset of permissions of the first license is considered to be revoked. In one embodiment, based on a comparison of the current time and the time value set in the revoked field, the first license and / or the subset of permissions of the first license is considered to be revoked. By using a timestamp in the revoked field, flexibility is provided to the system as to when a license is considered to be revoked, thereby also improving security because it also reduces the attack surface through which the license may be interfered with.

[0067] In one embodiment, the method includes: determining the validity of the request, and wherein determining the validity of the request includes: verifying that the sender of the request is a process associated with a parent license of the first license or a process sent by a holder of the parent license of the first license. In one embodiment, if the sender of the request is not the parent license of the first license or the holder of the parent license, the request is rejected. In one embodiment, determining that the sender of the request is a process associated with the parent license of the first license includes: determining that the request is received from a computing module within a secure computing environment. In one embodiment, determining that the request is received from a computing module within the secure environment includes: comparing a process identifier included in the received request with another process identifier, the other process identifier being associated with the first license. In one embodiment, verifying that the sender of the request is a process associated with a parent license of the first license or a process sent by a holder of the parent license of the first license includes: verifying an encrypted signature of the request. In one embodiment, verifying the encrypted signature includes: verifying whether the signature is signed by the holder of the parent license. Advantageously, by using cryptographic means, or ensuring that the request comes from a known secure process, the security of the system can be improved because invalid requests to revoke licenses or permission subsets will be rejected.

[0068] In one embodiment, determining the validity of the request further comprises determining whether a license identifier included in the request matches a parent license identifier stored in the first license data. Advantageously, only allowing a parent license to modify a child license in this manner can further improve security.

[0069] In one embodiment, the method further comprises: revoking all descendant licenses of the first license. In one embodiment, the step of revoking all descendant licenses of the first license comprises: obtaining a list of sub-licenses from the first license data; and transmitting another revocation request to the sub-license process so that the sub-license revokes all its descendant licenses. In one embodiment, the another revocation request is constructed so that upon receipt, each descendant license iteratively performs the steps of this aspect until all descendant licenses are revoked. Advantageously, this ensures that descendant licenses of the parent license are also revoked. This improves the overall security of the license hierarchy and the system, and further provides an efficient method of revoking all sub-licenses without the need for the callee to actually know all sub-license identifiers.

[0070] In one embodiment, the data indicating at least one permission is an object comprising at least one name-value pair. In one embodiment, the name of the name-value pair is represented by a string, and the value of the name-value pair is represented by the string and / or at least one other name-value pair. In one embodiment, the string is arbitrary and / or user-generated. In one embodiment, the value is arbitrary and / or user-generated. Advantageously, the use of name-value pairs, especially user-generated name-value pairs, can improve the design flexibility of the security license system, and further implement the namespace feature, as described below.

[0071] In one embodiment, the request is received via an API that is only provided to computing modules that belong to the secure computing environment. In one embodiment, the computing module that performs any one or more of the methods described in the embodiments herein is part of the secure computing environment. Advantageously, in the case where the request originates from the secure computing environment, the request can be assumed to be valid in many cases. By assuming that the request is valid, processing time can be saved because other checks (e.g., signature verification, authorization, verification of the request itself, and other checks) can be skipped, thereby reducing the processing time and computing resources required to process the request.

[0072] In one embodiment, the first license is part of a license hierarchy. In one embodiment, the first license data includes data indicating a parent license. In one embodiment, the first license data includes data indicating a sublicense. Advantageously, the hierarchical license structure enables replacement and improved management of licenses. In one embodiment, the hierarchical structure is such that when a parent license is revoked, its sublicenses are also revoked. Preferably, having parent licenses and sublicenses can provide a hierarchical tree structure. More advantageously, the hierarchical structure allows for parent license and sublicense relationships, thereby achieving the following advantages related to namespaces, sublicense creation restrictions, and cascading revocations.

[0073] In one embodiment, the first license data includes at least one namespace, wherein each namespace defines a portion of the permissions that a sublicense of the first license may have. Advantageously, this provides a method of limiting the operations that a license may perform, such that if a sublicense and / or parent license is compromised in any way, the sublicense will be limited in what other permissions it can receive and / or generate on other licenses.

[0074] In one embodiment, the first license data includes an indication of whether other licenses may be generated as sublicenses of the first license. In one embodiment, the first license data includes an indication of the maximum depth of descendant licenses that the first license may have. In one embodiment, the first license data includes a maximum number of sublicenses that the first license may have. In one embodiment, the first license data includes an array indicating the maximum number of descendant licenses that the first license may have at different depths. Advantageously, limiting the number of sublicenses that a license may create (even to zero), the depth of sublicenses, and / or the number of sublicenses at different depths may improve security because these limitations allow a parent license holder to limit the operations that a potentially compromised and / or hostile first license holder may perform.

[0075] In one embodiment, the first license data includes a time indicating the start of the license validity period. In one embodiment, the first license data includes a time indicating the end of the license validity period. Advantageously, providing a time value for the start or end of the license validity period can increase the flexibility of the parent license holder in selecting the license validity period. In addition, the security of the system is increased by limiting the validity time of the license. Limiting the start / end time of the license validity period can limit the amount of time a hostile third party can interfere with the license.

[0076] In one embodiment, the first license identifier obscures the identity of the holder of the first license. In one embodiment, the first license identifier is a pseudo-randomly generated string. Advantageously, rendering the license identifier non-identifiable to the user associated with the license may further improve security, as it may be more difficult for a hostile third party having access to the identifier to identify, impersonate, approach and / or otherwise interact with / as the associated user.

[0077] In one embodiment, the method further comprises the step of transmitting data indicative of the request for storage in a log or inclusion on a blockchain. Preferably, the data indicative of the request is configured to provide an indication of the status of the license. More preferably, a set of data indicative of previous interactions with the license is configured to provide an indication of the current status of the license.

[0078] Advantageously, by storing all of these interactions with the license (particularly any "send" interactions that modify the license), including the creation of the license, the license can be reconstructed using that set of interactions. This reconstruction can be compared to the current state of the license to ensure that nothing about the license has been tampered with, further increasing security and the ability of third parties to rely on the secure state of the license. Using a blockchain to record these interactions can further increase security, as the blockchain can provide additional security and public, verifiable non-malleability of the interaction log.

[0079] In more detail, the system of the third aspect includes: a first computing module configured to generate a first request; and a license computing module configured to perform any one of the embodiments of the method of the third aspect. In one embodiment, the license computing module belongs to a secure computing environment. In one embodiment, the first computing module is another license computing module, and the other license computing module belongs to the secure computing environment.

[0080] Advantageously, when these devices are all operating in the same secure computing environment, this can serve as a way to confirm that the request originated from a secure source and can therefore (in many cases) be assumed to be valid. By assuming that the request is valid, processing time can be saved because other checks (e.g., signature verification, authorization, verification of the request itself, and other checks) can be skipped, thereby reducing the processing time and computing resources required to process the request.

[0081] In one embodiment, the first computing module is a user device. Advantageously, this allows other users to interact with the license.

[0082] In more detail, the device of the third aspect includes a processor and a memory, the memory includes executable instructions, and when the processor executes the executable instructions, the device performs a computer-implemented method according to any one of the embodiments of the method of the third aspect.

[0083] According to a third aspect, a non-transitory computer-readable storage medium is also described, which includes computer program code instructions executable by a computer to perform any of the embodiments of the method of the third aspect.

[0084] In a fourth aspect, the present disclosure proposes a method, device, system, and computer program for adding other permissions to a first license. In more detail, the method of the fourth aspect includes: receiving a request including a first license identifier, wherein the first license identifier identifies a first license; and obtaining first license data based on the first license identifier, wherein the first license data includes data indicating at least one permission, and wherein the at least one permission provides an indication of one or more actions that the holder of the first license can take and / or the operations that the holder of the first license is allowed to perform, wherein the request is to add an additional permission set to the first license, and the request includes the additional permission set.

[0085] In one embodiment, the method includes: determining that the sender of the request is a computing module associated with a parent license and / or a holder of the parent license, and wherein the parent license is a parent license of the first license. In one embodiment, if the sender of the request is not the parent license or the holder of the parent license, the request is not processed. In one embodiment, determining that the sender of the request is a computing module associated with the parent license or the holder of the parent license includes: comparing a license identifier included in the received request with a parent identifier included in the first license data; and confirming that the sender of the request is a computing module associated with the parent license or the holder of the parent license based on the comparison. In one embodiment, determining that the sender of the request is a process associated with the parent license of the first license includes: verifying the encrypted signature of the request. In one embodiment, verifying the encrypted signature includes: verifying whether the signature is signed by the holder of the parent license. Advantageously, by using cryptographic means, or ensuring that the request comes from a known secure process, the security of the system can be improved because invalid requests to revoke licenses or permission subsets will be rejected.

[0086] In one embodiment, the step of processing the request is continued based on determining whether the first license has been revoked. In one embodiment, the step of determining whether the first license has been revoked includes: checking a revoked field in the first license data. In one embodiment, the step of determining whether the first license has been revoked includes: checking whether a first time stored in the revoked field is earlier than a current time.

[0087] In one embodiment, the method further comprises the steps of: determining that adding additional permission sets will not exceed a maximum number of permission sets; and continuing to process the request based on the determination. In one embodiment, at least one permission includes data indicating a maximum number of permissions that can be associated with the license. Advantageously, the license has built-in customizable restrictions, thereby increasing the security of the license itself.

[0088] In one embodiment, the request includes a string identifying the other set of permissions. In one embodiment, the string is user generated. Advantageously, allowing strings to represent permission groups provides an efficient method of revoking permission groups, as compared to listing each individual permission that the user wishes to revoke. In addition, by using identifiers to reference permission groups, there is no need to reference each permission individually or iterate over permission groups, thereby improving efficiency.

[0089] In one embodiment, the method further comprises the step of adding further permission sets to the license.

[0090] In one embodiment, the data indicating at least one permission is an object comprising at least one name-value pair. In one embodiment, the name of the name-value pair is represented by a string, and the value of the name-value pair is represented by the string and / or at least one other name-value pair. In one embodiment, the string is arbitrary and / or user-generated. In one embodiment, the value is arbitrary and / or user-generated. Advantageously, the use of name-value pairs, especially user-generated name-value pairs, can improve the design flexibility of the security license system, and further implement the namespace feature, as described below.

[0091] In one embodiment, the request is received via an API that is only provided to computing modules that belong to the secure computing environment. In one embodiment, the computing module that performs any one or more of the methods described in the embodiments herein is part of the secure computing environment. Advantageously, in the case where the request originates from the secure computing environment, the request can be assumed to be valid in many cases. By assuming that the request is valid, processing time can be saved because other checks (e.g., signature verification, authorization, verification of the request itself, and other checks) can be skipped, thereby reducing the processing time and computing resources required to process the request.

[0092] In one embodiment, the first license is part of a license hierarchy. In one embodiment, the first license data includes data indicating a parent license. In one embodiment, the first license data includes data indicating a sublicense. Advantageously, the hierarchical license structure enables replacement and improved management of licenses. In one embodiment, the hierarchical structure is such that when a parent license is revoked, its sublicenses are also revoked. Preferably, having parent licenses and sublicenses can provide a hierarchical tree structure. More advantageously, the hierarchical structure allows for parent license and sublicense relationships, thereby achieving the following advantages related to namespaces, sublicense creation restrictions, and cascading revocations.

[0093] In one embodiment, the first license data includes at least one namespace, wherein each namespace defines a portion of the permissions that a sublicense of the first license may have. Advantageously, this provides a method of limiting the operations that a license may perform, such that if a sublicense and / or parent license is compromised in any way, the sublicense will be limited in what other permissions it can receive and / or generate on other licenses.

[0094] In one embodiment, the first license data includes an indication of whether other licenses may be generated as sublicenses of the first license. In one embodiment, the first license data includes an indication of the maximum depth of descendant licenses that the first license may have. In one embodiment, the first license data includes a maximum number of sublicenses that the first license may have. In one embodiment, the first license data includes an array indicating the maximum number of descendant licenses that the first license may have at different depths. Advantageously, limiting the number of sublicenses that a license may create (even to zero), the depth of sublicenses, and / or the number of sublicenses at different depths may improve security because these limitations allow a parent license holder to limit the operations that a potentially compromised and / or hostile first license holder may perform.

[0095] In one embodiment, the first license data includes a time indicating the start of the license validity period. In one embodiment, the first license data includes a time indicating the end of the license validity period. Advantageously, providing a time value for the start or end of the license validity period can increase the flexibility of the parent license holder in selecting the license validity period. In addition, the security of the system is increased by limiting the validity time of the license. Limiting the start / end time of the license validity period can limit the amount of time a hostile third party can interfere with the license.

[0096] In one embodiment, the first license identifier obscures the identity of the holder of the first license. In one embodiment, the first license identifier is a pseudo-randomly generated string. Advantageously, rendering the license identifier non-identifiable to the user associated with the license may further improve security, as it may be more difficult for a hostile third party having access to the identifier to identify, impersonate, approach and / or otherwise interact with / as the associated user.

[0097] In one embodiment, the method further comprises the step of transmitting data indicative of the request for storage in a log or inclusion on a blockchain. Preferably, the data indicative of the request is configured to provide an indication of the status of the license. More preferably, a set of data indicative of previous interactions with the license is configured to provide an indication of the current status of the license.

[0098] Advantageously, by storing all of these interactions with the license (particularly any "send" interactions that may modify the license), including the creation of the license, the license can be reconstructed using that set of interactions. This reconstruction can be compared to the current state of the license to ensure that nothing about the license has been tampered with, further increasing security and the ability of third parties to rely on the secure state of the license. Using a blockchain to record these interactions can further increase security, as the blockchain can provide additional security and public, verifiable non-malleability of the interaction log.

[0099] In more detail, the system of the fourth aspect includes: a first computing module configured to generate a first request; and a license computing module configured to perform any one of the embodiments of the method of the fourth aspect. In one embodiment, the license computing module belongs to a secure computing environment. In one embodiment, the first computing module is another license computing module, and the other license computing module belongs to the secure computing environment.

[0100] Advantageously, when these devices are all operating in the same secure computing environment, this can serve as a way to confirm that the request originated from a secure source and can therefore (in many cases) be assumed to be valid. By assuming that the request is valid, processing time can be saved because other checks (e.g., signature verification, authorization, verification of the request itself, and other checks) can be skipped, thereby reducing the processing time and computing resources required to process the request.

[0101] In one embodiment, the first computing module is a user device. Advantageously, this allows other users to interact with the license.

[0102] In more detail, the device of the fourth aspect includes a processor and a memory, the memory includes executable instructions, and when the processor executes the executable instructions, the device performs a computer-implemented method according to any one of the embodiments of the method of the fourth aspect.

[0103] According to a fourth aspect, a non-transitory computer-readable storage medium is also described, which includes computer program code instructions, which are executable by a computer to perform any of the embodiments of the method of the fourth aspect.

[0104] Those skilled in the art will appreciate that the above aspects can be used in combination with each other. For example, the first aspect and the second aspect can be combined with each other so that there is a method to verify a license and add another license.

[0105] Exemplary System Overview

[0106] Figure 1 An exemplary system 100 for implementing the licenses described herein is shown. The system includes a plurality of computing modules 102, 104, 106 inside a secure processing environment 108. Outside the secure processing environment, there are a plurality of client devices 110, 112. The client devices 110, 112 are configured to interact with some of the computing modules 102, 104, 106 of the secure processing environment. Preferably, the computing modules 104, 106 have an associated address and can receive requests including the address. Optionally, the computing module 102 is a gateway module that is configured to receive requests from the client devices 110, 112 and forward the requests to the correct computing modules 104, 106 based on the addresses stored in the requests.

[0107] Preferably, the computing modules 102, 104, 106 are implemented as microservices running within a secure processing environment 108. Optionally, the secure processing environment is a single server or a single collection of servers within a computer network. Alternatively, the computing modules are implemented as part of a serverless system, and the serverless system defines the secure processing environment. An exemplary serverless environment includes AWS Lambda (TM).

[0108] Preferably, computing modules 102, 104 have an associated process identifier. The process identifier is the same for all processes associated with the license in secure processing environment 108. Here, the process identifier identifies a class of similar computing modules. Computing modules are also described herein as instances of an "instance identifier" having an "instanceId." Optionally, the process identifier is stored in the license data instance.

[0109] As described below under the heading "Interaction with Licenses", each license includes an associated computing module (and vice versa, each computing module has an associated license). Thus, preferably, when operating on a license, this includes interacting with the computing module that is associated with the license. Preferably, the interaction is performed by sending a request to the computing module associated with the relevant license.

[0110] Optionally, a computing module manager 114 exists within the secure processing environment 108. Preferably, the computing module manager 114 is configured to create a new process within the secure processing environment 108.

[0111] License and License Contents

[0112] A permit provides a way to identify a user and describe what the permit holder can do. The identification aspect is done using public key cryptography, while the "what the holder can do" is done using permissions as described in this article.

[0113] In one embodiment, each license has an associated license data instance (which is also described as associated license data or license data). The license data instance includes data about the license itself and the permissions that specify the operations that the holder of the license can perform. Preferably, each license includes at least one permission, and more preferably includes multiple permissions. The permissions are configured to determine the operations that the holder of the license can perform. Preferably, the permissions are defined by a name value (also called a key value) pair. Preferably, the name is a string of characters. More preferably, the string of characters is human-readable and provides an indication of the relevant content of the permission. Preferably, the value is a string, a number or a data structure, wherein the data structure is one or more name value pairs. Preferably, the permissions are in the form of further detailed discussion below under the heading "Permissions". Preferably, when a license including one or more permissions used herein is referenced, this reference includes a license data instance of the name value permission. Preferably, the permissions are provided in the form of a set or group (referred to as permissionSet in the examples described herein). Preferably, the permission group is part of each license as an "extension". Extensions will be further discussed below under the heading "Extensions".

[0114] Each license also includes data so that the identity of the holder of the license can be verified. Preferably, the license includes a public key associated with the holder of the license. Verification of the identity of the license holder can be determined by the holder signing a message (or any data) using its private key, and then the party verifying the identity of the license holder can compare the signature and message with the public key associated with the license holder. Preferably, the public key associated with the license holder is stored in the associated license data instance.

[0115] Preferably, each licence is identified by a licence identifier. Preferably, the licence identifier provides no indication as to the content of the licence. Preferably, the licence identifier is a pseudo-randomly generated string of characters.

[0116] In one embodiment, the system provides a method for verifying a user's signature against his license, thereby verifying that the user is or is not the holder of the license. Preferably, verification is performed according to the method described under the heading "Verifying Signature".

[0117] Preferably, the license is part of a hierarchy. Figure 2 , showing a hierarchy of licenses 200. All licenses (except the root 202) will have a parent license, and optionally one or more child licenses. Preferably, a child license cannot have more than one parent license. The resulting license hierarchy is a tree. A parent license is able to create child licenses (subject to various restrictions imposed on the licenses themselves, which are discussed in more detail below, particularly under the "Adding Sublicenses" heading). Preferably, when a parent license is revoked, its child licenses are also revoked. More preferably, the process is recursive, so that all descendant licenses of a parent license are also revoked. This can be thought of as a cascading revocation starting from the parent license.

[0118] Preferably, the license includes a set of rules that allow the license holder to create sublicenses that include permissions within a given "domain" or "namespace", but not across other domains or namespaces. Using these namespaces prevents different organizations from interfering with other organizations using the license system. This set of rules can be found in the "Special Permissions" discussion below.

[0119] In addition, the set of rules allows delegation of rights to sublicenses, giving sublicenses the right to create grandchildren licenses within a domain or namespace, subject to optional depth and total number limits. Preferably, these limits are recursive, in that children inherit the same or more restrictive delegation of rights from their parents.

[0120] The top-level root license 202 is capable of creating a large or even unlimited number of sub-licenses, with virtually no restrictions. Preferably, with such extensive capabilities, the private key / public key pair used to create the root license can be securely managed. Preferably, the private key associated with the root license is stored offline in a secure device.

[0121] The creation of the top-level root license 202 (rather than the organizational root licenses 206, 208, 210) is a one-time process. The method is similar to creating a child license, except that there is no parent license to reference, so all checks related to checking the parent license's permissions, authentication, authorization, and other functions are skipped or otherwise ignored. Preferably, in this embodiment, it is run once and not run again.

[0122] exist Figure 2 In the exemplary license hierarchy 200 of FIG. 1 , there are four different organizations using licenses. nChain(TM) is the holder of the root license, and the licenses used by Org ABC, Org PQR, and Org XYZ are all children of the nChain license. It should be understood by those skilled in the art that the specific companies are used only as examples. Furthermore, there may be any number of organizations in such a license system. Figure 2 The exemplary hierarchy and organization shown in exemplifies the flexibility of license construction when using the various disclosed embodiments described herein.

[0123] Continuing with the example, Org ABC has an organization-level root license 206. This is a root license because it is the root of Org ABC's licenses, not the top-level root of the entire tree 202. Org ABC has created at least two sub-licenses 212, 214. These sub-licenses are for different customers and / or end users.

[0124] Org XYZ has a root license 210. Org XYZ has chosen to have a different hierarchical structure with licenses for each country. The XYZ UK license 216 is shown with at least two licenses 218, 220 for members and / or end users.

[0125] In one embodiment, the holder of the root license creates multiple sublicenses 204 of the same holder. These sublicenses are configured so that they can create other sublicenses 206, 208, 210 for other users of the system. In this way, each time a new user or organization requires a license, further license creation does not need to be performed using the top-level root license 202, thereby reducing the opportunity for attacks and increasing the security of the root license.

[0126] Preferably, each license contains a reference to its parent license and one or more named permissions. Once created, a parent license will provide data indicating a set of permissions and a public key (holderPubKey) associated with the license holder. As can be seen in the exemplary license data example below, by default, permissions are stored under the extensions["default"] object. The creation of a license is described in more detail under the "Adding a Child License" heading.

[0127] Preferably, the license information is tracked in a data structure called a license data instance or license data. The data structure includes at least some of the following elements listed in the table below. Preferably, all of these elements are required. Some values ​​of these elements can be set to empty, zero, or zero length. More preferably, the parent license is required, but not empty.

[0128] Optionally, the validity period of the license is from the current time to an end time and date. Preferably, the end time and date are set under the "revoked" element in the license data instance. Once revoked, the license cannot be reactivated. For temporarily deactivating a license (or a subset of its permissions), the extended revocation and addition discussed below under the "Extensions" heading can be used.

[0129] Table 1 - License Data Instance Elements

[0130]

[0131] Preferably, determining whether a license has been revoked depends on the current time. Each license includes a "revoked" element, which includes a time. For a license to be considered revoked, the current time must be after the revocation time stored in the license. More preferably, and in accordance with another embodiment, a method is provided in which a license is provided at a time in the future, and whether the license is valid at that time is returned.

[0132] Preferably, the mapping of named permissions is referenced by its name in the extension mapping. The name "default" will be used when storing the initial extension.

[0133] Alternatively, no extension mapping is used, and only one permission set is associated with the license.

[0134] Each extension includes multiple elements. Table 2 below provides exemplary elements of an extension. Preferably, all of these elements are required.

[0135] Table 2 - Extension elements

[0136]

[0137] An exemplary license data instance is shown below in JSON format, where all elements are used (although some of them are set to empty).

[0138]

[0139] It will be appreciated by those skilled in the art that the above is an exemplary license, and that some features of the license data instance may be deleted, not used, or modified according to the specific embodiments described herein. It will be further appreciated by those skilled in the art that the JSON provided here is used as an example of representing a license. The license and its contents may be represented using other formats, such as XML, binary encoding format, or any other appropriate format.

[0140] refer to Figure 3A , shows a simple example (where the final top-level root license is omitted). Here, an organization's root license 302 has at least two child licenses 304, 306. The organization is NBW (National Bureau of Waterways), which issues fishing licenses 304, 306 (restricted to anglers in this example). Optionally, NBW provides a mobile application that holds an identifier of the holder's license and a secret key that allows the holder of the license to verify that they hold that license. Each angler's license 304, 306 includes rights called "org.nbw.angler.rights" and preferably has the following structure:

[0141]

[0142] Optionally, there are other permissions associated with an individual's identity, such as a membership number and user name.

[0143] In use, a fishing inspector who wishes to confirm that a user (e.g., Fred Bass, who holds the first sublicense 304) is fishing with the right type of equipment and catching the right type of fish can use the license to perform these actions. The inspector can use the license identifier (preferably obtained from Fred Bass's phone via a QR code). Using the license identifier, the inspector can query the license instance itself to verify authority (so that Fred Bass is using a fishing rod and catching only carp, channel fish, or pike) and identity (so that Fred is actually the holder of the license and he has not copied someone else's license identifier).

[0144] Permissions

[0145] Preferably, the permissions are namespaced. More preferably, the permissions are namespaced by restricting the names of the name value pairs. Preferably, the namespaces use a reverse DNS domain-like structure separated by "." (periods). Some exemplary namespaces include:

[0146] com.example.user.id

[0147] com.example.user.type

[0148] com.example.acme.user.id

[0149] org.nbw.angler

[0150] As can be seen, these namespaces are built from left to right, where the leftmost prefix is ​​the least specific feature and the rightmost suffix is ​​the most specific feature.

[0151] Preferably, both the names and values ​​of the name-value pairs of these permissions are customizable (as long as the names are within the allowed namespace of the parent license). Preferably, both the names and values ​​can be any arbitrary value. Preferably, both the names and values ​​are provided by a user of the license system. Thus, the names and values ​​are user-generated. By providing user-generated and / or customizable names and values, the use case of the license can be very flexible, allowing it to be used in a large number of different applications.

[0152] Preferably, namespaces can only get longer. This can also be understood as a child license's permissions can only be a subset of the permissions allowed by the parent license's permissions. Preferably, namespaces allow permissions to be structured into a hierarchy (this is additional and separate from the licenses, although they usually match, but licenses are also hierarchical).

[0153] Preferably, the permissions hierarchy follows the same structure as the license. Furthermore, it should be understood that each sublicense includes permissions that are a subset (by namespace) of the parent license.

[0154] Special permission sets prefixed with a "$" namespace provide information and / or restrictions about the license itself. The "$" namespace provides restrictions on the permissions these licenses can add to sublicenses. These restrictions can include:

[0155] Enforce one or more namespace prefixes on all permissions in descendants;

[0156] Grants rights to children to create additional licenses, recursively up to a given depth;

[0157] Limit the number of children and descendants that can be created; and / or

[0158] The number of extensions that can now be created (discussed below under the "Extensions" heading).

[0159] Alternatively, the information stored in these special permissions (i.e., the restrictions and other information of the license) is not stored in the special permissions, but is stored in the license data instance. Preferably, each of these restrictions is stored as its own element in the license data instance. It should be understood by those skilled in the art that these restrictions can be stored in any number of different locations associated with the license.

[0160] Optionally, the "$" namespace is also used to define the scope of validity of the license.

[0161] Table 3 - Example Special ($) Permissions

[0162]

[0163] The special ($) namespace does not need to follow the "$.children.namespace" rule above. Preferably, only a specific set of special permissions can be created. More preferably, the above set is the only special permissions a license can have.

[0164] Preferably, the $.valid.after and $.valid.before permissions use local time. Preferably, these permissions are optional and not required. Preferably, $.valid.after and $.valid.before define the validity period (also called the validity range) of the license and / or extension. Preferably, if a parent license sets either of the $.valid.after and $.valid.before permissions, any child license created from it must be transmitted within the same or a narrower time window. Therefore, it can be seen that the validity range of a child license cannot exceed the validity range of its parent license.

[0165] Preferably, these special permissions are only stored in the initial / default extension, since these special permissions refer to the entire license. Any special permissions stored in a different extension are ignored or denied.

[0166] refer to Figure 3A As in the previous example, the NBW root license 302 includes at least the following permissions:

[0167] $.children.namespace="org.nbw"

[0168] $.children.levels=1

[0169] These permissions state that the holder of the NBW root license 302 can create as many sub-licenses as desired, as long as the permissions of the sub-licenses begin with "org.nbw" and the sub-licenses are only one level deep.

[0170] refer to Figure 3B , another exemplary license structure 320 is shown here. This structure is similar to reference Figure 3A The structure described. The NBW root license 302 has the "$.children.levels" permission equal to 2 (or more). In this example, the NBW license 302 holder wants to allow clubs to create licenses for their own members. The NBW license 302 creates a club license BLFC 322 (Big Lake Fishing Club) that includes the following permissions:

[0171] org.nbw.club.id="BLFC"

[0172] $.children.namespace="org.nbw.angler"

[0173] $.children.levels=1

[0174] $.children.max=50

[0175] These permissions allow the BLFC to create up to 50 licenses for its members, but are limited to permissions within the namespace "org.nbw.angler". Therefore, no child is allowed to use permissions such as "org.nbw.club.id", so a child cannot impersonate the permissions of a club license (for example, if a child license includes the permission "org.nbw.club.id", the child license can pretend to be the club and take any actions associated with the club) or any other similar permissions.

[0176] The BLFC license 322 creates at least two sublicenses 324, 326. These sublicenses must have permissions prefixed with "org.nbw.angler".

[0177] Extensions

[0178] Preferably, permissions are stored in "extensions". Preferably, an extension consists of: a permission set (called permissionSet), a revoke element, and a holderPubKey element. Extensions are stored in license data instances in the extension map and referenced by name. Preferably, the name is user-generated. Preferably, the name is human-readable. Optionally, the initial extension and / or the default extension are marked as "default". Here, human-readable refers to any encoding such that it can be naturally read by humans. Preferably, the encoding is ASCII or Unicode text.

[0179] Preferably, the extension provides a way to reference a group consisting of at least one permission. More preferably, the permission provides a human-readable way to reference a group or set consisting of at least one permission. As discussed above in Table 2, each extension includes multiple elements, including a permission set.

[0180] An extension may also be described as including, defining, or being a subset of the permissions of the license to which the extension belongs.

[0181] It will be appreciated by those skilled in the art that it is not necessary to strictly follow the structure and format of the extension and the storage mode of the extension. For the extension and / or set of permissions, there may be alternative structures. An exemplary alternative may be that the extension may not be strictly stored in the extension map, but may be stored in a list or other appropriate data structure. Alternatively, the extension objects described herein may also have different structures because they only include a permission list or a permission reference list, and the permissions themselves are stored elsewhere in the license.

[0182] Extensions can be used to add and replace permission sets during the validity period of a license. Extensions can be added or revoked by a parent license. Preferably, all permissions added to a license are signed by the holder of the parent license.

[0183] Adding extensions to a license is discussed in more detail under the heading “Adding Extensions.” Revoking an extension is discussed in more detail under the heading “Revoking Extensions.”

[0184] In one embodiment, the extension enables the license holder to associate different devices with the license. For example, if the license is used to access a specific resource (optionally a computing resource), a single license holder may have an "iPhone" extension to manage the interaction of its iPhone with the computing resource and a "desktop" extension to manage the interaction of its desktop computer with the computing resource. As described above, the extension can be revoked. Advantageously, if the user loses their iPhone, they can contact their license provider (the provider has control over the parent license that created the user's license), and they can revoke the iPhone extension without affecting the interaction of the user's other devices with the service. Therefore, it can be seen that the extension system provides improved flexibility and control when providing / removing access to resources. Combine this with the central control of the license and / or the lack of a certificate revocation list (CRL, which will be discussed further under the heading of "revoke license"), when verifying the permissions within the relevant extension, since such lists do not need to be distributed and maintained, computing resources can be saved.

[0185] Interaction with Licenses

[0186] As mentioned above, preferably, the license system described herein interacts using requests. Preferably, these requests are HTTP requests. More preferably, these requests are sent to REST endpoints. There are two relevant REST endpoints:

[0187] … / send, for requesting actions on a license, including creating and revoking sublicenses; and

[0188] ... / query, to check the validity and permissions of the license.

[0189] Preferably, many interactions will require the request to include a signature, so an organization wishing to interact with a license for creation, revocation, or other interactions will need to set up a private / public key pair. Any request will also need to include the instance id of the license of interest. The instance id and public key can be publicly viewable or known, but the private key must be kept secret.

[0190] Transmitting requests to these endpoints can also be described as "calling" them, since they are presented in the form of a RESTful API. Therefore, the sender of the request can also be considered the "caller".

[0191] Preferably, any request sent to the "... / send" endpoint is logged. Preferably, the logging occurs on the blockchain so that third parties can audit the requests. Preferably, any request sent to the "... / query" endpoint is not logged.

[0192] Optionally, requests that would normally be sent to "... / query" can be sent to the "... / send" endpoint for logging. This option is useful when a license (or the permissions of a license) check is critical and needs to be verified later. For example, if all license holders need to have their license checked before entering a location, it may be necessary to log every time a license is checked to ensure that the check was actually done.

[0193] In one embodiment, the interactions described under the headings "Create Sublicense", "Revoke License", "Revoke Extension", and "Add Extension" are recorded on the blockchain, or at least a subset of the interactions are recorded on the blockchain. Preferably, all of these interactions are recorded off-chain, and a subset of the interactions are recorded on the blockchain. Preferably, the interactions are recorded into multiple interaction sets, where each interaction set is associated with a single license. Each interaction set also has an associated representation on the blockchain (through the use of transactions). Thus, an auditor who wishes to track interactions with a license of interest can only audit the set of interest.

[0194] Preferably, each of the interactions recorded on the blockchain includes an immutable reference to the previous interaction (optionally also stored on the blockchain). Preferably, the reference is a hash of the previous interaction. Preferably, all interactions include a reference to the previous interaction, thereby establishing an immutable chain of all interactions. Thus, the immutable log only requires a subset of the interactions recorded on the blockchain. Optionally, only the first and last interactions are recorded on the blockchain.

[0195] Preferably, the recording is done using an event stream for each license. Optionally, there is a recording service that interacts via an API to provide a recording embodiment. The event stream is as follows:

[0196] PCT / IB2021 / 051258 filed by nChain Holdings Limited on February 15, 2021;

[0197] PCT / IB2021 / 051260 filed by nChain Holdings Limited on February 15, 2021; and

[0198] PCT / IB2021 / 051333 filed by nChain Holdings Limited on February 17, 2021.

[0199] Preferably, the interactions described under the headings "Create Sublicense", "Revoke License", "Revoke Extension" and "Add Extension" are all provided using the ... / send API endpoint.

[0200] Preferably, data indicating any interaction with the license is transferred to an event stream using an event stream API. Preferably, the event stream API is a RESTful API. The current state of the license can be verified by taking all of these interactions with the license (including its creation), and recreating a "virtual license" by executing / playing back all the interaction steps again (this can also be described as a "dry run" because no new license is actually created). The final state of the "virtual license" should have the same current state as the real license. If any intermediate states of the license are known, verify that the same is true.

[0201] Therefore, it can be seen that by recording the interaction with the license, the state of the license is recorded, so the current state or any previous state is auditable and verifiable. By submitting these state changes to the blockchain through an event stream, the license will become permanently auditable and verifiable with high data integrity confidence.

[0202] Some example requests to an endpoint might include the following features in the header:

[0203] POST https: / / {AWS ID}.amazonaws.com / api / v1 / processInstance / {instanceID} / send

[0204] or

[0205] POST https: / / {AWS ID}.amazonaws.com / api / v1 / processInstance / {instanceID} / query

[0206] Where {AWS ID} is the id of the AWS(TM) endpoint and {instance ID} is the license identifier. It will be appreciated by those skilled in the art that other URLs and services may be used. For example, a non-AWS URL may be used. It will be appreciated by those skilled in the art that the requests provided herein are exemplary and may take different forms. The request is shown to include the URL to which the request is sent. Optionally, the full URL is not provided in this manner, but only the path is provided.

[0207] Optionally, the request header also includes an AWS API key.

[0208] Preferably, the body of the POST should be a JSON object containing a single property naming the message or interaction being sent. Preferably, the request is authenticated and authorized by signing the parameters with the sender's private key and placing the result in the signature attribute of the request. For example:

[0209]

[0210] It should be noted that the part of the request being signed needs to be sent as a string representation of the request contents rather than the JSON object itself. This is to ensure that the sender of the request and the receiver of the request use the same object representation (regardless of spacing, order, etc.) to calculate the signature. In addition to stringification, a canonical structure of the object can also be used. Optionally, the canonical structure is defined according to RFC8785. The canonicalization scheme is a scheme that is mutually agreed upon by the sender and the receiver. The scheme may be agreed upon in advance, or the scheme is identified by the sender so that the receiver knows which scheme is being used.

[0211] Preferably, the request's JSON object can be sent in both non-stringified form and in any valid JSON form, using canonicalization.

[0212] Preferably, the response to the above request has a result attribute and an optional message. For example:

[0213]

[0214] The exact contents of the message (msg) will depend on the context of the request and how it is processed.

[0215] A number of different embodiments are given below describing different interactive licenses. Preferably, any number of these embodiments can be used with any number of different other embodiments. It should be understood by those skilled in the art that some embodiments may not be used in every conceivable system. For example, extensions may not be used, and therefore any interactions related to the creation or revocation of extensions may not be used.

[0216] Creating a Sublicense

[0217] refer to Figure 4A and Figure 4B , showing exemplary methods 400, 420 of creating a sublicense. Preferably, the first method 400 is run by or on behalf of a user (e.g., an organization) who wishes to create a new sublicense of a license they already hold. Preferably, the second method 420 is run by a license calculation module (e.g., Figure 1The computing module 104 of the embodiment of the present invention is executed. It should be understood by those skilled in the art that some of the steps of each method may be performed by different parties, and it is not necessary to strictly follow which member performs which steps.

[0218] Preferably, a public key of the holder of the new license to be created is learned or obtained 402. Optionally, obtaining the new public key includes generating a new private key / public key pair. Preferably, the private key / public key pair is generated by the holder of the new license so that the holder of the parent license (and / or the sender of the request to create the new license) does not learn the private key of the holder of the new license. Thus, the new public key is received from the holder of the new license.

[0219] A request to create a new license is constructed 404 and includes a plurality of features describing the new license. Preferably, the features describing the new license include at least data indicating the rights that the new license will have and the public key of the holder of the new license. Optionally, the features describing the new license also include the validity range of the new license.

[0220] Preferably, the characteristics describing the new license are signed using the private key of the parent license. More preferably, the characteristics are converted to a string (also called "stringification") and / or a canonical data structure, and the resulting string or data structure is signed. The request includes the signature.

[0221] Optionally, a feature describing the new permit is called "permitContents". For example, the request has the following form:

[0222]

[0223] Optionally, the pre-stringified permitContents is a JSON structure and has the following format:

[0224]

[0225] As mentioned above, canonicalization of JSON may be used in addition to the non-stringified permitContents (or any other stringified JSON as used herein), and the JSON structure of the request may be in regular, non-stringified form.

[0226] As an alternative to JSON, permitContents and / or requests can be in XML format. Figure 3A and Figure 3B For the specific example of fishing, that is, NBW wants to create a fishing license 304 for Fred Bass, the permissionContents used to create Fred's license 304 may be:

[0227]

[0228]

[0229] The request is created and transmitted by the user 408 and received by the parent license 422. As discussed above with reference to interacting with the license, the request includes (preferably in a header) an address. Preferably, the address includes a license identifier of the parent license. Thus, the request is sent to and received at the computing module associated with the parent license.

[0230] refer to Figure 4B Method 420 of , shows steps associated with verifying a new license and a parent license. Preferably, at least these steps are performed by a computing module associated with the parent license.

[0231] After receiving the request 422, the license instance data 424 (also described as license data) is obtained. Preferably, the computing module has stored this information in memory. Alternatively, the computing module obtains the license instance data from a repository and / or a database including other license instance data.

[0232] As discussed below with reference to the method and with reference to other embodiments involving verification and / or validation steps, multiple validity checks are performed to ensure that certain features of the request and / or license are correct. This specification describes in detail the smooth path that the received request and all data being verified are correct. However, in the event that any content is found to be invalid or incorrect, the computing module will jump to the last step 432 of the method (or the last step 518 of the revocation method 500), and create a response and transmit it to the sender. The response will indicate that the request failed, and optionally include the reason for the request failure.

[0233] Using the license instance data, some verification is done on the parent license itself, which concerns whether the parent license can create all child licenses 426. Preferably, the parent license verification includes checking whether the parent license has been revoked (because a revoked license cannot create child licenses, and all its child licenses are considered revoked).

[0234] Preferably, the parent license verification includes checking whether its own permissions can create child licenses. Preferably, this includes ensuring that the parent license has a number of levels that can be created below it of 1 or more. With reference to the license data example embodiment discussed above, this means checking whether the "$.children.levels" permission is 1 or more. If the levels value is not set, this is equivalent to being equal to zero, and the parent license cannot create child licenses.

[0235] Preferably, checking whether its own permissions can create sublicenses includes checking whether the maximum number of sublicenses has not been exceeded. With reference to the license data example embodiment discussed above, this means ensuring that "$.children.max" has not been set (which would imply no limit), or has been set to a number greater than the number of sublicenses the license already has, or has been set to an array where the first number in the array is greater than the number of sublicenses the license already has.

[0236] Next, the request and its contents are verified 428. Preferably, the signature of the request is verified so that the license computation module confirms that the request has been signed by the holder of the license (or at least by someone holding a private key associated with the public key of the parent license). Preferably, this signature verification is performed using the public key stored in the data instance of the license.

[0237] Optionally, if a validity range is stored in the request for the new license, a verification step is performed to ensure that the validity range of the new license does not exceed the validity range of the parent license.

[0238] Preferably, the permissions of the new license are verified so that they are within the range of permissions that the parent is allowed to provide. Referring to the license data example embodiment discussed above, this means ensuring that the permissions added to the new license are within the namespace outlined in the parent's "$.children.namespace". For example, if a new license is created with the "org.nbw.angler.rights" permission, then verification includes ensuring that the parent license includes a namespace with "org.nbw.angler" (or a broader namespace, such as "org.nbw" or "org").

[0239] Additionally, it is verified that sublicenses are allowed to create licenses with the same namespace or in the same scope as the parent license. For example, if the parent license's namespace is: ["org.nbw,angler", "org.nbw.club"], a sublicense cannot have the following namespace: ["org.nbw"], because that namespace is broader than the parent license's namespace.

[0240] Preferably, any one or more of the following other checks are performed:

[0241] (A) the total possible levels of the parent and / or child;

[0242] (B) the maximum number of offspring that a parent or offspring may have; and

[0243] (C) The offspring has the same or narrower range of validity than the parent.

[0244] It should be noted that these checks are all intended to ensure that the sublicense does not include any features that are more extensive or in greater quantities than the parent license.

[0245] For (A) above, if a child includes $.children.levels, then the child must have fewer levels than the parent. For (B) above, if a child includes $.children.max, then it must fit within the envelope of the parent's array (if any), with the first element of that array removed. Note that missing levels in the parent mean there is no limit. For (C) above, $.valid.{before,after} must be at least as narrow as the parent.

[0246] Next, create a new license 430. Preferably, when the Figure 1 When used in conjunction with the embodiments discussed, this step includes sending another request to the compute module manager 114. The compute module manager 114 creates a new compute module for the new license and the new license identifier.

[0247] A new license data instance is created for or by the new license and the relevant new content of the license is added thereto. Exemplary content includes new permissions created in the second step 404 of the first method 400 and subsequently verified by the parent license module in the second method 420.

[0248] Optionally, the new license checks whether its creating process (in the present case the parent license) is part of the same secure processing environment 108 .

[0249] Preferably, the new license sets the parent license as its parent license. More preferably, this is done by storing the instance id of the parent license as a "parent license" element of the data instance of the new license.

[0250] After creating the new license process, the new license returns its own license identifier to the parent license. The parent license adds the license identifier of the child license to its list of children. Preferably, this means adding the instance id of the new license to the "children" array element of the parent license data instance.

[0251] Finally, a response to the sender of the request is generated and transmitted to the sender. The response includes an indication that the new license has been successfully created (or not successfully created) and an identifier for the new license. Preferably, the identifier of the new license is also provided to the owner of the new license so that they can reference it when necessary.

[0252] Those skilled in the art will appreciate that, depending on the context of use, many of these steps may be considered optional, particularly in a security context. For example, if the request is received from a sender that is known to be configured to only generate valid requests, the parent license may not need to perform as many verification steps (e.g., verifying that the signature or namespace is correct).

[0253] In addition, although these steps are presented in a particular order here, this is only for ease of description. It should be understood by those skilled in the art that any number of these steps can be completed in any order and / or simultaneously.

[0254] Revocation of license

[0255] refer to Figure 5 , shows a method 500 according to an embodiment of revoking a child license. Preferably, the method is performed by a parent license, wherein the owner of the parent license wishes to revoke a license that is a child of the parent license.

[0256] Preferably, a license can only be revoked by the owner of a parent license. Optionally, a license can be further revoked by any ancestor license.

[0257] Preferably, whenever a license is revoked, all of its descendant licenses are revoked.

[0258] Advantageously, by providing a "Revoked" field on each license that is actively maintained by the system operator, the licensee, and / or the holder of any parent licenses, no Certificate Revocation List (CRL) is required. A CRL is a list of all digital certificates that have been revoked by the issuer. This enables more efficient use of time and resources for licenses, since the user / verifier no longer needs to obtain the list, verify that the list is up to date, and then ultimately traverse a potentially large list of licenses that have been revoked each time a license is used.

[0259] Preferably, the revocation of a license cannot be reversed. A subset of the permissions of a license may be temporarily revoked by using the Revoke and Add extension, discussed above under the "Extensions" heading.

[0260] Alternatively, revoking a license can be thought of as revoking a subset of the permissions of a sublicense, where the subset is all permissions. In other words, by revoking a license, all permissions of that license are also revoked, so that the license no longer has permission to perform any operations. Preferably, revoking a smaller subset of permissions is performed by revoking an extension, as discussed below under the heading "Revoking an Extension".

[0261] Preferably, a license can only send messages directly to the computing modules associated with its child licenses. In order to revoke all descendant licenses, the license must transmit a revocation message to all its child licenses, and each child license must also perform this operation. Therefore, the revocation process is a recursive process.

[0262] Preferably, the child license verifies that the revocation message has been sent by its parent license. Figure 1 When used with the described embodiments, verifying that the parent license computation module is revoking the parent license includes checking that the caller's "instanceId" matches the parent license instanceId stored in the child license's data instance. Advantageously, since each license computation module is part of the secure processing environment 108, this check is sufficient to determine that the caller does have the appropriate permissions to revoke. Optionally, if the call comes from outside the secure processing environment and / or uses Figure 1 An alternative to the system described in , further security is required. The revocation message also includes a cryptographic signature generated by signing a portion of the message. The license to be revoked can then cryptographically verify that the sender of the message is the parent license (and / or optionally the holder of the parent license) by checking against the public key of the parent license and / or using another service that provides verification that the cryptographic signature matches the public key for a given instanceId. Optionally, this is achieved by using the methods discussed under the "Verifying Signatures" heading.

[0263] Prior to running the method 500, the sender (owner of the parent license) creates a request that includes a license indicator for the license to be revoked. Optionally, the request includes an indication of when the child license will be considered revoked. Optionally, the request includes an indication of the specific extension to be revoked. Revoking extensions will be discussed in more detail under the heading "Revoking Extensions".

[0264] Preferably, if an extension is provided, descendant licenses of the sublicense will not be revoked.

[0265] Preferably, the request has a body according to the following format:

[0266]

[0267] Preferably, a similar process to creating a sublicense request is used here, namely creating a JSON object, stringifying the object (or using canonicalization during the signing and verification steps), and then signing the data.

[0268] Preferably, the revokeContents element includes the license identifier and optionally includes the revocation time and optionally the extensions to be revoked. An exemplary format of revokeContents is:

[0269]

[0270] Callers send requests to the parent license of the license they wish to revoke.

[0271] After receiving the request, the parent license verifies that it has not itself been revoked 504. If the parent license has been revoked, then all of its child licenses have been revoked, and processing time can be saved by not performing any further steps of the method.

[0272] Preferably, it is checked that the sender of the revoked child license is the holder of the parent license 506. Preferably, this is performed by verifying that the request has been signed by the holder of the license (or at least by someone who holds a private key associated with the public key of the parent license and therefore presumably has the rights of the license holder). Preferably, this signature verification is performed using the public key stored in the data instance of the license.

[0273] Preferably, a check is made to see if the provided sublicense identifier is actually a child of the parent license 508. As mentioned above, only a parent license can revoke its sublicenses.

[0274] After these checks are completed, the parent license generates another revocation request and transmits it to the child license. The other revocation request optionally includes the time when the child license is to be revoked, and optionally includes the extension to be revoked.

[0275] Preferably, the child license checks whether the sender of another revocation request is from the parent license. This can be performed in a variety of ways, including confirming that the address to which the request has been received is an internal unique address that can only be used by the computing module within the secure processing environment, or verifying whether the cryptographic signature associated with or attached to another revocation request is correctly signed by the parent license. It should be understood by those skilled in the art that other function caller identification methods are also possible.

[0276] Preferably, a check is made whether the sublicense has been revoked. Preferably, this check is performed by the sublicense itself, but the parent license may also perform this check. If the sublicense has been revoked, no further action is taken.

[0277] Preferably, the sublicense is revoked 514. More preferably, the sublicense is revoked by adding data to the data instance of the sublicense indicating that the sublicense has been revoked. More preferably, the data is a time value from which the license is no longer considered valid.

[0278] If no time was provided in the revocation request, the current time is determined and stored for the "revoked" element of the sublicense data instance.

[0279] Where these time values ​​are set, the license will be considered revoked or will be considered revoked if the time set in the "revoked" field is in the past.

[0280] In the event that a sublicense is revoked, the sublicense then builds similar additional revocation requests for each of its sublicenses (which are grandchildren of the original parent license). These additional revocation requests will trigger each grandchild license to follow the same steps of setting the same time in its "revoked" element and trigger the revocation of its sublicenses (and so on). Thus, by using the same approach for different levels of sublicenses in a recursive manner, the entire branch of licenses starting from the original sublicense will be revoked. This ensures that in the event that a license has been revoked, all sublicenses of that license will also be revoked.

[0281] The child licenses will respond that the parent license has been revoked. Optionally, each license will wait until all of its child licenses have been revoked, and the parent license will receive a message indicating that all of the child license's descendant licenses have also been revoked.

[0282] The parent license will then generate a response and provide it to the sender 518 of the first revocation request.

[0283] Those skilled in the art will appreciate that, depending on the context of use, many of these steps may be considered optional, particularly in a security context. For example, if the request is received from a sender that is known to be configured to only generate valid requests, the parent license may not need to perform as many verification steps (e.g., verifying that the signature or namespace is correct).

[0284] In addition, although these steps are presented in a specific order here, this is only for ease of description. It should be understood by those skilled in the art that any number of these steps can be completed in any order or simultaneously.

[0285] Undo Extension

[0286] As described above, the method of revoking an extension is similar to the method of revoking a license 500. Therefore, only the differences between the two methods will be described.

[0287] To revoke an extension to a license rather than the license itself, the name of the extension must be included in the request to the parent license owner. An example request might include a stringified version of the following object (where iPhone is the name of the extension to be revoked):

[0288]

[0289] Another modification of the revoke license method 500 is that, instead of the step of revoking the license 514, only the extension is revoked. This is performed by locating the extension data structure and adding data to the "revoked" field to indicate that the extension has been revoked. Preferably, time data is added to the revoked field. As with license revocation, the time value is the value received in the revocation request (if present) or the current time (if no time value exists). Preferably, if a validity range is defined, the end time of the validity period is set to the same time value.

[0290] Instead of revoking sublicense 514, only extension 520 is revoked.

[0291] As described above, when only the extension is revoked, no other licenses or sub-licenses are revoked, and therefore no additional revocation messages are generated and sent to the sub-license 516.

[0292] Add extensions

[0293] In one embodiment, a method of adding extensions to a license (preferably as discussed under the heading "Extensions") is provided. Preferably, extensions can only be added by a parent license of the license and / or the holder of the parent license. A license cannot have extensions added to itself without being verified against the parent license, validly sent from the parent license, and / or validly sent from the holder of the parent license.

[0294] Preferably, the licensee of the license to be extended (optionally, referred to as a sublicense for this exemplary embodiment) creates another public / private key pair for the new extension. Alternatively, the same public key as the default / initial extension is used.

[0295] Preferably, when adding an extension, a similar approach is used to creating a new child license. Specifically, the holder of the parent license creates a similar permitContents structure, which is stringified and signed. The resulting body of the request might look like this:

[0296]

[0297] It should be noted that the structure is the same, the difference is that the "extend" name is used instead of "createChild". Optionally, the pre-stringified extension object has a JSON structure and has the following format:

[0298]

[0299] Therefore, preferably, the request includes the sub-license identifier, the extension name, the public key of the new extension, and the permissions of the extension. After receiving the request, the parent license will perform the same or similar verification steps as the creation license, including: verifying that the parent license is still valid (not revoked and within the validity range); verifying that the signature is correct and signed by the holder of the parent license; verifying that the namespace of the permissions does not exceed the namespace of the parent license; and verifying that the validity range is within the validity range of the parent license.

[0300] Preferably, any one or more of the following other checks are performed:

[0301] (A) the total possible levels of the parent and / or child;

[0302] (B) the maximum number of offspring that a parent or offspring may have; and

[0303] (C) The offspring has the same or narrower range of validity than the parent.

[0304] It should be noted that these checks are done to ensure that the new extension does not include any features that are broader or in greater quantity than the parent license.

[0305] For (A) above, if the child includes $.children.levels, then the child must have fewer levels than the parent. For (B) above, if the child includes $.children.max, then it must fit within the envelope of the parent's array (if any), with the first element in that array removed. It should be noted that missing levels in the parent mean there is no limit. For (C) above, $.valid.{before,after} must be at least as narrow as the parent. There is an additional check that the sublicense to be extended is actually a child of the parent. This is performed by ensuring that the sublicense identifier is in the list of sublicenses stored in the parent license data instance.

[0306] Next, another add extension request is created and sent to the computing module associated with the sublicense. Preferably, the sublicense verifies the received request in a manner similar to the embodiments describing revoking a license or extension. Preferably, the sublicense verifies that the request has been received from the parent license. Preferably, the sublicense verifies that the request has been received from within the secure computing environment. Preferably, the sublicense verifies that it has not currently been revoked.

[0307] Preferably, a check is made that adding new extensions does not exceed the maximum number of extensions. Preferably, this is performed by the child license itself. Alternatively, this is performed by the parent license through the use of a "verification authority", as discussed below under the same heading.

[0308] After the verification is complete, the new extension is added to the sublicense. Preferably, according to the following statement: instanceState.extensions[extend] = clientInput.permitContents.

[0309] The child license returns an appropriate success / failure message to the parent license. The parent license returns an appropriate success / failure message to the original sender of the request.

[0310] Verify permissions

[0311] In one embodiment, a method for verifying permissions is provided. Preferably, the method is provided as an API to any party. More preferably, the method is provided through the "query" endpoint discussed above under the "interaction with license" heading.

[0312] Preferably, the caller of the method creates a request including a license identifier and rights verification data. Optionally, the request includes an extension of the rights to be verified. Optionally, multiple rights are verified.

[0313] The request is transmitted to it, which includes the permissions to be verified.

[0314] Preferably, a check is performed to determine whether the license has been revoked. If so, the license will respond with an error message or an invalid message indicating that the license and / or rights are invalid.

[0315] Preferably, the permission verification data comprises the name of the permission to be verified. More preferably, the permission verification data comprises an expression. Preferably, the permission verification data comprises an expression which, when evaluated, operates on a value associated with the permission name (the value of a name-value pair). Preferably, the expression is in the form of an expression language. Preferably, the expression language provides a permission search pattern for the license, thereby verifying the request according to the appropriate permissions.

[0316] Preferably, the expression language includes features that enable the license to query various features of permission names and values. Various features and examples of the expression language are provided below. Preferably, the expressions are provided in JSON format.

[0317] The license evaluates the expression against its own license data instance and therefore against the associated permissions, and then provides the result to the caller.

[0318] Although a specific expression language is described below, those skilled in the art will appreciate that other expression languages, such as regular expressions, may also be used.

[0319] Optionally, the request includes an indication of the language the extension is written in. Thus, the caller has flexibility in the language they want to use.

[0320] Preferably, an expression is an object with a single property defining a top-level operator. If this is a binary operator, the operands are defined in an array of objects as the values ​​of the operator property. These objects may be other binary operators, unary operators taking a single operand object, leaf items taking simple values, or just plain values. Example expressions including the expressions "not", "eq", "permission" are shown:

[0321]

[0322] In plain English, this is an expression that will verify that the permission "com.acme.customer.type" is not equal to "wholesale".

[0323] In addition, there are expressions for determining whether a license (or extension) has a specific permission. The basic terms of the expression language include "permission" and "has".

[0324] name parameter Function permission String Get the value of a given permission key has String Returns true if the given permission key exists

[0325] Preferably, multiple comparison operators can be used in one expression: equal to, not equal to, less than, less than or equal to, greater than, greater than or equal to.

[0326] name Function eq Returns true if all operands are equal. ne Returns true if any operands are different gt Returns true if the first operand is strictly greater than the second operand lt Returns true if the first operand is strictly less than the second operand ge Returns true if the first operand is greater than or equal to the second operand le Returns true if the first operand is less than or equal to the second operand

[0327] Preferably, the following query operators are used for string matching: contains, starts with, matches, and ends.

[0328]

[0329] Preferably, multiple unary operators can be used in one expression: not, minus, and length.

[0330] name Function not Returns true if the operand is "falsy", false otherwise minus Returns the inverse of the operand (unary minus) length Returns the length of a string or array operand

[0331] It should be noted that "falsy" means false, 0, or an empty string.

[0332] Preferably, multiple Boolean operators can be used in one expression: and, or.

[0333] name Function and Returns true if all operands are truthy. or Returns true if any operand is truthy

[0334] It should be noted that "truthy" here means true, a non-zero number, or a non-empty string.

[0335] Preferably, an expression may be constructed using the following mathematical query operators: add, subtract, divide, modulus.

[0336] name Function add Returns the sum of all operands subtract Returns the successive subtractions of the second and subsequent operands from the first operand multiply Returns the product of all operands divide Returns the consecutive division of the first operand by the second and subsequent operands modulus Returns the remainder of the division of the first operand by the second operand

[0337] Preferably, the expression can be enhanced by using the following set query operators: includes and in.

[0338] name Function includes Returns true if the first operand (array) contains the second operand in Returns true if the second operand (array) contains the first operand

[0339] It should be noted that these two are almost identical, the difference lies in the order of the operands.

[0340] Some example expressions and their associated plain English explanations of what they are examining are provided below.

[0341]

[0342]

[0343] Checks if "gold" or "silver" exists in the "com.acme.customer.level" authority, or if "com.acme.customer.points" is greater than 1000. If either (or both) are true, the expression evaluates to true, because the top level is "or".

[0344] Get permissions

[0345] In one embodiment, a method for obtaining one or more permissions is provided. Preferably, the method is provided as an API to any party. More preferably, the method is provided through the "query" endpoint discussed above under the "interaction with a license" heading.

[0346] Preferably, the caller of the method creates a request including at least the identifier of the license they are interested in. The request is transmitted to the relevant license.

[0347] Preferably, when only one permission is of interest, the caller of this method creates a request including the name of the permission in which they are interested.

[0348] Optionally, the request includes extensions. If extensions are provided, the specific extension of interest is used.

[0349] Upon receiving a request, the license responds with the contents of the permissions if a specific permission is provided, or with a list of all permissions if that specific permission is requested.

[0350] Optionally, no methods are provided to obtain all permissions associated with a license (and / or extensions of a license). By not providing such methods, the security of the system can be improved because third parties cannot view any operations that the license holder is allowed to perform, which could reveal important information. This can also be described as providing only the services or methods that the caller needs to request specific permissions.

[0351] Check validity

[0352] In one embodiment, a method is provided for allowing external parties to check whether a given license (and optionally its ancestor licenses) is valid for a period of time. Preferably, the method is provided as an API to any party. More preferably, the method is provided through the "query" endpoint discussed above under the "interaction with licenses" heading.

[0353] Preferably, the caller of the method sends a request including a license identifier. Optionally, the request includes any one or more of the following:

[0354] The time to check validity at (if no time is provided, the current time is used);

[0355] An ancestor license identifier, used to determine how many ancestor licenses (if any) to check for validity; and / or

[0356] Extensions, used to check validity.

[0357] Preferably, if an extension is provided, ancestors are not checked.

[0358] Preferably, the ancestor license identifier is one of: no, parent, grandparent, great-grandparent, and root.

[0359] Preferably, the request is received by a computing module associated with the license being checked.

[0360] Upon receiving a request, the license checks if the provided time (or the current time if no specific time is provided) is within the validity range of the license. The validity range is defined within the "$.valid.before" and "$.valid.after" special permissions and the "revoked" element of the license instance data structure. In case an extension is provided in the request, the same fields are checked within the given extension (if present). If the extension does not exist, an error is returned.

[0361] If the request includes an ancestor license identifier other than "no", another validity request is generated and sent to the parent license. The parent license is identified based on the parent license element stored in the data instance of each license. The request will be constructed so that the appropriate level of the license tree is traversed. Since each license is only known one level higher, each parent license transmits a further validity request, traversing the relevant part of the tree license structure. The license that has been checked for validity will receive from its parent licenses an indication of the validity of all parent licenses requested.

[0362] The license will respond with an indication of the validity of the license. The response will also include an indication of the validity of any ancestor licenses requested.

[0363] Verify the signature

[0364] In one embodiment, a method is provided for verifying that a message is signed by the holder of a given license. Preferably, the method is provided as an API to any party. More preferably, the method is provided through the "query" endpoint discussed above under the "interaction with licenses" heading.

[0365] Preferably, the caller of the method sends a request including a message applying the signature, the signature itself and an identifier of the license. Optionally, the identifier of the license is included in the header and / or address of the request, and the signature and message are provided in the body.

[0366] Optionally, an extension string is also provided. When an extension string is present in the request, the holderPubKey of the specific extension will be used instead of the "default" extension.

[0367] The recipient of the request locates the appropriate holderPubKey and then verifies that the signature is signed by the holder of the associated private key (which only the holder of the license should possess). Preferably, locating the appropriate holderPubKey requires obtaining the correct licenseData instance and then obtaining the appropriate extension (if used, otherwise the "default" extension is used). Preferably, the request is received at the license computation module associated with the identifier (and therefore the appropriate licenseData instance) using an address including the license identifier, as described above under the "Interaction with Licenses" heading.

[0368] Preferably, verifying the signature includes hashing the message, decrypting the signature using the holderPubKey to be verified, and comparing the two. If the two are the same, the signature can only be generated using the private key associated with the holderPubKey. More preferably, the signature and therefore the verification of the signature uses ECDSA signatures and the ECDSA signature algorithm as described in RFC 6979.

[0369] The verification result is provided back to the caller in a response. Preferably, the response is also signed to prove that the response can only originate from a specified license calculation module. More preferably, the signature is provided in the header of the response and the verification result is provided in the body.

[0370] Session

[0371] Optionally, in one embodiment, interactions with the license are constructed after session authorization occurs, such as those listed above under the "Interactions with the License" heading.

[0372] A licensee may request a session key / token by calling the ... / session endpoint (or ... / send or ... / query). An exemplary session request header may include the following:

[0373] POST / api / v1 / processInstances / {Permit-instanceId} / session

[0374] When such a request is made, the license will be called through the appropriate endpoint provided to them (e.g., session). The license should receive a request containing the following signed directive:

[0375]

[0376] Preferably, the "instruction" object is stringified so that the signature applies to the known data structures discussed herein.

[0377] Preferably, the timestamp is within about one minute of the current time to prevent replay attacks, and the period is the requested length of the session in seconds. The license will verify the signature (using the appropriate extension, if provided), and may set the session license to any value less than or equal to the requested validity period.

[0378] If parent is present, the request comes from the holder of the parent license rather than the license holder. In this case, the signature must be checked against the public key of the parent license. Preferably, this check is performed using the "Verify Signature" method discussed above under the "Verify Signature" heading.

[0379] When parent is present in the request, any extensions are ignored.

[0380] Optionally, a successful response might look like this:

[0381]

[0382] If the request is rejected (for example, due to a bad signature), the response might look like this:

[0383]

[0384] If the session period is less than a minimum value or greater than a maximum value (as determined by the license configuration and / or configuration of the secure processing environment, e.g., 20 seconds to 1 week), no session key is created.

[0385] If the session period is within an acceptable range, a session key is created and returned in the response header.

[0386] If the request was signed correctly but the period is too short, the period can be increased to the minimum value.

[0387] Safety

[0388] Optionally, in one embodiment, another security endpoint is provided.

[0389] An attacker may wish to generate false licenses to deceive an observer. One way to mitigate this attack is to examine the header of any response received from the license. Each genuine license will have the same well-known process identifier as discussed under "Exemplary System Overview". This process identifier is provided in the header of each message.

[0390] If further security is required, cryptographic evidence can also be provided in the response. Thus, the license's public key is available from the / security endpoint, which enables verification of any response signed by the license.

[0391] An example request may include the following headers:

[0392] GET / api / v1 / processInstances / {instanceId} / security

[0393] Optionally, the response to such an API request takes the following form:

[0394]

[0395]

[0396] Thus, using the public key, a third party can verify the signature using its own equipment.

[0397] Computing Module

[0398] Now go to Figure 6 , an illustrative simplified block diagram of a computing device 2600 that can be used to implement at least one embodiment of the present disclosure is provided. In various embodiments, the computing device 2600 can be used to implement any of the systems or methods shown and described above. For example, the computing device 2600 can be configured to operate a secure computing environment 108 and host multiple computing modules 102, 104, 106. The computing device 2600 can be configured as a license holding device associated with a license holder. The computing device 2600 can be configured as a computing module 102, 104, 106 itself. Therefore, the computing device 2600 can be a portable computing device, a personal computer, a server, a collection of servers, or any electronic computing device.

[0399] Where the computing device 2600 provides a secure computing environment 108 or a portion of a secure computing environment, it also provides systems and methods for the computing modules 102, 104 to operate internally to communicate with each other. Optionally, this is provided through its own internal DNS and routing system. Optionally, this is provided through IPC calls.

[0400] like Figure 6As shown, computing device 2600 may include one or more processors with one or more levels of cache and a memory controller (collectively referred to as 2602), which may be configured to communicate with a storage subsystem 2606 including a main memory 2608 and a permanent memory 2610. As shown, main memory 2608 may include dynamic random access memory (DRAM) 2618 and read-only memory (ROM) 2620. Storage subsystem 2606 and cache memory 2602 may be used to store information, such as details associated with transactions and blocks described in the present disclosure. Processor 2602 may be used to provide the steps or functions of any embodiment described in the present disclosure.

[0401] The processor 2602 may also communicate with one or more user interface input devices 2612 , one or more user interface output devices 2614 , and a network interface subsystem 2616 .

[0402] The bus subsystem 2604 may provide a mechanism for enabling the various components and subsystems of the computing device 2600 to communicate with each other as intended. Although the bus subsystem 2604 is schematically shown as a single bus, alternative embodiments of the bus subsystem may utilize multiple busses.

[0403] The network interface subsystem 2616 can provide an interface to other computing devices and networks. The network interface subsystem 2616 can serve as an interface for receiving data from the computing device 2600 and transmitting data to other systems. For example, the network interface subsystem 2616 can enable a data technician to connect the device to a network, so that the data technician can send data to the device and receive data from the device at a remote location (e.g., a data center).

[0404] The user interface input devices 2612 may include one or more user input devices such as a keyboard; a pointing device such as an integrated mouse, trackball, touchpad, or graphics tablet; a scanner; a barcode scanner; a touch screen included in a display; an audio input device such as a voice recognition system, a microphone; and other types of input devices. In general, the use of the term "input device" is intended to include all possible types of devices and mechanisms for inputting information into the computing device 2600.

[0405] One or more user interface output devices 2614 may include a display subsystem, a printer, or a non-visual display (e.g., an audio output device, etc.). The display subsystem may be a cathode ray tube (CRT), a flat panel device (e.g., a liquid crystal display (LCD)), a light emitting diode (LED) display, or a projection or other display device. In general, use of the term "output device" is intended to include all possible types of devices and mechanisms for outputting information from the computing device 2600. For example, one or more user interface output devices 2614 may be used to present a user interface to facilitate user interaction with an application that performs the described processes and variations therein (when such interaction may be appropriate).

[0406] The storage subsystem 2606 may provide a computer-readable storage medium for storing basic programming and data structures that may provide the functionality of at least one embodiment of the present disclosure. When executed by one or more processors, an application (program, code module, instruction) may provide the functionality of one or more embodiments of the present disclosure and may be stored in the storage subsystem 2606. These application modules or instructions may be executed by one or more processors 2602. The storage subsystem 2606 may additionally provide a repository for storing data used in accordance with the present disclosure. For example, the main memory 2608 and the cache memory 2602 may provide volatile storage for programs and data. The permanent storage 2610 may provide permanent (non-volatile) storage for programs and data, and may include flash memory, one or more solid-state drives, one or more magnetic hard drives, one or more floppy disk drives with associated removable media, one or more optical drives with associated removable media (e.g., CD-ROM or DVD or Blu-ray), and other similar storage media. Such programs and data may include programs for executing the steps of one or more embodiments as described in the present disclosure and data associated with transactions and blocks described in the present disclosure.

[0407] The computing device 2600 may be of various types, including a portable computer device, a tablet computer, a workstation, or any other device described below. Additionally, the computing device 2600 may include another device that may be connected to the computing device 2600 via one or more ports (e.g., USB, headphone jack, lightning connector, etc.). The device that may be connected to the computing device 2600 may include a plurality of ports configured to accept fiber optic connectors. Thus, the device may be configured to convert optical signals into electrical signals that may be transmitted via the port that connects the device to the computing device 2600 for processing. Due to the ever-changing nature of computers and networks, Figure 6 The depiction of computing device 2600 is intended only as a specific example to illustrate a preferred embodiment of the device. Figure 6Many other configurations are possible with more or fewer components than the system described.

[0408] The various methods described above can be implemented by a computer program. The computer program may include a computer code that is configured to instruct a computer to perform one or more functions of the various methods described above. The computer program and / or the code for executing this method may be provided to one or more computer-readable media on a device such as a computer, or more generally, to a computer program product. The computer-readable medium may be temporary or non-temporary. One or more computer-readable media may be, for example, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, or a propagation medium for data transmission, such as for downloading code via the Internet. Alternatively, one or more computer-readable media may take the form of one or more physical computer-readable media, such as semiconductor or solid-state memory, magnetic tape, removable computer disk, random access memory (RAM), read-only memory (ROM), hard disk and optical disk, such as CD-ROM, CD-R / W or DVD.

[0409] In one implementation, the modules, components, and other features described herein may be implemented as discrete components or integrated into the functionality of hardware components such as ASIC, FPGA, DSP, or similar devices.

[0410] In one implementation, the modules described herein may be implemented as computing processes, such as processes, microservices, lambda functions running on a single-chip server. Access to the computing modules may be provided using the APIs described herein. Optionally, the modules include submodules configured to receive data from other computing modules and / or computing devices and transmit data to other computing modules and / or computing devices. Preferably, the modules include a memory for temporary and / or permanent storage of data. Specifically, the memory is configured to store (for subsequent access) license data instances of the license itself in a permanent manner.

[0411] A "hardware component" or "hardware module" is a tangible (e.g., non-transitory) physical component (e.g., a set of one or more processors) that is capable of performing certain operations and that may be configured or arranged in some physical manner. A hardware component may include dedicated circuitry or logic that is permanently configured to perform certain operations. A hardware component may be or include a dedicated processor, such as a field programmable gate array (FPGA) or ASIC. A hardware component may also include programmable logic or circuitry that is temporarily configured by software to perform certain operations.

[0412] Thus, it should be understood that the phrase "hardware component" or "hardware module" includes a tangible entity that can be physically constructed, permanently configured (e.g., hardwired), or temporarily configured (e.g., programmed) to operate in a certain manner or perform certain operations described herein.

[0413] In addition, modules and components can be implemented as firmware or functional circuits within hardware devices. In addition, modules and components can be implemented in any combination of hardware devices and software components, or can be implemented only in software (e.g., code stored or otherwise embodied in a machine-readable medium or transmission medium).

[0414] Unless otherwise specifically noted, as will be apparent from the following discussion, it should be understood that throughout the specification, discussions using terms such as "determine," "provide," "compute," "identify," "combine," "establish," "send," "receive," "store," "estimate," "check," "obtain," etc. refer to procedures, functions, microservices, actions and processes of a computer system or similar electronic computing device that manipulates data represented as physical (electronic) quantities within the computer system's registers and memories and transforms it into other data similarly represented as physical quantities within the computer system's memories or registers or other such information storage, transmission or display devices.

[0415] The term "comprising" as used in this specification and claims means "comprising at least in part". When interpreting each statement in this specification and claims including the term "comprising", the features presented may also be different from the features beginning with the term. "Comprising" and other related terms are interpreted in the same way.

[0416] It is intended that reference to a numerical range disclosed herein (e.g., 1 to 10) also includes reference to all rational numbers within that range (e.g., 1, 1.1, 2, 3, 3.9, 4, 5, 6, 6.5, 7, 8, 9, and 10) as well as any range of rational numbers within that range (e.g., 2 to 8, 1.5 to 5.5, and 3.1 to 4.7), and thus all subranges of all ranges explicitly disclosed herein are hereby explicitly disclosed. These are merely examples of what is specifically intended, and all possible combinations of numerical values ​​between the lowest and highest values ​​recited are to be considered to be expressly stated in this application in a similar manner.

[0417] As used herein, the term "and / or" means "and" or "or" or both.

[0418] As used herein, "(s)" following a noun refers to the plural and / or singular form of the noun.

[0419] The singular reference of an element does not exclude the plural reference of such elements and vice-versa.

[0420] It should be understood that the above-mentioned specific embodiments are intended to be illustrative rather than restrictive. After reading and understanding the above-mentioned specific embodiments, many other implementations will be apparent to those skilled in the art. Although the present disclosure has been described with reference to specific exemplary implementations, it is to be appreciated that the present disclosure is not limited to the described implementations, but can be implemented by modification and change within the scope of the appended claims. Therefore, this specification and the accompanying drawings should be considered to be illustrative rather than restrictive. Therefore, the scope of the present disclosure should be determined with reference to the appended claims and the full scope of equivalents to which these claims are entitled.

Claims

1. A computer-implemented method for creating a license, the method comprising the steps of: receiving a request including a first license identifier, wherein the first license identifier identifies a first license; as well as obtaining first license data based on the first license identifier, wherein the first license data comprises data indicating at least one permission, and wherein the at least one permission provides an indication of one or more actions that a holder of the first license is able to take and / or operations that the holder of the first license is permitted to perform, Wherein the request is a request to create another license, and the request includes data indicative of the other license.

2. The method according to claim 1, further comprising the steps of: verifying said first permit; creating the another license based on the data indicative of the another license; as well as A reference to the other license is recorded on the first license data so that the other license is recorded as a sublicense of the first license.

3. The method of claim 2, wherein the step of verifying the first license data comprises: A determination is made as to whether the first license has been revoked.

4. The method of claim 3, wherein the step of determining whether the first license has been revoked comprises: A revoked field in the first license data is checked.

5. The method of claim 4, wherein the step of determining whether the first license has been revoked comprises: The first time stored in the revoked field is compared to the current time.

6. The method according to any one or more of claims 1 to 5, further comprising the steps of: Verifying that the first license is capable of creating sublicenses.

7. The method of claim 6, wherein the step of verifying that the first license is capable of creating a sublicense comprises any one or more of the following steps: verifying that a maximum number of sub-licenses associated with the first license has not been exceeded; Verifying that a maximum depth of sublicenses associated with the first license is not exceeded.

8. The method according to any one or more of claims 1 to 7, wherein the method further comprises the following steps: The data indicative of the other license is verified.

9. The method of claim 8, wherein the request further comprises a signature, and wherein the step of verifying the data indicative of the further license comprises: Verify that the signature is valid and was signed using the private key of the first licensee.

10. The method according to claim 8 or 9, wherein the step of verifying the data indicative of the further license comprises: It is verified that the validity range of the other license is within the validity range of the first license.

11. The method according to any one or more of claims 8 to 10, wherein the step of verifying the data indicative of the further license comprises: Verifying that one or more rights of the other license are within the range of rights that the parent license is allowed to create.

12. The method of claim 11, wherein the one or more permissions of the other license are included in the request.

13. The method of claim 11, wherein the step of verifying that any rights of the other license are within the range of rights that the parent license can create comprises: determining one or more namespaces that the parent license is permitted to create; determining one or more namespaces of the one or more permissions of the another license; as well as The one or more namespaces determining the one or more permissions of the other license are the same as, or prefixed with, the one or more namespaces that the parent license is allowed to create.

14. The method according to any one or more of claims 2 to 13, wherein the step of creating the further license comprises: Another license data instance is created based on the license, wherein the another license data includes a parent license value, the parent license value being set to the first license identifier.

15. The method according to any one or more of claims 1 to 14, wherein the method further comprises the following steps: Another license identifier is provided to the sender of the request.

16. The method of claim 15, wherein the further license identifier is provided only to the sender of the request.

17. A method according to any preceding claim, wherein the data indicative of the at least one permission is an object comprising at least one name-value pair.

18. The method of claim 17, wherein the name of the name-value pair is represented by a string, and the value of the name-value pair is represented by a string and / or at least one other name-value pair.

19. A method according to claim 17 or 18, wherein the string is arbitrary and / or user generated.

20. A method according to any one or more of claims 17 to 19, wherein the value is arbitrary and / or user generated.

21. A method according to any preceding claim, wherein the request is received via an API provided only to computing modules belonging to a secure computing environment.

22. The method of claim 21, wherein a computing module executing the method of any one or more of the preceding claims is part of the secure computing environment.

23. A method according to any preceding claim, wherein the first licence is part of a licence hierarchy.

24. The method of claim 23, wherein the first license data includes data indicative of a parent license.

25. A method according to claim 23 or 24, wherein the first licence data comprises data indicative of a sub-license.

26. A method according to any one or more of the preceding claims, wherein the first licence data comprises an indication as to whether a further licence may be generated as a sub-licence of the first licence.

27. A method according to any one or more of the preceding claims, wherein the first license data comprises at least one namespace, wherein each namespace defines a part of the rights that a sublicense of the first license can have.

28. A method according to any one or more of the preceding claims, wherein the first licence data comprises an indication of the maximum depth of descendant licences that the first licence can have.

29. A method according to any one or more of the preceding claims, wherein the first licence data comprises a maximum number of sub-licences that the first licence can have.

30. A method according to any one or more of the preceding claims, wherein the first license data comprises an array indicating the maximum number of descendant licenses that the first license can have at different depths.

31. A method according to any one or more of the preceding claims, wherein the first licence data comprises a time indicative of the start of a validity period of the licence.

32. A method according to any one or more of the preceding claims, wherein the first licence data comprises a time indicative of the end of validity of the licence.

33. A method according to any one or more of the preceding claims, wherein the first licence identifier obscures the identity of the holder of the first licence.

34. A method according to any one or more of the preceding claims, wherein the first licence identifier is a pseudo-randomly generated string of characters.

35. The method according to any one or more of the preceding claims, further comprising the steps of: Data indicative of the request is transmitted for storage in a log.

36. The method according to any one or more of the preceding claims, further comprising the steps of: Data indicative of the request is transmitted for inclusion on the blockchain.

37. A method according to claim 35 or 36, wherein the data indicative of the request is arranged to provide an indication of a status of the licence.

38. A method according to claim 37, wherein the set of data indicative of previous interactions with the license is configured to provide an indication of a current status of the license.

39. A system, comprising: A first computing module, configured to generate a first request; and A license calculation module configured to perform the method according to any one or more of the preceding claims.

40. The system of claim 39, wherein the license computing module belongs to a secure computing environment.

41. The system of claim 40, wherein the first computing module is another license computing module, and the another license computing module belongs to the secure computing environment.

42. The system of claim 38 or 39, wherein the first computing module is a user device.

43. A device comprising a processor and a memory, the memory comprising executable instructions, which when executed by the processor cause the device to perform a computer-implemented method according to any one or more of the preceding claims 1 to 38.

44. A non-transitory computer-readable storage medium comprising computer program code instructions executable by a computer to perform the method according to any one or more of claims 1 to 38.

45. A computer program comprising instructions which, when executed by a computer, cause the computer to perform the method according to any one or more of the preceding claims 1 to 38.