@annadata/capacitor-mqtt-quic 0.1.6 → 0.1.8

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 (666) hide show
  1. package/AnnadataCapacitorMqttQuic.podspec +2 -1
  2. package/Package.swift +59 -0
  3. package/README.md +173 -24
  4. package/android/NGTCP2_BUILD_INSTRUCTIONS.md +66 -45
  5. package/android/app/src/main/assets/capacitor.config.json +1 -1
  6. package/android/build-openssl.sh +1 -1
  7. package/android/build.gradle +4 -1
  8. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/nghttp3.h +3295 -0
  9. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/version.h +46 -0
  10. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
  11. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
  12. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
  13. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
  14. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.a +0 -0
  15. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.so +0 -0
  16. package/android/install/nghttp3-android/arm64-v8a/lib/pkgconfig/libnghttp3.pc +34 -0
  17. package/android/install/nghttp3-android/arm64-v8a/share/doc/nghttp3/README.rst +75 -0
  18. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/nghttp3.h +3295 -0
  19. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/version.h +46 -0
  20. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
  21. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
  22. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
  23. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
  24. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.a +0 -0
  25. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.so +0 -0
  26. package/android/install/nghttp3-android/armeabi-v7a/lib/pkgconfig/libnghttp3.pc +34 -0
  27. package/android/install/nghttp3-android/armeabi-v7a/share/doc/nghttp3/README.rst +75 -0
  28. package/android/install/nghttp3-android/x86_64/include/nghttp3/nghttp3.h +3295 -0
  29. package/android/install/nghttp3-android/x86_64/include/nghttp3/version.h +46 -0
  30. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
  31. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
  32. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
  33. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
  34. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.a +0 -0
  35. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.so +0 -0
  36. package/android/install/nghttp3-android/x86_64/lib/pkgconfig/libnghttp3.pc +34 -0
  37. package/android/install/nghttp3-android/x86_64/share/doc/nghttp3/README.rst +75 -0
  38. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2.h +6254 -0
  39. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto.h +1037 -0
  40. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
  41. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/version.h +51 -0
  42. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
  43. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
  44. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
  45. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
  46. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.a +0 -0
  47. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.so +0 -0
  48. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  49. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  50. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2.pc +33 -0
  51. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
  52. package/android/install/ngtcp2-android/arm64-v8a/share/doc/ngtcp2/README.rst +385 -0
  53. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2.h +6254 -0
  54. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto.h +1037 -0
  55. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
  56. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/version.h +51 -0
  57. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
  58. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
  59. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
  60. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
  61. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.a +0 -0
  62. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.so +0 -0
  63. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  64. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  65. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2.pc +33 -0
  66. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
  67. package/android/install/ngtcp2-android/armeabi-v7a/share/doc/ngtcp2/README.rst +385 -0
  68. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2.h +6254 -0
  69. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto.h +1037 -0
  70. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
  71. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/version.h +51 -0
  72. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
  73. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
  74. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
  75. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
  76. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.a +0 -0
  77. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.so +0 -0
  78. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.a +0 -0
  79. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.so +0 -0
  80. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2.pc +33 -0
  81. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
  82. package/android/install/ngtcp2-android/x86_64/share/doc/ngtcp2/README.rst +385 -0
  83. package/android/install/wolfssl-android/arm64-v8a/bin/wolfssl-config +117 -0
  84. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/callbacks.h +93 -0
  85. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test.h +7073 -0
  86. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test_sm.h +2913 -0
  87. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/crl.h +58 -0
  88. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/error-ssl.h +280 -0
  89. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ocsp.h +191 -0
  90. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/aes.h +117 -0
  91. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1.h +315 -0
  92. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1t.h +30 -0
  93. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bio.h +237 -0
  94. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bn.h +332 -0
  95. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/buffer.h +57 -0
  96. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/camellia.h +27 -0
  97. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cmac.h +66 -0
  98. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cms.h +26 -0
  99. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/compat_types.h +70 -0
  100. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/conf.h +117 -0
  101. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/crypto.h +171 -0
  102. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/des.h +124 -0
  103. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dh.h +144 -0
  104. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dsa.h +164 -0
  105. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec.h +525 -0
  106. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec25519.h +46 -0
  107. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec448.h +46 -0
  108. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdh.h +49 -0
  109. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdsa.h +87 -0
  110. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed25519.h +49 -0
  111. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed448.h +49 -0
  112. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/engine.h +9 -0
  113. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/err.h +84 -0
  114. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/evp.h +1540 -0
  115. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/fips_rand.h +125 -0
  116. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/hmac.h +98 -0
  117. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/kdf.h +45 -0
  118. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/lhash.h +64 -0
  119. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md4.h +66 -0
  120. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md5.h +108 -0
  121. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/modes.h +45 -0
  122. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/obj_mac.h +92 -0
  123. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/objects.h +86 -0
  124. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ocsp.h +108 -0
  125. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslconf.h +8 -0
  126. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslv.h +78 -0
  127. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ossl_typ.h +32 -0
  128. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pem.h +301 -0
  129. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs12.h +57 -0
  130. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs7.h +110 -0
  131. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rand.h +38 -0
  132. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rc4.h +64 -0
  133. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ripemd.h +58 -0
  134. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rsa.h +291 -0
  135. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/safestack.h +40 -0
  136. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha.h +331 -0
  137. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha3.h +158 -0
  138. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/srp.h +33 -0
  139. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl.h +1923 -0
  140. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl23.h +1 -0
  141. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/stack.h +61 -0
  142. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/tls1.h +64 -0
  143. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/txt_db.h +60 -0
  144. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ui.h +2 -0
  145. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509.h +227 -0
  146. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509_vfy.h +50 -0
  147. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509v3.h +237 -0
  148. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/options.h +273 -0
  149. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/quic.h +310 -0
  150. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer.h +359 -0
  151. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer_error.h +151 -0
  152. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ssl.h +6300 -0
  153. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/test.h +4989 -0
  154. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/version.h +40 -0
  155. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/aes.h +1074 -0
  156. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/arc4.h +69 -0
  157. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ascon.h +109 -0
  158. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn.h +2855 -0
  159. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
  160. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
  161. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
  162. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2.h +108 -0
  163. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/camellia.h +116 -0
  164. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha.h +133 -0
  165. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
  166. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cmac.h +168 -0
  167. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/coding.h +107 -0
  168. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/compress.h +60 -0
  169. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cpuid.h +153 -0
  170. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
  171. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve25519.h +225 -0
  172. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve448.h +151 -0
  173. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/des3.h +167 -0
  174. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dh.h +210 -0
  175. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
  176. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dsa.h +121 -0
  177. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ecc.h +1074 -0
  178. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/eccsi.h +176 -0
  179. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed25519.h +239 -0
  180. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed448.h +214 -0
  181. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
  182. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
  183. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
  184. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
  185. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/falcon.h +180 -0
  186. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_448.h +122 -0
  187. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
  188. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fips_test.h +131 -0
  189. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_448.h +84 -0
  190. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
  191. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hash.h +296 -0
  192. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hmac.h +231 -0
  193. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hpke.h +145 -0
  194. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/integer.h +449 -0
  195. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/kdf.h +199 -0
  196. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/lms.h +202 -0
  197. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/logging.h +588 -0
  198. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md2.h +83 -0
  199. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md4.h +77 -0
  200. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md5.h +141 -0
  201. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mem_track.h +968 -0
  202. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/memory.h +545 -0
  203. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/misc.h +214 -0
  204. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mlkem.h +377 -0
  205. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
  206. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
  207. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
  208. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
  209. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
  210. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/poly1305.h +207 -0
  211. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
  212. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/random.h +300 -0
  213. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rc2.h +68 -0
  214. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ripemd.h +67 -0
  215. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rsa.h +494 -0
  216. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sakke.h +228 -0
  217. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/settings.h +4762 -0
  218. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha.h +237 -0
  219. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha256.h +360 -0
  220. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha3.h +274 -0
  221. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha512.h +372 -0
  222. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/signature.h +87 -0
  223. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/siphash.h +101 -0
  224. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm2.h +27 -0
  225. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm3.h +27 -0
  226. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm4.h +27 -0
  227. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
  228. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sphincs.h +167 -0
  229. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/srp.h +313 -0
  230. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/tfm.h +941 -0
  231. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/types.h +2383 -0
  232. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/visibility.h +97 -0
  233. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
  234. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
  235. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
  236. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
  237. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
  238. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
  239. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
  240. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/xmss.h +203 -0
  241. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfio.h +1035 -0
  242. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.a +0 -0
  243. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.la +41 -0
  244. package/android/install/wolfssl-android/arm64-v8a/lib/pkgconfig/wolfssl.pc +11 -0
  245. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/QUIC.md +117 -0
  246. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/README.txt +8 -0
  247. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_client.c +245 -0
  248. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_server.c +331 -0
  249. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/client.c +4885 -0
  250. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoclient.c +341 -0
  251. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoserver.c +498 -0
  252. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
  253. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client.c +78 -0
  254. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
  255. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server.c +83 -0
  256. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/server.c +4124 -0
  257. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/tls_bench.c +2357 -0
  258. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/taoCert.txt +176 -0
  259. package/android/install/wolfssl-android/armeabi-v7a/bin/wolfssl-config +117 -0
  260. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/callbacks.h +93 -0
  261. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test.h +7073 -0
  262. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test_sm.h +2913 -0
  263. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/crl.h +58 -0
  264. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/error-ssl.h +280 -0
  265. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ocsp.h +191 -0
  266. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/aes.h +117 -0
  267. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1.h +315 -0
  268. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1t.h +30 -0
  269. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bio.h +237 -0
  270. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bn.h +332 -0
  271. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/buffer.h +57 -0
  272. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/camellia.h +27 -0
  273. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cmac.h +66 -0
  274. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cms.h +26 -0
  275. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/compat_types.h +70 -0
  276. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/conf.h +117 -0
  277. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/crypto.h +171 -0
  278. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/des.h +124 -0
  279. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dh.h +144 -0
  280. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dsa.h +164 -0
  281. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec.h +525 -0
  282. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec25519.h +46 -0
  283. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec448.h +46 -0
  284. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdh.h +49 -0
  285. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdsa.h +87 -0
  286. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed25519.h +49 -0
  287. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed448.h +49 -0
  288. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/engine.h +9 -0
  289. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/err.h +84 -0
  290. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/evp.h +1540 -0
  291. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/fips_rand.h +125 -0
  292. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/hmac.h +98 -0
  293. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/kdf.h +45 -0
  294. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/lhash.h +64 -0
  295. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md4.h +66 -0
  296. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md5.h +108 -0
  297. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/modes.h +45 -0
  298. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/obj_mac.h +92 -0
  299. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/objects.h +86 -0
  300. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ocsp.h +108 -0
  301. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslconf.h +8 -0
  302. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslv.h +78 -0
  303. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ossl_typ.h +32 -0
  304. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pem.h +301 -0
  305. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs12.h +57 -0
  306. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs7.h +110 -0
  307. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rand.h +38 -0
  308. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rc4.h +64 -0
  309. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ripemd.h +58 -0
  310. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rsa.h +291 -0
  311. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/safestack.h +40 -0
  312. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha.h +331 -0
  313. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha3.h +158 -0
  314. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/srp.h +33 -0
  315. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl.h +1923 -0
  316. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl23.h +1 -0
  317. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/stack.h +61 -0
  318. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/tls1.h +64 -0
  319. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/txt_db.h +60 -0
  320. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ui.h +2 -0
  321. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509.h +227 -0
  322. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509_vfy.h +50 -0
  323. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509v3.h +237 -0
  324. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/options.h +261 -0
  325. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/quic.h +310 -0
  326. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer.h +359 -0
  327. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer_error.h +151 -0
  328. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ssl.h +6300 -0
  329. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/test.h +4989 -0
  330. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/version.h +40 -0
  331. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/aes.h +1074 -0
  332. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/arc4.h +69 -0
  333. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ascon.h +109 -0
  334. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn.h +2855 -0
  335. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
  336. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
  337. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
  338. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2.h +108 -0
  339. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/camellia.h +116 -0
  340. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha.h +133 -0
  341. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
  342. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cmac.h +168 -0
  343. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/coding.h +107 -0
  344. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/compress.h +60 -0
  345. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cpuid.h +153 -0
  346. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
  347. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve25519.h +225 -0
  348. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve448.h +151 -0
  349. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/des3.h +167 -0
  350. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dh.h +210 -0
  351. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
  352. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dsa.h +121 -0
  353. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ecc.h +1074 -0
  354. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/eccsi.h +176 -0
  355. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed25519.h +239 -0
  356. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed448.h +214 -0
  357. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
  358. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
  359. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
  360. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
  361. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/falcon.h +180 -0
  362. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_448.h +122 -0
  363. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
  364. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fips_test.h +131 -0
  365. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_448.h +84 -0
  366. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
  367. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hash.h +296 -0
  368. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hmac.h +231 -0
  369. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hpke.h +145 -0
  370. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/integer.h +449 -0
  371. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/kdf.h +199 -0
  372. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/lms.h +202 -0
  373. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/logging.h +588 -0
  374. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md2.h +83 -0
  375. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md4.h +77 -0
  376. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md5.h +141 -0
  377. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mem_track.h +968 -0
  378. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/memory.h +545 -0
  379. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/misc.h +214 -0
  380. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mlkem.h +377 -0
  381. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
  382. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
  383. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
  384. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
  385. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
  386. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/poly1305.h +207 -0
  387. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
  388. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/random.h +300 -0
  389. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rc2.h +68 -0
  390. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ripemd.h +67 -0
  391. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rsa.h +494 -0
  392. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sakke.h +228 -0
  393. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/settings.h +4762 -0
  394. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha.h +237 -0
  395. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha256.h +360 -0
  396. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha3.h +274 -0
  397. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha512.h +372 -0
  398. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/signature.h +87 -0
  399. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/siphash.h +101 -0
  400. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm2.h +27 -0
  401. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm3.h +27 -0
  402. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm4.h +27 -0
  403. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
  404. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sphincs.h +167 -0
  405. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/srp.h +313 -0
  406. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/tfm.h +941 -0
  407. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/types.h +2383 -0
  408. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/visibility.h +97 -0
  409. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
  410. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
  411. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
  412. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
  413. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
  414. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
  415. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
  416. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/xmss.h +203 -0
  417. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfio.h +1035 -0
  418. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.a +0 -0
  419. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.la +41 -0
  420. package/android/install/wolfssl-android/armeabi-v7a/lib/pkgconfig/wolfssl.pc +11 -0
  421. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/QUIC.md +117 -0
  422. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/README.txt +8 -0
  423. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_client.c +245 -0
  424. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_server.c +331 -0
  425. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/client.c +4885 -0
  426. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoclient.c +341 -0
  427. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoserver.c +498 -0
  428. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
  429. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client.c +78 -0
  430. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
  431. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server.c +83 -0
  432. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/server.c +4124 -0
  433. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/tls_bench.c +2357 -0
  434. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/taoCert.txt +176 -0
  435. package/android/install/wolfssl-android/x86_64/bin/wolfssl-config +117 -0
  436. package/android/install/wolfssl-android/x86_64/include/wolfssl/callbacks.h +93 -0
  437. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test.h +7073 -0
  438. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test_sm.h +2913 -0
  439. package/android/install/wolfssl-android/x86_64/include/wolfssl/crl.h +58 -0
  440. package/android/install/wolfssl-android/x86_64/include/wolfssl/error-ssl.h +280 -0
  441. package/android/install/wolfssl-android/x86_64/include/wolfssl/ocsp.h +191 -0
  442. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/aes.h +117 -0
  443. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1.h +315 -0
  444. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1t.h +30 -0
  445. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bio.h +237 -0
  446. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bn.h +332 -0
  447. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/buffer.h +57 -0
  448. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/camellia.h +27 -0
  449. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cmac.h +66 -0
  450. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cms.h +26 -0
  451. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/compat_types.h +70 -0
  452. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/conf.h +117 -0
  453. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/crypto.h +171 -0
  454. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/des.h +124 -0
  455. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dh.h +144 -0
  456. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dsa.h +164 -0
  457. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec.h +525 -0
  458. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec25519.h +46 -0
  459. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec448.h +46 -0
  460. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdh.h +49 -0
  461. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdsa.h +87 -0
  462. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed25519.h +49 -0
  463. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed448.h +49 -0
  464. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/engine.h +9 -0
  465. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/err.h +84 -0
  466. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/evp.h +1540 -0
  467. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/fips_rand.h +125 -0
  468. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/hmac.h +98 -0
  469. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/kdf.h +45 -0
  470. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/lhash.h +64 -0
  471. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md4.h +66 -0
  472. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md5.h +108 -0
  473. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/modes.h +45 -0
  474. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/obj_mac.h +92 -0
  475. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/objects.h +86 -0
  476. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ocsp.h +108 -0
  477. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslconf.h +8 -0
  478. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslv.h +78 -0
  479. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ossl_typ.h +32 -0
  480. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pem.h +301 -0
  481. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs12.h +57 -0
  482. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs7.h +110 -0
  483. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rand.h +38 -0
  484. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rc4.h +64 -0
  485. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ripemd.h +58 -0
  486. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rsa.h +291 -0
  487. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/safestack.h +40 -0
  488. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha.h +331 -0
  489. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha3.h +158 -0
  490. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/srp.h +33 -0
  491. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl.h +1923 -0
  492. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl23.h +1 -0
  493. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/stack.h +61 -0
  494. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/tls1.h +64 -0
  495. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/txt_db.h +60 -0
  496. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ui.h +2 -0
  497. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509.h +227 -0
  498. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509_vfy.h +50 -0
  499. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509v3.h +237 -0
  500. package/android/install/wolfssl-android/x86_64/include/wolfssl/options.h +273 -0
  501. package/android/install/wolfssl-android/x86_64/include/wolfssl/quic.h +310 -0
  502. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer.h +359 -0
  503. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer_error.h +151 -0
  504. package/android/install/wolfssl-android/x86_64/include/wolfssl/ssl.h +6300 -0
  505. package/android/install/wolfssl-android/x86_64/include/wolfssl/test.h +4989 -0
  506. package/android/install/wolfssl-android/x86_64/include/wolfssl/version.h +40 -0
  507. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/aes.h +1074 -0
  508. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/arc4.h +69 -0
  509. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ascon.h +109 -0
  510. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn.h +2855 -0
  511. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
  512. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
  513. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
  514. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2.h +108 -0
  515. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/camellia.h +116 -0
  516. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha.h +133 -0
  517. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
  518. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cmac.h +168 -0
  519. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/coding.h +107 -0
  520. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/compress.h +60 -0
  521. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cpuid.h +153 -0
  522. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
  523. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve25519.h +225 -0
  524. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve448.h +151 -0
  525. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/des3.h +167 -0
  526. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dh.h +210 -0
  527. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
  528. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dsa.h +121 -0
  529. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ecc.h +1074 -0
  530. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/eccsi.h +176 -0
  531. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed25519.h +239 -0
  532. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed448.h +214 -0
  533. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
  534. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
  535. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
  536. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
  537. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/falcon.h +180 -0
  538. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_448.h +122 -0
  539. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
  540. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fips_test.h +131 -0
  541. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_448.h +84 -0
  542. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
  543. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hash.h +296 -0
  544. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hmac.h +231 -0
  545. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hpke.h +145 -0
  546. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/integer.h +449 -0
  547. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/kdf.h +199 -0
  548. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/lms.h +202 -0
  549. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/logging.h +588 -0
  550. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md2.h +83 -0
  551. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md4.h +77 -0
  552. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md5.h +141 -0
  553. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mem_track.h +968 -0
  554. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/memory.h +545 -0
  555. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/misc.h +214 -0
  556. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mlkem.h +377 -0
  557. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
  558. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
  559. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
  560. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
  561. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
  562. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/poly1305.h +207 -0
  563. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
  564. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/random.h +300 -0
  565. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rc2.h +68 -0
  566. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ripemd.h +67 -0
  567. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rsa.h +494 -0
  568. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sakke.h +228 -0
  569. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/settings.h +4762 -0
  570. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha.h +237 -0
  571. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha256.h +360 -0
  572. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha3.h +274 -0
  573. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha512.h +372 -0
  574. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/signature.h +87 -0
  575. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/siphash.h +101 -0
  576. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm2.h +27 -0
  577. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm3.h +27 -0
  578. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm4.h +27 -0
  579. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
  580. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sphincs.h +167 -0
  581. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/srp.h +313 -0
  582. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/tfm.h +941 -0
  583. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/types.h +2383 -0
  584. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/visibility.h +97 -0
  585. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
  586. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
  587. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
  588. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
  589. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
  590. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
  591. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
  592. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/xmss.h +203 -0
  593. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfio.h +1035 -0
  594. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.a +0 -0
  595. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.la +41 -0
  596. package/android/install/wolfssl-android/x86_64/lib/pkgconfig/wolfssl.pc +11 -0
  597. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/QUIC.md +117 -0
  598. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/README.txt +8 -0
  599. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_client.c +245 -0
  600. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_server.c +331 -0
  601. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/client.c +4885 -0
  602. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoclient.c +341 -0
  603. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoserver.c +498 -0
  604. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
  605. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client.c +78 -0
  606. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
  607. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server.c +83 -0
  608. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/server.c +4124 -0
  609. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/tls_bench.c +2357 -0
  610. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/taoCert.txt +176 -0
  611. package/android/src/main/cpp/CMakeLists.txt +35 -29
  612. package/android/src/main/cpp/ngtcp2_jni.cpp +56 -50
  613. package/android/src/main/kotlin/ai/annadata/mqttquic/MqttQuicPlugin.kt +18 -3
  614. package/android/src/main/kotlin/ai/annadata/mqttquic/client/MQTTClient.kt +9 -6
  615. package/android/src/main/kotlin/ai/annadata/mqttquic/mqtt/MQTTProtocol.kt +3 -3
  616. package/android/src/main/kotlin/ai/annadata/mqttquic/mqtt/MQTTTypes.kt +15 -15
  617. package/android/src/main/kotlin/ai/annadata/mqttquic/quic/NGTCP2Client.kt +1 -0
  618. package/build-native.sh +397 -0
  619. package/deps-versions.sh +25 -0
  620. package/dist/esm/definitions.d.ts +20 -0
  621. package/dist/esm/definitions.d.ts.map +1 -1
  622. package/dist/esm/web.d.ts +26 -3
  623. package/dist/esm/web.d.ts.map +1 -1
  624. package/dist/esm/web.js +230 -10
  625. package/dist/esm/web.js.map +1 -1
  626. package/dist/plugin.cjs.js +11363 -13
  627. package/dist/plugin.cjs.js.map +1 -1
  628. package/dist/plugin.js +11364 -14
  629. package/dist/plugin.js.map +1 -1
  630. package/docs/ARCHITECTURAL_ANALYSIS.md +710 -0
  631. package/docs/CAPACITOR_MQTT_QUIC_PRODUCTION_PLUGIN.md +190 -0
  632. package/docs/CAPACITOR_VERSION_SUPPORT.md +65 -0
  633. package/docs/IMPLEMENTATION_SUMMARY.md +246 -0
  634. package/docs/MQTT5_CLIENT_COMPLIANCE.md +48 -0
  635. package/docs/MQTT5_IMPLEMENTATION_COMPLETE.md +178 -0
  636. package/docs/MQTT_VERSION_ANALYSIS.md +233 -0
  637. package/docs/NGTCP2_IMPLEMENTATION_STATUS.md +214 -0
  638. package/docs/NGTCP2_INTEGRATION_PLAN.md +597 -0
  639. package/docs/P0_P1_CHANGELOG.md +79 -0
  640. package/docs/PRODUCTION_PUBLISH_STEPS.md +167 -0
  641. package/docs/PROJECT_OVERVIEW.md +193 -0
  642. package/ios/.swiftpm/xcode/xcuserdata/annadata.xcuserdatad/xcschemes/xcschememanagement.plist +1 -1
  643. package/ios/{MqttQuicPlugin.podspec → AnnadataCapacitorMqttQuic.podspec} +4 -4
  644. package/ios/App/App/capacitor.config.json +1 -1
  645. package/ios/NGTCP2_BUILD_INSTRUCTIONS.md +15 -3
  646. package/ios/Package.swift +7 -8
  647. package/ios/Sources/MqttQuicPlugin/MqttQuicPlugin.swift +6 -0
  648. package/ios/Sources/MqttQuicPlugin/QUIC/NGTCP2Bridge.mm +6 -0
  649. package/ios/Tests/MQTTProtocolTests.swift +1 -1
  650. package/ios/build-openssl.sh +1 -1
  651. package/ios/libs/MqttQuicLibs.xcframework/Info.plist +44 -0
  652. package/ios/libs/MqttQuicLibs.xcframework/ios-arm64/libmqttquic_native_device.a +0 -0
  653. package/ios/libs/MqttQuicLibs.xcframework/ios-arm64_x86_64-simulator/libmqttquic_native_simulator.a +0 -0
  654. package/ios/libs/libnghttp3.a +0 -0
  655. package/ios/libs/libngtcp2.a +0 -0
  656. package/ios/libs/libngtcp2_crypto_wolfssl.a +0 -0
  657. package/ios/libs/libwolfssl.a +0 -0
  658. package/ios/libs-simulator/libnghttp3.a +0 -0
  659. package/ios/libs-simulator/libngtcp2.a +0 -0
  660. package/ios/libs-simulator/libngtcp2_crypto_wolfssl.a +0 -0
  661. package/ios/libs-simulator/libwolfssl.a +0 -0
  662. package/ios/libs-simulator-x86_64/libnghttp3.a +0 -0
  663. package/ios/libs-simulator-x86_64/libngtcp2.a +0 -0
  664. package/ios/libs-simulator-x86_64/libngtcp2_crypto_wolfssl.a +0 -0
  665. package/ios/libs-simulator-x86_64/libwolfssl.a +0 -0
  666. package/package.json +26 -10
@@ -0,0 +1,58 @@
1
+ /* crl.h
2
+ *
3
+ * Copyright (C) 2006-2025 wolfSSL Inc.
4
+ *
5
+ * This file is part of wolfSSL.
6
+ *
7
+ * wolfSSL is free software; you can redistribute it and/or modify
8
+ * it under the terms of the GNU General Public License as published by
9
+ * the Free Software Foundation; either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * wolfSSL is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU General Public License
18
+ * along with this program; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20
+ */
21
+
22
+
23
+
24
+ #ifndef WOLFSSL_CRL_H
25
+ #define WOLFSSL_CRL_H
26
+
27
+
28
+ #ifdef HAVE_CRL
29
+
30
+ #include <wolfssl/ssl.h>
31
+ #include <wolfssl/wolfcrypt/asn.h>
32
+
33
+ #ifdef __cplusplus
34
+ extern "C" {
35
+ #endif
36
+
37
+ WOLFSSL_LOCAL int InitCRL(WOLFSSL_CRL* crl, WOLFSSL_CERT_MANAGER* cm);
38
+ WOLFSSL_LOCAL void FreeCRL(WOLFSSL_CRL* crl, int dynamic);
39
+
40
+ WOLFSSL_LOCAL int LoadCRL(WOLFSSL_CRL* crl, const char* path, int type,
41
+ int monitor);
42
+ WOLFSSL_LOCAL int BufferLoadCRL(WOLFSSL_CRL* crl, const byte* buff, long sz,
43
+ int type, int verify);
44
+ WOLFSSL_LOCAL int CheckCertCRL(WOLFSSL_CRL* crl, DecodedCert* cert);
45
+ WOLFSSL_LOCAL int CheckCertCRL_ex(WOLFSSL_CRL* crl, byte* issuerHash,
46
+ byte* serial, int serialSz, byte* serialHash, const byte* extCrlInfo,
47
+ int extCrlInfoSz, void* issuerName);
48
+ #ifdef HAVE_CRL_UPDATE_CB
49
+ WOLFSSL_LOCAL int GetCRLInfo(WOLFSSL_CRL* crl, CrlInfo* info, const byte* buff,
50
+ long sz, int type);
51
+ #endif
52
+
53
+ #ifdef __cplusplus
54
+ } /* extern "C" */
55
+ #endif
56
+
57
+ #endif /* HAVE_CRL */
58
+ #endif /* WOLFSSL_CRL_H */
@@ -0,0 +1,280 @@
1
+ /* error-ssl.h
2
+ *
3
+ * Copyright (C) 2006-2025 wolfSSL Inc.
4
+ *
5
+ * This file is part of wolfSSL.
6
+ *
7
+ * wolfSSL is free software; you can redistribute it and/or modify
8
+ * it under the terms of the GNU General Public License as published by
9
+ * the Free Software Foundation; either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * wolfSSL is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU General Public License
18
+ * along with this program; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20
+ */
21
+
22
+
23
+
24
+ #ifndef WOLFSSL_ERROR_H
25
+ #define WOLFSSL_ERROR_H
26
+
27
+ #include <wolfssl/wolfcrypt/error-crypt.h> /* pull in wolfCrypt errors */
28
+
29
+ #ifdef __cplusplus
30
+ extern "C" {
31
+ #endif
32
+
33
+ #ifdef WOLFSSL_DEBUG_TRACE_ERROR_CODES_H
34
+ #include <wolfssl/debug-untrace-error-codes.h>
35
+ #endif
36
+
37
+ enum wolfSSL_ErrorCodes {
38
+ WOLFSSL_FATAL_ERROR = -1, /* must be -1 for backward compat. */
39
+
40
+ /* negative counterparts to namesake positive constants in ssl.h */
41
+ WOLFSSL_ERROR_WANT_READ_E = -2,
42
+ WOLFSSL_ERROR_WANT_WRITE_E = -3,
43
+ WOLFSSL_ERROR_WANT_X509_LOOKUP_E = -4,
44
+ WOLFSSL_ERROR_SYSCALL_E = -5,
45
+ WOLFSSL_ERROR_ZERO_RETURN_E = -6,
46
+ WOLFSSL_ERROR_WANT_CONNECT_E = -7,
47
+ WOLFSSL_ERROR_WANT_ACCEPT_E = -8,
48
+
49
+ WOLFSSL_FIRST_E = -301, /* start of native TLS codes */
50
+
51
+ INPUT_CASE_ERROR = -301, /* process input state error */
52
+ PREFIX_ERROR = -302, /* bad index to key rounds */
53
+ MEMORY_ERROR = -303, /* out of memory */
54
+ VERIFY_FINISHED_ERROR = -304, /* verify problem on finished */
55
+ VERIFY_MAC_ERROR = -305, /* verify mac problem */
56
+ PARSE_ERROR = -306, /* parse error on header */
57
+ UNKNOWN_HANDSHAKE_TYPE = -307, /* weird handshake type */
58
+ SOCKET_ERROR_E = -308, /* error state on socket */
59
+ SOCKET_NODATA = -309, /* expected data, not there */
60
+ INCOMPLETE_DATA = -310, /* don't have enough data to
61
+ complete task */
62
+ UNKNOWN_RECORD_TYPE = -311, /* unknown type in record hdr */
63
+ DECRYPT_ERROR = -312, /* error during decryption */
64
+ FATAL_ERROR = -313, /* recvd alert fatal error */
65
+ ENCRYPT_ERROR = -314, /* error during encryption */
66
+ FREAD_ERROR = -315, /* fread problem */
67
+ NO_PEER_KEY = -316, /* need peer's key */
68
+ NO_PRIVATE_KEY = -317, /* need the private key */
69
+ RSA_PRIVATE_ERROR = -318, /* error during rsa priv op */
70
+ NO_DH_PARAMS = -319, /* server missing DH params */
71
+ BUILD_MSG_ERROR = -320, /* build message failure */
72
+ BAD_HELLO = -321, /* client hello malformed */
73
+ DOMAIN_NAME_MISMATCH = -322, /* peer subject name mismatch */
74
+ WANT_READ = -323, /* want read, call again */
75
+ NOT_READY_ERROR = -324, /* handshake layer not ready */
76
+ IPADDR_MISMATCH = -325, /* peer ip address mismatch */
77
+ VERSION_ERROR = -326, /* record layer version error */
78
+ WANT_WRITE = -327, /* want write, call again */
79
+ BUFFER_ERROR = -328, /* malformed buffer input */
80
+ VERIFY_CERT_ERROR = -329, /* verify cert error */
81
+ VERIFY_SIGN_ERROR = -330, /* verify sign error */
82
+ CLIENT_ID_ERROR = -331, /* psk client identity error */
83
+ SERVER_HINT_ERROR = -332, /* psk server hint error */
84
+ PSK_KEY_ERROR = -333, /* psk key error */
85
+
86
+ GETTIME_ERROR = -337, /* gettimeofday failed ??? */
87
+ GETITIMER_ERROR = -338, /* getitimer failed ??? */
88
+ SIGACT_ERROR = -339, /* sigaction failed ??? */
89
+ SETITIMER_ERROR = -340, /* setitimer failed ??? */
90
+ LENGTH_ERROR = -341, /* record layer length error */
91
+ PEER_KEY_ERROR = -342, /* can't decode peer key */
92
+ ZERO_RETURN = -343, /* peer sent close notify */
93
+ SIDE_ERROR = -344, /* wrong client/server type */
94
+ NO_PEER_CERT = -345, /* peer didn't send key */
95
+
96
+ ECC_CURVETYPE_ERROR = -350, /* Bad ECC Curve Type */
97
+ ECC_CURVE_ERROR = -351, /* Bad ECC Curve */
98
+ ECC_PEERKEY_ERROR = -352, /* Bad Peer ECC Key */
99
+ ECC_MAKEKEY_ERROR = -353, /* Bad Make ECC Key */
100
+ ECC_EXPORT_ERROR = -354, /* Bad ECC Export Key */
101
+ ECC_SHARED_ERROR = -355, /* Bad ECC Shared Secret */
102
+
103
+ NOT_CA_ERROR = -357, /* Not a CA cert error */
104
+
105
+ BAD_CERT_MANAGER_ERROR = -359, /* Bad Cert Manager */
106
+ OCSP_CERT_REVOKED = -360, /* OCSP Certificate revoked */
107
+ CRL_CERT_REVOKED = -361, /* CRL Certificate revoked */
108
+ CRL_MISSING = -362, /* CRL Not loaded */
109
+ MONITOR_SETUP_E = -363, /* CRL Monitor setup error */
110
+ THREAD_CREATE_E = -364, /* Thread Create Error */
111
+ OCSP_NEED_URL = -365, /* OCSP need an URL for lookup */
112
+ OCSP_CERT_UNKNOWN = -366, /* OCSP responder doesn't know */
113
+ OCSP_LOOKUP_FAIL = -367, /* OCSP lookup not successful */
114
+ MAX_CHAIN_ERROR = -368, /* max chain depth exceeded */
115
+ COOKIE_ERROR = -369, /* dtls cookie error */
116
+ SEQUENCE_ERROR = -370, /* dtls sequence error */
117
+ SUITES_ERROR = -371, /* suites pointer error */
118
+ MAX_CERT_EXTENSIONS_ERR = -372, /* max cert extension exceeded */
119
+ OUT_OF_ORDER_E = -373, /* out of order message */
120
+ BAD_KEA_TYPE_E = -374, /* bad KEA type found */
121
+ SANITY_CIPHER_E = -375, /* sanity check on cipher error */
122
+ RECV_OVERFLOW_E = -376, /* RXCB returned more than read */
123
+ GEN_COOKIE_E = -377, /* Generate Cookie Error */
124
+ NO_PEER_VERIFY = -378, /* Need peer cert verify Error */
125
+ FWRITE_ERROR = -379, /* fwrite problem */
126
+ CACHE_MATCH_ERROR = -380, /* Cache hdr match error */
127
+ UNKNOWN_SNI_HOST_NAME_E = -381, /* Unrecognized host name Error */
128
+ UNKNOWN_MAX_FRAG_LEN_E = -382, /* Unrecognized max frag len Error */
129
+ KEYUSE_SIGNATURE_E = -383, /* KeyUse digSignature error */
130
+
131
+ KEYUSE_ENCIPHER_E = -385, /* KeyUse keyEncipher error */
132
+ EXTKEYUSE_AUTH_E = -386, /* ExtKeyUse server|client_auth */
133
+ SEND_OOB_READ_E = -387, /* Send Cb out of bounds read */
134
+ SECURE_RENEGOTIATION_E = -388, /* Invalid Renegotiation Info */
135
+ SESSION_TICKET_LEN_E = -389, /* Session Ticket too large */
136
+ SESSION_TICKET_EXPECT_E = -390, /* Session Ticket missing */
137
+ SCR_DIFFERENT_CERT_E = -391, /* SCR Different cert error */
138
+ SESSION_SECRET_CB_E = -392, /* Session secret Cb fcn failure */
139
+ NO_CHANGE_CIPHER_E = -393, /* Finished before change cipher */
140
+ SANITY_MSG_E = -394, /* Sanity check on msg order error */
141
+ DUPLICATE_MSG_E = -395, /* Duplicate message error */
142
+ SNI_UNSUPPORTED = -396, /* SSL 3.0 does not support SNI */
143
+ SOCKET_PEER_CLOSED_E = -397, /* Underlying transport closed */
144
+ BAD_TICKET_KEY_CB_SZ = -398, /* Bad session ticket key cb size */
145
+ BAD_TICKET_MSG_SZ = -399, /* Bad session ticket msg size */
146
+ BAD_TICKET_ENCRYPT = -400, /* Bad user ticket encrypt */
147
+ DH_KEY_SIZE_E = -401, /* DH Key too small */
148
+ SNI_ABSENT_ERROR = -402, /* No SNI request. */
149
+ RSA_SIGN_FAULT = -403, /* RSA Sign fault */
150
+ HANDSHAKE_SIZE_ERROR = -404, /* Handshake message too large */
151
+ UNKNOWN_ALPN_PROTOCOL_NAME_E = -405, /* Unrecognized protocol name Error*/
152
+ BAD_CERTIFICATE_STATUS_ERROR = -406, /* Bad certificate status message */
153
+ OCSP_INVALID_STATUS = -407, /* Invalid OCSP Status */
154
+ OCSP_WANT_READ = -408, /* OCSP callback response WOLFSSL_CBIO_ERR_WANT_READ */
155
+ RSA_KEY_SIZE_E = -409, /* RSA key too small */
156
+ ECC_KEY_SIZE_E = -410, /* ECC key too small */
157
+ DTLS_EXPORT_VER_E = -411, /* export version error */
158
+ INPUT_SIZE_E = -412, /* input size too big error */
159
+ CTX_INIT_MUTEX_E = -413, /* initialize ctx mutex error */
160
+ EXT_MASTER_SECRET_NEEDED_E = -414, /* need EMS enabled to resume */
161
+ DTLS_POOL_SZ_E = -415, /* exceeded DTLS pool size */
162
+ DECODE_E = -416, /* decode handshake message error */
163
+ HTTP_TIMEOUT = -417, /* HTTP timeout for OCSP or CRL req */
164
+ WRITE_DUP_READ_E = -418, /* Write dup write side can't read */
165
+ WRITE_DUP_WRITE_E = -419, /* Write dup read side can't write */
166
+ INVALID_CERT_CTX_E = -420, /* TLS cert ctx not matching */
167
+ BAD_KEY_SHARE_DATA = -421, /* Key Share data invalid */
168
+ MISSING_HANDSHAKE_DATA = -422, /* Handshake message missing data */
169
+ BAD_BINDER = -423, /* Binder does not match */
170
+ EXT_NOT_ALLOWED = -424, /* Extension not allowed in msg */
171
+ INVALID_PARAMETER = -425, /* Security parameter invalid */
172
+ MCAST_HIGHWATER_CB_E = -426, /* Multicast highwater cb err */
173
+ ALERT_COUNT_E = -427, /* Alert Count exceeded err */
174
+ EXT_MISSING = -428, /* Required extension not found */
175
+ UNSUPPORTED_EXTENSION = -429, /* TLSX not requested by client */
176
+ PRF_MISSING = -430, /* PRF not compiled in */
177
+ DTLS_RETX_OVER_TX = -431, /* Retransmit DTLS flight over */
178
+ DH_PARAMS_NOT_FFDHE_E = -432, /* DH params from server not FFDHE */
179
+ TCA_INVALID_ID_TYPE = -433, /* TLSX TCA ID type invalid */
180
+ TCA_ABSENT_ERROR = -434, /* TLSX TCA ID no response */
181
+ TSIP_MAC_DIGSZ_E = -435, /* Invalid MAC size for TSIP */
182
+ CLIENT_CERT_CB_ERROR = -436, /* Client cert callback error */
183
+ SSL_SHUTDOWN_ALREADY_DONE_E = -437, /* Shutdown called redundantly */
184
+ TLS13_SECRET_CB_E = -438, /* TLS1.3 secret Cb fcn failure */
185
+ DTLS_SIZE_ERROR = -439, /* Trying to send too much data */
186
+ NO_CERT_ERROR = -440, /* TLS1.3 - no cert set error */
187
+ APP_DATA_READY = -441, /* DTLS1.2 application data ready for read */
188
+ TOO_MUCH_EARLY_DATA = -442, /* Too much Early data */
189
+ SOCKET_FILTERED_E = -443, /* Session stopped by network filter */
190
+ HTTP_RECV_ERR = -444, /* HTTP Receive error */
191
+ HTTP_HEADER_ERR = -445, /* HTTP Header error */
192
+ HTTP_PROTO_ERR = -446, /* HTTP Protocol error */
193
+ HTTP_STATUS_ERR = -447, /* HTTP Status error */
194
+ HTTP_VERSION_ERR = -448, /* HTTP Version error */
195
+ HTTP_APPSTR_ERR = -449, /* HTTP Application string error */
196
+ UNSUPPORTED_PROTO_VERSION = -450, /* bad/unsupported protocol version*/
197
+ FALCON_KEY_SIZE_E = -451, /* Wrong key size for Falcon. */
198
+ QUIC_TP_MISSING_E = -452, /* QUIC transport parameter missing */
199
+ DILITHIUM_KEY_SIZE_E = -453, /* Wrong key size for Dilithium. */
200
+ DTLS_CID_ERROR = -454, /* Wrong or missing CID */
201
+ DTLS_TOO_MANY_FRAGMENTS_E = -455, /* Received too many fragments */
202
+ QUIC_WRONG_ENC_LEVEL = -456, /* QUIC data received on wrong encryption level */
203
+ DUPLICATE_TLS_EXT_E = -457, /* Duplicate TLS extension in msg. */
204
+
205
+ /* legacy CyaSSL compat layer error codes */
206
+ WOLFSSL_ALPN_NOT_FOUND = -458, /* TLS extension not found */
207
+ WOLFSSL_BAD_CERTTYPE = -459, /* Certificate type not supported */
208
+ WOLFSSL_BAD_STAT = -460, /* not used */
209
+ WOLFSSL_BAD_PATH = -461, /* No certificates found at designated path */
210
+ WOLFSSL_BAD_FILETYPE = -462, /* Data format not supported */
211
+ WOLFSSL_BAD_FILE = -463, /* Input/output error on file */
212
+ WOLFSSL_NOT_IMPLEMENTED = -464, /* Function not implemented */
213
+ WOLFSSL_UNKNOWN = -465, /* Unknown algorithm (EVP) */
214
+
215
+ /* negotiation parameter errors */
216
+ UNSUPPORTED_SUITE = -500, /* unsupported cipher suite */
217
+ MATCH_SUITE_ERROR = -501, /* can't match cipher suite */
218
+ COMPRESSION_ERROR = -502, /* compression mismatch */
219
+ KEY_SHARE_ERROR = -503, /* key share mismatch */
220
+ POST_HAND_AUTH_ERROR = -504, /* client won't do post-hand auth */
221
+ HRR_COOKIE_ERROR = -505, /* HRR msg cookie mismatch */
222
+ UNSUPPORTED_CERTIFICATE = -506, /* unsupported certificate type */
223
+ DTLS_PARTIAL_RECORD_READ = -455, /* received a partial record in a datagram */
224
+
225
+ /* PEM and EVP errors */
226
+ WOLFSSL_PEM_R_NO_START_LINE_E = -507,
227
+ WOLFSSL_PEM_R_PROBLEMS_GETTING_PASSWORD_E = -508,
228
+ WOLFSSL_PEM_R_BAD_PASSWORD_READ_E = -509,
229
+ WOLFSSL_PEM_R_BAD_DECRYPT_E = -510,
230
+ WOLFSSL_ASN1_R_HEADER_TOO_LONG_E = -511,
231
+
232
+ WOLFSSL_EVP_R_BAD_DECRYPT_E = -512,
233
+ WOLFSSL_EVP_R_BN_DECODE_ERROR = -513,
234
+ WOLFSSL_EVP_R_DECODE_ERROR = -514,
235
+ WOLFSSL_EVP_R_PRIVATE_KEY_DECODE_ERROR = -515,
236
+
237
+ CRYPTO_POLICY_FORBIDDEN = -516, /* operation forbidden by system
238
+ * crypto-policy */
239
+
240
+ WOLFSSL_LAST_E = -516
241
+
242
+ /* codes -1000 to -1999 are reserved for wolfCrypt. */
243
+ };
244
+
245
+ wc_static_assert((int)WC_LAST_E <= (int)WOLFSSL_LAST_E);
246
+
247
+ /* I/O Callback default errors */
248
+ enum IOerrors {
249
+ WOLFSSL_CBIO_ERR_GENERAL = -1, /* general unexpected err */
250
+ WOLFSSL_CBIO_ERR_WANT_READ = -2, /* need to call read again */
251
+ WOLFSSL_CBIO_ERR_WANT_WRITE = -2, /* need to call write again */
252
+ WOLFSSL_CBIO_ERR_CONN_RST = -3, /* connection reset */
253
+ WOLFSSL_CBIO_ERR_ISR = -4, /* interrupt */
254
+ WOLFSSL_CBIO_ERR_CONN_CLOSE = -5, /* connection closed or epipe */
255
+ WOLFSSL_CBIO_ERR_TIMEOUT = -6 /* socket timeout */
256
+ };
257
+
258
+ #if defined(WOLFSSL_CALLBACKS) || defined(OPENSSL_EXTRA)
259
+ enum {
260
+ MIN_PARAM_ERR = UNSUPPORTED_SUITE,
261
+ MAX_PARAM_ERR = MIN_PARAM_ERR - 10
262
+ };
263
+ #endif
264
+
265
+
266
+ WOLFSSL_LOCAL
267
+ void SetErrorString(int err, char* str);
268
+
269
+ #if defined(WOLFSSL_DEBUG_TRACE_ERROR_CODES) && \
270
+ (defined(BUILDING_WOLFSSL) || \
271
+ defined(WOLFSSL_DEBUG_TRACE_ERROR_CODES_ALWAYS))
272
+ #include <wolfssl/debug-trace-error-codes.h>
273
+ #endif
274
+
275
+ #ifdef __cplusplus
276
+ } /* extern "C" */
277
+ #endif
278
+
279
+
280
+ #endif /* wolfSSL_ERROR_H */
@@ -0,0 +1,191 @@
1
+ /* ocsp.h
2
+ *
3
+ * Copyright (C) 2006-2025 wolfSSL Inc.
4
+ *
5
+ * This file is part of wolfSSL.
6
+ *
7
+ * wolfSSL is free software; you can redistribute it and/or modify
8
+ * it under the terms of the GNU General Public License as published by
9
+ * the Free Software Foundation; either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * wolfSSL is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU General Public License
18
+ * along with this program; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20
+ */
21
+
22
+
23
+
24
+ /* wolfSSL OCSP API */
25
+
26
+ #ifndef WOLFSSL_OCSP_H
27
+ #define WOLFSSL_OCSP_H
28
+
29
+ #ifdef HAVE_OCSP
30
+
31
+ #include <wolfssl/ssl.h>
32
+ #include <wolfssl/wolfcrypt/asn.h>
33
+
34
+ #ifdef __cplusplus
35
+ extern "C" {
36
+ #endif
37
+
38
+ typedef struct WOLFSSL_OCSP WOLFSSL_OCSP;
39
+
40
+ #if defined(OPENSSL_ALL) || defined(OPENSSL_EXTRA) || defined(WOLFSSL_NGINX) ||\
41
+ defined(WOLFSSL_HAPROXY) || defined(HAVE_LIGHTY)
42
+ typedef struct OcspResponse WOLFSSL_OCSP_BASICRESP;
43
+
44
+ typedef struct OcspEntry WOLFSSL_OCSP_CERTID;
45
+
46
+ typedef struct OcspEntry WOLFSSL_OCSP_SINGLERESP;
47
+
48
+ typedef struct OcspRequest WOLFSSL_OCSP_ONEREQ;
49
+
50
+ typedef struct OcspRequest WOLFSSL_OCSP_REQUEST;
51
+
52
+ typedef struct {
53
+ WOLFSSL_BIO *bio;
54
+ WOLFSSL_BIO *reqResp; /* First used for request then for response */
55
+ byte* buf;
56
+ int bufLen;
57
+ int state;
58
+ int ioState;
59
+ int sent;
60
+ } WOLFSSL_OCSP_REQ_CTX;
61
+ #endif
62
+
63
+ WOLFSSL_LOCAL int InitOCSP(WOLFSSL_OCSP* ocsp, WOLFSSL_CERT_MANAGER* cm);
64
+ WOLFSSL_LOCAL void FreeOCSP(WOLFSSL_OCSP* ocsp, int dynamic);
65
+
66
+ WOLFSSL_LOCAL int CheckCertOCSP(WOLFSSL_OCSP* ocsp, DecodedCert* cert);
67
+ WOLFSSL_LOCAL int CheckCertOCSP_ex(WOLFSSL_OCSP* ocsp, DecodedCert* cert,
68
+ WOLFSSL* ssl);
69
+ WOLFSSL_LOCAL int CheckOcspRequest(WOLFSSL_OCSP* ocsp,
70
+ OcspRequest* ocspRequest, WOLFSSL_BUFFER_INFO* responseBuffer,
71
+ void* heap);
72
+ WOLFSSL_LOCAL int CheckOcspResponse(WOLFSSL_OCSP *ocsp, byte *response, int responseSz,
73
+ WOLFSSL_BUFFER_INFO *responseBuffer, CertStatus *status,
74
+ OcspEntry *entry, OcspRequest *ocspRequest,
75
+ void* heap);
76
+
77
+ WOLFSSL_LOCAL int CheckOcspResponder(OcspResponse *bs, DecodedCert *cert,
78
+ void* vp);
79
+
80
+ /* Allocates and initializes a WOLFSSL_OCSP object */
81
+ WOLFSSL_API WOLFSSL_OCSP* wc_NewOCSP(WOLFSSL_CERT_MANAGER* cm);
82
+ /* Frees a WOLFSSL_OCSP object allocated by wc_NewOCSP */
83
+ WOLFSSL_API void wc_FreeOCSP(WOLFSSL_OCSP* ocsp);
84
+ WOLFSSL_API int wc_CheckCertOcspResponse(WOLFSSL_OCSP *ocsp, DecodedCert *cert,
85
+ byte *response, int responseSz, void* heap);
86
+
87
+
88
+ #ifdef OPENSSL_EXTRA
89
+ WOLFSSL_API int wolfSSL_OCSP_resp_find_status(WOLFSSL_OCSP_BASICRESP *bs,
90
+ WOLFSSL_OCSP_CERTID *id, int *status, int *reason,
91
+ WOLFSSL_ASN1_TIME **revtime, WOLFSSL_ASN1_TIME **thisupd,
92
+ WOLFSSL_ASN1_TIME **nextupd);
93
+ WOLFSSL_API const char *wolfSSL_OCSP_cert_status_str(long s);
94
+ WOLFSSL_API int wolfSSL_OCSP_check_validity(WOLFSSL_ASN1_TIME* thisupd,
95
+ WOLFSSL_ASN1_TIME* nextupd, long sec, long maxsec);
96
+
97
+ WOLFSSL_API void wolfSSL_OCSP_CERTID_free(WOLFSSL_OCSP_CERTID* certId);
98
+ WOLFSSL_API WOLFSSL_OCSP_CERTID* wolfSSL_OCSP_cert_to_id(
99
+ const WOLFSSL_EVP_MD *dgst, const WOLFSSL_X509 *subject,
100
+ const WOLFSSL_X509 *issuer);
101
+
102
+ WOLFSSL_API void wolfSSL_OCSP_BASICRESP_free(WOLFSSL_OCSP_BASICRESP* basicResponse);
103
+ WOLFSSL_API int wolfSSL_OCSP_basic_verify(WOLFSSL_OCSP_BASICRESP *bs,
104
+ WOLF_STACK_OF(WOLFSSL_X509) *certs, WOLFSSL_X509_STORE *st, unsigned long flags);
105
+
106
+ WOLFSSL_API void wolfSSL_OCSP_RESPONSE_free(OcspResponse* response);
107
+ #ifndef NO_BIO
108
+ WOLFSSL_API OcspResponse* wolfSSL_d2i_OCSP_RESPONSE_bio(WOLFSSL_BIO* bio,
109
+ OcspResponse** response);
110
+ #endif
111
+ WOLFSSL_API OcspResponse* wolfSSL_d2i_OCSP_RESPONSE(OcspResponse** response,
112
+ const unsigned char** data, int len);
113
+ WOLFSSL_API int wolfSSL_i2d_OCSP_RESPONSE(OcspResponse* response,
114
+ unsigned char** data);
115
+ WOLFSSL_API int wolfSSL_OCSP_response_status(OcspResponse *response);
116
+ WOLFSSL_API const char *wolfSSL_OCSP_response_status_str(long s);
117
+ WOLFSSL_API WOLFSSL_OCSP_BASICRESP* wolfSSL_OCSP_response_get1_basic(
118
+ OcspResponse* response);
119
+
120
+ WOLFSSL_API OcspRequest* wolfSSL_OCSP_REQUEST_new(void);
121
+ WOLFSSL_API void wolfSSL_OCSP_REQUEST_free(OcspRequest* request);
122
+ WOLFSSL_API int wolfSSL_i2d_OCSP_REQUEST(OcspRequest* request,
123
+ unsigned char** data);
124
+ WOLFSSL_API WOLFSSL_OCSP_ONEREQ* wolfSSL_OCSP_request_add0_id(OcspRequest *req,
125
+ WOLFSSL_OCSP_CERTID *cid);
126
+ WOLFSSL_API WOLFSSL_OCSP_CERTID* wolfSSL_OCSP_CERTID_dup(
127
+ WOLFSSL_OCSP_CERTID* id);
128
+ #ifndef NO_BIO
129
+ WOLFSSL_API int wolfSSL_i2d_OCSP_REQUEST_bio(WOLFSSL_BIO* out,
130
+ WOLFSSL_OCSP_REQUEST *req);
131
+ #endif
132
+
133
+ WOLFSSL_API int wolfSSL_i2d_OCSP_CERTID(WOLFSSL_OCSP_CERTID* id,
134
+ unsigned char** data);
135
+ WOLFSSL_API
136
+ WOLFSSL_OCSP_CERTID* wolfSSL_d2i_OCSP_CERTID(WOLFSSL_OCSP_CERTID** cidOut,
137
+ const unsigned char** derIn,
138
+ int length);
139
+ WOLFSSL_API const WOLFSSL_OCSP_CERTID* wolfSSL_OCSP_SINGLERESP_get0_id(
140
+ const WOLFSSL_OCSP_SINGLERESP *single);
141
+ WOLFSSL_API int wolfSSL_OCSP_id_cmp(WOLFSSL_OCSP_CERTID *a, WOLFSSL_OCSP_CERTID *b);
142
+ WOLFSSL_API int wolfSSL_OCSP_single_get0_status(WOLFSSL_OCSP_SINGLERESP *single,
143
+ int *reason,
144
+ WOLFSSL_ASN1_TIME **revtime,
145
+ WOLFSSL_ASN1_TIME **thisupd,
146
+ WOLFSSL_ASN1_TIME **nextupd);
147
+ WOLFSSL_API int wolfSSL_OCSP_resp_count(WOLFSSL_OCSP_BASICRESP *bs);
148
+ WOLFSSL_API WOLFSSL_OCSP_SINGLERESP* wolfSSL_OCSP_resp_get0(
149
+ WOLFSSL_OCSP_BASICRESP *bs, int idx);
150
+
151
+ WOLFSSL_API WOLFSSL_OCSP_REQ_CTX* wolfSSL_OCSP_REQ_CTX_new(WOLFSSL_BIO *bio,
152
+ int maxline);
153
+ WOLFSSL_API void wolfSSL_OCSP_REQ_CTX_free(WOLFSSL_OCSP_REQ_CTX *ctx);
154
+ WOLFSSL_API WOLFSSL_OCSP_REQ_CTX *wolfSSL_OCSP_sendreq_new(WOLFSSL_BIO *bio,
155
+ const char *path, OcspRequest *req, int maxline);
156
+ WOLFSSL_API int wolfSSL_OCSP_REQ_CTX_set1_req(WOLFSSL_OCSP_REQ_CTX *ctx,
157
+ OcspRequest *req);
158
+ WOLFSSL_API int wolfSSL_OCSP_REQ_CTX_add1_header(WOLFSSL_OCSP_REQ_CTX *ctx,
159
+ const char *name, const char *value);
160
+ WOLFSSL_API int wolfSSL_OCSP_REQ_CTX_http(WOLFSSL_OCSP_REQ_CTX *ctx,
161
+ const char *op, const char *path);
162
+ WOLFSSL_API int wolfSSL_OCSP_REQ_CTX_nbio(WOLFSSL_OCSP_REQ_CTX *ctx);
163
+ WOLFSSL_API int wolfSSL_OCSP_sendreq_nbio(OcspResponse **presp,
164
+ WOLFSSL_OCSP_REQ_CTX *rctx);
165
+
166
+ WOLFSSL_API int wolfSSL_OCSP_REQUEST_add_ext(OcspRequest* req,
167
+ WOLFSSL_X509_EXTENSION* ext, int idx);
168
+ WOLFSSL_API OcspResponse* wolfSSL_OCSP_response_create(int status,
169
+ WOLFSSL_OCSP_BASICRESP* bs);
170
+ WOLFSSL_API const char* wolfSSL_OCSP_crl_reason_str(long s);
171
+
172
+ WOLFSSL_API int wolfSSL_OCSP_id_get0_info(WOLFSSL_ASN1_STRING **name,
173
+ WOLFSSL_ASN1_OBJECT **pmd, WOLFSSL_ASN1_STRING **keyHash,
174
+ WOLFSSL_ASN1_INTEGER **serial, WOLFSSL_OCSP_CERTID *cid);
175
+
176
+ WOLFSSL_API int wolfSSL_OCSP_request_add1_nonce(OcspRequest* req,
177
+ unsigned char* val, int sz);
178
+ WOLFSSL_API int wolfSSL_OCSP_check_nonce(OcspRequest* req,
179
+ WOLFSSL_OCSP_BASICRESP* bs);
180
+ #endif /* OPENSSL_EXTRA */
181
+
182
+
183
+ #ifdef __cplusplus
184
+ } /* extern "C" */
185
+ #endif
186
+
187
+
188
+ #endif /* HAVE_OCSP */
189
+ #endif /* WOLFSSL_OCSP_H */
190
+
191
+
@@ -0,0 +1,117 @@
1
+ /* aes.h
2
+ *
3
+ * Copyright (C) 2006-2025 wolfSSL Inc.
4
+ *
5
+ * This file is part of wolfSSL.
6
+ *
7
+ * wolfSSL is free software; you can redistribute it and/or modify
8
+ * it under the terms of the GNU General Public License as published by
9
+ * the Free Software Foundation; either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * wolfSSL is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU General Public License
18
+ * along with this program; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20
+ */
21
+
22
+
23
+
24
+ /* aes.h defines mini des openssl compatibility layer
25
+ *
26
+ */
27
+
28
+
29
+ #ifndef WOLFSSL_AES_H_
30
+ #define WOLFSSL_AES_H_
31
+
32
+ #include <wolfssl/wolfcrypt/settings.h>
33
+
34
+ #ifndef NO_AES
35
+ #include <wolfssl/wolfcrypt/aes.h>
36
+
37
+ #if !defined(WOLFSSL_NO_OPENSSL_AES_LOW_LEVEL_API) && \
38
+ defined(WC_AESFREE_IS_MANDATORY)
39
+ #define WOLFSSL_NO_OPENSSL_AES_LOW_LEVEL_API
40
+ #endif
41
+
42
+ #ifndef WOLFSSL_NO_OPENSSL_AES_LOW_LEVEL_API
43
+
44
+ #include <wolfssl/openssl/ssl.h> /* for size_t */
45
+
46
+ #ifdef __cplusplus
47
+ extern "C" {
48
+ #endif
49
+
50
+ /* This structure wrapper is done because there is no aes_new function with
51
+ * OpenSSL compatibility layer. This makes code working with an AES structure
52
+ * to need the size of the structure. */
53
+ typedef struct WOLFSSL_AES_KEY {
54
+ ALIGN16 void *buf[(sizeof(Aes) / sizeof(void *)) + 1];
55
+ } WOLFSSL_AES_KEY;
56
+
57
+ WOLFSSL_API int wolfSSL_AES_set_encrypt_key(
58
+ const unsigned char *key, const int bits, WOLFSSL_AES_KEY *aes);
59
+ WOLFSSL_API int wolfSSL_AES_set_decrypt_key(
60
+ const unsigned char *key, const int bits, WOLFSSL_AES_KEY *aes);
61
+ WOLFSSL_API void wolfSSL_AES_cbc_encrypt(
62
+ const unsigned char *in, unsigned char* out, size_t len, WOLFSSL_AES_KEY *key,
63
+ unsigned char* iv, const int enc);
64
+ WOLFSSL_API void wolfSSL_AES_ecb_encrypt(
65
+ const unsigned char *in, unsigned char* out, WOLFSSL_AES_KEY *key, const int enc);
66
+ WOLFSSL_API void wolfSSL_AES_cfb128_encrypt(
67
+ const unsigned char *in, unsigned char* out, size_t len, WOLFSSL_AES_KEY *key,
68
+ unsigned char* iv, int* num, const int enc);
69
+ WOLFSSL_API int wolfSSL_AES_wrap_key(
70
+ WOLFSSL_AES_KEY *key, const unsigned char *iv, unsigned char *out,
71
+ const unsigned char *in, unsigned int inlen);
72
+ WOLFSSL_API int wolfSSL_AES_unwrap_key(
73
+ WOLFSSL_AES_KEY *key, const unsigned char *iv, unsigned char *out,
74
+ const unsigned char *in, unsigned int inlen);
75
+
76
+ #ifdef WOLFSSL_AES_DIRECT
77
+ WOLFSSL_API void wolfSSL_AES_encrypt(
78
+ const unsigned char* input, unsigned char* output, WOLFSSL_AES_KEY *key);
79
+ WOLFSSL_API void wolfSSL_AES_decrypt(
80
+ const unsigned char* input, unsigned char* output, WOLFSSL_AES_KEY *key);
81
+ #endif /* WOLFSSL_AES_DIRECT */
82
+
83
+ #ifndef OPENSSL_COEXIST
84
+
85
+ typedef WOLFSSL_AES_KEY AES_KEY;
86
+
87
+ #define AES_cbc_encrypt wolfSSL_AES_cbc_encrypt
88
+ #define AES_ecb_encrypt wolfSSL_AES_ecb_encrypt
89
+ #define AES_cfb128_encrypt wolfSSL_AES_cfb128_encrypt
90
+ #define AES_set_encrypt_key wolfSSL_AES_set_encrypt_key
91
+ #define AES_set_decrypt_key wolfSSL_AES_set_decrypt_key
92
+ #define AES_wrap_key wolfSSL_AES_wrap_key
93
+ #define AES_unwrap_key wolfSSL_AES_unwrap_key
94
+
95
+ #ifdef WOLFSSL_AES_DIRECT
96
+ #define AES_encrypt wolfSSL_AES_encrypt
97
+ #define AES_decrypt wolfSSL_AES_decrypt
98
+ #endif /* WOLFSSL_AES_DIRECT */
99
+
100
+ #ifndef AES_ENCRYPT
101
+ #define AES_ENCRYPT AES_ENCRYPTION
102
+ #endif
103
+ #ifndef AES_DECRYPT
104
+ #define AES_DECRYPT AES_DECRYPTION
105
+ #endif
106
+
107
+ #endif /* !OPENSSL_COEXIST */
108
+
109
+ #ifdef __cplusplus
110
+ } /* extern "C" */
111
+ #endif
112
+
113
+ #endif /* !WOLFSSL_NO_OPENSSL_AES_LOW_LEVEL_API */
114
+
115
+ #endif /* NO_AES */
116
+
117
+ #endif /* WOLFSSL_AES_H_ */