02.04.2013 Views

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Adding API Features<br />

Contents Glossary Index Troubleshooting<br />

Note: You can use the following Business Layer API functions for an ECC feature:<br />

- SFNTSign - To sign content.<br />

- SFNTVerify - To verify the signed content.<br />

Adding Counter Feature<br />

1. In the License Designer screen, load the template to which the<br />

Counter feature will be added.<br />

2. Click the API tab.<br />

3. Click Add. The Add Features dialog box appears.<br />

4. Select Counter.<br />

5. Specify a value between 0 to 4,294,967,295 for the default instance.<br />

6. Selecting the Add instances later check box will allow you to add<br />

new feature instances later in the License Manager screen. This<br />

option helps in modifying the "licensing values" without modifying<br />

the "licensing implementation" in the application/code.<br />

7. Provide a name for this feature (necessary).<br />

8. The constant name will be automatically generated. However, you<br />

may modify it, if needed.<br />

9. You may optionally provide comments. When done, click OK.<br />

Note: You can use the following Business Layer API functions for a Counter feature:<br />

- SFNTCounterDecrement - To decrement the Counter value by specified<br />

amount on each call.<br />

- SFNTReadInteger - To read the Counter value.<br />

<strong>Sentinel</strong> <strong>Hardware</strong> <strong>Keys</strong> Developer’s <strong>Guide</strong> 121

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!