@pairling/runtime-darwin-arm64 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/bin/pairling-connectd +0 -0
  2. package/manifest.json +4 -4
  3. package/package.json +1 -1
  4. package/python/bin/python3 +0 -0
  5. package/python/bin/python3.12 +0 -0
  6. package/python/lib/libpython3.12.dylib +0 -0
  7. package/python/lib/python3.12/__pycache__/__future__.cpython-312.pyc +0 -0
  8. package/python/lib/python3.12/__pycache__/_compression.cpython-312.pyc +0 -0
  9. package/python/lib/python3.12/__pycache__/_weakrefset.cpython-312.pyc +0 -0
  10. package/python/lib/python3.12/__pycache__/base64.cpython-312.pyc +0 -0
  11. package/python/lib/python3.12/__pycache__/bisect.cpython-312.pyc +0 -0
  12. package/python/lib/python3.12/__pycache__/bz2.cpython-312.pyc +0 -0
  13. package/python/lib/python3.12/__pycache__/calendar.cpython-312.pyc +0 -0
  14. package/python/lib/python3.12/__pycache__/contextlib.cpython-312.pyc +0 -0
  15. package/python/lib/python3.12/__pycache__/copyreg.cpython-312.pyc +0 -0
  16. package/python/lib/python3.12/__pycache__/datetime.cpython-312.pyc +0 -0
  17. package/python/lib/python3.12/__pycache__/enum.cpython-312.pyc +0 -0
  18. package/python/lib/python3.12/__pycache__/fnmatch.cpython-312.pyc +0 -0
  19. package/python/lib/python3.12/__pycache__/functools.cpython-312.pyc +0 -0
  20. package/python/lib/python3.12/__pycache__/hashlib.cpython-312.pyc +0 -0
  21. package/python/lib/python3.12/__pycache__/hmac.cpython-312.pyc +0 -0
  22. package/python/lib/python3.12/__pycache__/ipaddress.cpython-312.pyc +0 -0
  23. package/python/lib/python3.12/__pycache__/keyword.cpython-312.pyc +0 -0
  24. package/python/lib/python3.12/__pycache__/locale.cpython-312.pyc +0 -0
  25. package/python/lib/python3.12/__pycache__/lzma.cpython-312.pyc +0 -0
  26. package/python/lib/python3.12/__pycache__/operator.cpython-312.pyc +0 -0
  27. package/python/lib/python3.12/__pycache__/plistlib.cpython-312.pyc +0 -0
  28. package/python/lib/python3.12/__pycache__/pty.cpython-312.pyc +0 -0
  29. package/python/lib/python3.12/__pycache__/quopri.cpython-312.pyc +0 -0
  30. package/python/lib/python3.12/__pycache__/random.cpython-312.pyc +0 -0
  31. package/python/lib/python3.12/__pycache__/reprlib.cpython-312.pyc +0 -0
  32. package/python/lib/python3.12/__pycache__/selectors.cpython-312.pyc +0 -0
  33. package/python/lib/python3.12/__pycache__/shutil.cpython-312.pyc +0 -0
  34. package/python/lib/python3.12/__pycache__/signal.cpython-312.pyc +0 -0
  35. package/python/lib/python3.12/__pycache__/socket.cpython-312.pyc +0 -0
  36. package/python/lib/python3.12/__pycache__/ssl.cpython-312.pyc +0 -0
  37. package/python/lib/python3.12/__pycache__/string.cpython-312.pyc +0 -0
  38. package/python/lib/python3.12/__pycache__/struct.cpython-312.pyc +0 -0
  39. package/python/lib/python3.12/__pycache__/subprocess.cpython-312.pyc +0 -0
  40. package/python/lib/python3.12/__pycache__/tempfile.cpython-312.pyc +0 -0
  41. package/python/lib/python3.12/__pycache__/threading.cpython-312.pyc +0 -0
  42. package/python/lib/python3.12/__pycache__/tty.cpython-312.pyc +0 -0
  43. package/python/lib/python3.12/__pycache__/types.cpython-312.pyc +0 -0
  44. package/python/lib/python3.12/__pycache__/typing.cpython-312.pyc +0 -0
  45. package/python/lib/python3.12/__pycache__/warnings.cpython-312.pyc +0 -0
  46. package/python/lib/python3.12/__pycache__/weakref.cpython-312.pyc +0 -0
  47. package/python/lib/python3.12/collections/__pycache__/__init__.cpython-312.pyc +0 -0
  48. package/python/lib/python3.12/collections/__pycache__/abc.cpython-312.pyc +0 -0
  49. package/python/lib/python3.12/email/__pycache__/__init__.cpython-312.pyc +0 -0
  50. package/python/lib/python3.12/email/__pycache__/_encoded_words.cpython-312.pyc +0 -0
  51. package/python/lib/python3.12/email/__pycache__/_parseaddr.cpython-312.pyc +0 -0
  52. package/python/lib/python3.12/email/__pycache__/_policybase.cpython-312.pyc +0 -0
  53. package/python/lib/python3.12/email/__pycache__/base64mime.cpython-312.pyc +0 -0
  54. package/python/lib/python3.12/email/__pycache__/charset.cpython-312.pyc +0 -0
  55. package/python/lib/python3.12/email/__pycache__/encoders.cpython-312.pyc +0 -0
  56. package/python/lib/python3.12/email/__pycache__/errors.cpython-312.pyc +0 -0
  57. package/python/lib/python3.12/email/__pycache__/feedparser.cpython-312.pyc +0 -0
  58. package/python/lib/python3.12/email/__pycache__/header.cpython-312.pyc +0 -0
  59. package/python/lib/python3.12/email/__pycache__/iterators.cpython-312.pyc +0 -0
  60. package/python/lib/python3.12/email/__pycache__/message.cpython-312.pyc +0 -0
  61. package/python/lib/python3.12/email/__pycache__/parser.cpython-312.pyc +0 -0
  62. package/python/lib/python3.12/email/__pycache__/quoprimime.cpython-312.pyc +0 -0
  63. package/python/lib/python3.12/email/__pycache__/utils.cpython-312.pyc +0 -0
  64. package/python/lib/python3.12/encodings/__pycache__/__init__.cpython-312.pyc +0 -0
  65. package/python/lib/python3.12/encodings/__pycache__/aliases.cpython-312.pyc +0 -0
  66. package/python/lib/python3.12/encodings/__pycache__/utf_8.cpython-312.pyc +0 -0
  67. package/python/lib/python3.12/http/__pycache__/__init__.cpython-312.pyc +0 -0
  68. package/python/lib/python3.12/http/__pycache__/client.cpython-312.pyc +0 -0
  69. package/python/lib/python3.12/json/__pycache__/__init__.cpython-312.pyc +0 -0
  70. package/python/lib/python3.12/json/__pycache__/decoder.cpython-312.pyc +0 -0
  71. package/python/lib/python3.12/json/__pycache__/encoder.cpython-312.pyc +0 -0
  72. package/python/lib/python3.12/json/__pycache__/scanner.cpython-312.pyc +0 -0
  73. package/python/lib/python3.12/lib-dynload/_crypt.cpython-312-darwin.so +0 -0
  74. package/python/lib/python3.12/lib-dynload/_dbm.cpython-312-darwin.so +0 -0
  75. package/python/lib/python3.12/re/__pycache__/__init__.cpython-312.pyc +0 -0
  76. package/python/lib/python3.12/re/__pycache__/_casefix.cpython-312.pyc +0 -0
  77. package/python/lib/python3.12/re/__pycache__/_compiler.cpython-312.pyc +0 -0
  78. package/python/lib/python3.12/re/__pycache__/_constants.cpython-312.pyc +0 -0
  79. package/python/lib/python3.12/re/__pycache__/_parser.cpython-312.pyc +0 -0
  80. package/python/lib/python3.12/site-packages/_cffi_backend.cpython-312-darwin.so +0 -0
  81. package/python/lib/python3.12/site-packages/cffi/__init__.py +14 -0
  82. package/python/lib/python3.12/site-packages/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
  83. package/python/lib/python3.12/site-packages/cffi/__pycache__/api.cpython-312.pyc +0 -0
  84. package/python/lib/python3.12/site-packages/cffi/__pycache__/error.cpython-312.pyc +0 -0
  85. package/python/lib/python3.12/site-packages/cffi/__pycache__/lock.cpython-312.pyc +0 -0
  86. package/python/lib/python3.12/site-packages/cffi/__pycache__/model.cpython-312.pyc +0 -0
  87. package/python/lib/python3.12/site-packages/cffi/_cffi_errors.h +149 -0
  88. package/python/lib/python3.12/site-packages/cffi/_cffi_include.h +389 -0
  89. package/python/lib/python3.12/site-packages/cffi/_embedding.h +550 -0
  90. package/python/lib/python3.12/site-packages/cffi/_imp_emulation.py +83 -0
  91. package/python/lib/python3.12/site-packages/cffi/_shimmed_dist_utils.py +45 -0
  92. package/python/lib/python3.12/site-packages/cffi/api.py +967 -0
  93. package/python/lib/python3.12/site-packages/cffi/backend_ctypes.py +1121 -0
  94. package/python/lib/python3.12/site-packages/cffi/cffi_opcode.py +187 -0
  95. package/python/lib/python3.12/site-packages/cffi/commontypes.py +82 -0
  96. package/python/lib/python3.12/site-packages/cffi/cparser.py +1015 -0
  97. package/python/lib/python3.12/site-packages/cffi/error.py +31 -0
  98. package/python/lib/python3.12/site-packages/cffi/ffiplatform.py +113 -0
  99. package/python/lib/python3.12/site-packages/cffi/lock.py +30 -0
  100. package/python/lib/python3.12/site-packages/cffi/model.py +618 -0
  101. package/python/lib/python3.12/site-packages/cffi/parse_c_type.h +181 -0
  102. package/python/lib/python3.12/site-packages/cffi/pkgconfig.py +121 -0
  103. package/python/lib/python3.12/site-packages/cffi/recompiler.py +1598 -0
  104. package/python/lib/python3.12/site-packages/cffi/setuptools_ext.py +229 -0
  105. package/python/lib/python3.12/site-packages/cffi/vengine_cpy.py +1087 -0
  106. package/python/lib/python3.12/site-packages/cffi/vengine_gen.py +679 -0
  107. package/python/lib/python3.12/site-packages/cffi/verifier.py +306 -0
  108. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/INSTALLER +1 -0
  109. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/METADATA +68 -0
  110. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/RECORD +31 -0
  111. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/WHEEL +6 -0
  112. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/entry_points.txt +2 -0
  113. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/licenses/AUTHORS +8 -0
  114. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/licenses/LICENSE +23 -0
  115. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/top_level.txt +2 -0
  116. package/python/lib/python3.12/site-packages/cryptography/__about__.py +17 -0
  117. package/python/lib/python3.12/site-packages/cryptography/__init__.py +26 -0
  118. package/python/lib/python3.12/site-packages/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
  119. package/python/lib/python3.12/site-packages/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
  120. package/python/lib/python3.12/site-packages/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
  121. package/python/lib/python3.12/site-packages/cryptography/exceptions.py +52 -0
  122. package/python/lib/python3.12/site-packages/cryptography/fernet.py +224 -0
  123. package/python/lib/python3.12/site-packages/cryptography/hazmat/__init__.py +13 -0
  124. package/python/lib/python3.12/site-packages/cryptography/hazmat/_oid.py +348 -0
  125. package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/__init__.py +13 -0
  126. package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/__init__.py +9 -0
  127. package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/backend.py +308 -0
  128. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/__init__.py +3 -0
  129. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +37 -0
  130. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
  131. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
  132. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
  133. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
  134. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +75 -0
  135. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +107 -0
  136. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
  137. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
  138. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
  139. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
  140. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
  141. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +13 -0
  142. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +13 -0
  143. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +28 -0
  144. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +22 -0
  145. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +49 -0
  146. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +34 -0
  147. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +15 -0
  148. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
  149. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +13 -0
  150. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +13 -0
  151. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +52 -0
  152. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +50 -0
  153. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +23 -0
  154. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +313 -0
  155. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust.abi3.so +0 -0
  156. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/__init__.py +3 -0
  157. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py +191 -0
  158. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/binding.py +122 -0
  159. package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/__init__.py +5 -0
  160. package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/__init__.py +5 -0
  161. package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py +112 -0
  162. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/__init__.py +3 -0
  163. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_asymmetric.py +19 -0
  164. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py +60 -0
  165. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_serialization.py +168 -0
  166. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py +3 -0
  167. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py +147 -0
  168. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py +167 -0
  169. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py +447 -0
  170. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py +129 -0
  171. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py +131 -0
  172. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py +113 -0
  173. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py +277 -0
  174. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/types.py +111 -0
  175. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +24 -0
  176. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py +122 -0
  177. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/x448.py +125 -0
  178. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py +27 -0
  179. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/aead.py +23 -0
  180. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py +183 -0
  181. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py +146 -0
  182. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/modes.py +268 -0
  183. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/cmac.py +10 -0
  184. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/constant_time.py +14 -0
  185. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hashes.py +246 -0
  186. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hmac.py +13 -0
  187. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/__init__.py +23 -0
  188. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/argon2.py +13 -0
  189. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py +125 -0
  190. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py +101 -0
  191. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py +305 -0
  192. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py +62 -0
  193. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py +19 -0
  194. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py +61 -0
  195. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/keywrap.py +177 -0
  196. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/padding.py +69 -0
  197. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/poly1305.py +11 -0
  198. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/__init__.py +65 -0
  199. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/base.py +14 -0
  200. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py +176 -0
  201. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/pkcs7.py +411 -0
  202. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/ssh.py +1619 -0
  203. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py +9 -0
  204. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py +101 -0
  205. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/totp.py +56 -0
  206. package/python/lib/python3.12/site-packages/cryptography/py.typed +0 -0
  207. package/python/lib/python3.12/site-packages/cryptography/utils.py +139 -0
  208. package/python/lib/python3.12/site-packages/cryptography/x509/__init__.py +270 -0
  209. package/python/lib/python3.12/site-packages/cryptography/x509/base.py +848 -0
  210. package/python/lib/python3.12/site-packages/cryptography/x509/certificate_transparency.py +35 -0
  211. package/python/lib/python3.12/site-packages/cryptography/x509/extensions.py +2528 -0
  212. package/python/lib/python3.12/site-packages/cryptography/x509/general_name.py +281 -0
  213. package/python/lib/python3.12/site-packages/cryptography/x509/name.py +477 -0
  214. package/python/lib/python3.12/site-packages/cryptography/x509/ocsp.py +379 -0
  215. package/python/lib/python3.12/site-packages/cryptography/x509/oid.py +37 -0
  216. package/python/lib/python3.12/site-packages/cryptography/x509/verification.py +34 -0
  217. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/INSTALLER +1 -0
  218. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/METADATA +139 -0
  219. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/RECORD +106 -0
  220. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/REQUESTED +0 -0
  221. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/WHEEL +4 -0
  222. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE +3 -0
  223. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE.APACHE +202 -0
  224. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE.BSD +27 -0
  225. package/python/lib/python3.12/site-packages/pycparser/__init__.py +99 -0
  226. package/python/lib/python3.12/site-packages/pycparser/_ast_gen.py +355 -0
  227. package/python/lib/python3.12/site-packages/pycparser/_c_ast.cfg +195 -0
  228. package/python/lib/python3.12/site-packages/pycparser/ast_transforms.py +174 -0
  229. package/python/lib/python3.12/site-packages/pycparser/c_ast.py +1341 -0
  230. package/python/lib/python3.12/site-packages/pycparser/c_generator.py +573 -0
  231. package/python/lib/python3.12/site-packages/pycparser/c_lexer.py +706 -0
  232. package/python/lib/python3.12/site-packages/pycparser/c_parser.py +2376 -0
  233. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/INSTALLER +1 -0
  234. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/METADATA +244 -0
  235. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/RECORD +14 -0
  236. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/WHEEL +5 -0
  237. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/licenses/LICENSE +27 -0
  238. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/top_level.txt +1 -0
  239. package/python/lib/python3.12/sqlite3/__pycache__/__init__.cpython-312.pyc +0 -0
  240. package/python/lib/python3.12/sqlite3/__pycache__/dbapi2.cpython-312.pyc +0 -0
  241. package/python/lib/python3.12/urllib/__pycache__/__init__.cpython-312.pyc +0 -0
  242. package/python/lib/python3.12/urllib/__pycache__/error.cpython-312.pyc +0 -0
  243. package/python/lib/python3.12/urllib/__pycache__/parse.cpython-312.pyc +0 -0
  244. package/python/lib/python3.12/urllib/__pycache__/request.cpython-312.pyc +0 -0
  245. package/python/lib/python3.12/urllib/__pycache__/response.cpython-312.pyc +0 -0
  246. package/python/lib/python3.12/xml/__pycache__/__init__.cpython-312.pyc +0 -0
  247. package/python/lib/python3.12/xml/parsers/__pycache__/__init__.cpython-312.pyc +0 -0
  248. package/python/lib/python3.12/xml/parsers/__pycache__/expat.cpython-312.pyc +0 -0
@@ -0,0 +1,38 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives import ciphers
8
+ from cryptography.hazmat.primitives.ciphers import modes
9
+
10
+ @typing.overload
11
+ def create_encryption_ctx(
12
+ algorithm: ciphers.CipherAlgorithm, mode: modes.ModeWithAuthenticationTag
13
+ ) -> ciphers.AEADEncryptionContext: ...
14
+ @typing.overload
15
+ def create_encryption_ctx(
16
+ algorithm: ciphers.CipherAlgorithm, mode: modes.Mode | None
17
+ ) -> ciphers.CipherContext: ...
18
+ @typing.overload
19
+ def create_decryption_ctx(
20
+ algorithm: ciphers.CipherAlgorithm, mode: modes.ModeWithAuthenticationTag
21
+ ) -> ciphers.AEADDecryptionContext: ...
22
+ @typing.overload
23
+ def create_decryption_ctx(
24
+ algorithm: ciphers.CipherAlgorithm, mode: modes.Mode | None
25
+ ) -> ciphers.CipherContext: ...
26
+ def cipher_supported(
27
+ algorithm: ciphers.CipherAlgorithm, mode: modes.Mode
28
+ ) -> bool: ...
29
+ def _advance(
30
+ ctx: ciphers.AEADEncryptionContext | ciphers.AEADDecryptionContext, n: int
31
+ ) -> None: ...
32
+ def _advance_aad(
33
+ ctx: ciphers.AEADEncryptionContext | ciphers.AEADDecryptionContext, n: int
34
+ ) -> None: ...
35
+
36
+ class CipherContext: ...
37
+ class AEADEncryptionContext: ...
38
+ class AEADDecryptionContext: ...
@@ -0,0 +1,18 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives import ciphers
8
+
9
+ class CMAC:
10
+ def __init__(
11
+ self,
12
+ algorithm: ciphers.BlockCipherAlgorithm,
13
+ backend: typing.Any = None,
14
+ ) -> None: ...
15
+ def update(self, data: bytes) -> None: ...
16
+ def finalize(self) -> bytes: ...
17
+ def verify(self, signature: bytes) -> None: ...
18
+ def copy(self) -> CMAC: ...
@@ -0,0 +1,51 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives.asymmetric import dh
8
+
9
+ MIN_MODULUS_SIZE: int
10
+
11
+ class DHPrivateKey: ...
12
+ class DHPublicKey: ...
13
+ class DHParameters: ...
14
+
15
+ class DHPrivateNumbers:
16
+ def __init__(self, x: int, public_numbers: DHPublicNumbers) -> None: ...
17
+ def private_key(self, backend: typing.Any = None) -> dh.DHPrivateKey: ...
18
+ @property
19
+ def x(self) -> int: ...
20
+ @property
21
+ def public_numbers(self) -> DHPublicNumbers: ...
22
+
23
+ class DHPublicNumbers:
24
+ def __init__(
25
+ self, y: int, parameter_numbers: DHParameterNumbers
26
+ ) -> None: ...
27
+ def public_key(self, backend: typing.Any = None) -> dh.DHPublicKey: ...
28
+ @property
29
+ def y(self) -> int: ...
30
+ @property
31
+ def parameter_numbers(self) -> DHParameterNumbers: ...
32
+
33
+ class DHParameterNumbers:
34
+ def __init__(self, p: int, g: int, q: int | None = None) -> None: ...
35
+ def parameters(self, backend: typing.Any = None) -> dh.DHParameters: ...
36
+ @property
37
+ def p(self) -> int: ...
38
+ @property
39
+ def g(self) -> int: ...
40
+ @property
41
+ def q(self) -> int | None: ...
42
+
43
+ def generate_parameters(
44
+ generator: int, key_size: int, backend: typing.Any = None
45
+ ) -> dh.DHParameters: ...
46
+ def from_pem_parameters(
47
+ data: bytes, backend: typing.Any = None
48
+ ) -> dh.DHParameters: ...
49
+ def from_der_parameters(
50
+ data: bytes, backend: typing.Any = None
51
+ ) -> dh.DHParameters: ...
@@ -0,0 +1,41 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives.asymmetric import dsa
8
+
9
+ class DSAPrivateKey: ...
10
+ class DSAPublicKey: ...
11
+ class DSAParameters: ...
12
+
13
+ class DSAPrivateNumbers:
14
+ def __init__(self, x: int, public_numbers: DSAPublicNumbers) -> None: ...
15
+ @property
16
+ def x(self) -> int: ...
17
+ @property
18
+ def public_numbers(self) -> DSAPublicNumbers: ...
19
+ def private_key(self, backend: typing.Any = None) -> dsa.DSAPrivateKey: ...
20
+
21
+ class DSAPublicNumbers:
22
+ def __init__(
23
+ self, y: int, parameter_numbers: DSAParameterNumbers
24
+ ) -> None: ...
25
+ @property
26
+ def y(self) -> int: ...
27
+ @property
28
+ def parameter_numbers(self) -> DSAParameterNumbers: ...
29
+ def public_key(self, backend: typing.Any = None) -> dsa.DSAPublicKey: ...
30
+
31
+ class DSAParameterNumbers:
32
+ def __init__(self, p: int, q: int, g: int) -> None: ...
33
+ @property
34
+ def p(self) -> int: ...
35
+ @property
36
+ def q(self) -> int: ...
37
+ @property
38
+ def g(self) -> int: ...
39
+ def parameters(self, backend: typing.Any = None) -> dsa.DSAParameters: ...
40
+
41
+ def generate_parameters(key_size: int) -> dsa.DSAParameters: ...
@@ -0,0 +1,52 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives.asymmetric import ec
8
+
9
+ class ECPrivateKey: ...
10
+ class ECPublicKey: ...
11
+
12
+ class EllipticCurvePrivateNumbers:
13
+ def __init__(
14
+ self, private_value: int, public_numbers: EllipticCurvePublicNumbers
15
+ ) -> None: ...
16
+ def private_key(
17
+ self, backend: typing.Any = None
18
+ ) -> ec.EllipticCurvePrivateKey: ...
19
+ @property
20
+ def private_value(self) -> int: ...
21
+ @property
22
+ def public_numbers(self) -> EllipticCurvePublicNumbers: ...
23
+
24
+ class EllipticCurvePublicNumbers:
25
+ def __init__(self, x: int, y: int, curve: ec.EllipticCurve) -> None: ...
26
+ def public_key(
27
+ self, backend: typing.Any = None
28
+ ) -> ec.EllipticCurvePublicKey: ...
29
+ @property
30
+ def x(self) -> int: ...
31
+ @property
32
+ def y(self) -> int: ...
33
+ @property
34
+ def curve(self) -> ec.EllipticCurve: ...
35
+ def __eq__(self, other: object) -> bool: ...
36
+
37
+ def curve_supported(curve: ec.EllipticCurve) -> bool: ...
38
+ def generate_private_key(
39
+ curve: ec.EllipticCurve, backend: typing.Any = None
40
+ ) -> ec.EllipticCurvePrivateKey: ...
41
+ def from_private_numbers(
42
+ numbers: ec.EllipticCurvePrivateNumbers,
43
+ ) -> ec.EllipticCurvePrivateKey: ...
44
+ def from_public_numbers(
45
+ numbers: ec.EllipticCurvePublicNumbers,
46
+ ) -> ec.EllipticCurvePublicKey: ...
47
+ def from_public_bytes(
48
+ curve: ec.EllipticCurve, data: bytes
49
+ ) -> ec.EllipticCurvePublicKey: ...
50
+ def derive_private_key(
51
+ private_value: int, curve: ec.EllipticCurve
52
+ ) -> ec.EllipticCurvePrivateKey: ...
@@ -0,0 +1,13 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from cryptography.hazmat.primitives.asymmetric import ed25519
6
+ from cryptography.utils import Buffer
7
+
8
+ class Ed25519PrivateKey: ...
9
+ class Ed25519PublicKey: ...
10
+
11
+ def generate_key() -> ed25519.Ed25519PrivateKey: ...
12
+ def from_private_bytes(data: Buffer) -> ed25519.Ed25519PrivateKey: ...
13
+ def from_public_bytes(data: bytes) -> ed25519.Ed25519PublicKey: ...
@@ -0,0 +1,13 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from cryptography.hazmat.primitives.asymmetric import ed448
6
+ from cryptography.utils import Buffer
7
+
8
+ class Ed448PrivateKey: ...
9
+ class Ed448PublicKey: ...
10
+
11
+ def generate_key() -> ed448.Ed448PrivateKey: ...
12
+ def from_private_bytes(data: Buffer) -> ed448.Ed448PrivateKey: ...
13
+ def from_public_bytes(data: bytes) -> ed448.Ed448PublicKey: ...
@@ -0,0 +1,28 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives import hashes
8
+ from cryptography.utils import Buffer
9
+
10
+ class Hash(hashes.HashContext):
11
+ def __init__(
12
+ self, algorithm: hashes.HashAlgorithm, backend: typing.Any = None
13
+ ) -> None: ...
14
+ @property
15
+ def algorithm(self) -> hashes.HashAlgorithm: ...
16
+ def update(self, data: Buffer) -> None: ...
17
+ def finalize(self) -> bytes: ...
18
+ def copy(self) -> Hash: ...
19
+
20
+ def hash_supported(algorithm: hashes.HashAlgorithm) -> bool: ...
21
+
22
+ class XOFHash:
23
+ def __init__(self, algorithm: hashes.ExtendableOutputFunction) -> None: ...
24
+ @property
25
+ def algorithm(self) -> hashes.ExtendableOutputFunction: ...
26
+ def update(self, data: Buffer) -> None: ...
27
+ def squeeze(self, length: int) -> bytes: ...
28
+ def copy(self) -> XOFHash: ...
@@ -0,0 +1,22 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives import hashes
8
+ from cryptography.utils import Buffer
9
+
10
+ class HMAC(hashes.HashContext):
11
+ def __init__(
12
+ self,
13
+ key: Buffer,
14
+ algorithm: hashes.HashAlgorithm,
15
+ backend: typing.Any = None,
16
+ ) -> None: ...
17
+ @property
18
+ def algorithm(self) -> hashes.HashAlgorithm: ...
19
+ def update(self, data: Buffer) -> None: ...
20
+ def finalize(self) -> bytes: ...
21
+ def verify(self, signature: bytes) -> None: ...
22
+ def copy(self) -> HMAC: ...
@@ -0,0 +1,49 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives.hashes import HashAlgorithm
8
+ from cryptography.utils import Buffer
9
+
10
+ def derive_pbkdf2_hmac(
11
+ key_material: Buffer,
12
+ algorithm: HashAlgorithm,
13
+ salt: bytes,
14
+ iterations: int,
15
+ length: int,
16
+ ) -> bytes: ...
17
+
18
+ class Scrypt:
19
+ def __init__(
20
+ self,
21
+ salt: bytes,
22
+ length: int,
23
+ n: int,
24
+ r: int,
25
+ p: int,
26
+ backend: typing.Any = None,
27
+ ) -> None: ...
28
+ def derive(self, key_material: Buffer) -> bytes: ...
29
+ def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
30
+
31
+ class Argon2id:
32
+ def __init__(
33
+ self,
34
+ *,
35
+ salt: bytes,
36
+ length: int,
37
+ iterations: int,
38
+ lanes: int,
39
+ memory_cost: int,
40
+ ad: bytes | None = None,
41
+ secret: bytes | None = None,
42
+ ) -> None: ...
43
+ def derive(self, key_material: bytes) -> bytes: ...
44
+ def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
45
+ def derive_phc_encoded(self, key_material: bytes) -> str: ...
46
+ @classmethod
47
+ def verify_phc_encoded(
48
+ cls, key_material: bytes, phc_encoded: str, secret: bytes | None = None
49
+ ) -> None: ...
@@ -0,0 +1,34 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives.asymmetric.types import (
8
+ PrivateKeyTypes,
9
+ PublicKeyTypes,
10
+ )
11
+ from cryptography.utils import Buffer
12
+
13
+ def load_der_private_key(
14
+ data: Buffer,
15
+ password: bytes | None,
16
+ backend: typing.Any = None,
17
+ *,
18
+ unsafe_skip_rsa_key_validation: bool = False,
19
+ ) -> PrivateKeyTypes: ...
20
+ def load_pem_private_key(
21
+ data: Buffer,
22
+ password: bytes | None,
23
+ backend: typing.Any = None,
24
+ *,
25
+ unsafe_skip_rsa_key_validation: bool = False,
26
+ ) -> PrivateKeyTypes: ...
27
+ def load_der_public_key(
28
+ data: bytes,
29
+ backend: typing.Any = None,
30
+ ) -> PublicKeyTypes: ...
31
+ def load_pem_public_key(
32
+ data: bytes,
33
+ backend: typing.Any = None,
34
+ ) -> PublicKeyTypes: ...
@@ -0,0 +1,15 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from cryptography.utils import Buffer
6
+
7
+ class Poly1305:
8
+ def __init__(self, key: Buffer) -> None: ...
9
+ @staticmethod
10
+ def generate_tag(key: Buffer, data: Buffer) -> bytes: ...
11
+ @staticmethod
12
+ def verify_tag(key: Buffer, data: Buffer, tag: bytes) -> None: ...
13
+ def update(self, data: Buffer) -> None: ...
14
+ def finalize(self) -> bytes: ...
15
+ def verify(self, tag: bytes) -> None: ...
@@ -0,0 +1,55 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+
7
+ from cryptography.hazmat.primitives.asymmetric import rsa
8
+
9
+ class RSAPrivateKey: ...
10
+ class RSAPublicKey: ...
11
+
12
+ class RSAPrivateNumbers:
13
+ def __init__(
14
+ self,
15
+ p: int,
16
+ q: int,
17
+ d: int,
18
+ dmp1: int,
19
+ dmq1: int,
20
+ iqmp: int,
21
+ public_numbers: RSAPublicNumbers,
22
+ ) -> None: ...
23
+ @property
24
+ def p(self) -> int: ...
25
+ @property
26
+ def q(self) -> int: ...
27
+ @property
28
+ def d(self) -> int: ...
29
+ @property
30
+ def dmp1(self) -> int: ...
31
+ @property
32
+ def dmq1(self) -> int: ...
33
+ @property
34
+ def iqmp(self) -> int: ...
35
+ @property
36
+ def public_numbers(self) -> RSAPublicNumbers: ...
37
+ def private_key(
38
+ self,
39
+ backend: typing.Any = None,
40
+ *,
41
+ unsafe_skip_rsa_key_validation: bool = False,
42
+ ) -> rsa.RSAPrivateKey: ...
43
+
44
+ class RSAPublicNumbers:
45
+ def __init__(self, e: int, n: int) -> None: ...
46
+ @property
47
+ def n(self) -> int: ...
48
+ @property
49
+ def e(self) -> int: ...
50
+ def public_key(self, backend: typing.Any = None) -> rsa.RSAPublicKey: ...
51
+
52
+ def generate_private_key(
53
+ public_exponent: int,
54
+ key_size: int,
55
+ ) -> rsa.RSAPrivateKey: ...
@@ -0,0 +1,13 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from cryptography.hazmat.primitives.asymmetric import x25519
6
+ from cryptography.utils import Buffer
7
+
8
+ class X25519PrivateKey: ...
9
+ class X25519PublicKey: ...
10
+
11
+ def generate_key() -> x25519.X25519PrivateKey: ...
12
+ def from_private_bytes(data: Buffer) -> x25519.X25519PrivateKey: ...
13
+ def from_public_bytes(data: bytes) -> x25519.X25519PublicKey: ...
@@ -0,0 +1,13 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from cryptography.hazmat.primitives.asymmetric import x448
6
+ from cryptography.utils import Buffer
7
+
8
+ class X448PrivateKey: ...
9
+ class X448PublicKey: ...
10
+
11
+ def generate_key() -> x448.X448PrivateKey: ...
12
+ def from_private_bytes(data: Buffer) -> x448.X448PrivateKey: ...
13
+ def from_public_bytes(data: bytes) -> x448.X448PublicKey: ...
@@ -0,0 +1,52 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import typing
6
+ from collections.abc import Iterable
7
+
8
+ from cryptography import x509
9
+ from cryptography.hazmat.primitives.asymmetric.types import PrivateKeyTypes
10
+ from cryptography.hazmat.primitives.serialization import (
11
+ KeySerializationEncryption,
12
+ )
13
+ from cryptography.hazmat.primitives.serialization.pkcs12 import (
14
+ PKCS12KeyAndCertificates,
15
+ PKCS12PrivateKeyTypes,
16
+ )
17
+ from cryptography.utils import Buffer
18
+
19
+ class PKCS12Certificate:
20
+ def __init__(
21
+ self, cert: x509.Certificate, friendly_name: bytes | None
22
+ ) -> None: ...
23
+ @property
24
+ def friendly_name(self) -> bytes | None: ...
25
+ @property
26
+ def certificate(self) -> x509.Certificate: ...
27
+
28
+ def load_key_and_certificates(
29
+ data: Buffer,
30
+ password: Buffer | None,
31
+ backend: typing.Any = None,
32
+ ) -> tuple[
33
+ PrivateKeyTypes | None,
34
+ x509.Certificate | None,
35
+ list[x509.Certificate],
36
+ ]: ...
37
+ def load_pkcs12(
38
+ data: bytes,
39
+ password: bytes | None,
40
+ backend: typing.Any = None,
41
+ ) -> PKCS12KeyAndCertificates: ...
42
+ def serialize_java_truststore(
43
+ certs: Iterable[PKCS12Certificate],
44
+ encryption_algorithm: KeySerializationEncryption,
45
+ ) -> bytes: ...
46
+ def serialize_key_and_certificates(
47
+ name: bytes | None,
48
+ key: PKCS12PrivateKeyTypes | None,
49
+ cert: x509.Certificate | None,
50
+ cas: Iterable[x509.Certificate | PKCS12Certificate] | None,
51
+ encryption_algorithm: KeySerializationEncryption,
52
+ ) -> bytes: ...
@@ -0,0 +1,50 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from collections.abc import Iterable
6
+
7
+ from cryptography import x509
8
+ from cryptography.hazmat.primitives import serialization
9
+ from cryptography.hazmat.primitives.asymmetric import rsa
10
+ from cryptography.hazmat.primitives.serialization import pkcs7
11
+
12
+ def serialize_certificates(
13
+ certs: list[x509.Certificate],
14
+ encoding: serialization.Encoding,
15
+ ) -> bytes: ...
16
+ def encrypt_and_serialize(
17
+ builder: pkcs7.PKCS7EnvelopeBuilder,
18
+ content_encryption_algorithm: pkcs7.ContentEncryptionAlgorithm,
19
+ encoding: serialization.Encoding,
20
+ options: Iterable[pkcs7.PKCS7Options],
21
+ ) -> bytes: ...
22
+ def sign_and_serialize(
23
+ builder: pkcs7.PKCS7SignatureBuilder,
24
+ encoding: serialization.Encoding,
25
+ options: Iterable[pkcs7.PKCS7Options],
26
+ ) -> bytes: ...
27
+ def decrypt_der(
28
+ data: bytes,
29
+ certificate: x509.Certificate,
30
+ private_key: rsa.RSAPrivateKey,
31
+ options: Iterable[pkcs7.PKCS7Options],
32
+ ) -> bytes: ...
33
+ def decrypt_pem(
34
+ data: bytes,
35
+ certificate: x509.Certificate,
36
+ private_key: rsa.RSAPrivateKey,
37
+ options: Iterable[pkcs7.PKCS7Options],
38
+ ) -> bytes: ...
39
+ def decrypt_smime(
40
+ data: bytes,
41
+ certificate: x509.Certificate,
42
+ private_key: rsa.RSAPrivateKey,
43
+ options: Iterable[pkcs7.PKCS7Options],
44
+ ) -> bytes: ...
45
+ def load_pem_pkcs7_certificates(
46
+ data: bytes,
47
+ ) -> list[x509.Certificate]: ...
48
+ def load_der_pkcs7_certificates(
49
+ data: bytes,
50
+ ) -> list[x509.Certificate]: ...
@@ -0,0 +1,23 @@
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from cryptography import x509
6
+ from cryptography.hazmat.primitives import serialization
7
+ from cryptography.hazmat.primitives.serialization import pkcs7
8
+ from cryptography.utils import Buffer
9
+
10
+ class TestCertificate:
11
+ not_after_tag: int
12
+ not_before_tag: int
13
+ issuer_value_tags: list[int]
14
+ subject_value_tags: list[int]
15
+
16
+ def test_parse_certificate(data: bytes) -> TestCertificate: ...
17
+ def pkcs7_verify(
18
+ encoding: serialization.Encoding,
19
+ sig: bytes,
20
+ msg: Buffer | None,
21
+ certs: list[x509.Certificate],
22
+ options: list[pkcs7.PKCS7Options],
23
+ ) -> None: ...