From 39b7c99bbd00c0bc4906939ceefb724a3d9ddc35 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 26 Jul 2016 11:36:04 +0200 Subject: Handle locking device Signed-off-by: Szczepan Zalega --- NitrokeyManager.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NitrokeyManager.cc') 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 -- cgit v1.2.1