|
opensc
NPCI secure-component & UPI Lite / Lite X wallet reimplementation
|

Files | |
| codec.h | |
| Base64 and hex, reproducing Android's two base64 flags exactly. | |
| crypto.h | |
| Pluggable crypto backend: stateless primitives keyed by explicit material. | |
| env.h | |
| The injected runtime environment (crypto, keystore, store, clock, RNG) the wallet runs against. | |
| json.h | |
| Minimal JSON facade (backed by vendored parson), preserving key order like Android's org.json. | |
| keystore.h | |
| Pluggable keystore, a software stand-in for AndroidKeyStore. | |
| litex.h | |
| UPI Lite X: the fully-offline purse (o000OO0O) — PVR/pac/counter/txnId primitives, the P2P transfer handshake, and the identity exchange. | |
| primitives.h | |
| The byte-exact deterministic primitives of the CL (checked against the same vectors as the genuine CL). | |
| riskrules.h | |
| Verifying and reading NPCI's signed ServerRiskParams (balance, limits, ACSTATUS, timestamp). | |
| store.h | |
| Pluggable key/value store shaped like Android SharedPreferences. | |
| vault.h | |
| The NPCICLVAULT codec: an AES-GCM-encrypted JSON doc, separately signed, with tamper-reset. | |
| wallet.h | |
| The online UPI Lite wallet: onboard, isBound, balance, sync, spend, unbind. | |