diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-02-21 13:12:12 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:49 +0100 |
commit | ad286a23ba8a542afe0095b97caf52320778c5e6 (patch) | |
tree | 9936362bd9e35017d1d68c4258fa1d064ac3cc7c /include/NitrokeyManager.h | |
parent | 343b77dde196ab2e8ea82e7149b5703a771a9699 (diff) | |
download | libnitrokey-ad286a23ba8a542afe0095b97caf52320778c5e6.tar.gz libnitrokey-ad286a23ba8a542afe0095b97caf52320778c5e6.tar.bz2 |
Feature check for 320 bits OTP secret
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r-- | include/NitrokeyManager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index 7cf55c7..d49941e 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -122,12 +122,14 @@ namespace nitrokey { std::pair<uint8_t,uint8_t> get_SD_usage_data(); - int get_progress_bar_value(); + int get_progress_bar_value(); ~NitrokeyManager(); bool is_authorization_command_supported(); + bool is_320_OTP_secret_supported(); - template <typename S, typename A, typename T> + + template <typename S, typename A, typename T> void authorize_packet(T &package, const char *admin_temporary_password, shared_ptr<Device> device); int get_minor_firmware_version(); |