aboutsummaryrefslogtreecommitdiff
path: root/include/NitrokeyManager.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-11-09 19:22:46 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2016-12-03 16:01:49 +0100
commit2ba87abdb5c69e3d72b88164030ed5633986a63d (patch)
tree306d12e51452ed53a09ad7132f19ded512d652f6 /include/NitrokeyManager.h
parentb94d61b2f3c446c46ac2f660d954841d740782f5 (diff)
downloadlibnitrokey-2ba87abdb5c69e3d72b88164030ed5633986a63d.tar.gz
libnitrokey-2ba87abdb5c69e3d72b88164030ed5633986a63d.tar.bz2
Convinient function for checking if authorization command is supported
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r--include/NitrokeyManager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 60fa753..24a83ec 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -110,6 +110,10 @@ namespace nitrokey {
int get_progress_bar_value();
~NitrokeyManager();
+ bool is_authorization_command_supported();
+
+ template <typename S, typename A, typename T>
+ void authorize_packet(T &package, const char *admin_temporary_password, shared_ptr<Device> device);
private:
NitrokeyManager();