def hmac_sha1(self, key_handle, data, flags = None, final = True, to_buffer = False):
        return pyhsm.hmac_cmd.YHSM_Cmd_HMAC_SHA1_Write( \
            self.stick, key_handle, data, flags = flags, final = final, to_buffer = to_buffer).execute()


    #
    # Internal YubiKey database related commands
    #
Destroys the test datastore. A new store will be recreated on demand
dataset/ETHPy150Open Yubico/python-pyhsm/pyhsm/base.py/YHSM.hmac_sha1--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/appengine_django/db/creation.py/DatabaseCreation.create_test_db