How to reset v-clock in driverless keys

The virtual clock of driverless keys can be reset using License Generation API’s-

Following xml code has to be used in Sentinel LicGen API’s-

<?xml version=”1.0″ encoding=”utf-8″?>
<sentinel_ldk:license schema_version=”1.0″
xmlns:xsi=”
http://www.w3.org/2001/XMLSchema-instance
xmlns:sentinel_ldk=”
http://www.safenet-inc.com/sentinelldk“>
<enforcement_type>HL</enforcement_type>
<vclock_time>2014-05-30T13:59:59</vclock_time>
</sentinel_ldk:license>

Here the possible input values for <vclock_time> are “YYYY-MM-DD” OR “YYYY-MM-DDTHH:MM:SS” OR “UseSystemClock”.
If “YYYY-MM-DD” is used then it starts the time from 12:00 AM

This xml template has to be used in sntl_lg_start() and sntl_lg_apply_template() API’s

License Generation API’s have to be used in the following sequence-
1. sntl_lg_initialize()
2. sntl_lg_start()
3. sntl_lg_apply_template()
4. sntl_lg_generate_license()