User commands are designed for secure, read-only access or cryptographic operations that do not alter the device’s core configuration or security posture. These allow users to retrieve public data, perform cryptographic functions, and interact with the device within the boundaries of established security policies. User commands include:
User command | Description |
SELECT | Selects a specific applet or file on the device, allowing subsequent operations to target the selected context. |
Get Card Public Key | Retrieves the device’s public key used for signature or encryption verification. |
Get Manufacturer Certificate | Retrieves the device manufacturer’s certificate for authenticity validation. |
Get Card Certificate | Obtains the card or device certificate for identity verification. |
Get Card Info / Read Data | Accesses basic information or metadata about the card/device, such as firmware version, ID, or capabilities. |
Get Public Key (Pubkey) | Retrieves a specific public key associated with a known key index or derivation path. |
Generate TRNG Random | Returns random data generated by the device’s True Random Number Generator, typically for nonce or key generation use. |
Decrypt | Performs decryption of ciphertext using a user-authorized key, assuming permission or authentication is satisfied. |
We offer communication libraries in Python and Rust to facilitate integration and management within your applications.
2. Rust Library: A Rust library providing high-level functions to send instructions and manage the lifecycle of Cryptnox smartcard applets.