Sample2.c

This sample shows how to back up tokens using KMLIB. It uses the tokens created by Sample1.c to create the backup.

The tokens in the sample are backed up to a file named backup.bin.

The following assumptions are made:

>Wrap key secret_key_example exists in Slot 1. This is created when Sample1.c is run

>The User pin is set to 9999 for Slot 1