aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Janovsky2024-09-19 15:06:54 -0700
committerAdam Janovsky2024-09-19 15:06:54 -0700
commit9768f7a808fc4bd3bdd74bf76b92d694edf92479 (patch)
treee313d3448d7bd9c7ca89ef3021b0119562a3d208
parent41fa98bd8ea9d8bbd7a5f03add5062c83f16ac09 (diff)
downloadsec-certs-9768f7a808fc4bd3bdd74bf76b92d694edf92479.tar.gz
sec-certs-9768f7a808fc4bd3bdd74bf76b92d694edf92479.tar.zst
sec-certs-9768f7a808fc4bd3bdd74bf76b92d694edf92479.zip
additional commands for extended chain of trust paper
-rw-r--r--notebooks/cc/references.ipynb5
1 files changed, 5 insertions, 0 deletions
diff --git a/notebooks/cc/references.ipynb b/notebooks/cc/references.ipynb
index 124226e0..44f2cea4 100644
--- a/notebooks/cc/references.ipynb
+++ b/notebooks/cc/references.ipynb
@@ -1704,6 +1704,11 @@
"else:\n",
" print(\"Warning: `aging_df` variable not found. Cannot compute aging statistics.\")\n",
"\n",
+ "num_cc_us = cc_df.loc[cc_df.scheme == \"US\"].shape[0]\n",
+ "num_cc_us_referencing = cc_df.loc[(cc_df.scheme == \"US\") & (cc_df.n_refs > 0)].shape[0]\n",
+ "print(f\"\\\\newcommand{{\\\\numCCUS}}{{${num_cc_us}$}}\")\n",
+ "print(f\"\\\\newcommand{{\\\\numCCUSReferencing}}{{${num_cc_us_referencing}$}}\")\n",
+ "\n",
"print(\"\")\n",
"\n",
"print_category_commands(\"smartcard\")\n",