diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1157.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1157.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..01759fddc9725318ff685163b79dcb057b01bbef Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1157.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1901.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1901.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7362f50d8cefbd0398cd23eb6dd3010d2b1fba50 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1901.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1902.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1902.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..93e0d0aefa05a6d647c27f1c3b13fb3c03998a2c Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc1902.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2459.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2459.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c8ade1b9bcae810560dba7854a84b164ba49f8b4 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2459.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2511.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2511.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b263c21a30c3c59d7be7657e66669f82115c71f7 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2511.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2634.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2634.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7cc39ce6ee37adf3efed4f0ef01be45fbc6494b8 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2634.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2985.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2985.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3b8cc943cb00ea12e8f09e71aefef078f576a60e Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2985.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2986.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2986.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ba81d29ed7ad965591c6aed3a0631b36cf2c7a76 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc2986.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3274.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3274.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a558db3640a48cb9606261c6fc25c5a80a3a1422 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3274.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3280.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3280.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2156bbcd7fd316875a1fbf27b76f8679bb22a467 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3280.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3447.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3447.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..46d7e67f20217b8a1f48586eae5a2c1f75e605df Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3447.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3770.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3770.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f58edde9fb97f0a6727abf6e8c12fa143fae6eb6 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3770.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3820.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3820.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..05f3fa3178e370e7ad461e8f49295715e0ef637d Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3820.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3852.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3852.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0461eeb091ee21c30c635085d817445f2d35fd66 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc3852.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4108.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4108.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bf56235b9ed9d87eb88f851e46e62dc739d915cd Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4108.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4476.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4476.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a8faa6faecd3948b0d01c3f40de7dc1c8ae48fbc Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4476.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4490.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4490.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0835ddb11197eeba380bb3f553b12ba7ba9090e5 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4490.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4683.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4683.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..61a8be91aff7aa05faebb5a17cc9bd1c3a5f8e80 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc4683.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5035.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5035.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..76ebd6f922d949e0139b9d427fec5cfe9b2de2f8 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5035.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5084.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5084.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5bc955128ce4d2a38bceb638655e4c29f2836008 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5084.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5208.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5208.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..72adb740d919cfa3b1128b6569593815863f1002 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5208.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5275.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5275.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..380784e103b9b1ac3312a57b2d7bd8e1bf006159 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5275.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5636.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5636.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9fe997c708c2316975abc2521f80183b5e88698f Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5636.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5639.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5639.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..235499200f85dd71aa867ceb761b28416b3e2864 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5639.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5752.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5752.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..811c3b42495daaab23965b8c6a440107871e5f8d Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5752.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5755.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5755.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..342d19a9c99638136a1ed7202f86cf83184e9055 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5755.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5914.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5914.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c994cc7fc1bb8adf8aa3f592e80853dbc6856c46 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5914.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5915.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5915.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ceeb7ff86db2476acf7fc31c7dcc2ef26e1b8c32 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5915.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5934.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5934.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..905b8b55f31b34978c3c6654d7ddc49abb7f0827 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5934.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5940.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5940.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..68b5cc7ec9765a5d0a2dc157d5cf806adcae1773 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5940.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5990.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5990.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3de94fe2214d3f8153dc14f084958203657f54db Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc5990.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6019.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6019.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..acf2a1dc835997dd319bf1a23c47127487717591 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6019.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6031.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6031.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1da0126b3727110f9f9849a72de9007c67ef165d Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6031.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6032.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6032.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f258f7a0c5047269f0de38730faa33f283d540fd Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6032.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6170.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6170.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5e382bd0848496ad3029787768316cba667b8418 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6170.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6210.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6210.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9cec4aa1e618b75648f674caaa0be0a123a60f8e Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6210.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6402.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6402.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c3b100edbd01711df8bc920de7d34a50bcfd1649 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6402.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6664.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6664.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..020754152d971795df5c4d58af18af5adcc402ce Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6664.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6955.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6955.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..59492f28ae7f070bac32d4b88d895b2afe42654e Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc6955.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7191.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7191.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cb29502bade29f8ce864ec800eb852851c4d28c2 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7191.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7229.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7229.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..24aa4e7373427ba97721513de88210e2080716a9 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7229.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7585.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7585.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ada39a10acaf580d7160228fb1ac3796964c5409 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7585.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7633.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7633.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..55b5e977c84b272cbe6291e5f90530a1415cdf90 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7633.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7773.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7773.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1a35ce08a62a01f0372ba5f73534501cebce1ec1 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7773.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7906.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7906.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..427474ef2f6f0508f61f1448ed4562c68f66beea Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7906.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7914.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7914.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..433cb3c0af31e50aa48e0b7aa64d87fd6b3cb440 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc7914.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8209.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8209.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..461190dcc806a5c1a80145e695862c0bd74187bd Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8209.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8398.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8398.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8df1a00e2a74f1129d3928454f5ad56d9a5c187e Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8398.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8410.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8410.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..88d6b285d0632a70e99b854eafd5536a96d61879 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8410.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8769.cpython-310.pyc b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8769.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d8ab41bc6e3dea1f44917042e35db170e28d8363 Binary files /dev/null and b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/__pycache__/rfc8769.cpython-310.pyc differ diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc1901.py b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc1901.py new file mode 100644 index 0000000000000000000000000000000000000000..658dcb938169eed38a4a2da5d43e523487223308 --- /dev/null +++ b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc1901.py @@ -0,0 +1,22 @@ +# +# This file is part of pyasn1-modules software. +# +# Copyright (c) 2005-2020, Ilya Etingof +# License: http://snmplabs.com/pyasn1/license.html +# +# SNMPv2c message syntax +# +# ASN.1 source from: +# http://www.ietf.org/rfc/rfc1901.txt +# +from pyasn1.type import namedtype +from pyasn1.type import namedval +from pyasn1.type import univ + + +class Message(univ.Sequence): + componentType = namedtype.NamedTypes( + namedtype.NamedType('version', univ.Integer(namedValues=namedval.NamedValues(('version-2c', 1)))), + namedtype.NamedType('community', univ.OctetString()), + namedtype.NamedType('data', univ.Any()) + ) diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc1905.py b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc1905.py new file mode 100644 index 0000000000000000000000000000000000000000..435427b2bc2ed528ceafe561c54d2072ce53be59 --- /dev/null +++ b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc1905.py @@ -0,0 +1,135 @@ +# +# This file is part of pyasn1-modules software. +# +# Copyright (c) 2005-2020, Ilya Etingof +# License: http://snmplabs.com/pyasn1/license.html +# +# SNMPv2c PDU syntax +# +# ASN.1 source from: +# http://www.ietf.org/rfc/rfc1905.txt +# +from pyasn1.type import constraint +from pyasn1.type import namedtype +from pyasn1.type import namedval +from pyasn1.type import tag +from pyasn1.type import univ + +from pyasn1_modules import rfc1902 + +max_bindings = rfc1902.Integer(2147483647) + + +class _BindValue(univ.Choice): + componentType = namedtype.NamedTypes( + namedtype.NamedType('value', rfc1902.ObjectSyntax()), + namedtype.NamedType('unSpecified', univ.Null()), + namedtype.NamedType('noSuchObject', + univ.Null().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))), + namedtype.NamedType('noSuchInstance', + univ.Null().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))), + namedtype.NamedType('endOfMibView', + univ.Null().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2))) + ) + + +class VarBind(univ.Sequence): + componentType = namedtype.NamedTypes( + namedtype.NamedType('name', rfc1902.ObjectName()), + namedtype.NamedType('', _BindValue()) + ) + + +class VarBindList(univ.SequenceOf): + componentType = VarBind() + sizeSpec = univ.SequenceOf.sizeSpec + constraint.ValueSizeConstraint( + 0, max_bindings + ) + + +class PDU(univ.Sequence): + componentType = namedtype.NamedTypes( + namedtype.NamedType('request-id', rfc1902.Integer32()), + namedtype.NamedType('error-status', univ.Integer( + namedValues=namedval.NamedValues(('noError', 0), ('tooBig', 1), ('noSuchName', 2), ('badValue', 3), + ('readOnly', 4), ('genErr', 5), ('noAccess', 6), ('wrongType', 7), + ('wrongLength', 8), ('wrongEncoding', 9), ('wrongValue', 10), + ('noCreation', 11), ('inconsistentValue', 12), ('resourceUnavailable', 13), + ('commitFailed', 14), ('undoFailed', 15), ('authorizationError', 16), + ('notWritable', 17), ('inconsistentName', 18)))), + namedtype.NamedType('error-index', + univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, max_bindings))), + namedtype.NamedType('variable-bindings', VarBindList()) + ) + + +class BulkPDU(univ.Sequence): + componentType = namedtype.NamedTypes( + namedtype.NamedType('request-id', rfc1902.Integer32()), + namedtype.NamedType('non-repeaters', + univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, max_bindings))), + namedtype.NamedType('max-repetitions', + univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, max_bindings))), + namedtype.NamedType('variable-bindings', VarBindList()) + ) + + +class GetRequestPDU(PDU): + tagSet = PDU.tagSet.tagImplicitly( + tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 0) + ) + + +class GetNextRequestPDU(PDU): + tagSet = PDU.tagSet.tagImplicitly( + tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 1) + ) + + +class ResponsePDU(PDU): + tagSet = PDU.tagSet.tagImplicitly( + tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 2) + ) + + +class SetRequestPDU(PDU): + tagSet = PDU.tagSet.tagImplicitly( + tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 3) + ) + + +class GetBulkRequestPDU(BulkPDU): + tagSet = PDU.tagSet.tagImplicitly( + tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 5) + ) + + +class InformRequestPDU(PDU): + tagSet = PDU.tagSet.tagImplicitly( + tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 6) + ) + + +class SNMPv2TrapPDU(PDU): + tagSet = PDU.tagSet.tagImplicitly( + tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 7) + ) + + +class ReportPDU(PDU): + tagSet = PDU.tagSet.tagImplicitly( + tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 8) + ) + + +class PDUs(univ.Choice): + componentType = namedtype.NamedTypes( + namedtype.NamedType('get-request', GetRequestPDU()), + namedtype.NamedType('get-next-request', GetNextRequestPDU()), + namedtype.NamedType('get-bulk-request', GetBulkRequestPDU()), + namedtype.NamedType('response', ResponsePDU()), + namedtype.NamedType('set-request', SetRequestPDU()), + namedtype.NamedType('inform-request', InformRequestPDU()), + namedtype.NamedType('snmpV2-trap', SNMPv2TrapPDU()), + namedtype.NamedType('report', ReportPDU()) + ) diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc3537.py b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc3537.py new file mode 100644 index 0000000000000000000000000000000000000000..374dd8193ca54427fd3b47ebd2fa213180ba8a3d --- /dev/null +++ b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc3537.py @@ -0,0 +1,34 @@ +# +# This file is part of pyasn1-modules software. +# +# Created by Russ Housley. +# +# Copyright (c) 2019, Vigil Security, LLC +# License: http://snmplabs.com/pyasn1/license.html +# +# SEED Encryption Algorithm in CMS +# +# ASN.1 source from: +# https://www.rfc-editor.org/rfc/rfc4010.txt +# + +from pyasn1.type import constraint +from pyasn1.type import univ + +from pyasn1_modules import rfc5280 + + +id_alg_HMACwith3DESwrap = univ.ObjectIdentifier('1.2.840.113549.1.9.16.3.11') + + +id_alg_HMACwithAESwrap = univ.ObjectIdentifier('1.2.840.113549.1.9.16.3.12') + + +# Update the Algorithm Identifier map in rfc5280.py. + +_algorithmIdentifierMapUpdate = { + id_alg_HMACwith3DESwrap: univ.Null(""), + id_alg_HMACwithAESwrap: univ.Null(""), +} + +rfc5280.algorithmIdentifierMap.update(_algorithmIdentifierMapUpdate) diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc3852.py b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc3852.py new file mode 100644 index 0000000000000000000000000000000000000000..cf1bb85ad8af94cb05fde9b6ded429ea20113c73 --- /dev/null +++ b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc3852.py @@ -0,0 +1,706 @@ +# coding: utf-8 +# +# This file is part of pyasn1-modules software. +# +# Created by Stanisław Pitucha with asn1ate tool. +# Copyright (c) 2005-2020, Ilya Etingof +# License: http://snmplabs.com/pyasn1/license.html +# +# Cryptographic Message Syntax (CMS) +# +# ASN.1 source from: +# http://www.ietf.org/rfc/rfc3852.txt +# +from pyasn1.type import constraint +from pyasn1.type import namedtype +from pyasn1.type import namedval +from pyasn1.type import tag +from pyasn1.type import univ +from pyasn1.type import useful + +from pyasn1_modules import rfc3280 +from pyasn1_modules import rfc3281 + +MAX = float('inf') + + +def _buildOid(*components): + output = [] + for x in tuple(components): + if isinstance(x, univ.ObjectIdentifier): + output.extend(list(x)) + else: + output.append(int(x)) + + return univ.ObjectIdentifier(output) + + +class AttributeValue(univ.Any): + pass + + +class Attribute(univ.Sequence): + pass + + +Attribute.componentType = namedtype.NamedTypes( + namedtype.NamedType('attrType', univ.ObjectIdentifier()), + namedtype.NamedType('attrValues', univ.SetOf(componentType=AttributeValue())) +) + + +class SignedAttributes(univ.SetOf): + pass + + +SignedAttributes.componentType = Attribute() +SignedAttributes.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + + +class OtherRevocationInfoFormat(univ.Sequence): + pass + + +OtherRevocationInfoFormat.componentType = namedtype.NamedTypes( + namedtype.NamedType('otherRevInfoFormat', univ.ObjectIdentifier()), + namedtype.NamedType('otherRevInfo', univ.Any()) +) + + +class RevocationInfoChoice(univ.Choice): + pass + + +RevocationInfoChoice.componentType = namedtype.NamedTypes( + namedtype.NamedType('crl', rfc3280.CertificateList()), + namedtype.NamedType('other', OtherRevocationInfoFormat().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 1))) +) + + +class RevocationInfoChoices(univ.SetOf): + pass + + +RevocationInfoChoices.componentType = RevocationInfoChoice() + + +class OtherKeyAttribute(univ.Sequence): + pass + + +OtherKeyAttribute.componentType = namedtype.NamedTypes( + namedtype.NamedType('keyAttrId', univ.ObjectIdentifier()), + namedtype.OptionalNamedType('keyAttr', univ.Any()) +) + +id_signedData = _buildOid(1, 2, 840, 113549, 1, 7, 2) + + +class KeyEncryptionAlgorithmIdentifier(rfc3280.AlgorithmIdentifier): + pass + + +class EncryptedKey(univ.OctetString): + pass + + +class CMSVersion(univ.Integer): + pass + + +CMSVersion.namedValues = namedval.NamedValues( + ('v0', 0), + ('v1', 1), + ('v2', 2), + ('v3', 3), + ('v4', 4), + ('v5', 5) +) + + +class KEKIdentifier(univ.Sequence): + pass + + +KEKIdentifier.componentType = namedtype.NamedTypes( + namedtype.NamedType('keyIdentifier', univ.OctetString()), + namedtype.OptionalNamedType('date', useful.GeneralizedTime()), + namedtype.OptionalNamedType('other', OtherKeyAttribute()) +) + + +class KEKRecipientInfo(univ.Sequence): + pass + + +KEKRecipientInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.NamedType('kekid', KEKIdentifier()), + namedtype.NamedType('keyEncryptionAlgorithm', KeyEncryptionAlgorithmIdentifier()), + namedtype.NamedType('encryptedKey', EncryptedKey()) +) + + +class KeyDerivationAlgorithmIdentifier(rfc3280.AlgorithmIdentifier): + pass + + +class PasswordRecipientInfo(univ.Sequence): + pass + + +PasswordRecipientInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.OptionalNamedType('keyDerivationAlgorithm', KeyDerivationAlgorithmIdentifier().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))), + namedtype.NamedType('keyEncryptionAlgorithm', KeyEncryptionAlgorithmIdentifier()), + namedtype.NamedType('encryptedKey', EncryptedKey()) +) + + +class OtherRecipientInfo(univ.Sequence): + pass + + +OtherRecipientInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('oriType', univ.ObjectIdentifier()), + namedtype.NamedType('oriValue', univ.Any()) +) + + +class IssuerAndSerialNumber(univ.Sequence): + pass + + +IssuerAndSerialNumber.componentType = namedtype.NamedTypes( + namedtype.NamedType('issuer', rfc3280.Name()), + namedtype.NamedType('serialNumber', rfc3280.CertificateSerialNumber()) +) + + +class SubjectKeyIdentifier(univ.OctetString): + pass + + +class RecipientKeyIdentifier(univ.Sequence): + pass + + +RecipientKeyIdentifier.componentType = namedtype.NamedTypes( + namedtype.NamedType('subjectKeyIdentifier', SubjectKeyIdentifier()), + namedtype.OptionalNamedType('date', useful.GeneralizedTime()), + namedtype.OptionalNamedType('other', OtherKeyAttribute()) +) + + +class KeyAgreeRecipientIdentifier(univ.Choice): + pass + + +KeyAgreeRecipientIdentifier.componentType = namedtype.NamedTypes( + namedtype.NamedType('issuerAndSerialNumber', IssuerAndSerialNumber()), + namedtype.NamedType('rKeyId', RecipientKeyIdentifier().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 0))) +) + + +class RecipientEncryptedKey(univ.Sequence): + pass + + +RecipientEncryptedKey.componentType = namedtype.NamedTypes( + namedtype.NamedType('rid', KeyAgreeRecipientIdentifier()), + namedtype.NamedType('encryptedKey', EncryptedKey()) +) + + +class RecipientEncryptedKeys(univ.SequenceOf): + pass + + +RecipientEncryptedKeys.componentType = RecipientEncryptedKey() + + +class UserKeyingMaterial(univ.OctetString): + pass + + +class OriginatorPublicKey(univ.Sequence): + pass + + +OriginatorPublicKey.componentType = namedtype.NamedTypes( + namedtype.NamedType('algorithm', rfc3280.AlgorithmIdentifier()), + namedtype.NamedType('publicKey', univ.BitString()) +) + + +class OriginatorIdentifierOrKey(univ.Choice): + pass + + +OriginatorIdentifierOrKey.componentType = namedtype.NamedTypes( + namedtype.NamedType('issuerAndSerialNumber', IssuerAndSerialNumber()), + namedtype.NamedType('subjectKeyIdentifier', SubjectKeyIdentifier().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))), + namedtype.NamedType('originatorKey', OriginatorPublicKey().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 1))) +) + + +class KeyAgreeRecipientInfo(univ.Sequence): + pass + + +KeyAgreeRecipientInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.NamedType('originator', OriginatorIdentifierOrKey().subtype( + explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 0))), + namedtype.OptionalNamedType('ukm', UserKeyingMaterial().subtype( + explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))), + namedtype.NamedType('keyEncryptionAlgorithm', KeyEncryptionAlgorithmIdentifier()), + namedtype.NamedType('recipientEncryptedKeys', RecipientEncryptedKeys()) +) + + +class RecipientIdentifier(univ.Choice): + pass + + +RecipientIdentifier.componentType = namedtype.NamedTypes( + namedtype.NamedType('issuerAndSerialNumber', IssuerAndSerialNumber()), + namedtype.NamedType('subjectKeyIdentifier', SubjectKeyIdentifier().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))) +) + + +class KeyTransRecipientInfo(univ.Sequence): + pass + + +KeyTransRecipientInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.NamedType('rid', RecipientIdentifier()), + namedtype.NamedType('keyEncryptionAlgorithm', KeyEncryptionAlgorithmIdentifier()), + namedtype.NamedType('encryptedKey', EncryptedKey()) +) + + +class RecipientInfo(univ.Choice): + pass + + +RecipientInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('ktri', KeyTransRecipientInfo()), + namedtype.NamedType('kari', KeyAgreeRecipientInfo().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 1))), + namedtype.NamedType('kekri', KEKRecipientInfo().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 2))), + namedtype.NamedType('pwri', PasswordRecipientInfo().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 3))), + namedtype.NamedType('ori', OtherRecipientInfo().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 4))) +) + + +class RecipientInfos(univ.SetOf): + pass + + +RecipientInfos.componentType = RecipientInfo() +RecipientInfos.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + + +class DigestAlgorithmIdentifier(rfc3280.AlgorithmIdentifier): + pass + + +class Signature(univ.BitString): + pass + + +class SignerIdentifier(univ.Choice): + pass + + +SignerIdentifier.componentType = namedtype.NamedTypes( + namedtype.NamedType('issuerAndSerialNumber', IssuerAndSerialNumber()), + namedtype.NamedType('subjectKeyIdentifier', SubjectKeyIdentifier().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))) +) + + +class UnprotectedAttributes(univ.SetOf): + pass + + +UnprotectedAttributes.componentType = Attribute() +UnprotectedAttributes.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + + +class ContentType(univ.ObjectIdentifier): + pass + + +class EncryptedContent(univ.OctetString): + pass + + +class ContentEncryptionAlgorithmIdentifier(rfc3280.AlgorithmIdentifier): + pass + + +class EncryptedContentInfo(univ.Sequence): + pass + + +EncryptedContentInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('contentType', ContentType()), + namedtype.NamedType('contentEncryptionAlgorithm', ContentEncryptionAlgorithmIdentifier()), + namedtype.OptionalNamedType('encryptedContent', EncryptedContent().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))) +) + + +class EncryptedData(univ.Sequence): + pass + + +EncryptedData.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.NamedType('encryptedContentInfo', EncryptedContentInfo()), + namedtype.OptionalNamedType('unprotectedAttrs', UnprotectedAttributes().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))) +) + +id_contentType = _buildOid(1, 2, 840, 113549, 1, 9, 3) + +id_data = _buildOid(1, 2, 840, 113549, 1, 7, 1) + +id_messageDigest = _buildOid(1, 2, 840, 113549, 1, 9, 4) + + +class DigestAlgorithmIdentifiers(univ.SetOf): + pass + + +DigestAlgorithmIdentifiers.componentType = DigestAlgorithmIdentifier() + + +class EncapsulatedContentInfo(univ.Sequence): + pass + + +EncapsulatedContentInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('eContentType', ContentType()), + namedtype.OptionalNamedType('eContent', univ.OctetString().subtype( + explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))) +) + + +class Digest(univ.OctetString): + pass + + +class DigestedData(univ.Sequence): + pass + + +DigestedData.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.NamedType('digestAlgorithm', DigestAlgorithmIdentifier()), + namedtype.NamedType('encapContentInfo', EncapsulatedContentInfo()), + namedtype.NamedType('digest', Digest()) +) + + +class ContentInfo(univ.Sequence): + pass + + +ContentInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('contentType', ContentType()), + namedtype.NamedType('content', univ.Any().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))) +) + + +class UnauthAttributes(univ.SetOf): + pass + + +UnauthAttributes.componentType = Attribute() +UnauthAttributes.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + + +class ExtendedCertificateInfo(univ.Sequence): + pass + + +ExtendedCertificateInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.NamedType('certificate', rfc3280.Certificate()), + namedtype.NamedType('attributes', UnauthAttributes()) +) + + +class SignatureAlgorithmIdentifier(rfc3280.AlgorithmIdentifier): + pass + + +class ExtendedCertificate(univ.Sequence): + pass + + +ExtendedCertificate.componentType = namedtype.NamedTypes( + namedtype.NamedType('extendedCertificateInfo', ExtendedCertificateInfo()), + namedtype.NamedType('signatureAlgorithm', SignatureAlgorithmIdentifier()), + namedtype.NamedType('signature', Signature()) +) + + +class OtherCertificateFormat(univ.Sequence): + pass + + +OtherCertificateFormat.componentType = namedtype.NamedTypes( + namedtype.NamedType('otherCertFormat', univ.ObjectIdentifier()), + namedtype.NamedType('otherCert', univ.Any()) +) + + +class AttributeCertificateV2(rfc3281.AttributeCertificate): + pass + + +class AttCertVersionV1(univ.Integer): + pass + + +AttCertVersionV1.namedValues = namedval.NamedValues( + ('v1', 0) +) + + +class AttributeCertificateInfoV1(univ.Sequence): + pass + + +AttributeCertificateInfoV1.componentType = namedtype.NamedTypes( + namedtype.DefaultedNamedType('version', AttCertVersionV1().subtype(value="v1")), + namedtype.NamedType( + 'subject', univ.Choice( + componentType=namedtype.NamedTypes( + namedtype.NamedType('baseCertificateID', rfc3281.IssuerSerial().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))), + namedtype.NamedType('subjectName', rfc3280.GeneralNames().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))) + ) + ) + ), + namedtype.NamedType('issuer', rfc3280.GeneralNames()), + namedtype.NamedType('signature', rfc3280.AlgorithmIdentifier()), + namedtype.NamedType('serialNumber', rfc3280.CertificateSerialNumber()), + namedtype.NamedType('attCertValidityPeriod', rfc3281.AttCertValidityPeriod()), + namedtype.NamedType('attributes', univ.SequenceOf(componentType=rfc3280.Attribute())), + namedtype.OptionalNamedType('issuerUniqueID', rfc3280.UniqueIdentifier()), + namedtype.OptionalNamedType('extensions', rfc3280.Extensions()) +) + + +class AttributeCertificateV1(univ.Sequence): + pass + + +AttributeCertificateV1.componentType = namedtype.NamedTypes( + namedtype.NamedType('acInfo', AttributeCertificateInfoV1()), + namedtype.NamedType('signatureAlgorithm', rfc3280.AlgorithmIdentifier()), + namedtype.NamedType('signature', univ.BitString()) +) + + +class CertificateChoices(univ.Choice): + pass + + +CertificateChoices.componentType = namedtype.NamedTypes( + namedtype.NamedType('certificate', rfc3280.Certificate()), + namedtype.NamedType('extendedCertificate', ExtendedCertificate().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 0))), + namedtype.NamedType('v1AttrCert', AttributeCertificateV1().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))), + namedtype.NamedType('v2AttrCert', AttributeCertificateV2().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2))), + namedtype.NamedType('other', OtherCertificateFormat().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 3))) +) + + +class CertificateSet(univ.SetOf): + pass + + +CertificateSet.componentType = CertificateChoices() + + +class MessageAuthenticationCode(univ.OctetString): + pass + + +class UnsignedAttributes(univ.SetOf): + pass + + +UnsignedAttributes.componentType = Attribute() +UnsignedAttributes.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + + +class SignatureValue(univ.OctetString): + pass + + +class SignerInfo(univ.Sequence): + pass + + +SignerInfo.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.NamedType('sid', SignerIdentifier()), + namedtype.NamedType('digestAlgorithm', DigestAlgorithmIdentifier()), + namedtype.OptionalNamedType('signedAttrs', SignedAttributes().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))), + namedtype.NamedType('signatureAlgorithm', SignatureAlgorithmIdentifier()), + namedtype.NamedType('signature', SignatureValue()), + namedtype.OptionalNamedType('unsignedAttrs', UnsignedAttributes().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))) +) + + +class SignerInfos(univ.SetOf): + pass + + +SignerInfos.componentType = SignerInfo() + + +class SignedData(univ.Sequence): + pass + + +SignedData.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.NamedType('digestAlgorithms', DigestAlgorithmIdentifiers()), + namedtype.NamedType('encapContentInfo', EncapsulatedContentInfo()), + namedtype.OptionalNamedType('certificates', CertificateSet().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))), + namedtype.OptionalNamedType('crls', RevocationInfoChoices().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))), + namedtype.NamedType('signerInfos', SignerInfos()) +) + + +class MessageAuthenticationCodeAlgorithm(rfc3280.AlgorithmIdentifier): + pass + + +class MessageDigest(univ.OctetString): + pass + + +class Time(univ.Choice): + pass + + +Time.componentType = namedtype.NamedTypes( + namedtype.NamedType('utcTime', useful.UTCTime()), + namedtype.NamedType('generalTime', useful.GeneralizedTime()) +) + + +class OriginatorInfo(univ.Sequence): + pass + + +OriginatorInfo.componentType = namedtype.NamedTypes( + namedtype.OptionalNamedType('certs', CertificateSet().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))), + namedtype.OptionalNamedType('crls', RevocationInfoChoices().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))) +) + + +class AuthAttributes(univ.SetOf): + pass + + +AuthAttributes.componentType = Attribute() +AuthAttributes.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + + +class AuthenticatedData(univ.Sequence): + pass + + +AuthenticatedData.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.OptionalNamedType('originatorInfo', OriginatorInfo().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 0))), + namedtype.NamedType('recipientInfos', RecipientInfos()), + namedtype.NamedType('macAlgorithm', MessageAuthenticationCodeAlgorithm()), + namedtype.OptionalNamedType('digestAlgorithm', DigestAlgorithmIdentifier().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))), + namedtype.NamedType('encapContentInfo', EncapsulatedContentInfo()), + namedtype.OptionalNamedType('authAttrs', AuthAttributes().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2))), + namedtype.NamedType('mac', MessageAuthenticationCode()), + namedtype.OptionalNamedType('unauthAttrs', UnauthAttributes().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 3))) +) + +id_ct_contentInfo = _buildOid(1, 2, 840, 113549, 1, 9, 16, 1, 6) + +id_envelopedData = _buildOid(1, 2, 840, 113549, 1, 7, 3) + + +class EnvelopedData(univ.Sequence): + pass + + +EnvelopedData.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', CMSVersion()), + namedtype.OptionalNamedType('originatorInfo', OriginatorInfo().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 0))), + namedtype.NamedType('recipientInfos', RecipientInfos()), + namedtype.NamedType('encryptedContentInfo', EncryptedContentInfo()), + namedtype.OptionalNamedType('unprotectedAttrs', UnprotectedAttributes().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))) +) + + +class Countersignature(SignerInfo): + pass + + +id_digestedData = _buildOid(1, 2, 840, 113549, 1, 7, 5) + +id_signingTime = _buildOid(1, 2, 840, 113549, 1, 9, 5) + + +class ExtendedCertificateOrCertificate(univ.Choice): + pass + + +ExtendedCertificateOrCertificate.componentType = namedtype.NamedTypes( + namedtype.NamedType('certificate', rfc3280.Certificate()), + namedtype.NamedType('extendedCertificate', ExtendedCertificate().subtype( + implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 0))) +) + +id_encryptedData = _buildOid(1, 2, 840, 113549, 1, 7, 6) + +id_ct_authData = _buildOid(1, 2, 840, 113549, 1, 9, 16, 1, 2) + + +class SigningTime(Time): + pass + + +id_countersignature = _buildOid(1, 2, 840, 113549, 1, 9, 6) diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc6486.py b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc6486.py new file mode 100644 index 0000000000000000000000000000000000000000..31c936a4f259cdf194d768bdc47249816d761c48 --- /dev/null +++ b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc6486.py @@ -0,0 +1,68 @@ +# +# This file is part of pyasn1-modules software. +# +# Created by Russ Housley with assistance from asn1ate v.0.6.0. +# +# Copyright (c) 2019, Vigil Security, LLC +# License: http://snmplabs.com/pyasn1/license.html +# +# RPKI Manifests +# +# ASN.1 source from: +# https://www.rfc-editor.org/rfc/rfc6486.txt +# + +from pyasn1.type import char +from pyasn1.type import constraint +from pyasn1.type import namedtype +from pyasn1.type import tag +from pyasn1.type import useful +from pyasn1.type import univ + +from pyasn1_modules import rfc5652 + +MAX = float('inf') + + +id_smime = univ.ObjectIdentifier('1.2.840.113549.1.9.16') + +id_ct = id_smime + (1, ) + +id_ct_rpkiManifest = id_ct + (26, ) + + +class FileAndHash(univ.Sequence): + componentType = namedtype.NamedTypes( + namedtype.NamedType('file', char.IA5String()), + namedtype.NamedType('hash', univ.BitString()) + ) + + +class Manifest(univ.Sequence): + componentType = namedtype.NamedTypes( + namedtype.DefaultedNamedType('version', + univ.Integer().subtype(explicitTag=tag.Tag( + tag.tagClassContext, tag.tagFormatSimple, 0)).subtype(value=0)), + namedtype.NamedType('manifestNumber', + univ.Integer().subtype( + subtypeSpec=constraint.ValueRangeConstraint(0, MAX))), + namedtype.NamedType('thisUpdate', + useful.GeneralizedTime()), + namedtype.NamedType('nextUpdate', + useful.GeneralizedTime()), + namedtype.NamedType('fileHashAlg', + univ.ObjectIdentifier()), + namedtype.NamedType('fileList', + univ.SequenceOf(componentType=FileAndHash()).subtype( + subtypeSpec=constraint.ValueSizeConstraint(0, MAX))) + ) + + +# Map of Content Type OIDs to Content Types added to the +# ones that are in rfc5652.py + +_cmsContentTypesMapUpdate = { + id_ct_rpkiManifest: Manifest(), +} + +rfc5652.cmsContentTypesMap.update(_cmsContentTypesMapUpdate) diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc6487.py b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc6487.py new file mode 100644 index 0000000000000000000000000000000000000000..d8c2f87423f98a0157f7bbd26152a39ede1d5acb --- /dev/null +++ b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc6487.py @@ -0,0 +1,22 @@ +# +# This file is part of pyasn1-modules software. +# +# Created by Russ Housley. +# +# Copyright (c) 2019, Vigil Security, LLC +# License: http://snmplabs.com/pyasn1/license.html +# +# Profile for X.509 PKIX Resource Certificates +# +# ASN.1 source from: +# https://www.rfc-editor.org/rfc/rfc6487.txt +# + +from pyasn1.type import univ + +id_pkix = univ.ObjectIdentifier('1.3.6.1.5.5.7') + +id_ad = id_pkix + (48, ) + +id_ad_rpkiManifest = id_ad + (10, ) +id_ad_signedObject = id_ad + (11, ) diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc8018.py b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc8018.py new file mode 100644 index 0000000000000000000000000000000000000000..7a44eea8d25e9cb59c44442e0dc683e3b30237f3 --- /dev/null +++ b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc8018.py @@ -0,0 +1,260 @@ +# +# This file is part of pyasn1-modules software. +# +# Created by Russ Housley. +# +# Copyright (c) 2019, Vigil Security, LLC +# License: http://snmplabs.com/pyasn1/license.html +# +# PKCS #5: Password-Based Cryptography Specification, Version 2.1 +# +# ASN.1 source from: +# https://www.rfc-editor.org/rfc/rfc8018.txt +# + +from pyasn1.type import constraint +from pyasn1.type import namedtype +from pyasn1.type import namedval +from pyasn1.type import univ + +from pyasn1_modules import rfc3565 +from pyasn1_modules import rfc5280 + +MAX = float('inf') + +def _OID(*components): + output = [] + for x in tuple(components): + if isinstance(x, univ.ObjectIdentifier): + output.extend(list(x)) + else: + output.append(int(x)) + + return univ.ObjectIdentifier(output) + + +# Import from RFC 3565 + +AES_IV = rfc3565.AES_IV + + +# Import from RFC 5280 + +AlgorithmIdentifier = rfc5280.AlgorithmIdentifier + + +# Basic object identifiers + +nistAlgorithms = _OID(2, 16, 840, 1, 101, 3, 4) + +aes = _OID(nistAlgorithms, 1) + +oiw = _OID(1, 3, 14) + +rsadsi = _OID(1, 2, 840, 113549) + +pkcs = _OID(rsadsi, 1) + +digestAlgorithm = _OID(rsadsi, 2) + +encryptionAlgorithm = _OID(rsadsi, 3) + +pkcs_5 = _OID(pkcs, 5) + + + +# HMAC object identifiers + +id_hmacWithSHA1 = _OID(digestAlgorithm, 7) + +id_hmacWithSHA224 = _OID(digestAlgorithm, 8) + +id_hmacWithSHA256 = _OID(digestAlgorithm, 9) + +id_hmacWithSHA384 = _OID(digestAlgorithm, 10) + +id_hmacWithSHA512 = _OID(digestAlgorithm, 11) + +id_hmacWithSHA512_224 = _OID(digestAlgorithm, 12) + +id_hmacWithSHA512_256 = _OID(digestAlgorithm, 13) + + +# PBES1 object identifiers + +pbeWithMD2AndDES_CBC = _OID(pkcs_5, 1) + +pbeWithMD2AndRC2_CBC = _OID(pkcs_5, 4) + +pbeWithMD5AndDES_CBC = _OID(pkcs_5, 3) + +pbeWithMD5AndRC2_CBC = _OID(pkcs_5, 6) + +pbeWithSHA1AndDES_CBC = _OID(pkcs_5, 10) + +pbeWithSHA1AndRC2_CBC = _OID(pkcs_5, 11) + + +# Supporting techniques object identifiers + +desCBC = _OID(oiw, 3, 2, 7) + +des_EDE3_CBC = _OID(encryptionAlgorithm, 7) + +rc2CBC = _OID(encryptionAlgorithm, 2) + +rc5_CBC_PAD = _OID(encryptionAlgorithm, 9) + +aes128_CBC_PAD = _OID(aes, 2) + +aes192_CBC_PAD = _OID(aes, 22) + +aes256_CBC_PAD = _OID(aes, 42) + + +# PBES1 + +class PBEParameter(univ.Sequence): + pass + +PBEParameter.componentType = namedtype.NamedTypes( + namedtype.NamedType('salt', univ.OctetString().subtype( + subtypeSpec=constraint.ValueSizeConstraint(8, 8))), + namedtype.NamedType('iterationCount', univ.Integer()) +) + + +# PBES2 + +id_PBES2 = _OID(pkcs_5, 13) + + +class PBES2_params(univ.Sequence): + pass + +PBES2_params.componentType = namedtype.NamedTypes( + namedtype.NamedType('keyDerivationFunc', AlgorithmIdentifier()), + namedtype.NamedType('encryptionScheme', AlgorithmIdentifier()) +) + + +# PBMAC1 + +id_PBMAC1 = _OID(pkcs_5, 14) + + +class PBMAC1_params(univ.Sequence): + pass + +PBMAC1_params.componentType = namedtype.NamedTypes( + namedtype.NamedType('keyDerivationFunc', AlgorithmIdentifier()), + namedtype.NamedType('messageAuthScheme', AlgorithmIdentifier()) +) + + +# PBKDF2 + +id_PBKDF2 = _OID(pkcs_5, 12) + + +algid_hmacWithSHA1 = AlgorithmIdentifier() +algid_hmacWithSHA1['algorithm'] = id_hmacWithSHA1 +algid_hmacWithSHA1['parameters'] = univ.Null("") + + +class PBKDF2_params(univ.Sequence): + pass + +PBKDF2_params.componentType = namedtype.NamedTypes( + namedtype.NamedType('salt', univ.Choice(componentType=namedtype.NamedTypes( + namedtype.NamedType('specified', univ.OctetString()), + namedtype.NamedType('otherSource', AlgorithmIdentifier()) + ))), + namedtype.NamedType('iterationCount', univ.Integer().subtype( + subtypeSpec=constraint.ValueRangeConstraint(1, MAX))), + namedtype.OptionalNamedType('keyLength', univ.Integer().subtype( + subtypeSpec=constraint.ValueRangeConstraint(1, MAX))), + namedtype.DefaultedNamedType('prf', algid_hmacWithSHA1) +) + + +# RC2 CBC algorithm parameter + +class RC2_CBC_Parameter(univ.Sequence): + pass + +RC2_CBC_Parameter.componentType = namedtype.NamedTypes( + namedtype.OptionalNamedType('rc2ParameterVersion', univ.Integer()), + namedtype.NamedType('iv', univ.OctetString().subtype( + subtypeSpec=constraint.ValueSizeConstraint(8, 8))) +) + + +# RC5 CBC algorithm parameter + +class RC5_CBC_Parameters(univ.Sequence): + pass + +RC5_CBC_Parameters.componentType = namedtype.NamedTypes( + namedtype.NamedType('version', + univ.Integer(namedValues=namedval.NamedValues(('v1_0', 16))).subtype( + subtypeSpec=constraint.SingleValueConstraint(16))), + namedtype.NamedType('rounds', + univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(8, 127))), + namedtype.NamedType('blockSizeInBits', + univ.Integer().subtype(subtypeSpec=constraint.SingleValueConstraint(64, 128))), + namedtype.OptionalNamedType('iv', univ.OctetString()) +) + + +# Initialization Vector for AES: OCTET STRING (SIZE(16)) + +class AES_IV(univ.OctetString): + pass + +AES_IV.subtypeSpec = constraint.ValueSizeConstraint(16, 16) + + +# Initialization Vector for DES: OCTET STRING (SIZE(8)) + +class DES_IV(univ.OctetString): + pass + +DES_IV.subtypeSpec = constraint.ValueSizeConstraint(8, 8) + + +# Update the Algorithm Identifier map + +_algorithmIdentifierMapUpdate = { + # PBKDF2-PRFs + id_hmacWithSHA1: univ.Null(), + id_hmacWithSHA224: univ.Null(), + id_hmacWithSHA256: univ.Null(), + id_hmacWithSHA384: univ.Null(), + id_hmacWithSHA512: univ.Null(), + id_hmacWithSHA512_224: univ.Null(), + id_hmacWithSHA512_256: univ.Null(), + # PBES1Algorithms + pbeWithMD2AndDES_CBC: PBEParameter(), + pbeWithMD2AndRC2_CBC: PBEParameter(), + pbeWithMD5AndDES_CBC: PBEParameter(), + pbeWithMD5AndRC2_CBC: PBEParameter(), + pbeWithSHA1AndDES_CBC: PBEParameter(), + pbeWithSHA1AndRC2_CBC: PBEParameter(), + # PBES2Algorithms + id_PBES2: PBES2_params(), + # PBES2-KDFs + id_PBKDF2: PBKDF2_params(), + # PBMAC1Algorithms + id_PBMAC1: PBMAC1_params(), + # SupportingAlgorithms + desCBC: DES_IV(), + des_EDE3_CBC: DES_IV(), + rc2CBC: RC2_CBC_Parameter(), + rc5_CBC_PAD: RC5_CBC_Parameters(), + aes128_CBC_PAD: AES_IV(), + aes192_CBC_PAD: AES_IV(), + aes256_CBC_PAD: AES_IV(), +} + +rfc5280.algorithmIdentifierMap.update(_algorithmIdentifierMapUpdate) diff --git a/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc8226.py b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc8226.py new file mode 100644 index 0000000000000000000000000000000000000000..e7fe9460e95d8cef0effb2198859afaf73d5c910 --- /dev/null +++ b/evalkit_cambrian/lib/python3.10/site-packages/pyasn1_modules/rfc8226.py @@ -0,0 +1,149 @@ +# This file is being contributed to pyasn1-modules software. +# +# Created by Russ Housley with assistance from the asn1ate tool, with manual +# changes to implement appropriate constraints and added comments. +# Modified by Russ Housley to add maps for use with opentypes. +# +# Copyright (c) 2019, Vigil Security, LLC +# License: http://snmplabs.com/pyasn1/license.html +# +# JWT Claim Constraints and TN Authorization List for certificate extensions. +# +# ASN.1 source from: +# https://www.rfc-editor.org/rfc/rfc8226.txt (with errata corrected) + +from pyasn1.type import char +from pyasn1.type import constraint +from pyasn1.type import namedtype +from pyasn1.type import tag +from pyasn1.type import univ + +from pyasn1_modules import rfc5280 + +MAX = float('inf') + + +def _OID(*components): + output = [] + for x in tuple(components): + if isinstance(x, univ.ObjectIdentifier): + output.extend(list(x)) + else: + output.append(int(x)) + + return univ.ObjectIdentifier(output) + + +class JWTClaimName(char.IA5String): + pass + + +class JWTClaimNames(univ.SequenceOf): + pass + +JWTClaimNames.componentType = JWTClaimName() +JWTClaimNames.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + + +class JWTClaimPermittedValues(univ.Sequence): + pass + +JWTClaimPermittedValues.componentType = namedtype.NamedTypes( + namedtype.NamedType('claim', JWTClaimName()), + namedtype.NamedType('permitted', univ.SequenceOf( + componentType=char.UTF8String()).subtype( + sizeSpec=constraint.ValueSizeConstraint(1, MAX))) +) + + +class JWTClaimPermittedValuesList(univ.SequenceOf): + pass + +JWTClaimPermittedValuesList.componentType = JWTClaimPermittedValues() +JWTClaimPermittedValuesList.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + + +class JWTClaimConstraints(univ.Sequence): + pass + +JWTClaimConstraints.componentType = namedtype.NamedTypes( + namedtype.OptionalNamedType('mustInclude', + JWTClaimNames().subtype(explicitTag=tag.Tag(tag.tagClassContext, + tag.tagFormatSimple, 0))), + namedtype.OptionalNamedType('permittedValues', + JWTClaimPermittedValuesList().subtype(explicitTag=tag.Tag(tag.tagClassContext, + tag.tagFormatSimple, 1))) +) + +JWTClaimConstraints.subtypeSpec = constraint.ConstraintsUnion( + constraint.WithComponentsConstraint( + ('mustInclude', constraint.ComponentPresentConstraint())), + constraint.WithComponentsConstraint( + ('permittedValues', constraint.ComponentPresentConstraint())) +) + + +id_pe_JWTClaimConstraints = _OID(1, 3, 6, 1, 5, 5, 7, 1, 27) + + +class ServiceProviderCode(char.IA5String): + pass + + +class TelephoneNumber(char.IA5String): + pass + +TelephoneNumber.subtypeSpec = constraint.ConstraintsIntersection( + constraint.ValueSizeConstraint(1, 15), + constraint.PermittedAlphabetConstraint( + '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '#', '*') +) + + +class TelephoneNumberRange(univ.Sequence): + pass + +TelephoneNumberRange.componentType = namedtype.NamedTypes( + namedtype.NamedType('start', TelephoneNumber()), + namedtype.NamedType('count', + univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(2, MAX))) +) + + +class TNEntry(univ.Choice): + pass + +TNEntry.componentType = namedtype.NamedTypes( + namedtype.NamedType('spc', + ServiceProviderCode().subtype(explicitTag=tag.Tag(tag.tagClassContext, + tag.tagFormatSimple, 0))), + namedtype.NamedType('range', + TelephoneNumberRange().subtype(explicitTag=tag.Tag(tag.tagClassContext, + tag.tagFormatConstructed, 1))), + namedtype.NamedType('one', + TelephoneNumber().subtype(explicitTag=tag.Tag(tag.tagClassContext, + tag.tagFormatSimple, 2))) +) + + +class TNAuthorizationList(univ.SequenceOf): + pass + +TNAuthorizationList.componentType = TNEntry() +TNAuthorizationList.sizeSpec = constraint.ValueSizeConstraint(1, MAX) + +id_pe_TNAuthList = _OID(1, 3, 6, 1, 5, 5, 7, 1, 26) + + +id_ad_stirTNList = _OID(1, 3, 6, 1, 5, 5, 7, 48, 14) + + +# Map of Certificate Extension OIDs to Extensions added to the +# ones that are in rfc5280.py + +_certificateExtensionsMapUpdate = { + id_pe_TNAuthList: TNAuthorizationList(), + id_pe_JWTClaimConstraints: JWTClaimConstraints(), +} + +rfc5280.certificateExtensionsMap.update(_certificateExtensionsMapUpdate) diff --git a/janus/share/zoneinfo/America/Argentina/Tucuman b/janus/share/zoneinfo/America/Argentina/Tucuman new file mode 100644 index 0000000000000000000000000000000000000000..10556d5d856a0f33afd8da2b07a2005e7be80fb0 Binary files /dev/null and b/janus/share/zoneinfo/America/Argentina/Tucuman differ diff --git a/janus/share/zoneinfo/America/Barbados b/janus/share/zoneinfo/America/Barbados new file mode 100644 index 0000000000000000000000000000000000000000..720c9863f2a834f310280cc9113bedc59a25206d Binary files /dev/null and b/janus/share/zoneinfo/America/Barbados differ diff --git a/janus/share/zoneinfo/America/Belem b/janus/share/zoneinfo/America/Belem new file mode 100644 index 0000000000000000000000000000000000000000..e0d7653c64c1e3b3e546d4c5e7644865b237f128 Binary files /dev/null and b/janus/share/zoneinfo/America/Belem differ diff --git a/janus/share/zoneinfo/America/Coral_Harbour b/janus/share/zoneinfo/America/Coral_Harbour new file mode 100644 index 0000000000000000000000000000000000000000..9154643f4c9189998392afb8a93e2e2eb9eaecf5 Binary files /dev/null and b/janus/share/zoneinfo/America/Coral_Harbour differ diff --git a/janus/share/zoneinfo/America/Detroit b/janus/share/zoneinfo/America/Detroit new file mode 100644 index 0000000000000000000000000000000000000000..6eb3ac46ec56985b52488ae6a8d80247c2adcd4a Binary files /dev/null and b/janus/share/zoneinfo/America/Detroit differ diff --git a/janus/share/zoneinfo/America/Edmonton b/janus/share/zoneinfo/America/Edmonton new file mode 100644 index 0000000000000000000000000000000000000000..645ee9453073acf4cff9f9420b358a8ebbe40f93 Binary files /dev/null and b/janus/share/zoneinfo/America/Edmonton differ diff --git a/janus/share/zoneinfo/America/Grenada b/janus/share/zoneinfo/America/Grenada new file mode 100644 index 0000000000000000000000000000000000000000..47b4dc34160dd3ff97ebc35ccdc99fcf49c7ffbb Binary files /dev/null and b/janus/share/zoneinfo/America/Grenada differ diff --git a/janus/share/zoneinfo/America/Guayaquil b/janus/share/zoneinfo/America/Guayaquil new file mode 100644 index 0000000000000000000000000000000000000000..381ae6c463260d85ce92d6585b6420fed0c096dd Binary files /dev/null and b/janus/share/zoneinfo/America/Guayaquil differ diff --git a/janus/share/zoneinfo/America/Hermosillo b/janus/share/zoneinfo/America/Hermosillo new file mode 100644 index 0000000000000000000000000000000000000000..ba7b14760d47d1e10241e78e976f0093ada6551b Binary files /dev/null and b/janus/share/zoneinfo/America/Hermosillo differ diff --git a/janus/share/zoneinfo/America/Los_Angeles b/janus/share/zoneinfo/America/Los_Angeles new file mode 100644 index 0000000000000000000000000000000000000000..aaf07787ad92b65eadae63b64bba290f9f961507 Binary files /dev/null and b/janus/share/zoneinfo/America/Los_Angeles differ diff --git a/janus/share/zoneinfo/America/Montserrat b/janus/share/zoneinfo/America/Montserrat new file mode 100644 index 0000000000000000000000000000000000000000..47b4dc34160dd3ff97ebc35ccdc99fcf49c7ffbb Binary files /dev/null and b/janus/share/zoneinfo/America/Montserrat differ diff --git a/janus/share/zoneinfo/America/Nipigon b/janus/share/zoneinfo/America/Nipigon new file mode 100644 index 0000000000000000000000000000000000000000..668e70d765dc3fb0eda16fb0f1932af607b53412 Binary files /dev/null and b/janus/share/zoneinfo/America/Nipigon differ diff --git a/janus/share/zoneinfo/America/Panama b/janus/share/zoneinfo/America/Panama new file mode 100644 index 0000000000000000000000000000000000000000..9154643f4c9189998392afb8a93e2e2eb9eaecf5 Binary files /dev/null and b/janus/share/zoneinfo/America/Panama differ diff --git a/janus/share/zoneinfo/America/Paramaribo b/janus/share/zoneinfo/America/Paramaribo new file mode 100644 index 0000000000000000000000000000000000000000..24f925a2dd33d487e41cb38b9c3b4c420af69c1d Binary files /dev/null and b/janus/share/zoneinfo/America/Paramaribo differ diff --git a/janus/share/zoneinfo/America/Regina b/janus/share/zoneinfo/America/Regina new file mode 100644 index 0000000000000000000000000000000000000000..a3f8217a544ebb0993473bbffaae8e2d723c4ec3 Binary files /dev/null and b/janus/share/zoneinfo/America/Regina differ diff --git a/janus/share/zoneinfo/America/Tegucigalpa b/janus/share/zoneinfo/America/Tegucigalpa new file mode 100644 index 0000000000000000000000000000000000000000..38036a32831d149c6c737dfa49f0947f066288b1 Binary files /dev/null and b/janus/share/zoneinfo/America/Tegucigalpa differ diff --git a/janus/share/zoneinfo/America/Thule b/janus/share/zoneinfo/America/Thule new file mode 100644 index 0000000000000000000000000000000000000000..f38dc56bf20d9db68515ea7602c9edb39fabae8d Binary files /dev/null and b/janus/share/zoneinfo/America/Thule differ