[−][src]Function nitrokey_sys::NK_first_authenticate
pub unsafe extern "C" fn NK_first_authenticate(
admin_password: *const c_char,
admin_temporary_password: *const c_char
) -> c_int
Authenticates the user on ADMIN privilages with admin_password and sets user's temporary password on device to admin_temporary_password. @param admin_password char[25] current administrator PIN @param admin_temporary_password char[25] admin temporary password to be set on device for further communication (authentication command) @return command processing error code