|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
High-level API for interacting with a Cryptnox Hardware Wallet over NFC. More...
#include "platform_compat.h"#include "CW_Defs.h"#include "CW_Logger.h"#include "CW_Platform.h"#include "CW_SecureChannel.h"#include "CW_Utils.h"Go to the source code of this file.
Classes | |
| struct | CW_CardInfo |
| Subset of the Cryptnox card info returned by APDU 0x80FA0000. More... | |
| struct | CW_SignRequest |
| Request parameters for CryptnoxWallet::sign. More... | |
| struct | CW_SignResult |
| Result of CryptnoxWallet::sign. More... | |
| class | CryptnoxWallet |
| High-level interface for interacting with a Cryptnox Hardware Wallet over NFC. More... | |
Macros | |
| #define | CW_CARD_NAME_MAX_LEN (20U) |
| Max name length stored on a Cryptnox card (per card spec). | |
| #define | CW_CARD_EMAIL_MAX_LEN (60U) |
| Max email length stored on a Cryptnox card (per card spec). | |
High-level API for interacting with a Cryptnox Hardware Wallet over NFC.
Declares CryptnoxWallet, the main entry point for application code. The class wires together the four abstract adapters supplied by the host integration (NFC transport, crypto provider, logger, platform) and exposes the wallet operations: card connection, secure channel establishment, card info retrieval, PIN verification, transaction signing, and user-data writing.
Definition in file CryptnoxWallet.h.
| #define CW_CARD_EMAIL_MAX_LEN (60U) |
Max email length stored on a Cryptnox card (per card spec).
Definition at line 45 of file CryptnoxWallet.h.
Referenced by CryptnoxWallet::getCardInfo().
| #define CW_CARD_NAME_MAX_LEN (20U) |
Max name length stored on a Cryptnox card (per card spec).
Definition at line 42 of file CryptnoxWallet.h.
Referenced by CryptnoxWallet::getCardInfo().