|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
Cryptnox CA public keys used for offline certificate verification. More...
#include "platform_compat.h"Go to the source code of this file.
Macros | |
| #define | CW_TRUSTED_CA_COUNT (1U) |
Variables | |
| static const uint8_t | CW_CA_DLT_PUBKEY [64] |
| static const uint8_t *const | CW_TRUSTED_CA_KEYS [CW_TRUSTED_CA_COUNT] |
Cryptnox CA public keys used for offline certificate verification.
Holds the trusted secp256r1 public keys that CW_SecureChannel::verifyCertificateChain checks the manufacturer certificate against. Each key is stored as 64 raw bytes (X[32] || Y[32], no 0x04 prefix) so it can be passed directly to uECC_verify().
Source: https://verify.cryptnox.tech/certificates/
To update a key: download the .crt file from the URL above and extract the EC public-key coordinates with:
Definition in file CW_TrustedKeys.h.
| #define CW_TRUSTED_CA_COUNT (1U) |
Definition at line 46 of file CW_TrustedKeys.h.
Referenced by CW_SecureChannel::verifyCertificateChain().
|
static |
Definition at line 32 of file CW_TrustedKeys.h.
|
static |
Definition at line 50 of file CW_TrustedKeys.h.
Referenced by CW_SecureChannel::verifyCertificateChain().