diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-06-28 11:30:05 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-06-28 11:30:05 +0200 |
commit | 9601681dd9aea8a87444d36711e0a908ad4ec7d2 (patch) | |
tree | 79b6f00c541d71a2488fbe48c619e57a99605fce /NitrokeyManager.cc | |
parent | 5d4003a6053667ec4ef75a5b39e38cf3f305cbea (diff) | |
download | libnitrokey-9601681dd9aea8a87444d36711e0a908ad4ec7d2.tar.gz libnitrokey-9601681dd9aea8a87444d36711e0a908ad4ec7d2.tar.bz2 |
Handle command for getting production data
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r-- | NitrokeyManager.cc | 5 |
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(); + }; + } |