nx_chain_pipeline_real_test.nx
buildroot/runtime/nx_chain_pipeline_real_test.nx
about
nx_chain_pipeline_real_test.nx -- diagnose cert pipeline against
the REAL example.com 4-cert chain saved as DER fixtures in /tmp.
Reads /tmp/cert1..4.der (saved via openssl s_client -showcerts),
wraps them in a TLS 1.3 Certificate handshake message, loads the
real Mozilla bundle, calls nx_https_cert_pipeline_verify_with_store
directly, and reports the exact pipeline verdict via exit code.
expect_exit: 0 -- but the test PINS the current substrate state
via that the verdict is one of the expected ones for the current
chain-walker capability. When pipeline OK is reached, the test
flips its assertion.
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_cert_pipeline.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 21 | func read_to(path: *u8, out_buf: *u8, max: i64) -> i64 |
| 32 | func mkpath(out: *u8, num: i64) -> i64 called by 1: main |
| 47 | func build_cert_msg(out: *u8, derbufs: **u8, derlens: *i64, n: i64) -> i64 called by 1: main |
| 88 | func dump_dec(label0: i64, label1: i64, v: i64) -> i64 |
| 110 | func main() -> i64 |