License Transfer
The License Transfer describes the feature to transfer a license from one CmContainer to another without having a Firm Security Box (FSB).
The License Transfer refers to the transfer of a license from one CmContainer to another without having a FSB.
Transfer Types
The License Transfer is available for the so called Universal Firm Codes (Firm Code > 6,000,000). Such a Universal Firm Code can be stored in all CmContainer Types.
The transfer of licenses in general, can be done in different ways:
•Move Licenses only: An existing Product Item with License Quantity is duplicated in two Product Items while the License Quantity is split over the two CmContainer.
•Borrow Local License: A license is borrowed for local use only (without connection to a license server) for a definable period from one CmContainer to another. After the period has expired, the licenses automatically fall back to the originator.
The authorization to transfer a license can be granted by Wibu-Systems to its ISVs. The ISV himself can decide for each license whether and how this license can be transferred, respecting the authorization given to him.
|
The license transfer is authorized by a private key which is required to create the required certificates (Licensor Transfer Key, LTK). If you decide for which CmContainer Types you desire to authorize the license transfer, it is essential that you are aware that saving this key (LTK) to CmActLicense is critical seen from a safety angle. |
Transfer Modes
Currently, the following transfer mode exists:
•Push: A license is transferred from a sender to a receiver.
•Return: A previously pushed license is returned to the sender.
There are several options to control the allowed ways of the License Transfer.
•It has to be defined whether a license can be transferred or not.
•It has to be defined to which target CmContainer Type the license can be transferred. CmContainer Types (currently CmDongle and CmActLicense) are identified by their different CmAct Ids. The following range for CmAct Ids exists:
CmAct Id Range |
CmContainer Type |
|---|---|
1**** |
CmDongle |
2**** |
CmActLicense |
3**** |
CmCloud |
•It has to be defined whether a license can be transferred also in a CmContainer currently not having this Firm Code. In the case of CmActLicense, this implies the creation of a new CmContainer during the transfer process (Firm Item as target required).
•It has to be defined whether a transferred license should be again transferable or not.
•If a transferred license can be transferred again, it has to be defined how many transfers in total are allowed (Transfer Depth).
License Transfer in general, is secured by using asymmetric cryptography, namely certificates and signatures for providing authenticity and integrity in the license transfer process. The level of security depends on the settings chosen for the licenses.
Process of License Transfer
1.Optionally, if currently no CmActLicense with the required Firm Code and binding scheme is available, a license information file (*.WibuCmLIF) has to be imported using CmExecuteRemoteUpdate(). This creates a new CmContainer and binds it to the system.
2.On the receiver side, a context of the current state needs to be created. This is done using CmLtCreateContext(). This results in data to be stored as remote activation Context File (*.WibuCmRaC).
3.On the sender side, the transfer now is done using CmLtDoTransfer(). This command stores the transfer information on sender side and creates the new license as result which has to be stored as a remote activation Update File (*.WibuCmRaU). This step restricts the license on sender side (e.g. less number of licenses).
4.On the receiver side, the update file now has to be imported using CmLtImportUpdate(). If this has been done successfully, the new license is fully functional on receiver side.
5.Optionally, but recommended, is to create a receipt on receiver side using CmLtCreateReceipt(). This will result in data to be stored as remote activation Receipt File (*.WibuCmRaR).
6.Optionally, but recommended, is to confirm the transfer on sender side using CmLtConfirmTransfer(). This command checks the receipt and stores the information about successful transfer in the transferred license on sender side.
Steps 2 to 6 can be done with one call if sender and receiver CmContainer are on the same system or available directly via CodeMeter network protocol (CmLAN or CmWAN). This is done using CmLtLiveTransfer().
As a service function there is CmLtCleanUp() which allows to clean up remaining but no longer useful licenses or information about such licenses, e.g. expired borrow licenses.
For license transfer data returned as entries of a CmContainer see CmGetBoxContents2(). For license transfer data returned related to the opened entry see CmGetInfo() with flags CM_GEI_ENTRYINFO2; CM_GEI_LTHISTORY; CM_GEI_LTTRANSFEROPTIONS.
The License Transfer refers to the transfer of a license from one CmContainer to another without having a FSB.
Transfer Types
The License Transfer is available for the so called Universal Firm Codes (Firm Code > 6,000,000). Such a Universal Firm Code can be stored in all CmContainer Types, currently CmDongle and CmActLicense.
The transfer of licenses in general, can be done in different ways:
•Move Licenses only: An existing Product Item with License Quantity is duplicated in two Product Items while the License Quantity is split over the two CmContainer.
•Borrow Local License: A license is borrowed for local use only (without connection to a license server) for a definable period from one CmContainer to another. After the period has expired, the licenses automatically fall back to the originator.
The authorization to transfer a license can be granted by Wibu-Systems to its ISVs. The ISV himself can decide for each license whether and how this license can be transferred, respecting the authorization given to him.
|
The license transfer is authorized by a private key which is required to create the required certificates (Licensor Transfer Key, LTK). If you decide for which CmContainer Types you desire to authorize the license transfer, it is essential that you are aware that saving this key (LTK) to CmActLicense is critical seen from a safety angle. |
Transfer Modes
There are the following different transfer modes:
•Push: A license is transferred from a sender to a receiver.
•Return: A previously pushed license is returned to the sender.
There are several options to control the allowed ways of the License Transfer.
•It has to be defined whether a license can be transferred or not.
•It has to be defined to which target CmContainer Type the license can be transferred. CmContainer Types (currently CmDongle and CmActLicense) are identified by their different CmAct Ids. The following range for CmAct Ids exists:
CmAct Id Range |
CmContainer Type |
|---|---|
1**** |
CmDongle |
2**** |
CmActLicense |
3**** |
CmCloud |
•It has to be defined whether a license can be transferred also in a CmContainer currently not having this Firm Code. In the case of CmActLicense, this implies the creation of a new CmContainer during the transfer process (Firm Item as target required).
•It has to be defined whether a transferred license should be again transferable or not.
•If a transferred license can be transferred again, it has to be defined how many transfers in total are allowed (Transfer Depth).
License Transfer in general, is secured by using asymmetric cryptography, namely certificates and signatures for providing authenticity and integrity in the license transfer process. The level of security depends on the settings chosen for the licenses.
Process of License Transfer
1.Optionally, if currently no CmActLicense with the required Firm Code and binding scheme is available, a license information file (*.WibuCmLIF) has to be imported using CmExecuteRemoteUpdate(). This creates a new CmContainer and binds it to the system.
2.On the receiver side, a context of the current state needs to be created. This is done using CmLtCreateContext(). This results in data to be stored as remote activation Context File (*.WibuCmRaC).
3.On the sender side, the transfer now is done using CmLtDoTransfer(). This command stores the transfer information on sender side and creates the new license as result which has to be stored as a remote activation Update File (*.WibuCmRaU). This step restricts the license on sender side (e.g. e.g. less number of licenses).
4.On the receiver side, the update file now has to be imported using CmLtImportUpdate(). If this was done successfully, the new license is fully functional on receiver side.
5.Optionally, but recommended, is to create a receipt on receiver side using CmLtCreateReceipt(). This will result in data to be stored as remote activation Receipt File (*.WibuCmRaR).
6.Optionally, but recommended, is to confirm the transfer on sender side using CmLtConfirmTransfer(). This command checks the receipt and stores the information about successful transfer in the transferred license on sender side.
As a service function there is CmLtCleanUp() which allows to clean up remaining but no longer useful licenses or information about such licenses, e.g. expired borrow licenses.
For license transfer data returned as entries of a CmContainer see CmGetBoxContents2(). For license transfer data returned related to the opened entry see CmGetInfo() with flags CM_GEI_ENTRYINFO2; CM_GEI_LTHISTORY; CM_GEI_LTTRANSFEROPTIONS.
The License Transfer refers to the transfer of a license from one CmContainer to another without having a FSB.
Transfer Types
The License Transfer is available for the so called Universal Firm Codes (Firm Code > 6,000,000). Such a Universal Firm Code can be stored in all CmContainer Types.
The transfer of licenses in general, can be done in different ways:
•Move Licenses only: An existing Product Item with License Quantity is duplicated in two Product Items while the License Quantity is split over the two CmContainer.
•Borrow Local License: A license is borrowed for local use only (without connection to a license server) for a definable period from one CmContainer to another. After the period has expired, the licenses automatically fall back to the originator.
The authorization to transfer a license can be granted by Wibu-Systems to its ISVs. The ISV himself can decide for each license whether and how this license can be transferred, respecting the authorization given to him.
|
The license transfer is authorized by a private key which is required to create the required certificates (Licensor Transfer Key, LTK). If you decide for which CmContainer Types you desire to authorize the license transfer, it is essential that you are aware that saving this key (LTK) to CmActLicense is critical seen from a safety angle. |
Transfer Modes
Currently, the following transfer mode exists:
•Push: A license is transferred from a sender to a receiver.
•Return: A previously pushed license is returned to the sender.
There are several options to control the allowed ways of the License Transfer.
•It has to be defined whether a license can be transferred or not.
•It has to be defined to which target CmContainer Type the license can be transferred. CmContainer Types (currently CmDongle and CmActLicense) are identified by their different CmAct Ids. The following range for CmAct Ids exists:
CmAct Id Range |
CmContainer Type |
|---|---|
1**** |
CmDongle |
2**** |
CmActLicense |
3**** |
CmCloud |
•It has to be defined whether a license can be transferred also in a CmContainer currently not having this Firm Code. In the case of CmActLicense, this implies the creation of a new CmContainer during the transfer process (Firm Item as target required).
•It has to be defined whether a transferred license should be again transferable or not.
•If a transferred license can be transferred again, it has to be defined how many transfers in total are allowed (Transfer Depth).
License Transfer in general, is secured by using asymmetric cryptography, namely certificates and signatures for providing authenticity and integrity in the license transfer process. The level of security depends on the settings chosen for the licenses.
Process of License Transfer
7.Optionally, if currently no CmActLicense with the required Firm Code and binding scheme is available, a license information file (*.WibuCmLIF) has to be imported using CmExecuteRemoteUpdate(). This creates a new CmContainer and binds it to the system.
8.On the receiver side, a context of the current state needs to be created. This is done using CmLtCreateContext(). This results in data to be stored as remote activation Context File (*.WibuCmRaC).
9.On the sender side, the transfer now is done using CmLtDoTransfer(). This command stores the transfer information on sender side and creates the new license as result which has to be stored as a remote activation Update File (*.WibuCmRaU). This step restricts the license on sender side (e.g. less number of licenses).
10.On the receiver side, the update file now has to be imported using CmLtImportUpdate(). If this has been done successfully, the new license is fully functional on receiver side.
11.Optionally, but recommended, is to create a receipt on receiver side using CmLtCreateReceipt(). This will result in data to be stored as remote activation Receipt File (*.WibuCmRaR).
12.Optionally, but recommended, is to confirm the transfer on sender side using CmLtConfirmTransfer(). This command checks the receipt and stores the information about successful transfer in the transferred license on sender side.
Steps 2 to 6 can be done with one call if sender and receiver CmContainer are on the same system or available directly via CodeMeter network protocol (CmLAN or CmWAN). This is done using CmLtLiveTransfer().
As a service function there is CmLtCleanUp() which allows to clean up remaining but no longer useful licenses or information about such licenses, e.g. expired borrow licenses.
For license transfer data returned as entries of a CmContainer see CmGetBoxContents2(). For license transfer data returned related to the opened entry see CmGetInfo() with flags CM_GEI_ENTRYINFO2; CM_GEI_LTHISTORY; CM_GEI_LTTRANSFEROPTIONS.