summaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-06-28 11:41:49 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-06-28 11:41:49 +0200
commit494f5b3c285bf4b42c57e85f3b7b7e26620378e8 (patch)
tree79b6f00c541d71a2488fbe48c619e57a99605fce /NitrokeyManager.cc
parent5d4003a6053667ec4ef75a5b39e38cf3f305cbea (diff)
parent9601681dd9aea8a87444d36711e0a908ad4ec7d2 (diff)
downloadlibnitrokey-494f5b3c285bf4b42c57e85f3b7b7e26620378e8.tar.gz
libnitrokey-494f5b3c285bf4b42c57e85f3b7b7e26620378e8.tar.bz2
Merge branch 'production_info'
Handle command for getting production info
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 600193d..a950e4b 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -1141,4 +1141,9 @@ using nitrokey::misc::strcpyT;
stick20::Wink::CommandTransaction::run(device);
};
+ stick20::ProductionTest::ResponsePayload NitrokeyManager::production_info(){
+ auto data = stick20::ProductionTest::CommandTransaction::run(device);
+ return data.data();
+ };
+
}