opensc
NPCI secure-component & UPI Lite / Lite X wallet reimplementation
Loading...
Searching...
No Matches
lite_env Struct Reference

Everything the wallet needs, injected so tests can pin the clock, RNG and keys. More...

#include <env.h>

Collaboration diagram for lite_env:

Data Fields

const lite_crypto * crypto
 Stateless crypto primitives.
 
lite_keystore * keystore
 Alias-keyed key storage/signing.
 
lite_store * store
 SharedPreferences-shaped persistence.
 
const lite_clock * clock
 Time source.
 
const lite_rng * rng
 Randomness source.
 
const uint8_t * signer_upi_cert
 PEM/DER of signer-upi.crt, used to verify riskRules.
 
size_t signer_upi_cert_len
 Length of signer_upi_cert in bytes.
 

Detailed Description

Everything the wallet needs, injected so tests can pin the clock, RNG and keys.


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