cookie Random generated Hidden Data or Secret Data fields

  • C, C++
  • C#
  • Python

Description

If you want to generate Hidden Data or Secret Data fields randomly inside a CmDongle preventing the availability of the data outside the CmContainer at any time, mind the following steps:

The basic steps to create a programming sequence for normal Hidden Data or Secret Data fields are the same. The CMCPIO_HIDDENDATA and CMCPIO_SECRETDATA structures need to be filled and passed to CmCreateProductItemOption.

The difference lies in the setting of the mabData of these structures. The mcbData parameter should be set to a value of 0 and mcbTotal to the number of desired randomly generated bytes for the specified entry. These structures have to be passed to CmCreateProductItemOption like in a regular programming step.

For CmActLicense you need to use High Level Programming API (HIP) or CmBoxPgm for creating licenses. There you can also choose random generation of Hidden and Secret Data fields.

Description

In order to generate Hidden Data or Secret Data fields randomly inside a CmDongle preventing the availability of the data outside the CmContainer at any time, mind the following steps:

The basic steps to create a programming sequence for normal Hidden Data or Secret Data fields are the same. The CmCreatePioHiddenData and CmCreatePioSecretData classes need to be filled and passed to CmCreateProductItemOption.

The difference lies in the setting of the Data of these classes. The Data parameter should be set to a value of 0 and Total to the number of desired randomly generated bytes for the specified entry. These structures have to be passed to CmCreateProductItemOption like in a regular programming step.

For CmActLicense you need to use High Level Programming API (HIP) or CmBoxPgm for creating licenses. There you can also choose random generation of Hidden and Secret Data fields.

 

Not yet implemented.