@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
@@ -8,7 +8,8 @@ Pod::Spec.new do |s|
8
8
  s.summary = 'MQTT-over-QUIC Capacitor plugin (iOS)'
9
9
  s.license = package['license']
10
10
  s.homepage = 'https://github.com/annadata/capacitor-mqtt-quic'
11
- s.author = 'Annadata'
11
+ s.author = 'Mr. Yakub Mohammad'
12
+ s.authors = { 'Mr. Yakub Mohammad' => 'yakub@annadata.ai' }
12
13
  s.source = { :git => 'https://github.com/annadata/capacitor-mqtt-quic', :tag => s.version.to_s }
13
14
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
15
  s.resources = ['ios/Sources/MqttQuicPlugin/Resources/*.pem']
package/Package.swift ADDED
@@ -0,0 +1,59 @@
1
+ // swift-tools-version: 5.9
2
+ import PackageDescription
3
+
4
+ // AnnadataCapacitorMqttQuic – Swift Package for Capacitor 8 (SPM).
5
+ // At plugin root so Capacitor's SPM logic detects and adds it to CapApp-SPM automatically.
6
+ // Requires ios/libs/MqttQuicLibs.xcframework. After building (see build-native.sh), run:
7
+ // cd ios && ./create-xcframework.sh
8
+ let package = Package(
9
+ name: "AnnadataCapacitorMqttQuic",
10
+ platforms: [.iOS(.v15)],
11
+ products: [
12
+ .library(
13
+ name: "AnnadataCapacitorMqttQuic",
14
+ targets: ["AnnadataCapacitorMqttQuic"]
15
+ )
16
+ ],
17
+ dependencies: [
18
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0")
19
+ ],
20
+ targets: [
21
+ .binaryTarget(
22
+ name: "MqttQuicLibs",
23
+ path: "ios/libs/MqttQuicLibs.xcframework"
24
+ ),
25
+ .target(
26
+ name: "NGTCP2Bridge",
27
+ dependencies: ["MqttQuicLibs"],
28
+ path: "ios/Sources/MqttQuicPlugin/QUIC",
29
+ sources: ["NGTCP2Bridge.mm"],
30
+ publicHeadersPath: ".",
31
+ cxxSettings: [
32
+ .define("NGTCP2_ENABLED"),
33
+ .define("NGHTTP3_ENABLED"),
34
+ .headerSearchPath("../../../include")
35
+ ],
36
+ linkerSettings: [
37
+ .linkedLibrary("c++")
38
+ ]
39
+ ),
40
+ .target(
41
+ name: "AnnadataCapacitorMqttQuic",
42
+ dependencies: [
43
+ "NGTCP2Bridge",
44
+ .product(name: "Capacitor", package: "capacitor-swift-pm")
45
+ ],
46
+ path: "ios/Sources/MqttQuicPlugin",
47
+ exclude: [
48
+ "MQTT/MQTT5ReasonCodes.swift.rej",
49
+ "QUIC/NGTCP2Bridge.mm",
50
+ "QUIC/NGTCP2Bridge.h"
51
+ ],
52
+ resources: [.process("Resources")],
53
+ swiftSettings: [
54
+ .define("NGTCP2_ENABLED"),
55
+ .define("NGHTTP3_ENABLED")
56
+ ]
57
+ )
58
+ ]
59
+ )
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @annadata/capacitor-mqtt-quic
2
2
 
3
- MQTT-over-QUIC Capacitor plugin for iOS and Android. Uses ngtcp2 for QUIC on native; MQTT over WebSocket (WSS) fallback on web.
3
+ MQTT-over-QUIC Capacitor plugin for **iOS**, **Android**, and **Web (browser/PWA)**. Native: ngtcp2 + WolfSSL for QUIC; Web: MQTT over WebSocket (WSS), same API and event listeners.
4
4
 
5
- **Capacitor:** Supports **Capacitor >= 7.0.0** (including Capacitor 8). See [CAPACITOR_VERSION_SUPPORT.md](./CAPACITOR_VERSION_SUPPORT.md) for details.
5
+ **Capacitor:** **8.0+** (tested with Capacitor 8).
6
6
 
7
7
  **Features:**
8
8
  - ✅ **MQTT 5.0** support with full properties and reason codes
@@ -20,7 +20,7 @@ MQTT-over-QUIC Capacitor plugin for iOS and Android. Uses ngtcp2 for QUIC on nat
20
20
  - Transport abstraction (StreamReader/StreamWriter)
21
21
  - **Phase 2**: QUIC transport (ngtcp2) + stream adapters - **In Progress** ⏳
22
22
  - Currently uses stub implementations for testing
23
- - See [NGTCP2_INTEGRATION_PLAN.md](./NGTCP2_INTEGRATION_PLAN.md) for build instructions
23
+ - See [NGTCP2_INTEGRATION_PLAN.md](./docs/NGTCP2_INTEGRATION_PLAN.md) for build instructions
24
24
  - **Phase 3**: MQTT client API + Capacitor plugin bridge - **Complete** ✅
25
25
  - **Phase 4**: Platform integration in annadata-production - **Complete** ✅
26
26
 
@@ -274,7 +274,7 @@ await MqttQuic.publish({
274
274
  | **Reason Codes** | Detailed error information | Better debugging |
275
275
  | **Topic Aliases** | Reduce bandwidth | High-frequency publishing |
276
276
 
277
- See [MQTT5_IMPLEMENTATION_COMPLETE.md](./MQTT5_IMPLEMENTATION_COMPLETE.md) for full details.
277
+ See [MQTT5_IMPLEMENTATION_COMPLETE.md](./docs/MQTT5_IMPLEMENTATION_COMPLETE.md) for full details.
278
278
 
279
279
  ## TypeScript Interface
280
280
 
@@ -330,7 +330,7 @@ interface MqttQuicTestHarnessOptions {
330
330
 
331
331
  ## ngtcp2 Build (Phase 2) ⏳
332
332
 
333
- **Current Status:** Real QUIC transport implemented using ngtcp2 + quictls (OpenSSL fork).
333
+ **Current Status:** Real QUIC transport implemented using ngtcp2 + **WolfSSL** on both iOS and Android (single TLS backend for license/size/QUIC support).
334
334
 
335
335
  ### Quick Build (Recommended)
336
336
 
@@ -350,25 +350,106 @@ Use the unified build script to build all native dependencies:
350
350
  ./build-native.sh --android-only --abi arm64-v8a
351
351
  ```
352
352
 
353
- This script builds OpenSSL (quictls) → nghttp3 → ngtcp2 in the correct order for both platforms.
353
+ This script builds WolfSSL → nghttp3 → ngtcp2 in the correct order for both platforms (or OpenSSL/QuicTLS when USE_WOLFSSL=0).
354
354
 
355
355
  ### Manual Build
356
356
 
357
357
  For detailed manual build instructions, see:
358
358
  - **iOS**: [ios/NGTCP2_BUILD_INSTRUCTIONS.md](./ios/NGTCP2_BUILD_INSTRUCTIONS.md)
359
359
  - **Android**: [android/NGTCP2_BUILD_INSTRUCTIONS.md](./android/NGTCP2_BUILD_INSTRUCTIONS.md)
360
- - **Full Plan**: [NGTCP2_INTEGRATION_PLAN.md](./NGTCP2_INTEGRATION_PLAN.md)
360
+ - **Full Plan**: [NGTCP2_INTEGRATION_PLAN.md](./docs/NGTCP2_INTEGRATION_PLAN.md)
361
361
 
362
362
  **Prerequisites:**
363
- - iOS: macOS with Xcode 14+
363
+ - iOS: macOS with Xcode 15+
364
364
  - Android: Android Studio with NDK r25+ (auto-detected from `$ANDROID_HOME`)
365
365
 
366
+ ## Production / First-time build
367
+
368
+ When you install the plugin from npm (`npm install @annadata/capacitor-mqtt-quic`), the published package **may** include **prebuilt native libs** (iOS and optionally Android, both using **WolfSSL**). If it does (a "complete" / zero-config package), you only need:
369
+
370
+ ```bash
371
+ npm install @annadata/capacitor-mqtt-quic
372
+ npx cap sync
373
+ ionic cap run android # or ios
374
+ ```
375
+
376
+ **If your Android build fails with "WolfSSL not found"**, the package you installed does not include prebuilt Android libs. Do **one** of the following.
377
+
378
+ **Option A – One-time build (from your app project root, requires Android NDK r25+):** Both iOS and Android use **WolfSSL** as the TLS backend (license/size/QUIC support):
379
+
380
+ ```bash
381
+ cd node_modules/@annadata/capacitor-mqtt-quic
382
+ ./build-native.sh --android-only --abi arm64-v8a
383
+ ./build-native.sh --android-only --abi armeabi-v7a
384
+ ./build-native.sh --android-only --abi x86_64
385
+ ```
386
+
387
+ Or from the plugin’s `android` directory:
388
+
389
+ ```bash
390
+ cd node_modules/@annadata/capacitor-mqtt-quic/android
391
+ ./build-wolfssl.sh --abi arm64-v8a
392
+ ./build-wolfssl.sh --abi armeabi-v7a
393
+ ./build-wolfssl.sh --abi x86_64
394
+ ./build-nghttp3.sh --abi arm64-v8a
395
+ ./build-nghttp3.sh --abi armeabi-v7a
396
+ ./build-nghttp3.sh --abi x86_64
397
+ ./build-ngtcp2.sh --abi arm64-v8a
398
+ ./build-ngtcp2.sh --abi armeabi-v7a
399
+ ./build-ngtcp2.sh --abi x86_64
400
+ ```
401
+
402
+ Or add to your app’s `package.json` and run once:
403
+
404
+ ```json
405
+ "setup:wolfssl-android": "cd node_modules/@annadata/capacitor-mqtt-quic && ./build-native.sh --android-only --abi arm64-v8a && ./build-native.sh --android-only --abi armeabi-v7a && ./build-native.sh --android-only --abi x86_64"
406
+ ```
407
+
408
+ **Option B – Use a complete package:** Reinstall a version of the plugin that was published with Android prebuilts (see *Publishing a complete package* below). Then no one-time build is needed.
409
+
410
+ **iOS:** The plugin typically ships with vendored static libs (`ios/libs/`) using WolfSSL. If you built the plugin from source and those are missing, run from the plugin repo: `./build-native.sh --ios-only`, then pack/publish.
411
+
412
+ ### Publishing a complete (zero-config) package
413
+
414
+ So that **clients have no native build step**, build Android (and iOS) prebuilts **before** publishing, then publish. The tarball will include `android/install/` and consumers can `npm install` and run the app without running `build-native.sh`.
415
+
416
+ From the **plugin repo** (capacitor-mqtt-quic), before `npm publish`:
417
+
418
+ ```bash
419
+ # 1) Android prebuilts for all ABIs (required for zero-config Android)
420
+ npm run build:android-prebuilts
421
+
422
+ # 2) iOS prebuilts (if not already present)
423
+ ./build-native.sh --ios-only
424
+
425
+ # 3) Build JS and publish (clean does not remove android/install or ios/libs)
426
+ npm run build
427
+ npm run clean:build-artifacts
428
+ npm version patch # or minor
429
+ npm publish --access public
430
+ ```
431
+
432
+ See **docs/PRODUCTION_PUBLISH_STEPS.md** for the full checklist.
433
+
434
+ ### Connection error: `{"code":"UNIMPLEMENTED"}`
435
+
436
+ Capacitor returns this when the **native plugin method is not found** on the current platform. Common causes and fixes:
437
+
438
+ | Platform | Check |
439
+ |----------|--------|
440
+ | **iOS** | Plugin must be linked. Run `npx cap sync ios` and `cd ios && pod install`, then rebuild in Xcode. Ensure `@annadata/capacitor-mqtt-quic` is in your app’s `package.json` and that the iOS project includes the plugin (Capacitor should auto-discover it). If you use a custom Podfile, ensure the AnnadataCapacitorMqttQuic plugin target is included. |
441
+ | **Android** | Run `npx cap sync android` and rebuild. If you see "WolfSSL not found", run the one-time native build (see above). |
442
+ | **Web / browser** | In browser, the plugin uses the **web** implementation (WSS or WebTransport). If you get UNIMPLEMENTED in the browser, the app may be resolving the native bridge instead of the web plugin—e.g. wrong `capacitor.config` or build. Ensure you’re opening the app as a web build (e.g. `ionic serve` or `cap run web`), not a native app with a WebView. |
443
+
444
+ After adding the plugin or changing native code, always run **`npx cap sync`** and on iOS **`pod install`**, then rebuild the native app.
445
+
366
446
  ## Development
367
447
 
368
448
  ### Build Plugin
369
449
 
370
450
  ```bash
371
- cd production/capacitor-mqtt-quic
451
+ git clone https://github.com/annadata/capacitor-mqtt-quic.git
452
+ cd capacitor-mqtt-quic
372
453
  npm install
373
454
  npm run build
374
455
  ```
@@ -376,8 +457,8 @@ npm run build
376
457
  ### Add to Capacitor App
377
458
 
378
459
  ```bash
379
- cd production/annadata-production
380
- npm i @annadata/capacitor-mqtt-quic
460
+ cd your-capacitor-app
461
+ npm install @annadata/capacitor-mqtt-quic
381
462
  npx cap sync
382
463
  ```
383
464
 
@@ -400,29 +481,97 @@ await MqttQuic.connect({
400
481
  });
401
482
  ```
402
483
 
484
+ ## Publishing (maintainers)
485
+
486
+ To pack the plugin **with native libs** and publish to npm, follow **[PRODUCTION_PUBLISH_STEPS.md](./docs/PRODUCTION_PUBLISH_STEPS.md)**.
487
+
403
488
  ## Documentation
404
489
 
405
- - [Implementation Summary](./IMPLEMENTATION_SUMMARY.md) - Complete project overview
406
- - [MQTT 5.0 Implementation](./MQTT5_IMPLEMENTATION_COMPLETE.md) - MQTT 5.0 features and usage
407
- - [ngtcp2 Integration Plan](./NGTCP2_INTEGRATION_PLAN.md) - Build instructions for real QUIC
408
- - [MQTT Version Analysis](./MQTT_VERSION_ANALYSIS.md) - Why MQTT 5.0?
490
+ - [Implementation Summary](./docs/IMPLEMENTATION_SUMMARY.md) - Complete project overview
491
+ - [MQTT 5.0 Implementation](./docs/MQTT5_IMPLEMENTATION_COMPLETE.md) - MQTT 5.0 features and usage
492
+ - [ngtcp2 Integration Plan](./docs/NGTCP2_INTEGRATION_PLAN.md) - Build instructions for real QUIC
493
+ - [MQTT Version Analysis](./docs/MQTT_VERSION_ANALYSIS.md) - Why MQTT 5.0?
494
+
495
+ ## Web / browser support
496
+
497
+ The plugin runs in **browsers** (including PWA and `cap run web`) with the **same API** as iOS and Android.
498
+
499
+ **Why web can’t use ngtcp2 + WolfSSL:** Browsers do not expose raw UDP or the TLS APIs ngtcp2/WolfSSL need. So the native stack cannot run in the browser. On web: (1) **Default:** MQTT over **WebSocket (WSS)** via `mqtt.js`. (2) **Optional:** MQTT over **WebTransport** (QUIC)—pass `webTransportUrl` in `connect()` when your server supports WebTransport; the browser uses its built-in HTTP/3/QUIC stack.
500
+
501
+ - **Connect:** `ws://host:port` or `wss://host:port` (the plugin uses WSS when port is 8884 or 443, otherwise `ws`)
502
+ - **Same methods:** `MqttQuic.connect`, `publish`, `subscribe`, `unsubscribe`, `disconnect`, `testHarness`
503
+
504
+ **My MQTT+QUIC server is on port 1884 – can WSS connect?**
505
+ Port **1884** is usually **MQTT over QUIC** (UDP). A **WSS client cannot connect directly to 1884**, because WSS is TCP/WebSocket and 1884 is QUIC. You need one of:
506
+
507
+ 1. **Server also exposes MQTT over WebSocket**
508
+ Many brokers listen on two ports: e.g. **1884** for MQTT-over-QUIC and **8884** (or 8084) for MQTT-over-WebSocket Secure. From the **web** plugin, connect to the **WebSocket port** (e.g. 8884), not 1884:
509
+ ```ts
510
+ await MqttQuic.connect({ host: 'your-server.com', port: 8884, clientId: 'web-client' });
511
+ ```
512
+ The plugin will use `wss://your-server.com:8884`.
513
+
514
+ 2. **Proxy/gateway**
515
+ Run a gateway that listens for WSS (e.g. on 8884) and forwards MQTT to your QUIC server on 1884. The web client then connects to the gateway’s WSS port.
516
+
517
+ 3. **Native or WebTransport**
518
+ On **iOS/Android** use the same host and **port 1884** (QUIC). On **web**, if the server supports **WebTransport**, use `webTransportUrl` (see example below) so the browser uses QUIC via WebTransport.
519
+ - **Same events:** `MqttQuic.addListener('connected', ...)`, `addListener('subscribed', ...)`, `addListener('message', (e) => { e.topic, e.payload })`
520
+ - **Build:** The plugin bundles `mqtt`; no extra install in the app.
521
+
522
+ Example in a browser or PWA:
523
+
524
+ ```ts
525
+ import { MqttQuic } from '@annadata/capacitor-mqtt-quic';
526
+
527
+ MqttQuic.addListener('message', (e) => console.log(e.topic, e.payload));
528
+ await MqttQuic.connect({ host: 'broker.example.com', port: 8884, clientId: 'web-client' });
529
+ await MqttQuic.subscribe({ topic: 'sensors/#' });
530
+ ```
531
+
532
+ Example with QUIC on web (WebTransport; server must support WebTransport and MQTT over it):
409
533
 
410
- ## Web/PWA Support
534
+ ```ts
535
+ await MqttQuic.connect({
536
+ webTransportUrl: 'https://broker.example.com:443/mqtt-wt',
537
+ clientId: 'web-quic-client',
538
+ host: 'broker.example.com',
539
+ port: 443,
540
+ });
541
+ ```
411
542
 
412
- On **web** (including PWA), the plugin uses **MQTT over WebSocket (WSS)** via `mqtt.js`. No QUIC; same API.
543
+ When the server uses path-based routing (like MQTT topics), data is at `.../devices/<deviceId>/<action>/<Path>`. You can pass the base URL and path components; the plugin builds the full URL:
413
544
 
414
- - **Connect:** `ws://host:port` or `wss://host:port` (wss when port is 8884 or 443)
415
- - **Build:** Ensure `mqtt` is installed (`npm install` in the plugin directory)
416
- - Use `MqttQuic.connect` / `publish` / `subscribe` / `unsubscribe` / `disconnect` as on native
545
+ ```ts
546
+ await MqttQuic.connect({
547
+ webTransportUrl: 'https://mqtt.annadata.cloud:443/mqtt-wt',
548
+ webTransportDeviceId: 'mydevice',
549
+ webTransportAction: 'subscribe', // or 'publish', etc.
550
+ webTransportPath: 'sensors/temp', // optional; like MQTT topic suffix
551
+ clientId: 'web-client',
552
+ host: 'mqtt.annadata.cloud',
553
+ port: 443,
554
+ });
555
+ // Connects to: https://mqtt.annadata.cloud:443/mqtt-wt/devices/mydevice/subscribe/sensors/temp
556
+ ```
417
557
 
418
558
  ## Compatibility
419
559
 
560
+ - **Platforms:** **iOS**, **Android**, **Web (browser / PWA)**
420
561
  - **MQTT Protocol:** 3.1.1 and 5.0 (auto-negotiation)
421
- - **iOS:** 15.0+ (for Network framework)
562
+ - **iOS:** 15.0+
422
563
  - **Android:** API 21+ (Android 5.0+)
423
- - **Web/PWA:** mqtt.js over WSS
424
- - **Capacitor:** 7.0+
425
- - **QUIC:** ngtcp2 1.21.0+ (when integrated)
564
+ - **Web:** Any modern browser; MQTT over WSS
565
+ - **Capacitor:** 8.0+
566
+ - **QUIC:** ngtcp2 + WolfSSL on native; on web, optional WebTransport (browser's HTTP/3/QUIC) when server supports it
567
+
568
+ ## Author
569
+
570
+ **Yakub Mohammad**
571
+
572
+ - yakub@annadata.ai
573
+ - yakub@arusatech.com
574
+ - yakub@arusallc.com
426
575
 
427
576
  ## License
428
577
 
@@ -1,6 +1,6 @@
1
1
  # Building ngtcp2 for Android
2
2
 
3
- This document provides instructions for building ngtcp2 and OpenSSL for Android to enable real QUIC transport in the MQTT client.
3
+ This document provides instructions for building ngtcp2 and WolfSSL (wolfssl-android) for Android to enable real QUIC transport in the MQTT client. The plugin uses WolfSSL by default; optional QuicTLS/OpenSSL build paths are also documented.
4
4
 
5
5
  ## Prerequisites
6
6
 
@@ -17,29 +17,53 @@ omit `--ndk-path` if your NDK is installed in one of those locations.
17
17
  Build scripts then expect dependencies under:
18
18
  - `$PROJECT_DIR/ref-code/ngtcp2`
19
19
  - `$PROJECT_DIR/ref-code/nghttp3`
20
- - `$PROJECT_DIR/ref-code/openssl`
20
+ - `$PROJECT_DIR/ref-code/wolfssl` (default) or `$PROJECT_DIR/ref-code/openssl` (optional QuicTLS)
21
21
 
22
22
  ```bash
23
- export PROJECT_DIR="/Users/annadata/Project_A/annadata-production/ref-code/capacitor-mqtt-quic"
23
+ export PROJECT_DIR="/path/to/capacitor-mqtt-quic"
24
24
  ```
25
25
 
26
- Override with `NGTCP2_SOURCE_DIR`, `NGHTTP3_SOURCE_DIR`, `OPENSSL_SOURCE_DIR`
27
- if you store sources elsewhere.
26
+ Override with `NGTCP2_SOURCE_DIR`, `NGHTTP3_SOURCE_DIR`, `WOLFSSL_SOURCE_DIR` (or `OPENSSL_SOURCE_DIR` for QuicTLS) if you store sources elsewhere.
28
27
 
29
28
  ## Quick Start
30
29
 
31
30
  ### Option 1: Use Pre-built Libraries (Recommended for Development)
32
31
 
33
- If you have access to pre-built ngtcp2, nghttp3, and OpenSSL libraries:
32
+ If you have access to pre-built ngtcp2, nghttp3, and WolfSSL libraries:
34
33
 
35
- 1. Place `libngtcp2_client.so` in `android/src/main/jniLibs/<abi>/`
36
- 2. Place `libnghttp3.a` in `android/libs/<abi>/`
37
- 3. Place OpenSSL libraries (`libssl.a`, `libcrypto.a`) in `android/libs/<abi>/`
38
- 4. Update `build.gradle` and `CMakeLists.txt` to link against these libraries
34
+ 1. Place ngtcp2/nghttp3 static libs in `android/install/ngtcp2-android/<abi>/` and `android/install/nghttp3-android/<abi>/`
35
+ 2. Place WolfSSL (`libwolfssl.a`) in `android/install/wolfssl-android/<abi>/`
36
+ 3. Update `CMakeLists.txt` to point at `android/install/` (plugin expects wolfssl-android by default)
39
37
 
40
- ### Option 2: Build from Source
38
+ ### Option 2: Build from Source (WolfSSL – default)
41
39
 
42
- #### Step 1: Build OpenSSL for Android (QUIC TLS)
40
+ From the **plugin repo root** (not `android/`), run:
41
+
42
+ ```bash
43
+ ./build-native.sh --android-only --abi arm64-v8a
44
+ ./build-native.sh --android-only --abi armeabi-v7a
45
+ ./build-native.sh --android-only --abi x86_64
46
+ ```
47
+
48
+ This builds WolfSSL → nghttp3 → ngtcp2 and installs to:
49
+ - `android/install/wolfssl-android/<abi>/`
50
+ - `android/install/nghttp3-android/<abi>/`
51
+ - `android/install/ngtcp2-android/<abi>/`
52
+
53
+ **Or** from `android/` use the individual scripts:
54
+
55
+ ```bash
56
+ cd android
57
+ ./build-wolfssl.sh --ndk-path ~/Android/Sdk/ndk/25.2.9519653 --platform android-21 --abi arm64-v8a
58
+ ./build-nghttp3.sh --ndk-path ~/Android/Sdk/ndk/25.2.9519653 --platform android-21 --abi arm64-v8a
59
+ ./build-ngtcp2.sh --abi arm64-v8a --platform android-21
60
+ ```
61
+
62
+ Repeat for `armeabi-v7a` and `x86_64` as needed.
63
+
64
+ ### Option 3: Build from Source (QuicTLS/OpenSSL – optional)
65
+
66
+ If you need OpenSSL/QuicTLS instead of WolfSSL:
43
67
 
44
68
  ```bash
45
69
  cd android
@@ -52,23 +76,9 @@ cd android
52
76
 
53
77
  This will:
54
78
  - Clone QuicTLS (https://github.com/quictls/quictls) if not present (OpenSSL fork with QUIC API)
55
- - Build static libraries for Android
56
79
  - Install to `android/install/openssl-android/<abi>/`
57
80
 
58
- **Note:** For different ABIs, repeat the build:
59
- ```bash
60
- # arm64-v8a (64-bit ARM)
61
- ./build-openssl.sh --ndk-path ~/Android/Sdk/ndk/25.2.9519653 --platform android-21 --abi arm64-v8a --quictls
62
- # ./build-openssl.sh --ndk-path "/Users/annadata/Library/Android/sdk/ndk/29.0.13113456" --abi arm64-v8a --platform android-21 --quictls
63
-
64
- # armeabi-v7a (32-bit ARM)
65
- ./build-openssl.sh --ndk-path ~/Android/Sdk/ndk/25.2.9519653 --platform android-21 --abi armeabi-v7a --quictls
66
- # ./build-openssl.sh --ndk-path "/Users/annadata/Library/Android/sdk/ndk/29.0.13113456" --abi armeabi-v7a --platform android-21 --quictls
67
-
68
- # x86_64 (64-bit x86)
69
- ./build-openssl.sh --ndk-path ~/Android/Sdk/ndk/25.2.9519653 --platform android-21 --abi x86_64 --quictls
70
- # ./build-openssl.sh --ndk-path "/Users/annadata/Library/Android/sdk/ndk/29.0.13113456" --abi x86_64 --platform android-21 --quictls
71
- ```
81
+ **Note:** The plugin’s CMake is configured for **WolfSSL** by default. Use Option 2 for the standard plugin build.
72
82
 
73
83
  #### Step 2: Build nghttp3 for Android
74
84
 
@@ -86,7 +96,7 @@ This will:
86
96
 
87
97
  - ./build-nghttp3.sh --abi arm64-v8a --platform android-21
88
98
 
89
- #### Step 3: Build ngtcp2 for Android
99
+ #### Step 3: Build ngtcp2 for Android (WolfSSL – default)
90
100
 
91
101
  ```bash
92
102
  cd android
@@ -94,15 +104,16 @@ cd android
94
104
  --ndk-path ~/Library/Android/sdk/ndk/<ndk-version> \
95
105
  --abi arm64-v8a \
96
106
  --platform android-21 \
97
- --openssl-path ./install/openssl-android/arm64-v8a \
98
- --quictls
107
+ --wolfssl-path ./install/wolfssl-android/arm64-v8a
99
108
  ```
100
109
 
101
110
  This will:
102
- - Build ngtcp2 static library
103
- - Link against OpenSSL
111
+ - Build ngtcp2 static library with WolfSSL crypto
104
112
  - Install to `android/install/ngtcp2-android/<abi>/`
105
- ./build-ngtcp2.sh --abi arm64-v8a --platform android-21 --openssl-path ./install/openssl-android --quictls
113
+
114
+ Example: `./build-ngtcp2.sh --abi arm64-v8a --platform android-21 --wolfssl-path ./install/wolfssl-android/arm64-v8a`
115
+
116
+ If using QuicTLS/OpenSSL instead: `./build-ngtcp2.sh --abi arm64-v8a --platform android-21 --openssl-path ./install/openssl-android --quictls`
106
117
 
107
118
  #### Step 4: Build JNI Library
108
119
 
@@ -160,13 +171,13 @@ android {
160
171
 
161
172
  ### Update CMakeLists.txt
162
173
 
163
- Ensure `CMakeLists.txt` points to correct ngtcp2 and OpenSSL paths:
174
+ Ensure `CMakeLists.txt` points to correct ngtcp2 and WolfSSL paths (plugin default):
164
175
 
165
176
  ```cmake
166
- # Set paths
167
- set(NGTCP2_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../ngtcp2")
168
- set(NGHTTP3_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../nghttp3")
169
- set(OPENSSL_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../install/openssl-android")
177
+ # Set paths (WolfSSL default)
178
+ set(NGTCP2_INSTALL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../install/ngtcp2-android/${ANDROID_ABI}")
179
+ set(NGHTTP3_INSTALL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../install/nghttp3-android/${ANDROID_ABI}")
180
+ set(WOLFSSL_INSTALL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../install/wolfssl-android/${ANDROID_ABI}")
170
181
  ```
171
182
 
172
183
  ## TLS Certificate Verification (QUIC)
@@ -251,9 +262,13 @@ await MqttQuic.testHarness({
251
262
 
252
263
  ## Using Pre-built Libraries
253
264
 
254
- ### OpenSSL
265
+ ### WolfSSL (default)
266
+
267
+ Build using `./build-wolfssl.sh` or `./build-native.sh --android-only` (see Option 2 above). Pre-built WolfSSL for Android can also be obtained from the wolfSSL project.
268
+
269
+ ### OpenSSL / QuicTLS (optional)
255
270
 
256
- Download from:
271
+ If building with QuicTLS instead of WolfSSL, download from:
257
272
  - https://github.com/leenjewel/openssl_for_ios_and_android
258
273
 
259
274
  ### ngtcp2
@@ -284,7 +299,13 @@ git clone --recurse-submodules https://github.com/ngtcp2/nghttp3.git
284
299
  # Or download from: https://cmake.org/download/
285
300
  ```
286
301
 
287
- ### OpenSSL Build Fails
302
+ ### WolfSSL Build Fails
303
+
304
+ - Ensure WolfSSL is built for the correct ABI (arm64-v8a, armeabi-v7a, x86_64)
305
+ - Check that NDK path is correct
306
+ - Run `./build-wolfssl.sh` from `android/` or `./build-native.sh --android-only` from plugin root
307
+
308
+ ### OpenSSL/QuicTLS Build Fails (optional path)
288
309
 
289
310
  - Ensure you're using OpenSSL 3.0+ (required for TLS 1.3)
290
311
  - Check that NDK path is correct
@@ -292,15 +313,15 @@ git clone --recurse-submodules https://github.com/ngtcp2/nghttp3.git
292
313
 
293
314
  ### ngtcp2 Build Fails
294
315
 
295
- - Verify OpenSSL is built and path is correct
316
+ - Verify WolfSSL (or OpenSSL) is built and path is correct (`--wolfssl-path` or `--openssl-path`)
296
317
  - Check CMake version: `cmake --version` (must be 3.20+)
297
318
  - Ensure Android platform matches (android-21+)
298
319
 
299
320
  ### Link Errors
300
321
 
301
322
  - Verify all libraries are built for the same ABI
302
- - Check that CMakeLists.txt paths are correct
303
- - Ensure OpenSSL and ngtcp2 are linked in the correct order
323
+ - Check that CMakeLists.txt paths are correct (wolfssl-android for default)
324
+ - Ensure WolfSSL/ngtcp2 and nghttp3 are linked in the correct order
304
325
 
305
326
  ### JNI Errors
306
327
 
@@ -316,4 +337,4 @@ After building ngtcp2/nghttp3:
316
337
  2. Replace `QuicClientStub` with `NGTCP2Client` in `MQTTClient.kt`
317
338
  3. Test connection to MQTT server over QUIC
318
339
 
319
- See `NGTCP2_INTEGRATION_PLAN.md` for detailed implementation guide.
340
+ See [NGTCP2_INTEGRATION_PLAN.md](../docs/NGTCP2_INTEGRATION_PLAN.md) for detailed implementation guide.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "appId": "ai.annadata.mqttquic",
3
- "appName": "MqttQuicPlugin",
3
+ "appName": "AnnadataCapacitorMqttQuic",
4
4
  "webDir": "www"
5
5
  }
@@ -26,7 +26,7 @@ DEPS_DIR="${PROJECT_DIR}/deps"
26
26
  DEFAULT_OPENSSL_SOURCE_DIR="${DEPS_DIR}/openssl"
27
27
  OPENSSL_VERSION="${OPENSSL_VERSION:-3.2.0}"
28
28
  USE_QUICTLS="${USE_QUICTLS:-1}"
29
- QUICTLS_BRANCH="${QUICTLS_BRANCH:-main}"
29
+ QUICTLS_BRANCH="${QUICTLS_BRANCH:-openssl-3.2}"
30
30
  ANDROID_NDK="${ANDROID_NDK:-}"
31
31
  ANDROID_ABI="${ANDROID_ABI:-arm64-v8a}"
32
32
  ANDROID_PLATFORM="${ANDROID_PLATFORM:-android-21}"
@@ -36,7 +36,10 @@ android {
36
36
  testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
37
37
  externalNativeBuild {
38
38
  cmake {
39
- arguments "-DANDROID_STL=c++_shared"
39
+ arguments "-DANDROID_STL=c++_shared",
40
+ "-DWOLFSSL_ROOT_DIR=${file('install/wolfssl-android').absolutePath}",
41
+ "-DNGTCP2_INSTALL_DIR=${file('install/ngtcp2-android').absolutePath}",
42
+ "-DNGHTTP3_INSTALL_DIR=${file('install/nghttp3-android').absolutePath}"
40
43
  cppFlags "-std=c++17"
41
44
  }
42
45
  }