@annadata/capacitor-mqtt-quic 0.1.5 → 0.1.7
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.
- package/AnnadataCapacitorMqttQuic.podspec +36 -0
- package/README.md +121 -12
- package/android/NGTCP2_BUILD_INSTRUCTIONS.md +65 -44
- package/android/build-openssl.sh +1 -1
- package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/nghttp3.h +3295 -0
- package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/version.h +46 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.a +0 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.so +0 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/pkgconfig/libnghttp3.pc +34 -0
- package/android/install/nghttp3-android/arm64-v8a/share/doc/nghttp3/README.rst +75 -0
- package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/nghttp3.h +3295 -0
- package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/version.h +46 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.a +0 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.so +0 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/pkgconfig/libnghttp3.pc +34 -0
- package/android/install/nghttp3-android/armeabi-v7a/share/doc/nghttp3/README.rst +75 -0
- package/android/install/nghttp3-android/x86_64/include/nghttp3/nghttp3.h +3295 -0
- package/android/install/nghttp3-android/x86_64/include/nghttp3/version.h +46 -0
- package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
- package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
- package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
- package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
- package/android/install/nghttp3-android/x86_64/lib/libnghttp3.a +0 -0
- package/android/install/nghttp3-android/x86_64/lib/libnghttp3.so +0 -0
- package/android/install/nghttp3-android/x86_64/lib/pkgconfig/libnghttp3.pc +34 -0
- package/android/install/nghttp3-android/x86_64/share/doc/nghttp3/README.rst +75 -0
- package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2.h +6254 -0
- package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto.h +1037 -0
- package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
- package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/version.h +51 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.a +0 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.so +0 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.a +0 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.so +0 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2.pc +33 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
- package/android/install/ngtcp2-android/arm64-v8a/share/doc/ngtcp2/README.rst +385 -0
- package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2.h +6254 -0
- package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto.h +1037 -0
- package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
- package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/version.h +51 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.a +0 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.so +0 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.a +0 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.so +0 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2.pc +33 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
- package/android/install/ngtcp2-android/armeabi-v7a/share/doc/ngtcp2/README.rst +385 -0
- package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2.h +6254 -0
- package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto.h +1037 -0
- package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
- package/android/install/ngtcp2-android/x86_64/include/ngtcp2/version.h +51 -0
- package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
- package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
- package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
- package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
- package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.a +0 -0
- package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.so +0 -0
- package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.a +0 -0
- package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.so +0 -0
- package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2.pc +33 -0
- package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
- package/android/install/ngtcp2-android/x86_64/share/doc/ngtcp2/README.rst +385 -0
- package/android/install/wolfssl-android/arm64-v8a/bin/wolfssl-config +117 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/callbacks.h +93 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test.h +7073 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test_sm.h +2913 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/crl.h +58 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/error-ssl.h +280 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ocsp.h +191 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/aes.h +117 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1.h +315 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1t.h +30 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bio.h +237 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bn.h +332 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/buffer.h +57 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/camellia.h +27 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cmac.h +66 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cms.h +26 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/compat_types.h +70 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/conf.h +117 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/crypto.h +171 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/des.h +124 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dh.h +144 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dsa.h +164 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec.h +525 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec25519.h +46 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec448.h +46 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdh.h +49 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdsa.h +87 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed25519.h +49 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed448.h +49 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/engine.h +9 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/err.h +84 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/evp.h +1540 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/fips_rand.h +125 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/hmac.h +98 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/kdf.h +45 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/lhash.h +64 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md4.h +66 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md5.h +108 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/modes.h +45 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/obj_mac.h +92 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/objects.h +86 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ocsp.h +108 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslconf.h +8 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslv.h +78 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ossl_typ.h +32 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pem.h +301 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs12.h +57 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs7.h +110 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rand.h +38 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rc4.h +64 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ripemd.h +58 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rsa.h +291 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/safestack.h +40 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha.h +331 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha3.h +158 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/srp.h +33 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl.h +1923 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl23.h +1 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/stack.h +61 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/tls1.h +64 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/txt_db.h +60 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ui.h +2 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509.h +227 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509_vfy.h +50 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509v3.h +237 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/options.h +273 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/quic.h +310 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer.h +359 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer_error.h +151 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ssl.h +6300 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/test.h +4989 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/version.h +40 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/aes.h +1074 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/arc4.h +69 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ascon.h +109 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn.h +2855 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2.h +108 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/camellia.h +116 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha.h +133 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cmac.h +168 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/coding.h +107 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/compress.h +60 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cpuid.h +153 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve25519.h +225 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve448.h +151 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/des3.h +167 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dh.h +210 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dsa.h +121 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ecc.h +1074 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/eccsi.h +176 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed25519.h +239 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed448.h +214 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/falcon.h +180 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_448.h +122 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fips_test.h +131 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_448.h +84 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hash.h +296 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hmac.h +231 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hpke.h +145 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/integer.h +449 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/kdf.h +199 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/lms.h +202 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/logging.h +588 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md2.h +83 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md4.h +77 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md5.h +141 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mem_track.h +968 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/memory.h +545 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/misc.h +214 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mlkem.h +377 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/poly1305.h +207 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/random.h +300 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rc2.h +68 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ripemd.h +67 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rsa.h +494 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sakke.h +228 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/settings.h +4762 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha.h +237 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha256.h +360 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha3.h +274 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha512.h +372 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/signature.h +87 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/siphash.h +101 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm2.h +27 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm3.h +27 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm4.h +27 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sphincs.h +167 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/srp.h +313 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/tfm.h +941 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/types.h +2383 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/visibility.h +97 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/xmss.h +203 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfio.h +1035 -0
- package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.a +0 -0
- package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.la +41 -0
- package/android/install/wolfssl-android/arm64-v8a/lib/pkgconfig/wolfssl.pc +11 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/QUIC.md +117 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/README.txt +8 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_client.c +245 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_server.c +331 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/client.c +4885 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoclient.c +341 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoserver.c +498 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client.c +78 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server.c +83 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/server.c +4124 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/tls_bench.c +2357 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/taoCert.txt +176 -0
- package/android/install/wolfssl-android/armeabi-v7a/bin/wolfssl-config +117 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/callbacks.h +93 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test.h +7073 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test_sm.h +2913 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/crl.h +58 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/error-ssl.h +280 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ocsp.h +191 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/aes.h +117 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1.h +315 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1t.h +30 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bio.h +237 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bn.h +332 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/buffer.h +57 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/camellia.h +27 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cmac.h +66 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cms.h +26 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/compat_types.h +70 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/conf.h +117 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/crypto.h +171 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/des.h +124 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dh.h +144 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dsa.h +164 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec.h +525 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec25519.h +46 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec448.h +46 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdh.h +49 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdsa.h +87 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed25519.h +49 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed448.h +49 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/engine.h +9 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/err.h +84 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/evp.h +1540 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/fips_rand.h +125 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/hmac.h +98 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/kdf.h +45 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/lhash.h +64 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md4.h +66 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md5.h +108 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/modes.h +45 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/obj_mac.h +92 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/objects.h +86 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ocsp.h +108 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslconf.h +8 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslv.h +78 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ossl_typ.h +32 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pem.h +301 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs12.h +57 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs7.h +110 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rand.h +38 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rc4.h +64 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ripemd.h +58 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rsa.h +291 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/safestack.h +40 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha.h +331 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha3.h +158 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/srp.h +33 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl.h +1923 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl23.h +1 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/stack.h +61 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/tls1.h +64 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/txt_db.h +60 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ui.h +2 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509.h +227 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509_vfy.h +50 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509v3.h +237 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/options.h +261 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/quic.h +310 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer.h +359 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer_error.h +151 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ssl.h +6300 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/test.h +4989 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/version.h +40 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/aes.h +1074 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/arc4.h +69 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ascon.h +109 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn.h +2855 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2.h +108 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/camellia.h +116 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha.h +133 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cmac.h +168 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/coding.h +107 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/compress.h +60 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cpuid.h +153 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve25519.h +225 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve448.h +151 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/des3.h +167 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dh.h +210 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dsa.h +121 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ecc.h +1074 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/eccsi.h +176 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed25519.h +239 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed448.h +214 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/falcon.h +180 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_448.h +122 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fips_test.h +131 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_448.h +84 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hash.h +296 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hmac.h +231 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hpke.h +145 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/integer.h +449 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/kdf.h +199 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/lms.h +202 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/logging.h +588 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md2.h +83 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md4.h +77 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md5.h +141 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mem_track.h +968 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/memory.h +545 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/misc.h +214 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mlkem.h +377 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/poly1305.h +207 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/random.h +300 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rc2.h +68 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ripemd.h +67 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rsa.h +494 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sakke.h +228 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/settings.h +4762 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha.h +237 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha256.h +360 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha3.h +274 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha512.h +372 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/signature.h +87 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/siphash.h +101 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm2.h +27 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm3.h +27 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm4.h +27 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sphincs.h +167 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/srp.h +313 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/tfm.h +941 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/types.h +2383 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/visibility.h +97 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/xmss.h +203 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfio.h +1035 -0
- package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.a +0 -0
- package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.la +41 -0
- package/android/install/wolfssl-android/armeabi-v7a/lib/pkgconfig/wolfssl.pc +11 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/QUIC.md +117 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/README.txt +8 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_client.c +245 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_server.c +331 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/client.c +4885 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoclient.c +341 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoserver.c +498 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client.c +78 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server.c +83 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/server.c +4124 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/tls_bench.c +2357 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/taoCert.txt +176 -0
- package/android/install/wolfssl-android/x86_64/bin/wolfssl-config +117 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/callbacks.h +93 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test.h +7073 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test_sm.h +2913 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/crl.h +58 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/error-ssl.h +280 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/ocsp.h +191 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/aes.h +117 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1.h +315 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1t.h +30 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bio.h +237 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bn.h +332 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/buffer.h +57 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/camellia.h +27 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cmac.h +66 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cms.h +26 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/compat_types.h +70 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/conf.h +117 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/crypto.h +171 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/des.h +124 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dh.h +144 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dsa.h +164 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec.h +525 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec25519.h +46 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec448.h +46 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdh.h +49 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdsa.h +87 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed25519.h +49 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed448.h +49 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/engine.h +9 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/err.h +84 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/evp.h +1540 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/fips_rand.h +125 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/hmac.h +98 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/kdf.h +45 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/lhash.h +64 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md4.h +66 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md5.h +108 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/modes.h +45 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/obj_mac.h +92 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/objects.h +86 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ocsp.h +108 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslconf.h +8 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslv.h +78 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ossl_typ.h +32 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pem.h +301 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs12.h +57 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs7.h +110 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rand.h +38 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rc4.h +64 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ripemd.h +58 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rsa.h +291 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/safestack.h +40 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha.h +331 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha3.h +158 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/srp.h +33 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl.h +1923 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl23.h +1 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/stack.h +61 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/tls1.h +64 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/txt_db.h +60 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ui.h +2 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509.h +227 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509_vfy.h +50 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509v3.h +237 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/options.h +273 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/quic.h +310 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer.h +359 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer_error.h +151 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/ssl.h +6300 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/test.h +4989 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/version.h +40 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/aes.h +1074 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/arc4.h +69 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ascon.h +109 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn.h +2855 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2.h +108 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/camellia.h +116 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha.h +133 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cmac.h +168 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/coding.h +107 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/compress.h +60 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cpuid.h +153 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve25519.h +225 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve448.h +151 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/des3.h +167 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dh.h +210 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dsa.h +121 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ecc.h +1074 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/eccsi.h +176 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed25519.h +239 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed448.h +214 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/falcon.h +180 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_448.h +122 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fips_test.h +131 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_448.h +84 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hash.h +296 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hmac.h +231 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hpke.h +145 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/integer.h +449 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/kdf.h +199 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/lms.h +202 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/logging.h +588 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md2.h +83 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md4.h +77 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md5.h +141 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mem_track.h +968 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/memory.h +545 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/misc.h +214 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mlkem.h +377 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/poly1305.h +207 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/random.h +300 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rc2.h +68 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ripemd.h +67 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rsa.h +494 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sakke.h +228 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/settings.h +4762 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha.h +237 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha256.h +360 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha3.h +274 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha512.h +372 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/signature.h +87 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/siphash.h +101 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm2.h +27 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm3.h +27 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm4.h +27 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sphincs.h +167 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/srp.h +313 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/tfm.h +941 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/types.h +2383 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/visibility.h +97 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/xmss.h +203 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfio.h +1035 -0
- package/android/install/wolfssl-android/x86_64/lib/libwolfssl.a +0 -0
- package/android/install/wolfssl-android/x86_64/lib/libwolfssl.la +41 -0
- package/android/install/wolfssl-android/x86_64/lib/pkgconfig/wolfssl.pc +11 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/QUIC.md +117 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/README.txt +8 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_client.c +245 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_server.c +331 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/client.c +4885 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoclient.c +341 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoserver.c +498 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client.c +78 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server.c +83 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/server.c +4124 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/tls_bench.c +2357 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/taoCert.txt +176 -0
- package/android/src/main/cpp/CMakeLists.txt +19 -27
- package/android/src/main/cpp/ngtcp2_jni.cpp +30 -36
- package/android/src/main/kotlin/ai/annadata/mqttquic/MqttQuicPlugin.kt +15 -0
- package/android/src/main/kotlin/ai/annadata/mqttquic/client/MQTTClient.kt +6 -2
- package/build-native.sh +397 -0
- package/deps-versions.sh +25 -0
- package/dist/esm/definitions.d.ts +20 -0
- package/dist/esm/definitions.d.ts.map +1 -1
- package/dist/esm/web.d.ts +26 -3
- package/dist/esm/web.d.ts.map +1 -1
- package/dist/esm/web.js +230 -10
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +11363 -13
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +11364 -14
- package/dist/plugin.js.map +1 -1
- package/docs/ARCHITECTURAL_ANALYSIS.md +710 -0
- package/docs/CAPACITOR_MQTT_QUIC_PRODUCTION_PLUGIN.md +190 -0
- package/docs/CAPACITOR_VERSION_SUPPORT.md +65 -0
- package/docs/IMPLEMENTATION_SUMMARY.md +246 -0
- package/docs/MQTT5_CLIENT_COMPLIANCE.md +48 -0
- package/docs/MQTT5_IMPLEMENTATION_COMPLETE.md +178 -0
- package/docs/MQTT_VERSION_ANALYSIS.md +233 -0
- package/docs/NGTCP2_IMPLEMENTATION_STATUS.md +214 -0
- package/docs/NGTCP2_INTEGRATION_PLAN.md +597 -0
- package/docs/P0_P1_CHANGELOG.md +79 -0
- package/docs/PRODUCTION_PUBLISH_STEPS.md +161 -0
- package/docs/PROJECT_OVERVIEW.md +193 -0
- package/ios/.swiftpm/xcode/xcuserdata/annadata.xcuserdatad/xcschemes/xcschememanagement.plist +1 -1
- package/ios/NGTCP2_BUILD_INSTRUCTIONS.md +12 -0
- package/ios/Sources/MqttQuicPlugin/MqttQuicPlugin.swift +6 -0
- package/ios/Sources/MqttQuicPlugin/QUIC/NGTCP2Bridge.mm +6 -0
- package/ios/build-openssl.sh +1 -1
- package/ios/libs/MqttQuicLibs.xcframework/ios-arm64/libmqttquic_native_device.a +0 -0
- package/ios/libs/MqttQuicLibs.xcframework/ios-arm64_x86_64-simulator/libmqttquic_native_simulator.a +0 -0
- package/ios/libs/libnghttp3.a +0 -0
- package/ios/libs/libngtcp2.a +0 -0
- package/ios/libs/libngtcp2_crypto_wolfssl.a +0 -0
- package/ios/libs/libwolfssl.a +0 -0
- package/ios/libs-simulator/libnghttp3.a +0 -0
- package/ios/libs-simulator/libngtcp2.a +0 -0
- package/ios/libs-simulator/libngtcp2_crypto_wolfssl.a +0 -0
- package/ios/libs-simulator/libwolfssl.a +0 -0
- package/ios/libs-simulator-x86_64/libnghttp3.a +0 -0
- package/ios/libs-simulator-x86_64/libngtcp2.a +0 -0
- package/ios/libs-simulator-x86_64/libngtcp2_crypto_wolfssl.a +0 -0
- package/ios/libs-simulator-x86_64/libwolfssl.a +0 -0
- package/package.json +22 -8
- package/ios/include/ngtcp2/ngtcp2_crypto_quictls.h +0 -147
- package/ios/include/openssl/aes.h +0 -111
- package/ios/include/openssl/asn1.h +0 -1131
- package/ios/include/openssl/asn1_mac.h +0 -10
- package/ios/include/openssl/asn1err.h +0 -140
- package/ios/include/openssl/asn1t.h +0 -946
- package/ios/include/openssl/async.h +0 -96
- package/ios/include/openssl/asyncerr.h +0 -29
- package/ios/include/openssl/bio.h +0 -887
- package/ios/include/openssl/bioerr.h +0 -65
- package/ios/include/openssl/blowfish.h +0 -78
- package/ios/include/openssl/bn.h +0 -584
- package/ios/include/openssl/bnerr.h +0 -47
- package/ios/include/openssl/buffer.h +0 -62
- package/ios/include/openssl/buffererr.h +0 -25
- package/ios/include/openssl/camellia.h +0 -117
- package/ios/include/openssl/cast.h +0 -71
- package/ios/include/openssl/cmac.h +0 -52
- package/ios/include/openssl/cmp.h +0 -597
- package/ios/include/openssl/cmp_util.h +0 -56
- package/ios/include/openssl/cmperr.h +0 -116
- package/ios/include/openssl/cms.h +0 -493
- package/ios/include/openssl/cmserr.h +0 -124
- package/ios/include/openssl/comp.h +0 -59
- package/ios/include/openssl/comperr.h +0 -31
- package/ios/include/openssl/conf.h +0 -214
- package/ios/include/openssl/conf_api.h +0 -46
- package/ios/include/openssl/conferr.h +0 -52
- package/ios/include/openssl/configuration.h +0 -149
- package/ios/include/openssl/conftypes.h +0 -44
- package/ios/include/openssl/core.h +0 -233
- package/ios/include/openssl/core_dispatch.h +0 -960
- package/ios/include/openssl/core_names.h +0 -561
- package/ios/include/openssl/core_object.h +0 -41
- package/ios/include/openssl/crmf.h +0 -227
- package/ios/include/openssl/crmferr.h +0 -50
- package/ios/include/openssl/crypto.h +0 -558
- package/ios/include/openssl/cryptoerr.h +0 -55
- package/ios/include/openssl/cryptoerr_legacy.h +0 -1466
- package/ios/include/openssl/ct.h +0 -573
- package/ios/include/openssl/cterr.h +0 -45
- package/ios/include/openssl/decoder.h +0 -133
- package/ios/include/openssl/decodererr.h +0 -28
- package/ios/include/openssl/des.h +0 -211
- package/ios/include/openssl/dh.h +0 -335
- package/ios/include/openssl/dherr.h +0 -58
- package/ios/include/openssl/dsa.h +0 -280
- package/ios/include/openssl/dsaerr.h +0 -44
- package/ios/include/openssl/dtls1.h +0 -57
- package/ios/include/openssl/e_os2.h +0 -308
- package/ios/include/openssl/ebcdic.h +0 -39
- package/ios/include/openssl/ec.h +0 -1572
- package/ios/include/openssl/ecdh.h +0 -10
- package/ios/include/openssl/ecdsa.h +0 -10
- package/ios/include/openssl/ecerr.h +0 -104
- package/ios/include/openssl/encoder.h +0 -124
- package/ios/include/openssl/encodererr.h +0 -28
- package/ios/include/openssl/engine.h +0 -833
- package/ios/include/openssl/engineerr.h +0 -63
- package/ios/include/openssl/err.h +0 -504
- package/ios/include/openssl/ess.h +0 -128
- package/ios/include/openssl/esserr.h +0 -32
- package/ios/include/openssl/evp.h +0 -2175
- package/ios/include/openssl/evperr.h +0 -134
- package/ios/include/openssl/fips_names.h +0 -77
- package/ios/include/openssl/fipskey.h +0 -36
- package/ios/include/openssl/hmac.h +0 -62
- package/ios/include/openssl/http.h +0 -109
- package/ios/include/openssl/httperr.h +0 -55
- package/ios/include/openssl/idea.h +0 -82
- package/ios/include/openssl/kdf.h +0 -138
- package/ios/include/openssl/kdferr.h +0 -16
- package/ios/include/openssl/lhash.h +0 -331
- package/ios/include/openssl/macros.h +0 -325
- package/ios/include/openssl/md2.h +0 -56
- package/ios/include/openssl/md4.h +0 -63
- package/ios/include/openssl/md5.h +0 -62
- package/ios/include/openssl/mdc2.h +0 -55
- package/ios/include/openssl/modes.h +0 -219
- package/ios/include/openssl/obj_mac.h +0 -5481
- package/ios/include/openssl/objects.h +0 -183
- package/ios/include/openssl/objectserr.h +0 -28
- package/ios/include/openssl/ocsp.h +0 -483
- package/ios/include/openssl/ocsperr.h +0 -53
- package/ios/include/openssl/opensslconf.h +0 -17
- package/ios/include/openssl/opensslv.h +0 -114
- package/ios/include/openssl/ossl_typ.h +0 -16
- package/ios/include/openssl/param_build.h +0 -63
- package/ios/include/openssl/params.h +0 -160
- package/ios/include/openssl/pem.h +0 -541
- package/ios/include/openssl/pem2.h +0 -19
- package/ios/include/openssl/pemerr.h +0 -58
- package/ios/include/openssl/pkcs12.h +0 -353
- package/ios/include/openssl/pkcs12err.h +0 -45
- package/ios/include/openssl/pkcs7.h +0 -430
- package/ios/include/openssl/pkcs7err.h +0 -63
- package/ios/include/openssl/prov_ssl.h +0 -34
- package/ios/include/openssl/proverr.h +0 -149
- package/ios/include/openssl/provider.h +0 -60
- package/ios/include/openssl/quic.h +0 -19
- package/ios/include/openssl/rand.h +0 -125
- package/ios/include/openssl/randerr.h +0 -69
- package/ios/include/openssl/rc2.h +0 -68
- package/ios/include/openssl/rc4.h +0 -47
- package/ios/include/openssl/rc5.h +0 -79
- package/ios/include/openssl/ripemd.h +0 -59
- package/ios/include/openssl/rsa.h +0 -610
- package/ios/include/openssl/rsaerr.h +0 -107
- package/ios/include/openssl/safestack.h +0 -297
- package/ios/include/openssl/seed.h +0 -113
- package/ios/include/openssl/self_test.h +0 -94
- package/ios/include/openssl/sha.h +0 -138
- package/ios/include/openssl/srp.h +0 -285
- package/ios/include/openssl/srtp.h +0 -56
- package/ios/include/openssl/ssl.h +0 -2671
- package/ios/include/openssl/ssl2.h +0 -30
- package/ios/include/openssl/ssl3.h +0 -347
- package/ios/include/openssl/sslerr.h +0 -348
- package/ios/include/openssl/sslerr_legacy.h +0 -468
- package/ios/include/openssl/stack.h +0 -90
- package/ios/include/openssl/store.h +0 -369
- package/ios/include/openssl/storeerr.h +0 -49
- package/ios/include/openssl/symhacks.h +0 -39
- package/ios/include/openssl/tls1.h +0 -1186
- package/ios/include/openssl/trace.h +0 -312
- package/ios/include/openssl/ts.h +0 -505
- package/ios/include/openssl/tserr.h +0 -67
- package/ios/include/openssl/txt_db.h +0 -63
- package/ios/include/openssl/types.h +0 -239
- package/ios/include/openssl/ui.h +0 -407
- package/ios/include/openssl/uierr.h +0 -38
- package/ios/include/openssl/whrlpool.h +0 -62
- package/ios/include/openssl/x509.h +0 -1279
- package/ios/include/openssl/x509_vfy.h +0 -894
- package/ios/include/openssl/x509err.h +0 -69
- package/ios/include/openssl/x509v3.h +0 -1453
- package/ios/include/openssl/x509v3err.h +0 -93
- package/ios/libs/libcrypto.a +0 -0
- package/ios/libs/libngtcp2_crypto_quictls.a +0 -0
- package/ios/libs/libssl.a +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* pkcs12.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
|
+
#ifndef WOLF_CRYPT_PKCS12_H
|
|
24
|
+
#define WOLF_CRYPT_PKCS12_H
|
|
25
|
+
|
|
26
|
+
#include <wolfssl/wolfcrypt/types.h>
|
|
27
|
+
|
|
28
|
+
#ifdef __cplusplus
|
|
29
|
+
extern "C" {
|
|
30
|
+
#endif
|
|
31
|
+
|
|
32
|
+
typedef struct WC_PKCS12 WC_PKCS12;
|
|
33
|
+
|
|
34
|
+
typedef struct WC_DerCertList { /* dereferenced in ssl.c */
|
|
35
|
+
byte* buffer;
|
|
36
|
+
word32 bufferSz;
|
|
37
|
+
struct WC_DerCertList* next;
|
|
38
|
+
} WC_DerCertList;
|
|
39
|
+
|
|
40
|
+
/* default values for creating PKCS12 */
|
|
41
|
+
enum {
|
|
42
|
+
WC_PKCS12_ITT_DEFAULT = 2048,
|
|
43
|
+
WC_PKCS12_VERSION_DEFAULT = 3,
|
|
44
|
+
WC_PKCS12_MAC_DEFAULT = 1
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
WOLFSSL_API WC_PKCS12* wc_PKCS12_new(void);
|
|
48
|
+
WOLFSSL_API WC_PKCS12* wc_PKCS12_new_ex(void* heap);
|
|
49
|
+
WOLFSSL_API void wc_PKCS12_free(WC_PKCS12* pkcs12);
|
|
50
|
+
WOLFSSL_API int wc_d2i_PKCS12(const byte* der, word32 derSz, WC_PKCS12* pkcs12);
|
|
51
|
+
#ifndef NO_FILESYSTEM
|
|
52
|
+
WOLFSSL_API int wc_d2i_PKCS12_fp(const char* file, WC_PKCS12** pkcs12);
|
|
53
|
+
#endif
|
|
54
|
+
WOLFSSL_API int wc_i2d_PKCS12(WC_PKCS12* pkcs12, byte** der, int* derSz);
|
|
55
|
+
WOLFSSL_API int wc_PKCS12_parse(WC_PKCS12* pkcs12, const char* psw,
|
|
56
|
+
byte** pkey, word32* pkeySz, byte** cert, word32* certSz,
|
|
57
|
+
WC_DerCertList** ca);
|
|
58
|
+
WOLFSSL_API int wc_PKCS12_parse_ex(WC_PKCS12* pkcs12, const char* psw,
|
|
59
|
+
byte** pkey, word32* pkeySz, byte** cert, word32* certSz,
|
|
60
|
+
WC_DerCertList** ca, int keepKeyHeader);
|
|
61
|
+
WOLFSSL_LOCAL int wc_PKCS12_verify_ex(WC_PKCS12* pkcs12,
|
|
62
|
+
const byte* psw, word32 pswSz);
|
|
63
|
+
WOLFSSL_API WC_PKCS12* wc_PKCS12_create(char* pass, word32 passSz,
|
|
64
|
+
char* name, byte* key, word32 keySz, byte* cert, word32 certSz,
|
|
65
|
+
WC_DerCertList* ca, int nidKey, int nidCert, int iter, int macIter,
|
|
66
|
+
int keyType, void* heap);
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
WOLFSSL_LOCAL int wc_PKCS12_SetHeap(WC_PKCS12* pkcs12, void* heap);
|
|
70
|
+
WOLFSSL_LOCAL void* wc_PKCS12_GetHeap(WC_PKCS12* pkcs12);
|
|
71
|
+
|
|
72
|
+
WOLFSSL_API void wc_FreeCertList(WC_DerCertList* list, void* heap);
|
|
73
|
+
|
|
74
|
+
#ifdef __cplusplus
|
|
75
|
+
} /* extern "C" */
|
|
76
|
+
#endif
|
|
77
|
+
|
|
78
|
+
#endif /* WOLF_CRYPT_PKCS12_H */
|
|
79
|
+
|
|
@@ -0,0 +1,578 @@
|
|
|
1
|
+
/* pkcs7.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
|
+
\file wolfssl/wolfcrypt/pkcs7.h
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
#ifndef WOLF_CRYPT_PKCS7_H
|
|
27
|
+
#define WOLF_CRYPT_PKCS7_H
|
|
28
|
+
|
|
29
|
+
#include <wolfssl/wolfcrypt/types.h>
|
|
30
|
+
|
|
31
|
+
#ifdef HAVE_PKCS7
|
|
32
|
+
|
|
33
|
+
#ifndef NO_ASN
|
|
34
|
+
#include <wolfssl/wolfcrypt/asn.h>
|
|
35
|
+
#endif
|
|
36
|
+
#include <wolfssl/wolfcrypt/asn_public.h>
|
|
37
|
+
#include <wolfssl/wolfcrypt/random.h>
|
|
38
|
+
#ifndef NO_AES
|
|
39
|
+
#include <wolfssl/wolfcrypt/aes.h>
|
|
40
|
+
#endif
|
|
41
|
+
#ifndef NO_DES3
|
|
42
|
+
#include <wolfssl/wolfcrypt/des3.h>
|
|
43
|
+
#endif
|
|
44
|
+
#include <wolfssl/wolfcrypt/wc_encrypt.h>
|
|
45
|
+
|
|
46
|
+
#ifdef __cplusplus
|
|
47
|
+
extern "C" {
|
|
48
|
+
#endif
|
|
49
|
+
|
|
50
|
+
/* Max number of certificates that PKCS7 structure can parse */
|
|
51
|
+
#ifndef MAX_PKCS7_CERTS
|
|
52
|
+
#ifdef OPENSSL_ALL
|
|
53
|
+
#define MAX_PKCS7_CERTS 15
|
|
54
|
+
#else
|
|
55
|
+
#define MAX_PKCS7_CERTS 4
|
|
56
|
+
#endif
|
|
57
|
+
#endif
|
|
58
|
+
|
|
59
|
+
#ifndef MAX_ORI_TYPE_SZ
|
|
60
|
+
#define MAX_ORI_TYPE_SZ MAX_OID_SZ
|
|
61
|
+
#endif
|
|
62
|
+
#ifndef MAX_ORI_VALUE_SZ
|
|
63
|
+
#define MAX_ORI_VALUE_SZ 512
|
|
64
|
+
#endif
|
|
65
|
+
|
|
66
|
+
#ifndef MAX_SIGNED_ATTRIBS_SZ
|
|
67
|
+
#define MAX_SIGNED_ATTRIBS_SZ 7
|
|
68
|
+
#endif
|
|
69
|
+
|
|
70
|
+
#ifndef MAX_AUTH_ATTRIBS_SZ
|
|
71
|
+
#define MAX_AUTH_ATTRIBS_SZ 7
|
|
72
|
+
#endif
|
|
73
|
+
|
|
74
|
+
#ifndef MAX_UNAUTH_ATTRIBS_SZ
|
|
75
|
+
#define MAX_UNAUTH_ATTRIBS_SZ 7
|
|
76
|
+
#endif
|
|
77
|
+
|
|
78
|
+
/* bitmap flag for attributes */
|
|
79
|
+
#define WOLFSSL_NO_ATTRIBUTES 0x1
|
|
80
|
+
#define WOLFSSL_CONTENT_TYPE_ATTRIBUTE 0x2
|
|
81
|
+
#define WOLFSSL_SIGNING_TIME_ATTRIBUTE 0x4
|
|
82
|
+
#define WOLFSSL_MESSAGE_DIGEST_ATTRIBUTE 0x8
|
|
83
|
+
|
|
84
|
+
enum PKCS7_STATE {
|
|
85
|
+
WC_PKCS7_START = 0,
|
|
86
|
+
|
|
87
|
+
/* decode encrypted */
|
|
88
|
+
WC_PKCS7_STAGE2,
|
|
89
|
+
WC_PKCS7_STAGE3,
|
|
90
|
+
WC_PKCS7_STAGE4,
|
|
91
|
+
WC_PKCS7_STAGE5,
|
|
92
|
+
WC_PKCS7_STAGE6,
|
|
93
|
+
|
|
94
|
+
WC_PKCS7_VERIFY_STAGE2,
|
|
95
|
+
WC_PKCS7_VERIFY_STAGE3,
|
|
96
|
+
WC_PKCS7_VERIFY_STAGE4,
|
|
97
|
+
WC_PKCS7_VERIFY_STAGE5,
|
|
98
|
+
WC_PKCS7_VERIFY_STAGE6,
|
|
99
|
+
WC_PKCS7_VERIFY_STAGE7,
|
|
100
|
+
|
|
101
|
+
/* parse info set */
|
|
102
|
+
WC_PKCS7_INFOSET_START,
|
|
103
|
+
WC_PKCS7_INFOSET_BER,
|
|
104
|
+
WC_PKCS7_INFOSET_STAGE1,
|
|
105
|
+
WC_PKCS7_INFOSET_STAGE2,
|
|
106
|
+
WC_PKCS7_INFOSET_END,
|
|
107
|
+
|
|
108
|
+
/* decode enveloped data */
|
|
109
|
+
WC_PKCS7_ENV_2,
|
|
110
|
+
WC_PKCS7_ENV_3,
|
|
111
|
+
WC_PKCS7_ENV_4,
|
|
112
|
+
WC_PKCS7_ENV_5,
|
|
113
|
+
|
|
114
|
+
/* decode auth enveloped */
|
|
115
|
+
WC_PKCS7_AUTHENV_2,
|
|
116
|
+
WC_PKCS7_AUTHENV_3,
|
|
117
|
+
WC_PKCS7_AUTHENV_4,
|
|
118
|
+
WC_PKCS7_AUTHENV_5,
|
|
119
|
+
WC_PKCS7_AUTHENV_6,
|
|
120
|
+
WC_PKCS7_AUTHENV_ATRB,
|
|
121
|
+
WC_PKCS7_AUTHENV_ATRBEND,
|
|
122
|
+
WC_PKCS7_AUTHENV_7,
|
|
123
|
+
|
|
124
|
+
/* decryption state types */
|
|
125
|
+
WC_PKCS7_DECRYPT_KTRI,
|
|
126
|
+
WC_PKCS7_DECRYPT_KTRI_2,
|
|
127
|
+
WC_PKCS7_DECRYPT_KTRI_3,
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
WC_PKCS7_DECRYPT_KARI,
|
|
131
|
+
WC_PKCS7_DECRYPT_KEKRI,
|
|
132
|
+
WC_PKCS7_DECRYPT_PWRI,
|
|
133
|
+
WC_PKCS7_DECRYPT_ORI,
|
|
134
|
+
|
|
135
|
+
WC_PKCS7_DECRYPT_DONE
|
|
136
|
+
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
enum Pkcs7_Misc {
|
|
140
|
+
PKCS7_NONCE_SZ = 16,
|
|
141
|
+
MAX_ENCRYPTED_KEY_SZ = 512, /* max enc. key size, RSA <= 4096 */
|
|
142
|
+
MAX_CONTENT_KEY_LEN = 32, /* highest current cipher is AES-256-CBC */
|
|
143
|
+
MAX_CONTENT_IV_SIZE = 16, /* highest current is AES128 */
|
|
144
|
+
#ifndef NO_AES
|
|
145
|
+
MAX_CONTENT_BLOCK_LEN = WC_AES_BLOCK_SIZE,
|
|
146
|
+
#else
|
|
147
|
+
MAX_CONTENT_BLOCK_LEN = DES_BLOCK_SIZE,
|
|
148
|
+
#endif
|
|
149
|
+
MAX_RECIP_SZ = MAX_VERSION_SZ +
|
|
150
|
+
MAX_SEQ_SZ + WC_ASN_NAME_MAX + MAX_SN_SZ +
|
|
151
|
+
MAX_SEQ_SZ + MAX_ALGO_SZ + 1 + MAX_ENCRYPTED_KEY_SZ,
|
|
152
|
+
WOLF_ENUM_DUMMY_LAST_ELEMENT(Pkcs7_Misc)
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
enum Cms_Options {
|
|
156
|
+
CMS_SKID = 1,
|
|
157
|
+
CMS_ISSUER_AND_SERIAL_NUMBER = 2
|
|
158
|
+
};
|
|
159
|
+
#define DEGENERATE_SID 3
|
|
160
|
+
|
|
161
|
+
/* CMS/PKCS#7 RecipientInfo types, RFC 5652, Section 6.2 */
|
|
162
|
+
enum Pkcs7_RecipientInfo_Types {
|
|
163
|
+
PKCS7_KTRI = 0,
|
|
164
|
+
PKCS7_KARI = 1,
|
|
165
|
+
PKCS7_KEKRI = 2,
|
|
166
|
+
PKCS7_PWRI = 3,
|
|
167
|
+
PKCS7_ORI = 4
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
typedef struct PKCS7Attrib {
|
|
171
|
+
const byte* oid;
|
|
172
|
+
word32 oidSz;
|
|
173
|
+
const byte* value;
|
|
174
|
+
word32 valueSz;
|
|
175
|
+
} PKCS7Attrib;
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
typedef struct PKCS7DecodedAttrib {
|
|
179
|
+
struct PKCS7DecodedAttrib* next;
|
|
180
|
+
byte* oid;
|
|
181
|
+
word32 oidSz;
|
|
182
|
+
byte* value;
|
|
183
|
+
word32 valueSz;
|
|
184
|
+
} PKCS7DecodedAttrib;
|
|
185
|
+
|
|
186
|
+
typedef struct PKCS7State PKCS7State;
|
|
187
|
+
typedef struct Pkcs7Cert Pkcs7Cert;
|
|
188
|
+
typedef struct Pkcs7EncodedRecip Pkcs7EncodedRecip;
|
|
189
|
+
typedef struct PKCS7SignerInfo PKCS7SignerInfo;
|
|
190
|
+
typedef struct wc_PKCS7 wc_PKCS7;
|
|
191
|
+
typedef struct wc_PKCS7 wc_PKCS7_SIGNED;
|
|
192
|
+
|
|
193
|
+
#ifndef OPENSSL_COEXIST
|
|
194
|
+
#define PKCS7 wc_PKCS7
|
|
195
|
+
#define PKCS7_SIGNED wc_PKCS7_SIGNED
|
|
196
|
+
#endif
|
|
197
|
+
|
|
198
|
+
/* OtherRecipientInfo decrypt callback prototype */
|
|
199
|
+
typedef int (*CallbackOriDecrypt)(wc_PKCS7* pkcs7, byte* oriType, word32 oriTypeSz,
|
|
200
|
+
byte* oriValue, word32 oriValueSz,
|
|
201
|
+
byte* decryptedKey, word32* decryptedKeySz,
|
|
202
|
+
void* ctx);
|
|
203
|
+
typedef int (*CallbackOriEncrypt)(wc_PKCS7* pkcs7, byte* cek, word32 cekSz,
|
|
204
|
+
byte* oriType, word32* oriTypeSz,
|
|
205
|
+
byte* oriValue, word32* oriValueSz,
|
|
206
|
+
void* ctx);
|
|
207
|
+
typedef int (*CallbackDecryptContent)(wc_PKCS7* pkcs7, int encryptOID,
|
|
208
|
+
byte* iv, int ivSz, byte* aad, word32 aadSz,
|
|
209
|
+
byte* authTag, word32 authTagSz, byte* in,
|
|
210
|
+
int inSz, byte* out, void* ctx);
|
|
211
|
+
typedef int (*CallbackWrapCEK)(wc_PKCS7* pkcs7, byte* cek, word32 cekSz,
|
|
212
|
+
byte* keyId, word32 keyIdSz,
|
|
213
|
+
byte* originKey, word32 originKeySz,
|
|
214
|
+
byte* out, word32 outSz,
|
|
215
|
+
int keyWrapAlgo, int type, int dir);
|
|
216
|
+
typedef int (*CallbackAESKeyWrapUnwrap)(const byte* key, word32 keySz,
|
|
217
|
+
const byte* in, word32 inSz, int wrap, byte* out, word32 outSz);
|
|
218
|
+
|
|
219
|
+
/* Callbacks for supporting different stream cases */
|
|
220
|
+
typedef int (*CallbackGetContent)(wc_PKCS7* pkcs7, byte** content, void* ctx);
|
|
221
|
+
typedef int (*CallbackStreamOut)(wc_PKCS7* pkcs7, const byte* output,
|
|
222
|
+
word32 outputSz, void* ctx);
|
|
223
|
+
|
|
224
|
+
#if defined(HAVE_PKCS7_RSA_RAW_SIGN_CALLBACK) && !defined(NO_RSA)
|
|
225
|
+
/* RSA sign raw digest callback, user builds DigestInfo */
|
|
226
|
+
typedef int (*CallbackRsaSignRawDigest)(wc_PKCS7* pkcs7, byte* digest,
|
|
227
|
+
word32 digestSz, byte* out, word32 outSz,
|
|
228
|
+
byte* privateKey, word32 privateKeySz,
|
|
229
|
+
int devId, int hashOID);
|
|
230
|
+
#endif
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
/* Public Structure Warning:
|
|
234
|
+
* Existing members must not be changed to maintain backwards compatibility!
|
|
235
|
+
*/
|
|
236
|
+
struct wc_PKCS7 {
|
|
237
|
+
WC_RNG* rng;
|
|
238
|
+
PKCS7Attrib* signedAttribs;
|
|
239
|
+
byte* content; /* inner content, not owner */
|
|
240
|
+
byte* contentDynamic; /* content if constructed OCTET_STRING */
|
|
241
|
+
byte* singleCert; /* recipient cert, DER, not owner */
|
|
242
|
+
const byte* issuer; /* issuer name of singleCert */
|
|
243
|
+
byte* privateKey; /* private key, DER, not owner */
|
|
244
|
+
void* heap; /* heap hint for dynamic memory */
|
|
245
|
+
#ifdef ASN_BER_TO_DER
|
|
246
|
+
byte* der; /* DER encoded version of message */
|
|
247
|
+
word32 derSz;
|
|
248
|
+
byte indefDepth;
|
|
249
|
+
CallbackGetContent getContentCb;
|
|
250
|
+
CallbackStreamOut streamOutCb;
|
|
251
|
+
void* streamCtx; /* passed to getcontentCb and streamOutCb */
|
|
252
|
+
#endif
|
|
253
|
+
WC_BITFIELD encodeStream:1; /* use BER when encoding */
|
|
254
|
+
WC_BITFIELD noCerts:1; /* if certificates should be added into bundle
|
|
255
|
+
during creation */
|
|
256
|
+
byte* cert[MAX_PKCS7_CERTS]; /* array of certs parsed from bundle */
|
|
257
|
+
byte* verifyCert; /* cert from array used for verify */
|
|
258
|
+
word32 verifyCertSz;
|
|
259
|
+
|
|
260
|
+
/* Encrypted-data Content Type */
|
|
261
|
+
byte* encryptionKey; /* block cipher encryption key */
|
|
262
|
+
PKCS7Attrib* unprotectedAttribs; /* optional */
|
|
263
|
+
PKCS7DecodedAttrib* decodedAttrib; /* linked list of decoded attribs */
|
|
264
|
+
|
|
265
|
+
/* Enveloped-data optional ukm, not owner */
|
|
266
|
+
byte* ukm;
|
|
267
|
+
word32 ukmSz;
|
|
268
|
+
|
|
269
|
+
word32 encryptionKeySz; /* size of key buffer, bytes */
|
|
270
|
+
word32 unprotectedAttribsSz;
|
|
271
|
+
word32 contentSz; /* content size */
|
|
272
|
+
word32 singleCertSz; /* size of recipient cert buffer, bytes */
|
|
273
|
+
word32 issuerSz; /* length of issuer name */
|
|
274
|
+
word32 issuerSnSz; /* length of serial number */
|
|
275
|
+
|
|
276
|
+
word32 publicKeySz;
|
|
277
|
+
word32 publicKeyOID; /* key OID (RSAk, ECDSAk, etc) */
|
|
278
|
+
word32 privateKeySz; /* size of private key buffer, bytes */
|
|
279
|
+
word32 signedAttribsSz;
|
|
280
|
+
int contentOID; /* PKCS#7 content type OID sum */
|
|
281
|
+
int hashOID;
|
|
282
|
+
int encryptOID; /* key encryption algorithm OID */
|
|
283
|
+
int keyWrapOID; /* key wrap algorithm OID */
|
|
284
|
+
int keyAgreeOID; /* key agreement algorithm OID */
|
|
285
|
+
int devId; /* device ID for HW based private key */
|
|
286
|
+
byte issuerHash[KEYID_SIZE]; /* hash of all alt Names */
|
|
287
|
+
byte issuerSn[MAX_SN_SZ]; /* singleCert's serial number */
|
|
288
|
+
byte publicKey[MAX_RSA_INT_SZ + MAX_RSA_E_SZ]; /* MAX RSA key size (m + e)*/
|
|
289
|
+
word32 certSz[MAX_PKCS7_CERTS];
|
|
290
|
+
|
|
291
|
+
/* flags - up to 16-bits */
|
|
292
|
+
WC_BITFIELD isDynamic:1;
|
|
293
|
+
WC_BITFIELD noDegenerate:1; /* allow degenerate case in verify function */
|
|
294
|
+
WC_BITFIELD detached:1; /* generate detached SignedData signature bundles */
|
|
295
|
+
|
|
296
|
+
byte contentType[MAX_OID_SZ]; /* custom contentType byte array */
|
|
297
|
+
word32 contentTypeSz; /* size of contentType, bytes */
|
|
298
|
+
|
|
299
|
+
int sidType; /* SignerIdentifier type to use, of type
|
|
300
|
+
Pkcs7_SignerIdentifier_Types, default to
|
|
301
|
+
SID_ISSUER_AND_SERIAL_NUMBER */
|
|
302
|
+
byte issuerSubjKeyId[KEYID_SIZE]; /* SubjectKeyIdentifier of singleCert */
|
|
303
|
+
Pkcs7Cert* certList; /* certificates list for SignedData set */
|
|
304
|
+
Pkcs7EncodedRecip* recipList; /* recipients list */
|
|
305
|
+
byte* cek; /* content encryption key, random, dynamic */
|
|
306
|
+
word32 cekSz; /* size of cek, bytes */
|
|
307
|
+
byte* pass; /* password, for PWRI decryption */
|
|
308
|
+
word32 passSz; /* size of pass, bytes */
|
|
309
|
+
int kekEncryptOID; /* KEK encryption algorithm OID */
|
|
310
|
+
|
|
311
|
+
CallbackOriEncrypt oriEncryptCb; /* ORI encrypt callback */
|
|
312
|
+
CallbackOriDecrypt oriDecryptCb; /* ORI decrypt callback */
|
|
313
|
+
void* oriEncryptCtx; /* ORI encrypt user context ptr */
|
|
314
|
+
void* oriDecryptCtx; /* ORI decrypt user context ptr */
|
|
315
|
+
|
|
316
|
+
PKCS7Attrib* authAttribs; /* authenticated attribs */
|
|
317
|
+
word32 authAttribsSz;
|
|
318
|
+
PKCS7Attrib* unauthAttribs; /* unauthenticated attribs */
|
|
319
|
+
word32 unauthAttribsSz;
|
|
320
|
+
|
|
321
|
+
#ifndef NO_PKCS7_STREAM
|
|
322
|
+
PKCS7State* stream;
|
|
323
|
+
#endif
|
|
324
|
+
word32 state;
|
|
325
|
+
|
|
326
|
+
word16 defaultSignedAttribs; /* set which default signed attribs */
|
|
327
|
+
|
|
328
|
+
byte version; /* 1 for RFC 2315 and 3 for RFC 4108 */
|
|
329
|
+
PKCS7SignerInfo* signerInfo;
|
|
330
|
+
CallbackDecryptContent decryptionCb;
|
|
331
|
+
CallbackWrapCEK wrapCEKCb;
|
|
332
|
+
void* decryptionCtx;
|
|
333
|
+
|
|
334
|
+
byte* signature;
|
|
335
|
+
byte* plainDigest;
|
|
336
|
+
byte* pkcs7Digest;
|
|
337
|
+
word32 signatureSz;
|
|
338
|
+
word32 plainDigestSz;
|
|
339
|
+
word32 pkcs7DigestSz;
|
|
340
|
+
|
|
341
|
+
#ifdef WC_ASN_UNKNOWN_EXT_CB
|
|
342
|
+
wc_UnknownExtCallback unknownExtCallback;
|
|
343
|
+
#endif
|
|
344
|
+
|
|
345
|
+
#if defined(HAVE_PKCS7_RSA_RAW_SIGN_CALLBACK) && !defined(NO_RSA)
|
|
346
|
+
CallbackRsaSignRawDigest rsaSignRawDigestCb;
|
|
347
|
+
#endif
|
|
348
|
+
|
|
349
|
+
/* used by DecodeEnvelopedData with multiple encrypted contents */
|
|
350
|
+
byte* cachedEncryptedContent;
|
|
351
|
+
word32 cachedEncryptedContentSz;
|
|
352
|
+
word32 totalEncryptedContentSz; /* track encrypted content across octets */
|
|
353
|
+
WC_BITFIELD contentCRLF:1; /* have content line endings been converted to CRLF */
|
|
354
|
+
WC_BITFIELD contentIsPkcs7Type:1; /* eContent follows PKCS#7 RFC not CMS */
|
|
355
|
+
WC_BITFIELD hashParamsAbsent:1;
|
|
356
|
+
|
|
357
|
+
/* RFC 5280 section-4.2.1.2 lists a possible method for creating the SKID as
|
|
358
|
+
* a SHA1 hash of the public key, but leaves it open to other methods as
|
|
359
|
+
* long as it is a unique ID. This allows for setting a custom SKID when
|
|
360
|
+
* creating PKCS7 bundles*/
|
|
361
|
+
byte* customSKID;
|
|
362
|
+
word16 customSKIDSz;
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
#if !defined(NO_DES3) || !defined(NO_AES)
|
|
366
|
+
union {
|
|
367
|
+
#ifndef NO_AES
|
|
368
|
+
Aes* aes;
|
|
369
|
+
#endif
|
|
370
|
+
#ifndef NO_DES3
|
|
371
|
+
Des* des;
|
|
372
|
+
Des3* des3;
|
|
373
|
+
#endif
|
|
374
|
+
} decryptKey;
|
|
375
|
+
#endif
|
|
376
|
+
|
|
377
|
+
CallbackAESKeyWrapUnwrap aesKeyWrapUnwrapCb;
|
|
378
|
+
|
|
379
|
+
/* !! NEW DATA MEMBERS MUST BE ADDED AT END !! */
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
WOLFSSL_API wc_PKCS7* wc_PKCS7_New(void* heap, int devId);
|
|
383
|
+
#ifdef WC_ASN_UNKNOWN_EXT_CB
|
|
384
|
+
WOLFSSL_API void wc_PKCS7_SetUnknownExtCallback(wc_PKCS7* pkcs7,
|
|
385
|
+
wc_UnknownExtCallback cb);
|
|
386
|
+
#endif
|
|
387
|
+
WOLFSSL_API int wc_PKCS7_Init(wc_PKCS7* pkcs7, void* heap, int devId);
|
|
388
|
+
WOLFSSL_API int wc_PKCS7_InitWithCert(wc_PKCS7* pkcs7, byte* der, word32 derSz);
|
|
389
|
+
WOLFSSL_API int wc_PKCS7_AddCertificate(wc_PKCS7* pkcs7, byte* der, word32 derSz);
|
|
390
|
+
WOLFSSL_API void wc_PKCS7_Free(wc_PKCS7* pkcs7);
|
|
391
|
+
|
|
392
|
+
WOLFSSL_API int wc_PKCS7_GetAttributeValue(wc_PKCS7* pkcs7, const byte* oid,
|
|
393
|
+
word32 oidSz, byte* out, word32* outSz);
|
|
394
|
+
|
|
395
|
+
WOLFSSL_API int wc_PKCS7_SetSignerIdentifierType(wc_PKCS7* pkcs7, int type);
|
|
396
|
+
WOLFSSL_API int wc_PKCS7_SetContentType(wc_PKCS7* pkcs7, byte* contentType,
|
|
397
|
+
word32 sz);
|
|
398
|
+
WOLFSSL_API int wc_PKCS7_GetPadSize(word32 inputSz, word32 blockSz);
|
|
399
|
+
WOLFSSL_API int wc_PKCS7_PadData(byte* in, word32 inSz, byte* out, word32 outSz,
|
|
400
|
+
word32 blockSz);
|
|
401
|
+
|
|
402
|
+
/* CMS/PKCS#7 Data */
|
|
403
|
+
WOLFSSL_API int wc_PKCS7_EncodeData(wc_PKCS7* pkcs7, byte* output,
|
|
404
|
+
word32 outputSz);
|
|
405
|
+
|
|
406
|
+
/* CMS/PKCS#7 SignedData */
|
|
407
|
+
WOLFSSL_API int wc_PKCS7_SetCustomSKID(wc_PKCS7* pkcs7, const byte* in,
|
|
408
|
+
word16 inSz);
|
|
409
|
+
WOLFSSL_API int wc_PKCS7_SetDetached(wc_PKCS7* pkcs7, word16 flag);
|
|
410
|
+
WOLFSSL_API int wc_PKCS7_NoDefaultSignedAttribs(wc_PKCS7* pkcs7);
|
|
411
|
+
WOLFSSL_API int wc_PKCS7_SetDefaultSignedAttribs(wc_PKCS7* pkcs7, word16 flag);
|
|
412
|
+
WOLFSSL_API int wc_PKCS7_EncodeSignedData(wc_PKCS7* pkcs7,
|
|
413
|
+
byte* output, word32 outputSz);
|
|
414
|
+
WOLFSSL_API int wc_PKCS7_EncodeSignedData_ex(wc_PKCS7* pkcs7, const byte* hashBuf,
|
|
415
|
+
word32 hashSz, byte* outputHead,
|
|
416
|
+
word32* outputHeadSz,
|
|
417
|
+
byte* outputFoot,
|
|
418
|
+
word32* outputFootSz);
|
|
419
|
+
WOLFSSL_API void wc_PKCS7_AllowDegenerate(wc_PKCS7* pkcs7, word16 flag);
|
|
420
|
+
WOLFSSL_API int wc_PKCS7_VerifySignedData(wc_PKCS7* pkcs7,
|
|
421
|
+
byte* pkiMsg, word32 pkiMsgSz);
|
|
422
|
+
WOLFSSL_API int wc_PKCS7_VerifySignedData_ex(wc_PKCS7* pkcs7, const byte* hashBuf,
|
|
423
|
+
word32 hashSz, byte* pkiMsgHead,
|
|
424
|
+
word32 pkiMsgHeadSz, byte* pkiMsgFoot,
|
|
425
|
+
word32 pkiMsgFootSz);
|
|
426
|
+
|
|
427
|
+
WOLFSSL_API int wc_PKCS7_GetSignerSID(wc_PKCS7* pkcs7, byte* out, word32* outSz);
|
|
428
|
+
|
|
429
|
+
/* CMS single-shot API for Signed FirmwarePkgData */
|
|
430
|
+
WOLFSSL_API int wc_PKCS7_EncodeSignedFPD(wc_PKCS7* pkcs7, byte* privateKey,
|
|
431
|
+
word32 privateKeySz, int signOID,
|
|
432
|
+
int hashOID, byte* content,
|
|
433
|
+
word32 contentSz,
|
|
434
|
+
PKCS7Attrib* signedAttribs,
|
|
435
|
+
word32 signedAttribsSz, byte* output,
|
|
436
|
+
word32 outputSz);
|
|
437
|
+
#ifndef NO_PKCS7_ENCRYPTED_DATA
|
|
438
|
+
/* CMS single-shot API for Signed Encrypted FirmwarePkgData */
|
|
439
|
+
WOLFSSL_API int wc_PKCS7_EncodeSignedEncryptedFPD(wc_PKCS7* pkcs7,
|
|
440
|
+
byte* encryptKey, word32 encryptKeySz,
|
|
441
|
+
byte* privateKey, word32 privateKeySz,
|
|
442
|
+
int encryptOID, int signOID,
|
|
443
|
+
int hashOID, byte* content,
|
|
444
|
+
word32 contentSz,
|
|
445
|
+
PKCS7Attrib* unprotectedAttribs,
|
|
446
|
+
word32 unprotectedAttribsSz,
|
|
447
|
+
PKCS7Attrib* signedAttribs,
|
|
448
|
+
word32 signedAttribsSz,
|
|
449
|
+
byte* output, word32 outputSz);
|
|
450
|
+
#endif /* NO_PKCS7_ENCRYPTED_DATA */
|
|
451
|
+
#if defined(HAVE_LIBZ) && !defined(NO_PKCS7_COMPRESSED_DATA)
|
|
452
|
+
/* CMS single-shot API for Signed Compressed FirmwarePkgData */
|
|
453
|
+
WOLFSSL_API int wc_PKCS7_EncodeSignedCompressedFPD(wc_PKCS7* pkcs7,
|
|
454
|
+
byte* privateKey, word32 privateKeySz,
|
|
455
|
+
int signOID, int hashOID,
|
|
456
|
+
byte* content, word32 contentSz,
|
|
457
|
+
PKCS7Attrib* signedAttribs,
|
|
458
|
+
word32 signedAttribsSz, byte* output,
|
|
459
|
+
word32 outputSz);
|
|
460
|
+
|
|
461
|
+
#ifndef NO_PKCS7_ENCRYPTED_DATA
|
|
462
|
+
/* CMS single-shot API for Signed Encrypted Compressed FirmwarePkgData */
|
|
463
|
+
WOLFSSL_API int wc_PKCS7_EncodeSignedEncryptedCompressedFPD(wc_PKCS7* pkcs7,
|
|
464
|
+
byte* encryptKey, word32 encryptKeySz,
|
|
465
|
+
byte* privateKey, word32 privateKeySz,
|
|
466
|
+
int encryptOID, int signOID,
|
|
467
|
+
int hashOID, byte* content,
|
|
468
|
+
word32 contentSz,
|
|
469
|
+
PKCS7Attrib* unprotectedAttribs,
|
|
470
|
+
word32 unprotectedAttribsSz,
|
|
471
|
+
PKCS7Attrib* signedAttribs,
|
|
472
|
+
word32 signedAttribsSz,
|
|
473
|
+
byte* output, word32 outputSz);
|
|
474
|
+
#endif /* !NO_PKCS7_ENCRYPTED_DATA */
|
|
475
|
+
#endif /* HAVE_LIBZ && !NO_PKCS7_COMPRESSED_DATA */
|
|
476
|
+
|
|
477
|
+
/* EnvelopedData and AuthEnvelopedData RecipientInfo functions */
|
|
478
|
+
WOLFSSL_API int wc_PKCS7_AddRecipient_KTRI(wc_PKCS7* pkcs7, const byte* cert,
|
|
479
|
+
word32 certSz, int options);
|
|
480
|
+
WOLFSSL_API int wc_PKCS7_AddRecipient_KARI(wc_PKCS7* pkcs7, const byte* cert,
|
|
481
|
+
word32 certSz, int keyWrapOID,
|
|
482
|
+
int keyAgreeOID, byte* ukm,
|
|
483
|
+
word32 ukmSz, int options);
|
|
484
|
+
|
|
485
|
+
WOLFSSL_API int wc_PKCS7_SetKey(wc_PKCS7* pkcs7, byte* key, word32 keySz);
|
|
486
|
+
WOLFSSL_API int wc_PKCS7_AddRecipient_KEKRI(wc_PKCS7* pkcs7, int keyWrapOID,
|
|
487
|
+
byte* kek, word32 kekSz,
|
|
488
|
+
byte* keyID, word32 keyIdSz,
|
|
489
|
+
void* timePtr, byte* otherOID,
|
|
490
|
+
word32 otherOIDSz, byte* other,
|
|
491
|
+
word32 otherSz, int options);
|
|
492
|
+
|
|
493
|
+
WOLFSSL_API int wc_PKCS7_SetPassword(wc_PKCS7* pkcs7, byte* passwd, word32 pLen);
|
|
494
|
+
WOLFSSL_API int wc_PKCS7_AddRecipient_PWRI(wc_PKCS7* pkcs7, byte* passwd,
|
|
495
|
+
word32 pLen, byte* salt,
|
|
496
|
+
word32 saltSz, int kdfOID,
|
|
497
|
+
int prfOID, int iterations,
|
|
498
|
+
int kekEncryptOID, int options);
|
|
499
|
+
WOLFSSL_API int wc_PKCS7_SetOriEncryptCtx(wc_PKCS7* pkcs7, void* ctx);
|
|
500
|
+
WOLFSSL_API int wc_PKCS7_SetOriDecryptCtx(wc_PKCS7* pkcs7, void* ctx);
|
|
501
|
+
WOLFSSL_API int wc_PKCS7_SetOriDecryptCb(wc_PKCS7* pkcs7, CallbackOriDecrypt cb);
|
|
502
|
+
WOLFSSL_API int wc_PKCS7_AddRecipient_ORI(wc_PKCS7* pkcs7, CallbackOriEncrypt cb,
|
|
503
|
+
int options);
|
|
504
|
+
WOLFSSL_API int wc_PKCS7_SetWrapCEKCb(wc_PKCS7* pkcs7,
|
|
505
|
+
CallbackWrapCEK wrapCEKCb);
|
|
506
|
+
WOLFSSL_API int wc_PKCS7_SetAESKeyWrapUnwrapCb(wc_PKCS7* pkcs7,
|
|
507
|
+
CallbackAESKeyWrapUnwrap aesKeyWrapUnwrapCb);
|
|
508
|
+
|
|
509
|
+
#if defined(HAVE_PKCS7_RSA_RAW_SIGN_CALLBACK) && !defined(NO_RSA)
|
|
510
|
+
WOLFSSL_API int wc_PKCS7_SetRsaSignRawDigestCb(wc_PKCS7* pkcs7,
|
|
511
|
+
CallbackRsaSignRawDigest cb);
|
|
512
|
+
#endif
|
|
513
|
+
|
|
514
|
+
/* CMS/PKCS#7 EnvelopedData */
|
|
515
|
+
WOLFSSL_API int wc_PKCS7_EncodeEnvelopedData(wc_PKCS7* pkcs7,
|
|
516
|
+
byte* output, word32 outputSz);
|
|
517
|
+
WOLFSSL_API int wc_PKCS7_DecodeEnvelopedData(wc_PKCS7* pkcs7, byte* pkiMsg,
|
|
518
|
+
word32 pkiMsgSz, byte* output,
|
|
519
|
+
word32 outputSz);
|
|
520
|
+
WOLFSSL_API int wc_PKCS7_GetEnvelopedDataKariRid(const byte * in, word32 inSz,
|
|
521
|
+
byte * out, word32 * outSz);
|
|
522
|
+
|
|
523
|
+
/* CMS/PKCS#7 AuthEnvelopedData */
|
|
524
|
+
WOLFSSL_API int wc_PKCS7_EncodeAuthEnvelopedData(wc_PKCS7* pkcs7,
|
|
525
|
+
byte* output, word32 outputSz);
|
|
526
|
+
WOLFSSL_API int wc_PKCS7_DecodeAuthEnvelopedData(wc_PKCS7* pkcs7, byte* pkiMsg,
|
|
527
|
+
word32 pkiMsgSz, byte* output,
|
|
528
|
+
word32 outputSz);
|
|
529
|
+
|
|
530
|
+
/* CMS/PKCS#7 EncryptedData */
|
|
531
|
+
#ifndef NO_PKCS7_ENCRYPTED_DATA
|
|
532
|
+
WOLFSSL_API int wc_PKCS7_EncodeEncryptedData(wc_PKCS7* pkcs7,
|
|
533
|
+
byte* output, word32 outputSz);
|
|
534
|
+
WOLFSSL_API int wc_PKCS7_DecodeEncryptedData(wc_PKCS7* pkcs7, byte* pkiMsg,
|
|
535
|
+
word32 pkiMsgSz, byte* output,
|
|
536
|
+
word32 outputSz);
|
|
537
|
+
WOLFSSL_API int wc_PKCS7_SetDecodeEncryptedCb(wc_PKCS7* pkcs7,
|
|
538
|
+
CallbackDecryptContent decryptionCb);
|
|
539
|
+
WOLFSSL_API int wc_PKCS7_SetDecodeEncryptedCtx(wc_PKCS7* pkcs7, void* ctx);
|
|
540
|
+
#endif /* NO_PKCS7_ENCRYPTED_DATA */
|
|
541
|
+
|
|
542
|
+
/* CMS/PKCS#7 EncryptedKeyPackage */
|
|
543
|
+
WOLFSSL_API int wc_PKCS7_DecodeEncryptedKeyPackage(wc_PKCS7 * pkcs7,
|
|
544
|
+
byte * pkiMsg, word32 pkiMsgSz, byte * output, word32 outputSz);
|
|
545
|
+
|
|
546
|
+
/* stream and certs */
|
|
547
|
+
WOLFSSL_LOCAL int wc_PKCS7_WriteOut(wc_PKCS7* pkcs7, byte* output,
|
|
548
|
+
const byte* input, word32 inputSz);
|
|
549
|
+
WOLFSSL_API int wc_PKCS7_SetStreamMode(wc_PKCS7* pkcs7, byte flag,
|
|
550
|
+
CallbackGetContent getContentCb, CallbackStreamOut streamOutCb, void* ctx);
|
|
551
|
+
WOLFSSL_API int wc_PKCS7_GetStreamMode(wc_PKCS7* pkcs7);
|
|
552
|
+
WOLFSSL_API int wc_PKCS7_SetNoCerts(wc_PKCS7* pkcs7, byte flag);
|
|
553
|
+
WOLFSSL_API int wc_PKCS7_GetNoCerts(wc_PKCS7* pkcs7);
|
|
554
|
+
|
|
555
|
+
/* CMS/PKCS#7 CompressedData */
|
|
556
|
+
#if defined(HAVE_LIBZ) && !defined(NO_PKCS7_COMPRESSED_DATA)
|
|
557
|
+
WOLFSSL_API int wc_PKCS7_EncodeCompressedData(wc_PKCS7* pkcs7, byte* output,
|
|
558
|
+
word32 outputSz);
|
|
559
|
+
WOLFSSL_API int wc_PKCS7_DecodeCompressedData(wc_PKCS7* pkcs7, byte* pkiMsg,
|
|
560
|
+
word32 pkiMsgSz, byte* output,
|
|
561
|
+
word32 outputSz);
|
|
562
|
+
#endif /* HAVE_LIBZ && !NO_PKCS7_COMPRESSED_DATA */
|
|
563
|
+
|
|
564
|
+
WOLFSSL_API int wc_PKCS7_DecodeSymmetricKeyPackageAttribute(const byte * skp,
|
|
565
|
+
word32 skpSz, size_t index, const byte ** attr, word32 * attrSz);
|
|
566
|
+
WOLFSSL_API int wc_PKCS7_DecodeSymmetricKeyPackageKey(const byte * skp,
|
|
567
|
+
word32 skpSz, size_t index, const byte ** key, word32 * keySz);
|
|
568
|
+
WOLFSSL_API int wc_PKCS7_DecodeOneSymmetricKeyAttribute(const byte * osk,
|
|
569
|
+
word32 oskSz, size_t index, const byte ** attr, word32 * attrSz);
|
|
570
|
+
WOLFSSL_API int wc_PKCS7_DecodeOneSymmetricKeyKey(const byte * osk,
|
|
571
|
+
word32 oskSz, const byte ** key, word32 * keySz);
|
|
572
|
+
|
|
573
|
+
#ifdef __cplusplus
|
|
574
|
+
} /* extern "C" */
|
|
575
|
+
#endif
|
|
576
|
+
|
|
577
|
+
#endif /* HAVE_PKCS7 */
|
|
578
|
+
#endif /* WOLF_CRYPT_PKCS7_H */
|