summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-26 21:17:34 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit7d71398f4043c10c3870cb9deb2eae7bf1c5f0ee (patch)
treed279064b370c5ec757dccb218b55d8fa65d2c93b /include
parentba29c8cebf36d8e7b7b18a74df752b1b220ce473 (diff)
downloadlibnitrokey-7d71398f4043c10c3870cb9deb2eae7bf1c5f0ee.tar.gz
libnitrokey-7d71398f4043c10c3870cb9deb2eae7bf1c5f0ee.tar.bz2
Assertions on password safe slot number
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include')
-rw-r--r--include/NitrokeyManager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 629744a..63332aa 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -69,6 +69,7 @@ namespace nitrokey {
bool is_valid_hotp_slot_number(uint8_t slot_number) const;
bool is_valid_totp_slot_number(uint8_t slot_number) const;
+ bool is_valid_password_safe_slot_number(uint8_t slot_number) const;
uint8_t get_internal_slot_number_for_hotp(uint8_t slot_number) const;
uint8_t get_internal_slot_number_for_totp(uint8_t slot_number) const;
bool erase_slot(uint8_t slot_number);