libnitrokey 3.8.0
Loading...
Searching...
No Matches
NK_storage_status Struct Reference

Stores the status of a Storage device. More...

#include <NK_C_API.h>

Data Fields

bool unencrypted_volume_read_only
 Indicates whether the unencrypted volume is read-only.
 
bool unencrypted_volume_active
 Indicates whether the unencrypted volume is active.
 
bool encrypted_volume_read_only
 Indicates whether the encrypted volume is read-only.
 
bool encrypted_volume_active
 Indicates whether the encrypted volume is active.
 
bool hidden_volume_read_only
 Indicates whether the hidden volume is read-only.
 
bool hidden_volume_active
 Indicates whether the hidden volume is active.
 
uint8_t firmware_version_major
 The major firmware version, e.
 
uint8_t firmware_version_minor
 The minor firmware version, e.
 
bool firmware_locked
 Indicates whether the firmware is locked.
 
uint32_t serial_number_sd_card
 The serial number of the SD card in the Storage stick.
 
uint32_t serial_number_smart_card
 The serial number of the smart card in the Storage stick.
 
uint8_t user_retry_count
 The number of remaining login attempts for the user PIN.
 
uint8_t admin_retry_count
 The number of remaining login attempts for the admin PIN.
 
bool new_sd_card_found
 Indicates whether a new SD card was found.
 
bool filled_with_random
 Indicates whether the SD card is filled with random characters.
 
bool stick_initialized
 Indicates whether the stick has been initialized by generating the AES keys.
 

Detailed Description

Stores the status of a Storage device.

Field Documentation

◆ firmware_version_major

uint8_t NK_storage_status::firmware_version_major

The major firmware version, e.

g. 0 in v0.40.

◆ firmware_version_minor

uint8_t NK_storage_status::firmware_version_minor

The minor firmware version, e.

g. 40 in v0.40.


The documentation for this struct was generated from the following file: