So, in order to create a protected item you need to compose its descriptor. This can be done in two ways:
This is the simplest and preferable way of creating protected items. GrdUtil.exe provides a convenient interface for this purpose. In order to create a protected item of a hardware algorithm descriptor you need to set the properties of the object being created and the utility will do the rest. It will create a protected item allocation table, write item descriptors into the dongle and set read/write locks onto the memory area occupied by these objects.
Using GrdUtil.exe you can also add new protected items to the existing ones, change properties and format of existing items or delete some (or all) items.
This way is more complicated. It consists of the following stages:
This way features some serious limitations. Essentially it can be used for deleting all existing protected items and for creating new ones instead. You will be unable to add a new item to the existing ones, or to change the descriptor of an existing item, or to selectively delete any items.