aboutsummaryrefslogtreecommitdiff
path: root/include/NitrokeyManager.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-25 17:38:15 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit8f4fb5d6320241a27d4d8c93d819daba40c58867 (patch)
tree04d4aa7565550516756cee7687c93796892be73b /include/NitrokeyManager.h
parent7c4012b7074252d8a5cc3b462705e171112a85bf (diff)
downloadlibnitrokey-8f4fb5d6320241a27d4d8c93d819daba40c58867.tar.gz
libnitrokey-8f4fb5d6320241a27d4d8c93d819daba40c58867.tar.bz2
Handle changing user and admin PINs
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 d4e19e7..a3399fa 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -37,6 +37,9 @@ namespace nitrokey {
const char * get_totp_slot_name(uint8_t slot_number);
const char * get_hotp_slot_name(uint8_t slot_number);
+ void change_user_PIN(char *current_PIN, char *new_PIN);
+ void change_admin_PIN(char *current_PIN, char *new_PIN);
+
private:
NitrokeyManager();
~NitrokeyManager();
@@ -51,6 +54,7 @@ namespace nitrokey {
uint8_t get_internal_slot_number_for_totp(uint8_t slot_number) const;
bool erase_slot(uint8_t slot_number);
uint8_t *get_slot_name(uint8_t slot_number) const;
+
};
}