diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-26 11:36:04 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:57 +0200 |
commit | 39b7c99bbd00c0bc4906939ceefb724a3d9ddc35 (patch) | |
tree | 16e13a656aeeccb1b14193c33e8728462d32c8d0 /NitrokeyManager.cc | |
parent | 8a938be4ffa97490d89206cc1fd079a057cfc65c (diff) | |
download | libnitrokey-39b7c99bbd00c0bc4906939ceefb724a3d9ddc35.tar.gz libnitrokey-39b7c99bbd00c0bc4906939ceefb724a3d9ddc35.tar.bz2 |
Handle locking device
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r-- | NitrokeyManager.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index d684853..15f09b8 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -232,5 +232,9 @@ namespace nitrokey{ return response.password_retry_count; } + void NitrokeyManager::lock_device() { + LockDevice::CommandTransaction::run(*device); + } + }
\ No newline at end of file |