@annadata/capacitor-mqtt-quic 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/ios/include/nghttp3/nghttp3.h +3295 -0
  2. package/ios/include/nghttp3/version.h +46 -0
  3. package/ios/include/ngtcp2/ngtcp2.h +6254 -0
  4. package/ios/include/ngtcp2/ngtcp2_crypto.h +1037 -0
  5. package/ios/include/ngtcp2/ngtcp2_crypto_quictls.h +147 -0
  6. package/ios/include/ngtcp2/version.h +51 -0
  7. package/ios/include/openssl/aes.h +111 -0
  8. package/ios/include/openssl/asn1.h +1131 -0
  9. package/ios/include/openssl/asn1_mac.h +10 -0
  10. package/ios/include/openssl/asn1err.h +140 -0
  11. package/ios/include/openssl/asn1t.h +946 -0
  12. package/ios/include/openssl/async.h +96 -0
  13. package/ios/include/openssl/asyncerr.h +29 -0
  14. package/ios/include/openssl/bio.h +887 -0
  15. package/ios/include/openssl/bioerr.h +65 -0
  16. package/ios/include/openssl/blowfish.h +78 -0
  17. package/ios/include/openssl/bn.h +584 -0
  18. package/ios/include/openssl/bnerr.h +47 -0
  19. package/ios/include/openssl/buffer.h +62 -0
  20. package/ios/include/openssl/buffererr.h +25 -0
  21. package/ios/include/openssl/camellia.h +117 -0
  22. package/ios/include/openssl/cast.h +71 -0
  23. package/ios/include/openssl/cmac.h +52 -0
  24. package/ios/include/openssl/cmp.h +597 -0
  25. package/ios/include/openssl/cmp_util.h +56 -0
  26. package/ios/include/openssl/cmperr.h +116 -0
  27. package/ios/include/openssl/cms.h +493 -0
  28. package/ios/include/openssl/cmserr.h +124 -0
  29. package/ios/include/openssl/comp.h +59 -0
  30. package/ios/include/openssl/comperr.h +31 -0
  31. package/ios/include/openssl/conf.h +214 -0
  32. package/ios/include/openssl/conf_api.h +46 -0
  33. package/ios/include/openssl/conferr.h +52 -0
  34. package/ios/include/openssl/configuration.h +149 -0
  35. package/ios/include/openssl/conftypes.h +44 -0
  36. package/ios/include/openssl/core.h +233 -0
  37. package/ios/include/openssl/core_dispatch.h +960 -0
  38. package/ios/include/openssl/core_names.h +561 -0
  39. package/ios/include/openssl/core_object.h +41 -0
  40. package/ios/include/openssl/crmf.h +227 -0
  41. package/ios/include/openssl/crmferr.h +50 -0
  42. package/ios/include/openssl/crypto.h +558 -0
  43. package/ios/include/openssl/cryptoerr.h +55 -0
  44. package/ios/include/openssl/cryptoerr_legacy.h +1466 -0
  45. package/ios/include/openssl/ct.h +573 -0
  46. package/ios/include/openssl/cterr.h +45 -0
  47. package/ios/include/openssl/decoder.h +133 -0
  48. package/ios/include/openssl/decodererr.h +28 -0
  49. package/ios/include/openssl/des.h +211 -0
  50. package/ios/include/openssl/dh.h +335 -0
  51. package/ios/include/openssl/dherr.h +58 -0
  52. package/ios/include/openssl/dsa.h +280 -0
  53. package/ios/include/openssl/dsaerr.h +44 -0
  54. package/ios/include/openssl/dtls1.h +57 -0
  55. package/ios/include/openssl/e_os2.h +308 -0
  56. package/ios/include/openssl/ebcdic.h +39 -0
  57. package/ios/include/openssl/ec.h +1572 -0
  58. package/ios/include/openssl/ecdh.h +10 -0
  59. package/ios/include/openssl/ecdsa.h +10 -0
  60. package/ios/include/openssl/ecerr.h +104 -0
  61. package/ios/include/openssl/encoder.h +124 -0
  62. package/ios/include/openssl/encodererr.h +28 -0
  63. package/ios/include/openssl/engine.h +833 -0
  64. package/ios/include/openssl/engineerr.h +63 -0
  65. package/ios/include/openssl/err.h +504 -0
  66. package/ios/include/openssl/ess.h +128 -0
  67. package/ios/include/openssl/esserr.h +32 -0
  68. package/ios/include/openssl/evp.h +2175 -0
  69. package/ios/include/openssl/evperr.h +134 -0
  70. package/ios/include/openssl/fips_names.h +77 -0
  71. package/ios/include/openssl/fipskey.h +36 -0
  72. package/ios/include/openssl/hmac.h +62 -0
  73. package/ios/include/openssl/http.h +109 -0
  74. package/ios/include/openssl/httperr.h +55 -0
  75. package/ios/include/openssl/idea.h +82 -0
  76. package/ios/include/openssl/kdf.h +138 -0
  77. package/ios/include/openssl/kdferr.h +16 -0
  78. package/ios/include/openssl/lhash.h +331 -0
  79. package/ios/include/openssl/macros.h +325 -0
  80. package/ios/include/openssl/md2.h +56 -0
  81. package/ios/include/openssl/md4.h +63 -0
  82. package/ios/include/openssl/md5.h +62 -0
  83. package/ios/include/openssl/mdc2.h +55 -0
  84. package/ios/include/openssl/modes.h +219 -0
  85. package/ios/include/openssl/obj_mac.h +5481 -0
  86. package/ios/include/openssl/objects.h +183 -0
  87. package/ios/include/openssl/objectserr.h +28 -0
  88. package/ios/include/openssl/ocsp.h +483 -0
  89. package/ios/include/openssl/ocsperr.h +53 -0
  90. package/ios/include/openssl/opensslconf.h +17 -0
  91. package/ios/include/openssl/opensslv.h +114 -0
  92. package/ios/include/openssl/ossl_typ.h +16 -0
  93. package/ios/include/openssl/param_build.h +63 -0
  94. package/ios/include/openssl/params.h +160 -0
  95. package/ios/include/openssl/pem.h +541 -0
  96. package/ios/include/openssl/pem2.h +19 -0
  97. package/ios/include/openssl/pemerr.h +58 -0
  98. package/ios/include/openssl/pkcs12.h +353 -0
  99. package/ios/include/openssl/pkcs12err.h +45 -0
  100. package/ios/include/openssl/pkcs7.h +430 -0
  101. package/ios/include/openssl/pkcs7err.h +63 -0
  102. package/ios/include/openssl/prov_ssl.h +34 -0
  103. package/ios/include/openssl/proverr.h +149 -0
  104. package/ios/include/openssl/provider.h +60 -0
  105. package/ios/include/openssl/quic.h +19 -0
  106. package/ios/include/openssl/rand.h +125 -0
  107. package/ios/include/openssl/randerr.h +69 -0
  108. package/ios/include/openssl/rc2.h +68 -0
  109. package/ios/include/openssl/rc4.h +47 -0
  110. package/ios/include/openssl/rc5.h +79 -0
  111. package/ios/include/openssl/ripemd.h +59 -0
  112. package/ios/include/openssl/rsa.h +610 -0
  113. package/ios/include/openssl/rsaerr.h +107 -0
  114. package/ios/include/openssl/safestack.h +297 -0
  115. package/ios/include/openssl/seed.h +113 -0
  116. package/ios/include/openssl/self_test.h +94 -0
  117. package/ios/include/openssl/sha.h +138 -0
  118. package/ios/include/openssl/srp.h +285 -0
  119. package/ios/include/openssl/srtp.h +56 -0
  120. package/ios/include/openssl/ssl.h +2671 -0
  121. package/ios/include/openssl/ssl2.h +30 -0
  122. package/ios/include/openssl/ssl3.h +347 -0
  123. package/ios/include/openssl/sslerr.h +348 -0
  124. package/ios/include/openssl/sslerr_legacy.h +468 -0
  125. package/ios/include/openssl/stack.h +90 -0
  126. package/ios/include/openssl/store.h +369 -0
  127. package/ios/include/openssl/storeerr.h +49 -0
  128. package/ios/include/openssl/symhacks.h +39 -0
  129. package/ios/include/openssl/tls1.h +1186 -0
  130. package/ios/include/openssl/trace.h +312 -0
  131. package/ios/include/openssl/ts.h +505 -0
  132. package/ios/include/openssl/tserr.h +67 -0
  133. package/ios/include/openssl/txt_db.h +63 -0
  134. package/ios/include/openssl/types.h +239 -0
  135. package/ios/include/openssl/ui.h +407 -0
  136. package/ios/include/openssl/uierr.h +38 -0
  137. package/ios/include/openssl/whrlpool.h +62 -0
  138. package/ios/include/openssl/x509.h +1279 -0
  139. package/ios/include/openssl/x509_vfy.h +894 -0
  140. package/ios/include/openssl/x509err.h +69 -0
  141. package/ios/include/openssl/x509v3.h +1453 -0
  142. package/ios/include/openssl/x509v3err.h +93 -0
  143. package/ios/libs/libcrypto.a +0 -0
  144. package/ios/libs/libnghttp3.a +0 -0
  145. package/ios/libs/libngtcp2.a +0 -0
  146. package/ios/libs/libngtcp2_crypto_quictls.a +0 -0
  147. package/ios/libs/libssl.a +0 -0
  148. package/package.json +2 -2
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_CONFTYPES_H
11
+ # define OPENSSL_CONFTYPES_H
12
+ # pragma once
13
+
14
+ #ifndef OPENSSL_CONF_H
15
+ # include <openssl/conf.h>
16
+ #endif
17
+
18
+ /*
19
+ * The contents of this file are deprecated and will be made opaque
20
+ */
21
+ struct conf_method_st {
22
+ const char *name;
23
+ CONF *(*create) (CONF_METHOD *meth);
24
+ int (*init) (CONF *conf);
25
+ int (*destroy) (CONF *conf);
26
+ int (*destroy_data) (CONF *conf);
27
+ int (*load_bio) (CONF *conf, BIO *bp, long *eline);
28
+ int (*dump) (const CONF *conf, BIO *bp);
29
+ int (*is_number) (const CONF *conf, char c);
30
+ int (*to_int) (const CONF *conf, char c);
31
+ int (*load) (CONF *conf, const char *name, long *eline);
32
+ };
33
+
34
+ struct conf_st {
35
+ CONF_METHOD *meth;
36
+ void *meth_data;
37
+ LHASH_OF(CONF_VALUE) *data;
38
+ int flag_dollarid;
39
+ int flag_abspath;
40
+ char *includedir;
41
+ OSSL_LIB_CTX *libctx;
42
+ };
43
+
44
+ #endif
@@ -0,0 +1,233 @@
1
+ /*
2
+ * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_CORE_H
11
+ # define OPENSSL_CORE_H
12
+ # pragma once
13
+
14
+ # include <stddef.h>
15
+ # include <openssl/types.h>
16
+
17
+ # ifdef __cplusplus
18
+ extern "C" {
19
+ # endif
20
+
21
+ /*-
22
+ * Base types
23
+ * ----------
24
+ *
25
+ * These are the types that the OpenSSL core and providers have in common
26
+ * to communicate data between them.
27
+ */
28
+
29
+ /* Opaque handles to be used with core upcall functions from providers */
30
+ typedef struct ossl_core_handle_st OSSL_CORE_HANDLE;
31
+ typedef struct openssl_core_ctx_st OPENSSL_CORE_CTX;
32
+ typedef struct ossl_core_bio_st OSSL_CORE_BIO;
33
+
34
+ /*
35
+ * Dispatch table element. function_id numbers and the functions are defined
36
+ * in core_dispatch.h, see macros with 'OSSL_CORE_MAKE_FUNC' in their names.
37
+ *
38
+ * An array of these is always terminated by function_id == 0
39
+ */
40
+ struct ossl_dispatch_st {
41
+ int function_id;
42
+ void (*function)(void);
43
+ };
44
+
45
+ /*
46
+ * Other items, essentially an int<->pointer map element.
47
+ *
48
+ * We make this type distinct from OSSL_DISPATCH to ensure that dispatch
49
+ * tables remain tables with function pointers only.
50
+ *
51
+ * This is used whenever we need to pass things like a table of error reason
52
+ * codes <-> reason string maps, ...
53
+ *
54
+ * Usage determines which field works as key if any, rather than field order.
55
+ *
56
+ * An array of these is always terminated by id == 0 && ptr == NULL
57
+ */
58
+ struct ossl_item_st {
59
+ unsigned int id;
60
+ void *ptr;
61
+ };
62
+
63
+ /*
64
+ * Type to tie together algorithm names, property definition string and
65
+ * the algorithm implementation in the form of a dispatch table.
66
+ *
67
+ * An array of these is always terminated by algorithm_names == NULL
68
+ */
69
+ struct ossl_algorithm_st {
70
+ const char *algorithm_names; /* key */
71
+ const char *property_definition; /* key */
72
+ const OSSL_DISPATCH *implementation;
73
+ const char *algorithm_description;
74
+ };
75
+
76
+ /*
77
+ * Type to pass object data in a uniform way, without exposing the object
78
+ * structure.
79
+ *
80
+ * An array of these is always terminated by key == NULL
81
+ */
82
+ struct ossl_param_st {
83
+ const char *key; /* the name of the parameter */
84
+ unsigned int data_type; /* declare what kind of content is in buffer */
85
+ void *data; /* value being passed in or out */
86
+ size_t data_size; /* data size */
87
+ size_t return_size; /* returned content size */
88
+ };
89
+
90
+ /* Currently supported OSSL_PARAM data types */
91
+ /*
92
+ * OSSL_PARAM_INTEGER and OSSL_PARAM_UNSIGNED_INTEGER
93
+ * are arbitrary length and therefore require an arbitrarily sized buffer,
94
+ * since they may be used to pass numbers larger than what is natively
95
+ * available.
96
+ *
97
+ * The number must be buffered in native form, i.e. MSB first on B_ENDIAN
98
+ * systems and LSB first on L_ENDIAN systems. This means that arbitrary
99
+ * native integers can be stored in the buffer, just make sure that the
100
+ * buffer size is correct and the buffer itself is properly aligned (for
101
+ * example by having the buffer field point at a C integer).
102
+ */
103
+ # define OSSL_PARAM_INTEGER 1
104
+ # define OSSL_PARAM_UNSIGNED_INTEGER 2
105
+ /*-
106
+ * OSSL_PARAM_REAL
107
+ * is a C binary floating point values in native form and alignment.
108
+ */
109
+ # define OSSL_PARAM_REAL 3
110
+ /*-
111
+ * OSSL_PARAM_UTF8_STRING
112
+ * is a printable string. It is expected to be printed as it is.
113
+ */
114
+ # define OSSL_PARAM_UTF8_STRING 4
115
+ /*-
116
+ * OSSL_PARAM_OCTET_STRING
117
+ * is a string of bytes with no further specification. It is expected to be
118
+ * printed as a hexdump.
119
+ */
120
+ # define OSSL_PARAM_OCTET_STRING 5
121
+ /*-
122
+ * OSSL_PARAM_UTF8_PTR
123
+ * is a pointer to a printable string. It is expected to be printed as it is.
124
+ *
125
+ * The difference between this and OSSL_PARAM_UTF8_STRING is that only pointers
126
+ * are manipulated for this type.
127
+ *
128
+ * This is more relevant for parameter requests, where the responding
129
+ * function doesn't need to copy the data to the provided buffer, but
130
+ * sets the provided buffer to point at the actual data instead.
131
+ *
132
+ * WARNING! Using these is FRAGILE, as it assumes that the actual
133
+ * data and its location are constant.
134
+ *
135
+ * EXTRA WARNING! If you are not completely sure you most likely want
136
+ * to use the OSSL_PARAM_UTF8_STRING type.
137
+ */
138
+ # define OSSL_PARAM_UTF8_PTR 6
139
+ /*-
140
+ * OSSL_PARAM_OCTET_PTR
141
+ * is a pointer to a string of bytes with no further specification. It is
142
+ * expected to be printed as a hexdump.
143
+ *
144
+ * The difference between this and OSSL_PARAM_OCTET_STRING is that only pointers
145
+ * are manipulated for this type.
146
+ *
147
+ * This is more relevant for parameter requests, where the responding
148
+ * function doesn't need to copy the data to the provided buffer, but
149
+ * sets the provided buffer to point at the actual data instead.
150
+ *
151
+ * WARNING! Using these is FRAGILE, as it assumes that the actual
152
+ * data and its location are constant.
153
+ *
154
+ * EXTRA WARNING! If you are not completely sure you most likely want
155
+ * to use the OSSL_PARAM_OCTET_STRING type.
156
+ */
157
+ # define OSSL_PARAM_OCTET_PTR 7
158
+
159
+ /*
160
+ * Typedef for the thread stop handling callback. Used both internally and by
161
+ * providers.
162
+ *
163
+ * Providers may register for notifications about threads stopping by
164
+ * registering a callback to hear about such events. Providers register the
165
+ * callback using the OSSL_FUNC_CORE_THREAD_START function in the |in| dispatch
166
+ * table passed to OSSL_provider_init(). The arg passed back to a provider will
167
+ * be the provider side context object.
168
+ */
169
+ typedef void (*OSSL_thread_stop_handler_fn)(void *arg);
170
+
171
+
172
+ /*-
173
+ * Provider entry point
174
+ * --------------------
175
+ *
176
+ * This function is expected to be present in any dynamically loadable
177
+ * provider module. By definition, if this function doesn't exist in a
178
+ * module, that module is not an OpenSSL provider module.
179
+ */
180
+ /*-
181
+ * |handle| pointer to opaque type OSSL_CORE_HANDLE. This can be used
182
+ * together with some functions passed via |in| to query data.
183
+ * |in| is the array of functions that the Core passes to the provider.
184
+ * |out| will be the array of base functions that the provider passes
185
+ * back to the Core.
186
+ * |provctx| a provider side context object, optionally created if the
187
+ * provider needs it. This value is passed to other provider
188
+ * functions, notably other context constructors.
189
+ */
190
+ typedef int (OSSL_provider_init_fn)(const OSSL_CORE_HANDLE *handle,
191
+ const OSSL_DISPATCH *in,
192
+ const OSSL_DISPATCH **out,
193
+ void **provctx);
194
+ # ifdef __VMS
195
+ # pragma names save
196
+ # pragma names uppercase,truncated
197
+ # endif
198
+ OPENSSL_EXPORT OSSL_provider_init_fn OSSL_provider_init;
199
+ # ifdef __VMS
200
+ # pragma names restore
201
+ # endif
202
+
203
+ /*
204
+ * Generic callback function signature.
205
+ *
206
+ * The expectation is that any provider function that wants to offer
207
+ * a callback / hook can do so by taking an argument with this type,
208
+ * as well as a pointer to caller-specific data. When calling the
209
+ * callback, the provider function can populate an OSSL_PARAM array
210
+ * with data of its choice and pass that in the callback call, along
211
+ * with the caller data argument.
212
+ *
213
+ * libcrypto may use the OSSL_PARAM array to create arguments for an
214
+ * application callback it knows about.
215
+ */
216
+ typedef int (OSSL_CALLBACK)(const OSSL_PARAM params[], void *arg);
217
+ typedef int (OSSL_INOUT_CALLBACK)(const OSSL_PARAM in_params[],
218
+ OSSL_PARAM out_params[], void *arg);
219
+ /*
220
+ * Passphrase callback function signature
221
+ *
222
+ * This is similar to the generic callback function above, but adds a
223
+ * result parameter.
224
+ */
225
+ typedef int (OSSL_PASSPHRASE_CALLBACK)(char *pass, size_t pass_size,
226
+ size_t *pass_len,
227
+ const OSSL_PARAM params[], void *arg);
228
+
229
+ # ifdef __cplusplus
230
+ }
231
+ # endif
232
+
233
+ #endif