@wireapp/core-crypto 10.0.0-pre.10 → 10.0.0-pre.11
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/dist/browser/autogenerated/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/browser/autogenerated/wasm-bindgen/index_bg.wasm.d.ts +60 -20
- package/dist/browser/corecrypto.d.ts +56 -10
- package/dist/browser/corecrypto.js +1522 -1198
- package/dist/native/corecrypto.d.ts +56 -10
- package/dist/native/corecrypto.js +326 -17
- package/dist/native/libcore_crypto_ffi.dylib +0 -0
- package/dist/native/libcore_crypto_ffi.so +0 -0
- package/package.json +1 -1
|
@@ -25,6 +25,9 @@ var exports_wasm_bindgen = {};
|
|
|
25
25
|
__export(exports_wasm_bindgen, {
|
|
26
26
|
ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize: () => ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize,
|
|
27
27
|
ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize: () => ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize,
|
|
28
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash: () => ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash,
|
|
29
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne: () => ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne,
|
|
30
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq: () => ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq,
|
|
28
31
|
ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash: () => ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash,
|
|
29
32
|
ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne: () => ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne,
|
|
30
33
|
ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq: () => ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq,
|
|
@@ -50,6 +53,11 @@ __export(exports_wasm_bindgen, {
|
|
|
50
53
|
ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq: () => ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq,
|
|
51
54
|
ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize: () => ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize,
|
|
52
55
|
ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed: () => ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed,
|
|
56
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash: () => ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash,
|
|
57
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne: () => ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne,
|
|
58
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq: () => ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq,
|
|
59
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64: () => ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64,
|
|
60
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string: () => ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string,
|
|
53
61
|
ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne: () => ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne,
|
|
54
62
|
ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq: () => ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq,
|
|
55
63
|
ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug: () => ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug,
|
|
@@ -177,6 +185,7 @@ __export(exports_wasm_bindgen, {
|
|
|
177
185
|
ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata: () => ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata,
|
|
178
186
|
ubrn_uniffi_core_crypto_ffi_fn_free_x509credentialacquisition: () => ubrn_uniffi_core_crypto_ffi_fn_free_x509credentialacquisition,
|
|
179
187
|
ubrn_uniffi_core_crypto_ffi_fn_free_welcome: () => ubrn_uniffi_core_crypto_ffi_fn_free_welcome,
|
|
188
|
+
ubrn_uniffi_core_crypto_ffi_fn_free_uuid: () => ubrn_uniffi_core_crypto_ffi_fn_free_uuid,
|
|
180
189
|
ubrn_uniffi_core_crypto_ffi_fn_free_secretkey: () => ubrn_uniffi_core_crypto_ffi_fn_free_secretkey,
|
|
181
190
|
ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks: () => ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks,
|
|
182
191
|
ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment: () => ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment,
|
|
@@ -187,6 +196,7 @@ __export(exports_wasm_bindgen, {
|
|
|
187
196
|
ubrn_uniffi_core_crypto_ffi_fn_free_groupinfo: () => ubrn_uniffi_core_crypto_ffi_fn_free_groupinfo,
|
|
188
197
|
ubrn_uniffi_core_crypto_ffi_fn_free_externalsender: () => ubrn_uniffi_core_crypto_ffi_fn_free_externalsender,
|
|
189
198
|
ubrn_uniffi_core_crypto_ffi_fn_free_epochobserver: () => ubrn_uniffi_core_crypto_ffi_fn_free_epochobserver,
|
|
199
|
+
ubrn_uniffi_core_crypto_ffi_fn_free_deviceid: () => ubrn_uniffi_core_crypto_ffi_fn_free_deviceid,
|
|
190
200
|
ubrn_uniffi_core_crypto_ffi_fn_free_databasekey: () => ubrn_uniffi_core_crypto_ffi_fn_free_databasekey,
|
|
191
201
|
ubrn_uniffi_core_crypto_ffi_fn_free_database: () => ubrn_uniffi_core_crypto_ffi_fn_free_database,
|
|
192
202
|
ubrn_uniffi_core_crypto_ffi_fn_free_credentialref: () => ubrn_uniffi_core_crypto_ffi_fn_free_credentialref,
|
|
@@ -201,6 +211,7 @@ __export(exports_wasm_bindgen, {
|
|
|
201
211
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new,
|
|
202
212
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes,
|
|
203
213
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_welcome_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_welcome_new,
|
|
214
|
+
ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new,
|
|
204
215
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new,
|
|
205
216
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new,
|
|
206
217
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new,
|
|
@@ -208,6 +219,8 @@ __export(exports_wasm_bindgen, {
|
|
|
208
219
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_key: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_key,
|
|
209
220
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk,
|
|
210
221
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse,
|
|
222
|
+
ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new,
|
|
223
|
+
ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string,
|
|
211
224
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new,
|
|
212
225
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open,
|
|
213
226
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory,
|
|
@@ -218,6 +231,7 @@ __export(exports_wasm_bindgen, {
|
|
|
218
231
|
ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new: () => ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new,
|
|
219
232
|
ubrn_uniffi_core_crypto_ffi_fn_clone_x509credentialacquisition: () => ubrn_uniffi_core_crypto_ffi_fn_clone_x509credentialacquisition,
|
|
220
233
|
ubrn_uniffi_core_crypto_ffi_fn_clone_welcome: () => ubrn_uniffi_core_crypto_ffi_fn_clone_welcome,
|
|
234
|
+
ubrn_uniffi_core_crypto_ffi_fn_clone_uuid: () => ubrn_uniffi_core_crypto_ffi_fn_clone_uuid,
|
|
221
235
|
ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey: () => ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey,
|
|
222
236
|
ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks: () => ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks,
|
|
223
237
|
ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment: () => ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment,
|
|
@@ -228,6 +242,7 @@ __export(exports_wasm_bindgen, {
|
|
|
228
242
|
ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo: () => ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo,
|
|
229
243
|
ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender: () => ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender,
|
|
230
244
|
ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver: () => ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver,
|
|
245
|
+
ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid: () => ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid,
|
|
231
246
|
ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey: () => ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey,
|
|
232
247
|
ubrn_uniffi_core_crypto_ffi_fn_clone_database: () => ubrn_uniffi_core_crypto_ffi_fn_clone_database,
|
|
233
248
|
ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref: () => ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref,
|
|
@@ -259,6 +274,8 @@ __export(exports_wasm_bindgen, {
|
|
|
259
274
|
ubrn_uniffi_core_crypto_ffi_checksum_method_historyobserver_history_client_created: () => ubrn_uniffi_core_crypto_ffi_checksum_method_historyobserver_history_client_created,
|
|
260
275
|
ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize: () => ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize,
|
|
261
276
|
ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed: () => ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed,
|
|
277
|
+
ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64: () => ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64,
|
|
278
|
+
ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string: () => ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string,
|
|
262
279
|
ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key: () => ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key,
|
|
263
280
|
ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location: () => ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location,
|
|
264
281
|
ubrn_uniffi_core_crypto_ffi_checksum_method_database_close: () => ubrn_uniffi_core_crypto_ffi_checksum_method_database_close,
|
|
@@ -370,6 +387,7 @@ __export(exports_wasm_bindgen, {
|
|
|
370
387
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new,
|
|
371
388
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes,
|
|
372
389
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new,
|
|
390
|
+
ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new,
|
|
373
391
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new,
|
|
374
392
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new,
|
|
375
393
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new,
|
|
@@ -377,6 +395,8 @@ __export(exports_wasm_bindgen, {
|
|
|
377
395
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key,
|
|
378
396
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk,
|
|
379
397
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse,
|
|
398
|
+
ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new,
|
|
399
|
+
ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string,
|
|
380
400
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new,
|
|
381
401
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open,
|
|
382
402
|
ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory: () => ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory,
|
|
@@ -636,1219 +656,1316 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
636
656
|
CLOSURE_DTORS.register(real, state, state);
|
|
637
657
|
return real;
|
|
638
658
|
}
|
|
639
|
-
function
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
return BigInt.asUintN(64, ret);
|
|
659
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_reseed() {
|
|
660
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_reseed();
|
|
661
|
+
return ret;
|
|
643
662
|
}
|
|
644
|
-
function
|
|
645
|
-
wasm.
|
|
663
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_update_keying_material(ptr, conversation_id) {
|
|
664
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_update_keying_material(ptr, conversation_id);
|
|
665
|
+
return BigInt.asUintN(64, ret);
|
|
646
666
|
}
|
|
647
|
-
function
|
|
648
|
-
const ret = wasm.
|
|
667
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new() {
|
|
668
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new();
|
|
649
669
|
return ret;
|
|
650
670
|
}
|
|
651
|
-
function
|
|
671
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptoffi_new(instance, f_status_) {
|
|
652
672
|
_assertClass(f_status_, RustCallStatus);
|
|
653
|
-
wasm.
|
|
654
|
-
}
|
|
655
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id) {
|
|
656
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id);
|
|
673
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptoffi_new(instance, f_status_.__wbg_ptr);
|
|
657
674
|
return BigInt.asUintN(64, ret);
|
|
658
675
|
}
|
|
659
|
-
function
|
|
660
|
-
const ret = wasm.
|
|
676
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_is_history_sharing_enabled() {
|
|
677
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_is_history_sharing_enabled();
|
|
678
|
+
return ret;
|
|
679
|
+
}
|
|
680
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_epoch(ptr, conversation_id) {
|
|
681
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_epoch(ptr, conversation_id);
|
|
661
682
|
return BigInt.asUintN(64, ret);
|
|
662
683
|
}
|
|
663
|
-
function
|
|
664
|
-
|
|
665
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
666
|
-
return ret;
|
|
684
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callback_data) {
|
|
685
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callback_data);
|
|
667
686
|
}
|
|
668
|
-
function
|
|
669
|
-
const ret = wasm.
|
|
687
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_remote() {
|
|
688
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_remote();
|
|
670
689
|
return ret;
|
|
671
690
|
}
|
|
672
|
-
function
|
|
673
|
-
|
|
674
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
691
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_process_welcome_message(ptr, welcome_message) {
|
|
692
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_process_welcome_message(ptr, welcome_message);
|
|
675
693
|
return BigInt.asUintN(64, ret);
|
|
676
694
|
}
|
|
677
|
-
function
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
return BigInt.asUintN(64, ret);
|
|
695
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_remote() {
|
|
696
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_remote();
|
|
697
|
+
return ret;
|
|
681
698
|
}
|
|
682
|
-
function
|
|
683
|
-
const ptr0 = passArray8ToWasm0(
|
|
699
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt_batched(ptr, sessions, plaintext) {
|
|
700
|
+
const ptr0 = passArray8ToWasm0(sessions, wasm.__wbindgen_malloc);
|
|
684
701
|
const len0 = WASM_VECTOR_LEN;
|
|
685
|
-
const
|
|
702
|
+
const ptr1 = passArray8ToWasm0(plaintext, wasm.__wbindgen_malloc);
|
|
703
|
+
const len1 = WASM_VECTOR_LEN;
|
|
704
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt_batched(ptr, ptr0, len0, ptr1, len1);
|
|
686
705
|
return BigInt.asUintN(64, ret);
|
|
687
706
|
}
|
|
688
|
-
function
|
|
689
|
-
wasm.
|
|
707
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u8(handle) {
|
|
708
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u8(handle);
|
|
690
709
|
}
|
|
691
|
-
function
|
|
710
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_type() {
|
|
711
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_type();
|
|
712
|
+
return ret;
|
|
713
|
+
}
|
|
714
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_status_) {
|
|
692
715
|
_assertClass(f_status_, RustCallStatus);
|
|
693
|
-
const ret = wasm.
|
|
716
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_status_.__wbg_ptr);
|
|
694
717
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
695
718
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
696
719
|
return v1;
|
|
697
720
|
}
|
|
698
|
-
function
|
|
699
|
-
|
|
700
|
-
|
|
721
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_client_id(ptr, f_status_) {
|
|
722
|
+
_assertClass(f_status_, RustCallStatus);
|
|
723
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_client_id(ptr, f_status_.__wbg_ptr);
|
|
724
|
+
return BigInt.asUintN(64, ret);
|
|
701
725
|
}
|
|
702
|
-
function
|
|
726
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open(location, key) {
|
|
727
|
+
const ptr0 = passArray8ToWasm0(location, wasm.__wbindgen_malloc);
|
|
728
|
+
const len0 = WASM_VECTOR_LEN;
|
|
729
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open(ptr0, len0, key);
|
|
730
|
+
return BigInt.asUintN(64, ret);
|
|
731
|
+
}
|
|
732
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize(ptr, f_status_) {
|
|
703
733
|
_assertClass(f_status_, RustCallStatus);
|
|
704
|
-
const ret = wasm.
|
|
734
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize(ptr, f_status_.__wbg_ptr);
|
|
705
735
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
706
736
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
707
737
|
return v1;
|
|
708
738
|
}
|
|
709
|
-
function
|
|
710
|
-
|
|
711
|
-
const len0 = WASM_VECTOR_LEN;
|
|
712
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package(ptr, credential_ref, ptr0, len0);
|
|
713
|
-
return BigInt.asUintN(64, ret);
|
|
739
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_f64(handle) {
|
|
740
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f64(handle);
|
|
714
741
|
}
|
|
715
|
-
function
|
|
716
|
-
const ptr0 = passArray8ToWasm0(
|
|
742
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle(ptr, commit_bundle) {
|
|
743
|
+
const ptr0 = passArray8ToWasm0(commit_bundle, wasm.__wbindgen_malloc);
|
|
717
744
|
const len0 = WASM_VECTOR_LEN;
|
|
718
|
-
|
|
719
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk(ptr0, len0, f_status_.__wbg_ptr);
|
|
745
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle(ptr, ptr0, len0);
|
|
720
746
|
return BigInt.asUintN(64, ret);
|
|
721
747
|
}
|
|
722
|
-
function
|
|
723
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_cipher_suite();
|
|
724
|
-
return ret;
|
|
725
|
-
}
|
|
726
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
748
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_) {
|
|
727
749
|
_assertClass(f_status_, RustCallStatus);
|
|
728
|
-
const ret = wasm.
|
|
750
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_.__wbg_ptr);
|
|
729
751
|
return ret;
|
|
730
752
|
}
|
|
731
|
-
function
|
|
732
|
-
const ret = wasm.
|
|
753
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_welcome_serialize() {
|
|
754
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_welcome_serialize();
|
|
733
755
|
return ret;
|
|
734
756
|
}
|
|
735
|
-
function
|
|
736
|
-
|
|
757
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug(ptr, f_status_) {
|
|
758
|
+
_assertClass(f_status_, RustCallStatus);
|
|
759
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
760
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
761
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
762
|
+
return v1;
|
|
763
|
+
}
|
|
764
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_historyobserver_history_client_created() {
|
|
765
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_historyobserver_history_client_created();
|
|
737
766
|
return ret;
|
|
738
767
|
}
|
|
739
|
-
function
|
|
768
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_cipher_suite(ptr, f_status_) {
|
|
740
769
|
_assertClass(f_status_, RustCallStatus);
|
|
741
|
-
const ret = wasm.
|
|
770
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_cipher_suite(ptr, f_status_.__wbg_ptr);
|
|
742
771
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
743
772
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
744
773
|
return v1;
|
|
745
774
|
}
|
|
746
|
-
function
|
|
747
|
-
|
|
775
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_) {
|
|
776
|
+
_assertClass(f_status_, RustCallStatus);
|
|
777
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_.__wbg_ptr);
|
|
778
|
+
return BigInt.asUintN(64, ret);
|
|
779
|
+
}
|
|
780
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_ref() {
|
|
781
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_ref();
|
|
748
782
|
return ret;
|
|
749
783
|
}
|
|
750
|
-
function
|
|
751
|
-
const ret = wasm.
|
|
784
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_cipher_suite() {
|
|
785
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_cipher_suite();
|
|
752
786
|
return ret;
|
|
753
787
|
}
|
|
754
|
-
function
|
|
755
|
-
const ret = wasm.
|
|
788
|
+
function ubrn_ffi_core_crypto_ffi_uniffi_contract_version() {
|
|
789
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_uniffi_contract_version();
|
|
790
|
+
return ret >>> 0;
|
|
791
|
+
}
|
|
792
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_) {
|
|
793
|
+
_assertClass(f_status_, RustCallStatus);
|
|
794
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_.__wbg_ptr);
|
|
756
795
|
return ret;
|
|
757
796
|
}
|
|
758
|
-
function
|
|
759
|
-
|
|
797
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_groupinfo(handle, f_status_) {
|
|
798
|
+
_assertClass(f_status_, RustCallStatus);
|
|
799
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_groupinfo(handle, f_status_.__wbg_ptr);
|
|
760
800
|
}
|
|
761
|
-
function
|
|
762
|
-
wasm.
|
|
801
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptocommand(vtable) {
|
|
802
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptocommand(vtable);
|
|
763
803
|
}
|
|
764
|
-
function
|
|
765
|
-
const
|
|
766
|
-
const len0 = WASM_VECTOR_LEN;
|
|
767
|
-
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
768
|
-
const len1 = WASM_VECTOR_LEN;
|
|
769
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, ptr0, len0, ptr1, len1);
|
|
804
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_cipher_suite(ptr, conversation_id) {
|
|
805
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_cipher_suite(ptr, conversation_id);
|
|
770
806
|
return BigInt.asUintN(64, ret);
|
|
771
807
|
}
|
|
772
|
-
function
|
|
773
|
-
wasm.
|
|
774
|
-
}
|
|
775
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities() {
|
|
776
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities();
|
|
808
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids() {
|
|
809
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids();
|
|
777
810
|
return ret;
|
|
778
811
|
}
|
|
779
|
-
function
|
|
780
|
-
const ret = wasm.
|
|
812
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_close(ptr) {
|
|
813
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_close(ptr);
|
|
781
814
|
return BigInt.asUintN(64, ret);
|
|
782
815
|
}
|
|
783
|
-
function
|
|
784
|
-
|
|
785
|
-
return ret;
|
|
816
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u16(handle, callback, callback_data) {
|
|
817
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u16(handle, callback, callback_data);
|
|
786
818
|
}
|
|
787
|
-
function
|
|
788
|
-
const
|
|
819
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt(ptr, session_id, plaintext) {
|
|
820
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
821
|
+
const len0 = WASM_VECTOR_LEN;
|
|
822
|
+
const ptr1 = passArray8ToWasm0(plaintext, wasm.__wbindgen_malloc);
|
|
823
|
+
const len1 = WASM_VECTOR_LEN;
|
|
824
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt(ptr, ptr0, len0, ptr1, len1);
|
|
789
825
|
return BigInt.asUintN(64, ret);
|
|
790
826
|
}
|
|
791
|
-
function
|
|
792
|
-
|
|
827
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
828
|
+
_assertClass(f_status_, RustCallStatus);
|
|
829
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
793
830
|
return ret;
|
|
794
831
|
}
|
|
795
|
-
function
|
|
796
|
-
|
|
832
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_) {
|
|
833
|
+
_assertClass(f_status_, RustCallStatus);
|
|
834
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
835
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
836
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
837
|
+
return v1;
|
|
838
|
+
}
|
|
839
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message() {
|
|
840
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message();
|
|
797
841
|
return ret;
|
|
798
842
|
}
|
|
799
|
-
function
|
|
800
|
-
const ret = wasm.
|
|
801
|
-
return
|
|
843
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_update_keying_material() {
|
|
844
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_update_keying_material();
|
|
845
|
+
return ret;
|
|
802
846
|
}
|
|
803
|
-
function
|
|
804
|
-
|
|
847
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_x509credentialacquisition(handle, f_status_) {
|
|
848
|
+
_assertClass(f_status_, RustCallStatus);
|
|
849
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_x509credentialacquisition(handle, f_status_.__wbg_ptr);
|
|
805
850
|
return BigInt.asUintN(64, ret);
|
|
806
851
|
}
|
|
807
|
-
function
|
|
808
|
-
|
|
852
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_hash(ptr, f_status_) {
|
|
853
|
+
_assertClass(f_status_, RustCallStatus);
|
|
854
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
809
855
|
return BigInt.asUintN(64, ret);
|
|
810
856
|
}
|
|
811
|
-
function
|
|
812
|
-
|
|
813
|
-
|
|
857
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
858
|
+
_assertClass(f_status_, RustCallStatus);
|
|
859
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
860
|
+
return ret;
|
|
814
861
|
}
|
|
815
|
-
function
|
|
862
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize(ptr, f_status_) {
|
|
816
863
|
_assertClass(f_status_, RustCallStatus);
|
|
817
|
-
const ret = wasm.
|
|
864
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize(ptr, f_status_.__wbg_ptr);
|
|
818
865
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
819
866
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
820
867
|
return v1;
|
|
821
868
|
}
|
|
822
|
-
function
|
|
823
|
-
const
|
|
824
|
-
|
|
825
|
-
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
826
|
-
const len1 = WASM_VECTOR_LEN;
|
|
827
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt(ptr, ptr0, len0, ptr1, len1);
|
|
828
|
-
return BigInt.asUintN(64, ret);
|
|
869
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk() {
|
|
870
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk();
|
|
871
|
+
return ret;
|
|
829
872
|
}
|
|
830
|
-
function
|
|
831
|
-
|
|
873
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_welcome(handle, f_status_) {
|
|
874
|
+
_assertClass(f_status_, RustCallStatus);
|
|
875
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_welcome(handle, f_status_.__wbg_ptr);
|
|
876
|
+
}
|
|
877
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_decrypt_message(ptr, conversation_id, payload) {
|
|
878
|
+
const ptr0 = passArray8ToWasm0(payload, wasm.__wbindgen_malloc);
|
|
832
879
|
const len0 = WASM_VECTOR_LEN;
|
|
833
|
-
const ret = wasm.
|
|
880
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_decrypt_message(ptr, conversation_id, ptr0, len0);
|
|
834
881
|
return BigInt.asUintN(64, ret);
|
|
835
882
|
}
|
|
836
|
-
function
|
|
837
|
-
const ptr0 = passArray8ToWasm0(
|
|
883
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_enabled(ptr, cipher_suite) {
|
|
884
|
+
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
838
885
|
const len0 = WASM_VECTOR_LEN;
|
|
839
|
-
const ret = wasm.
|
|
886
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_enabled(ptr, ptr0, len0);
|
|
840
887
|
return BigInt.asUintN(64, ret);
|
|
841
888
|
}
|
|
842
|
-
function
|
|
843
|
-
const
|
|
844
|
-
const len0 = WASM_VECTOR_LEN;
|
|
845
|
-
const ptr1 = passArray8ToWasm0(key_auth, wasm.__wbindgen_malloc);
|
|
846
|
-
const len1 = WASM_VECTOR_LEN;
|
|
847
|
-
const ptr2 = passArray8ToWasm0(acme_aud, wasm.__wbindgen_malloc);
|
|
848
|
-
const len2 = WASM_VECTOR_LEN;
|
|
849
|
-
const ptr3 = passArray8ToWasm0(acquisition_snapshot, wasm.__wbindgen_malloc);
|
|
850
|
-
const len3 = WASM_VECTOR_LEN;
|
|
851
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
889
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_external_sender(ptr, conversation_id) {
|
|
890
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_external_sender(ptr, conversation_id);
|
|
852
891
|
return BigInt.asUintN(64, ret);
|
|
853
892
|
}
|
|
854
|
-
function
|
|
855
|
-
|
|
856
|
-
const len0 = WASM_VECTOR_LEN;
|
|
857
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_clients_to_conversation(ptr, conversation_id, ptr0, len0);
|
|
858
|
-
return BigInt.asUintN(64, ret);
|
|
893
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i32(handle) {
|
|
894
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i32(handle);
|
|
859
895
|
}
|
|
860
|
-
function
|
|
896
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_groupinfo_new(bytes, f_status_) {
|
|
897
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
898
|
+
const len0 = WASM_VECTOR_LEN;
|
|
861
899
|
_assertClass(f_status_, RustCallStatus);
|
|
862
|
-
const ret = wasm.
|
|
900
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_groupinfo_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
863
901
|
return BigInt.asUintN(64, ret);
|
|
864
902
|
}
|
|
865
|
-
function
|
|
903
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_clientid(handle, f_status_) {
|
|
866
904
|
_assertClass(f_status_, RustCallStatus);
|
|
867
|
-
const ret = wasm.
|
|
905
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_clientid(handle, f_status_.__wbg_ptr);
|
|
868
906
|
return BigInt.asUintN(64, ret);
|
|
869
907
|
}
|
|
870
|
-
function
|
|
871
|
-
const ret = wasm.
|
|
908
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_pki_env_setup() {
|
|
909
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_pki_env_setup();
|
|
872
910
|
return ret;
|
|
873
911
|
}
|
|
874
|
-
function
|
|
912
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptocontext_new(instance, f_status_) {
|
|
875
913
|
_assertClass(f_status_, RustCallStatus);
|
|
876
|
-
const ret = wasm.
|
|
914
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptocontext_new(instance, f_status_.__wbg_ptr);
|
|
877
915
|
return BigInt.asUintN(64, ret);
|
|
878
916
|
}
|
|
879
|
-
function
|
|
880
|
-
|
|
881
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_.__wbg_ptr);
|
|
917
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_credentials(ptr) {
|
|
918
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_credentials(ptr);
|
|
882
919
|
return BigInt.asUintN(64, ret);
|
|
883
920
|
}
|
|
884
|
-
function
|
|
885
|
-
|
|
886
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_.__wbg_ptr);
|
|
887
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
888
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
889
|
-
return v1;
|
|
890
|
-
}
|
|
891
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint() {
|
|
892
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint();
|
|
893
|
-
return ret;
|
|
894
|
-
}
|
|
895
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes() {
|
|
896
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes();
|
|
921
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new() {
|
|
922
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new();
|
|
897
923
|
return ret;
|
|
898
924
|
}
|
|
899
|
-
function
|
|
900
|
-
|
|
925
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
926
|
+
_assertClass(f_status_, RustCallStatus);
|
|
927
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
901
928
|
return ret;
|
|
902
929
|
}
|
|
903
|
-
function
|
|
904
|
-
const ptr0 = passArray8ToWasm0(
|
|
930
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_message(ptr, session_id, envelope) {
|
|
931
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
905
932
|
const len0 = WASM_VECTOR_LEN;
|
|
906
|
-
const
|
|
933
|
+
const ptr1 = passArray8ToWasm0(envelope, wasm.__wbindgen_malloc);
|
|
934
|
+
const len1 = WASM_VECTOR_LEN;
|
|
935
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_message(ptr, ptr0, len0, ptr1, len1);
|
|
907
936
|
return BigInt.asUintN(64, ret);
|
|
908
937
|
}
|
|
909
|
-
function
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_update_keying_material(ptr, conversation_id) {
|
|
913
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_update_keying_material(ptr, conversation_id);
|
|
938
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptoffi(handle, f_status_) {
|
|
939
|
+
_assertClass(f_status_, RustCallStatus);
|
|
940
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptoffi(handle, f_status_.__wbg_ptr);
|
|
914
941
|
return BigInt.asUintN(64, ret);
|
|
915
942
|
}
|
|
916
|
-
function
|
|
917
|
-
wasm.
|
|
943
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle) {
|
|
944
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle);
|
|
918
945
|
}
|
|
919
|
-
function
|
|
920
|
-
|
|
946
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_clientid(handle, f_status_) {
|
|
947
|
+
_assertClass(f_status_, RustCallStatus);
|
|
948
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_clientid(handle, f_status_.__wbg_ptr);
|
|
949
|
+
}
|
|
950
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_exists(ptr, session_id) {
|
|
951
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
921
952
|
const len0 = WASM_VECTOR_LEN;
|
|
922
|
-
const ret = wasm.
|
|
953
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_exists(ptr, ptr0, len0);
|
|
923
954
|
return BigInt.asUintN(64, ret);
|
|
924
955
|
}
|
|
925
|
-
function
|
|
926
|
-
|
|
927
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
928
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
929
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
930
|
-
return v1;
|
|
931
|
-
}
|
|
932
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender() {
|
|
933
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender();
|
|
956
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_find_credentials_ffi() {
|
|
957
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_find_credentials_ffi();
|
|
934
958
|
return ret;
|
|
935
959
|
}
|
|
936
|
-
function
|
|
937
|
-
const ret = wasm.
|
|
960
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key() {
|
|
961
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key();
|
|
938
962
|
return ret;
|
|
939
963
|
}
|
|
940
|
-
function
|
|
941
|
-
|
|
942
|
-
const
|
|
943
|
-
|
|
944
|
-
}
|
|
945
|
-
function ubrn_uniffi_core_crypto_ffi_fn_free_database(handle, f_status_) {
|
|
946
|
-
_assertClass(f_status_, RustCallStatus);
|
|
947
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_database(handle, f_status_.__wbg_ptr);
|
|
948
|
-
}
|
|
949
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_key_packages(ptr) {
|
|
950
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_key_packages(ptr);
|
|
964
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, session_id) {
|
|
965
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
966
|
+
const len0 = WASM_VECTOR_LEN;
|
|
967
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
951
968
|
return BigInt.asUintN(64, ret);
|
|
952
969
|
}
|
|
953
|
-
function
|
|
954
|
-
|
|
955
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_.__wbg_ptr);
|
|
956
|
-
}
|
|
957
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_status_) {
|
|
958
|
-
_assertClass(f_status_, RustCallStatus);
|
|
959
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_status_.__wbg_ptr);
|
|
960
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
961
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
962
|
-
return v1;
|
|
963
|
-
}
|
|
964
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data) {
|
|
965
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data);
|
|
966
|
-
}
|
|
967
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_create_conversation() {
|
|
968
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_create_conversation();
|
|
970
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_set_logger() {
|
|
971
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_set_logger();
|
|
969
972
|
return ret;
|
|
970
973
|
}
|
|
971
|
-
function
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}
|
|
975
|
-
function ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory(key) {
|
|
976
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory(key);
|
|
977
|
-
return BigInt.asUintN(64, ret);
|
|
978
|
-
}
|
|
979
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_data(ptr) {
|
|
980
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_data(ptr);
|
|
981
|
-
return BigInt.asUintN(64, ret);
|
|
974
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate() {
|
|
975
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate();
|
|
976
|
+
return ret;
|
|
982
977
|
}
|
|
983
|
-
function
|
|
984
|
-
|
|
985
|
-
return BigInt.asUintN(64, ret);
|
|
978
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u16(handle) {
|
|
979
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u16(handle);
|
|
986
980
|
}
|
|
987
|
-
function
|
|
988
|
-
const ret = wasm.
|
|
981
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new() {
|
|
982
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new();
|
|
989
983
|
return ret;
|
|
990
984
|
}
|
|
991
985
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint(ptr) {
|
|
992
986
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint(ptr);
|
|
993
987
|
return BigInt.asUintN(64, ret);
|
|
994
988
|
}
|
|
995
|
-
function
|
|
996
|
-
const
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
return ret;
|
|
1002
|
-
}
|
|
1003
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse() {
|
|
1004
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse();
|
|
1005
|
-
return ret;
|
|
989
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(bytes, f_status_) {
|
|
990
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
991
|
+
const len0 = WASM_VECTOR_LEN;
|
|
992
|
+
_assertClass(f_status_, RustCallStatus);
|
|
993
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
994
|
+
return BigInt.asUintN(64, ret);
|
|
1006
995
|
}
|
|
1007
996
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey_auto(ptr) {
|
|
1008
997
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey_auto(ptr);
|
|
1009
998
|
return BigInt.asUintN(64, ret);
|
|
1010
999
|
}
|
|
1011
|
-
function
|
|
1012
|
-
|
|
1013
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_.__wbg_ptr);
|
|
1014
|
-
return ret;
|
|
1015
|
-
}
|
|
1016
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save() {
|
|
1017
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save();
|
|
1000
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_enable_history_sharing() {
|
|
1001
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_enable_history_sharing();
|
|
1018
1002
|
return ret;
|
|
1019
1003
|
}
|
|
1020
|
-
function
|
|
1004
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_databasekey(handle, f_status_) {
|
|
1021
1005
|
_assertClass(f_status_, RustCallStatus);
|
|
1022
|
-
|
|
1023
|
-
return ret;
|
|
1006
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_databasekey(handle, f_status_.__wbg_ptr);
|
|
1024
1007
|
}
|
|
1025
|
-
function
|
|
1026
|
-
const ret = wasm.
|
|
1008
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_history_client() {
|
|
1009
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_history_client();
|
|
1027
1010
|
return ret;
|
|
1028
1011
|
}
|
|
1029
|
-
function
|
|
1030
|
-
const ptr0 = passArray8ToWasm0(
|
|
1012
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk(jwk, f_status_) {
|
|
1013
|
+
const ptr0 = passArray8ToWasm0(jwk, wasm.__wbindgen_malloc);
|
|
1031
1014
|
const len0 = WASM_VECTOR_LEN;
|
|
1032
|
-
|
|
1033
|
-
const
|
|
1034
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(ptr0, len0, ptr1, len1, new_key);
|
|
1015
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1016
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk(ptr0, len0, f_status_.__wbg_ptr);
|
|
1035
1017
|
return BigInt.asUintN(64, ret);
|
|
1036
1018
|
}
|
|
1037
|
-
function
|
|
1038
|
-
const ptr0 = passArray8ToWasm0(
|
|
1019
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_set_pki_environment(ptr, pki_environment) {
|
|
1020
|
+
const ptr0 = passArray8ToWasm0(pki_environment, wasm.__wbindgen_malloc);
|
|
1039
1021
|
const len0 = WASM_VECTOR_LEN;
|
|
1040
|
-
const ret = wasm.
|
|
1022
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_set_pki_environment(ptr, ptr0, len0);
|
|
1041
1023
|
return BigInt.asUintN(64, ret);
|
|
1042
1024
|
}
|
|
1043
|
-
function
|
|
1025
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes() {
|
|
1026
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes();
|
|
1027
|
+
return ret;
|
|
1028
|
+
}
|
|
1029
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request() {
|
|
1030
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request();
|
|
1031
|
+
return ret;
|
|
1032
|
+
}
|
|
1033
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo(handle, f_status_) {
|
|
1044
1034
|
_assertClass(f_status_, RustCallStatus);
|
|
1045
|
-
const ret = wasm.
|
|
1035
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo(handle, f_status_.__wbg_ptr);
|
|
1046
1036
|
return BigInt.asUintN(64, ret);
|
|
1047
1037
|
}
|
|
1048
|
-
function
|
|
1049
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle);
|
|
1050
|
-
}
|
|
1051
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_signature_scheme(ptr, f_status_) {
|
|
1038
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_credential_type(ptr, f_status_) {
|
|
1052
1039
|
_assertClass(f_status_, RustCallStatus);
|
|
1053
|
-
const ret = wasm.
|
|
1040
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_credential_type(ptr, f_status_.__wbg_ptr);
|
|
1054
1041
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1055
1042
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1056
1043
|
return v1;
|
|
1057
1044
|
}
|
|
1058
|
-
function
|
|
1059
|
-
|
|
1045
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_cipher_suite(ptr, f_status_) {
|
|
1046
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1047
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_cipher_suite(ptr, f_status_.__wbg_ptr);
|
|
1048
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1049
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1050
|
+
return v1;
|
|
1060
1051
|
}
|
|
1061
|
-
function
|
|
1062
|
-
|
|
1063
|
-
|
|
1052
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(ptr, f_status_) {
|
|
1053
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1054
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(ptr, f_status_.__wbg_ptr);
|
|
1055
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1056
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1057
|
+
return v1;
|
|
1064
1058
|
}
|
|
1065
|
-
function
|
|
1066
|
-
const ret = wasm.
|
|
1059
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_serialize() {
|
|
1060
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_serialize();
|
|
1067
1061
|
return ret;
|
|
1068
1062
|
}
|
|
1069
|
-
function
|
|
1070
|
-
|
|
1071
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_.__wbg_ptr);
|
|
1063
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_update_key(ptr, key) {
|
|
1064
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_update_key(ptr, key);
|
|
1072
1065
|
return BigInt.asUintN(64, ret);
|
|
1073
1066
|
}
|
|
1074
|
-
function
|
|
1075
|
-
const ret = wasm.
|
|
1076
|
-
return ret
|
|
1067
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_credential_basic() {
|
|
1068
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_credential_basic();
|
|
1069
|
+
return ret;
|
|
1077
1070
|
}
|
|
1078
|
-
function
|
|
1079
|
-
|
|
1071
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_public_key_hash(ptr, f_status_) {
|
|
1072
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1073
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_public_key_hash(ptr, f_status_.__wbg_ptr);
|
|
1074
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1075
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1076
|
+
return v1;
|
|
1080
1077
|
}
|
|
1081
|
-
function
|
|
1082
|
-
wasm.
|
|
1078
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_client_id() {
|
|
1079
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_client_id();
|
|
1080
|
+
return ret;
|
|
1083
1081
|
}
|
|
1084
|
-
function
|
|
1085
|
-
|
|
1082
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_historyobserver(handle, f_status_) {
|
|
1083
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1084
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_historyobserver(handle, f_status_.__wbg_ptr);
|
|
1086
1085
|
return BigInt.asUintN(64, ret);
|
|
1087
1086
|
}
|
|
1088
|
-
function
|
|
1087
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_conversationid(handle, f_status_) {
|
|
1089
1088
|
_assertClass(f_status_, RustCallStatus);
|
|
1090
|
-
wasm.
|
|
1089
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_conversationid(handle, f_status_.__wbg_ptr);
|
|
1091
1090
|
}
|
|
1092
|
-
function
|
|
1093
|
-
const
|
|
1094
|
-
|
|
1091
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, message) {
|
|
1092
|
+
const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
1093
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1094
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, ptr0, len0);
|
|
1095
|
+
return BigInt.asUintN(64, ret);
|
|
1095
1096
|
}
|
|
1096
|
-
function
|
|
1097
|
-
wasm.
|
|
1097
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_disable_history_sharing() {
|
|
1098
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_disable_history_sharing();
|
|
1099
|
+
return ret;
|
|
1098
1100
|
}
|
|
1099
|
-
function
|
|
1101
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey(handle, f_status_) {
|
|
1100
1102
|
_assertClass(f_status_, RustCallStatus);
|
|
1101
|
-
const ret = wasm.
|
|
1102
|
-
return ret;
|
|
1103
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey(handle, f_status_.__wbg_ptr);
|
|
1104
|
+
return BigInt.asUintN(64, ret);
|
|
1103
1105
|
}
|
|
1104
|
-
function
|
|
1105
|
-
wasm.
|
|
1106
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce(ptr) {
|
|
1107
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce(ptr);
|
|
1108
|
+
return BigInt.asUintN(64, ret);
|
|
1106
1109
|
}
|
|
1107
|
-
function
|
|
1110
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_conversation_credential() {
|
|
1111
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_conversation_credential();
|
|
1112
|
+
return ret;
|
|
1113
|
+
}
|
|
1114
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocontext(handle, f_status_) {
|
|
1108
1115
|
_assertClass(f_status_, RustCallStatus);
|
|
1109
|
-
const ret = wasm.
|
|
1116
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocontext(handle, f_status_.__wbg_ptr);
|
|
1110
1117
|
return BigInt.asUintN(64, ret);
|
|
1111
1118
|
}
|
|
1112
|
-
function
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1116
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1117
|
-
return v1;
|
|
1119
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_cipher_suite(ptr, conversation_id) {
|
|
1120
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_cipher_suite(ptr, conversation_id);
|
|
1121
|
+
return BigInt.asUintN(64, ret);
|
|
1118
1122
|
}
|
|
1119
|
-
function
|
|
1123
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_) {
|
|
1120
1124
|
_assertClass(f_status_, RustCallStatus);
|
|
1121
|
-
const ret = wasm.
|
|
1122
|
-
return ret;
|
|
1123
|
-
}
|
|
1124
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, dpop) {
|
|
1125
|
-
const ptr0 = passArray8ToWasm0(dpop, wasm.__wbindgen_malloc);
|
|
1126
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1127
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, ptr0, len0);
|
|
1125
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_.__wbg_ptr);
|
|
1128
1126
|
return BigInt.asUintN(64, ret);
|
|
1129
1127
|
}
|
|
1130
|
-
function
|
|
1131
|
-
const ptr0 = passArray8ToWasm0(
|
|
1128
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, idp, key_auth, acme_aud, acquisition_snapshot) {
|
|
1129
|
+
const ptr0 = passArray8ToWasm0(idp, wasm.__wbindgen_malloc);
|
|
1132
1130
|
const len0 = WASM_VECTOR_LEN;
|
|
1133
|
-
const ptr1 = passArray8ToWasm0(
|
|
1131
|
+
const ptr1 = passArray8ToWasm0(key_auth, wasm.__wbindgen_malloc);
|
|
1134
1132
|
const len1 = WASM_VECTOR_LEN;
|
|
1135
|
-
const
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
const ret = wasm.
|
|
1133
|
+
const ptr2 = passArray8ToWasm0(acme_aud, wasm.__wbindgen_malloc);
|
|
1134
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1135
|
+
const ptr3 = passArray8ToWasm0(acquisition_snapshot, wasm.__wbindgen_malloc);
|
|
1136
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1137
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1140
1138
|
return BigInt.asUintN(64, ret);
|
|
1141
1139
|
}
|
|
1142
|
-
function
|
|
1143
|
-
const ret = wasm.
|
|
1140
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_epoch() {
|
|
1141
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_epoch();
|
|
1144
1142
|
return ret;
|
|
1145
1143
|
}
|
|
1146
|
-
function
|
|
1147
|
-
|
|
1148
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
1149
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1150
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1151
|
-
return v1;
|
|
1152
|
-
}
|
|
1153
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize(ptr) {
|
|
1154
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize(ptr);
|
|
1155
|
-
return BigInt.asUintN(64, ret);
|
|
1156
|
-
}
|
|
1157
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local() {
|
|
1158
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local();
|
|
1144
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptocontext_new() {
|
|
1145
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptocontext_new();
|
|
1159
1146
|
return ret;
|
|
1160
1147
|
}
|
|
1161
|
-
function
|
|
1162
|
-
const ret = wasm.
|
|
1148
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_clients_from_conversation() {
|
|
1149
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_clients_from_conversation();
|
|
1163
1150
|
return ret;
|
|
1164
1151
|
}
|
|
1165
|
-
function
|
|
1166
|
-
|
|
1152
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks(handle, f_status_) {
|
|
1153
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1154
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks(handle, f_status_.__wbg_ptr);
|
|
1155
|
+
}
|
|
1156
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new() {
|
|
1157
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new();
|
|
1167
1158
|
return ret;
|
|
1168
1159
|
}
|
|
1169
|
-
function
|
|
1160
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1170
1161
|
_assertClass(f_status_, RustCallStatus);
|
|
1171
|
-
const ret = wasm.
|
|
1162
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1172
1163
|
return ret;
|
|
1173
1164
|
}
|
|
1174
|
-
function
|
|
1175
|
-
const ret = wasm.
|
|
1165
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string() {
|
|
1166
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string();
|
|
1176
1167
|
return ret;
|
|
1177
1168
|
}
|
|
1178
|
-
function
|
|
1169
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_x509credentialacquisition(handle, f_status_) {
|
|
1170
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1171
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_x509credentialacquisition(handle, f_status_.__wbg_ptr);
|
|
1172
|
+
}
|
|
1173
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(cipher_suite, client_id, f_status_) {
|
|
1179
1174
|
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
1180
1175
|
const len0 = WASM_VECTOR_LEN;
|
|
1181
|
-
|
|
1176
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1177
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(ptr0, len0, client_id, f_status_.__wbg_ptr);
|
|
1182
1178
|
return BigInt.asUintN(64, ret);
|
|
1183
1179
|
}
|
|
1184
1180
|
function ubrn_uniffi_core_crypto_ffi_fn_func_set_logger(logger, f_status_) {
|
|
1185
1181
|
_assertClass(f_status_, RustCallStatus);
|
|
1186
1182
|
wasm.ubrn_uniffi_core_crypto_ffi_fn_func_set_logger(logger, f_status_.__wbg_ptr);
|
|
1187
1183
|
}
|
|
1188
|
-
function
|
|
1189
|
-
|
|
1190
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i32(handle, f_status_.__wbg_ptr);
|
|
1184
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize() {
|
|
1185
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize();
|
|
1191
1186
|
return ret;
|
|
1192
1187
|
}
|
|
1193
|
-
function
|
|
1194
|
-
const ret = wasm.
|
|
1188
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_migrate_database_key_type_to_bytes() {
|
|
1189
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_migrate_database_key_type_to_bytes();
|
|
1195
1190
|
return ret;
|
|
1196
1191
|
}
|
|
1197
|
-
function
|
|
1192
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new() {
|
|
1193
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new();
|
|
1194
|
+
return ret;
|
|
1195
|
+
}
|
|
1196
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptologger_log(ptr, level, message, context, f_status_) {
|
|
1197
|
+
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
1198
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1199
|
+
const ptr1 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
1200
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1201
|
+
const ptr2 = passArray8ToWasm0(context, wasm.__wbindgen_malloc);
|
|
1202
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1198
1203
|
_assertClass(f_status_, RustCallStatus);
|
|
1199
|
-
|
|
1200
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1201
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1202
|
-
return v1;
|
|
1204
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptologger_log(ptr, ptr0, len0, ptr1, len1, ptr2, len2, f_status_.__wbg_ptr);
|
|
1203
1205
|
}
|
|
1204
|
-
function
|
|
1206
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_export_pem(ptr, f_status_) {
|
|
1205
1207
|
_assertClass(f_status_, RustCallStatus);
|
|
1206
|
-
const ret = wasm.
|
|
1208
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_export_pem(ptr, f_status_.__wbg_ptr);
|
|
1207
1209
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1208
1210
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1209
1211
|
return v1;
|
|
1210
1212
|
}
|
|
1211
|
-
function
|
|
1212
|
-
const ret = wasm.
|
|
1213
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data() {
|
|
1214
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data();
|
|
1213
1215
|
return ret;
|
|
1214
1216
|
}
|
|
1215
|
-
function
|
|
1216
|
-
const ret = wasm.
|
|
1217
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocommand_execute() {
|
|
1218
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocommand_execute();
|
|
1217
1219
|
return ret;
|
|
1218
1220
|
}
|
|
1219
|
-
function
|
|
1221
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_) {
|
|
1220
1222
|
_assertClass(f_status_, RustCallStatus);
|
|
1221
|
-
wasm.
|
|
1222
|
-
|
|
1223
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt() {
|
|
1224
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt();
|
|
1225
|
-
return ret;
|
|
1223
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_.__wbg_ptr);
|
|
1224
|
+
return BigInt.asUintN(64, ret);
|
|
1226
1225
|
}
|
|
1227
|
-
function
|
|
1228
|
-
const ret = wasm.
|
|
1229
|
-
return ret;
|
|
1226
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_credential(ptr, conversation_id) {
|
|
1227
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_credential(ptr, conversation_id);
|
|
1228
|
+
return BigInt.asUintN(64, ret);
|
|
1230
1229
|
}
|
|
1231
|
-
function
|
|
1232
|
-
const ret = wasm.
|
|
1230
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt_batched() {
|
|
1231
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt_batched();
|
|
1233
1232
|
return ret;
|
|
1234
1233
|
}
|
|
1235
|
-
function
|
|
1236
|
-
|
|
1234
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1235
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1236
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1237
1237
|
return ret;
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1240
|
-
const
|
|
1239
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(history_secret) {
|
|
1240
|
+
const ptr0 = passArray8ToWasm0(history_secret, wasm.__wbindgen_malloc);
|
|
1241
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1242
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(ptr0, len0);
|
|
1241
1243
|
return BigInt.asUintN(64, ret);
|
|
1242
1244
|
}
|
|
1243
|
-
function
|
|
1244
|
-
const
|
|
1245
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_find_credentials_ffi(ptr, client_id, public_key, cipher_suite, credential_type, earliest_validity) {
|
|
1246
|
+
const ptr0 = passArray8ToWasm0(client_id, wasm.__wbindgen_malloc);
|
|
1247
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1248
|
+
const ptr1 = passArray8ToWasm0(public_key, wasm.__wbindgen_malloc);
|
|
1249
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1250
|
+
const ptr2 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
1251
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1252
|
+
const ptr3 = passArray8ToWasm0(credential_type, wasm.__wbindgen_malloc);
|
|
1253
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1254
|
+
const ptr4 = passArray8ToWasm0(earliest_validity, wasm.__wbindgen_malloc);
|
|
1255
|
+
const len4 = WASM_VECTOR_LEN;
|
|
1256
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_find_credentials_ffi(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
1245
1257
|
return BigInt.asUintN(64, ret);
|
|
1246
1258
|
}
|
|
1247
|
-
function
|
|
1248
|
-
|
|
1249
|
-
|
|
1259
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor() {
|
|
1260
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor();
|
|
1261
|
+
return ret;
|
|
1250
1262
|
}
|
|
1251
|
-
function
|
|
1252
|
-
|
|
1263
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1264
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1265
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1253
1266
|
return ret;
|
|
1254
1267
|
}
|
|
1255
|
-
function
|
|
1256
|
-
const
|
|
1268
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, dpop) {
|
|
1269
|
+
const ptr0 = passArray8ToWasm0(dpop, wasm.__wbindgen_malloc);
|
|
1270
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1271
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, ptr0, len0);
|
|
1257
1272
|
return BigInt.asUintN(64, ret);
|
|
1258
1273
|
}
|
|
1259
|
-
function
|
|
1260
|
-
const ret = wasm.
|
|
1274
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_build_metadata() {
|
|
1275
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_build_metadata();
|
|
1261
1276
|
return ret;
|
|
1262
1277
|
}
|
|
1263
|
-
function
|
|
1264
|
-
const
|
|
1265
|
-
|
|
1266
|
-
|
|
1278
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_cipher_suite() {
|
|
1279
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_cipher_suite();
|
|
1280
|
+
return ret;
|
|
1281
|
+
}
|
|
1282
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint(ptr) {
|
|
1283
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint(ptr);
|
|
1267
1284
|
return BigInt.asUintN(64, ret);
|
|
1268
1285
|
}
|
|
1269
|
-
function
|
|
1270
|
-
|
|
1286
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_) {
|
|
1287
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1288
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1271
1289
|
return BigInt.asUintN(64, ret);
|
|
1272
1290
|
}
|
|
1273
|
-
function
|
|
1274
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i64(handle);
|
|
1275
|
-
}
|
|
1276
|
-
function ubrn_uniffi_core_crypto_ffi_fn_func_version(f_status_) {
|
|
1291
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_ref(ptr, f_status_) {
|
|
1277
1292
|
_assertClass(f_status_, RustCallStatus);
|
|
1278
|
-
const ret = wasm.
|
|
1279
|
-
|
|
1280
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1281
|
-
return v1;
|
|
1293
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_ref(ptr, f_status_.__wbg_ptr);
|
|
1294
|
+
return BigInt.asUintN(64, ret);
|
|
1282
1295
|
}
|
|
1283
|
-
function
|
|
1284
|
-
const ptr0 = passArray8ToWasm0(
|
|
1296
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes(pki_environment, bytes, f_status_) {
|
|
1297
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1285
1298
|
const len0 = WASM_VECTOR_LEN;
|
|
1286
|
-
const ptr1 = passArray8ToWasm0(device_id, wasm.__wbindgen_malloc);
|
|
1287
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1288
|
-
const ptr2 = passArray8ToWasm0(domain, wasm.__wbindgen_malloc);
|
|
1289
|
-
const len2 = WASM_VECTOR_LEN;
|
|
1290
1299
|
_assertClass(f_status_, RustCallStatus);
|
|
1291
|
-
const ret = wasm.
|
|
1300
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
1292
1301
|
return BigInt.asUintN(64, ret);
|
|
1293
1302
|
}
|
|
1294
|
-
function
|
|
1295
|
-
wasm.
|
|
1296
|
-
}
|
|
1297
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u8(handle) {
|
|
1298
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u8(handle);
|
|
1299
|
-
}
|
|
1300
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals() {
|
|
1301
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals();
|
|
1302
|
-
return ret;
|
|
1303
|
-
}
|
|
1304
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptologger_log(ptr, level, message, context, f_status_) {
|
|
1305
|
-
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
1303
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new(pki_environment, config, f_status_) {
|
|
1304
|
+
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
1306
1305
|
const len0 = WASM_VECTOR_LEN;
|
|
1307
|
-
const ptr1 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
1308
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1309
|
-
const ptr2 = passArray8ToWasm0(context, wasm.__wbindgen_malloc);
|
|
1310
|
-
const len2 = WASM_VECTOR_LEN;
|
|
1311
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1312
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptologger_log(ptr, ptr0, len0, ptr1, len1, ptr2, len2, f_status_.__wbg_ptr);
|
|
1313
|
-
}
|
|
1314
|
-
function ubrn_uniffi_core_crypto_ffi_fn_clone_conversationid(handle, f_status_) {
|
|
1315
1306
|
_assertClass(f_status_, RustCallStatus);
|
|
1316
|
-
const ret = wasm.
|
|
1307
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
1317
1308
|
return BigInt.asUintN(64, ret);
|
|
1318
1309
|
}
|
|
1319
|
-
function
|
|
1310
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_copy_bytes(ptr, f_status_) {
|
|
1320
1311
|
_assertClass(f_status_, RustCallStatus);
|
|
1321
|
-
const ret = wasm.
|
|
1312
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
1322
1313
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1323
1314
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1324
1315
|
return v1;
|
|
1325
1316
|
}
|
|
1326
|
-
function
|
|
1327
|
-
|
|
1328
|
-
const
|
|
1317
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_data(ptr, data) {
|
|
1318
|
+
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
1319
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1320
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_data(ptr, ptr0, len0);
|
|
1329
1321
|
return BigInt.asUintN(64, ret);
|
|
1330
1322
|
}
|
|
1331
|
-
function
|
|
1332
|
-
const
|
|
1333
|
-
|
|
1323
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package(ptr, credential_ref, lifetime) {
|
|
1324
|
+
const ptr0 = passArray8ToWasm0(lifetime, wasm.__wbindgen_malloc);
|
|
1325
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1326
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package(ptr, credential_ref, ptr0, len0);
|
|
1327
|
+
return BigInt.asUintN(64, ret);
|
|
1334
1328
|
}
|
|
1335
|
-
function
|
|
1336
|
-
const ret = wasm.
|
|
1329
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender() {
|
|
1330
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender();
|
|
1337
1331
|
return ret;
|
|
1338
1332
|
}
|
|
1339
|
-
function
|
|
1340
|
-
const ret = wasm.
|
|
1333
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey() {
|
|
1334
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey();
|
|
1341
1335
|
return ret;
|
|
1342
1336
|
}
|
|
1343
|
-
function
|
|
1344
|
-
|
|
1345
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize(ptr, f_status_.__wbg_ptr);
|
|
1346
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1347
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1348
|
-
return v1;
|
|
1349
|
-
}
|
|
1350
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1351
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1352
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1337
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string() {
|
|
1338
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string();
|
|
1353
1339
|
return ret;
|
|
1354
1340
|
}
|
|
1355
|
-
function
|
|
1356
|
-
const ret = wasm.
|
|
1341
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle() {
|
|
1342
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle();
|
|
1357
1343
|
return ret;
|
|
1358
1344
|
}
|
|
1359
|
-
function
|
|
1360
|
-
|
|
1361
|
-
const
|
|
1362
|
-
|
|
1345
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(path, old_key, new_key) {
|
|
1346
|
+
const ptr0 = passArray8ToWasm0(path, wasm.__wbindgen_malloc);
|
|
1347
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1348
|
+
const ptr1 = passArray8ToWasm0(old_key, wasm.__wbindgen_malloc);
|
|
1349
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1350
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(ptr0, len0, ptr1, len1, new_key);
|
|
1351
|
+
return BigInt.asUintN(64, ret);
|
|
1363
1352
|
}
|
|
1364
|
-
function
|
|
1353
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_welcome_new(bytes, f_status_) {
|
|
1365
1354
|
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1366
1355
|
const len0 = WASM_VECTOR_LEN;
|
|
1367
1356
|
_assertClass(f_status_, RustCallStatus);
|
|
1368
|
-
const ret = wasm.
|
|
1357
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_welcome_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1369
1358
|
return BigInt.asUintN(64, ret);
|
|
1370
1359
|
}
|
|
1371
|
-
function
|
|
1372
|
-
|
|
1360
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_f32(handle, callback, callback_data) {
|
|
1361
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_f32(handle, callback, callback_data);
|
|
1362
|
+
}
|
|
1363
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new_from_credential_ref() {
|
|
1364
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new_from_credential_ref();
|
|
1373
1365
|
return ret;
|
|
1374
1366
|
}
|
|
1375
|
-
function
|
|
1376
|
-
|
|
1377
|
-
const
|
|
1367
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, method, url, headers, body) {
|
|
1368
|
+
const ptr0 = passArray8ToWasm0(method, wasm.__wbindgen_malloc);
|
|
1369
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1370
|
+
const ptr1 = passArray8ToWasm0(url, wasm.__wbindgen_malloc);
|
|
1371
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1372
|
+
const ptr2 = passArray8ToWasm0(headers, wasm.__wbindgen_malloc);
|
|
1373
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1374
|
+
const ptr3 = passArray8ToWasm0(body, wasm.__wbindgen_malloc);
|
|
1375
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1376
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1378
1377
|
return BigInt.asUintN(64, ret);
|
|
1379
1378
|
}
|
|
1380
|
-
function
|
|
1381
|
-
const ret = wasm.
|
|
1379
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_epoch() {
|
|
1380
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_epoch();
|
|
1382
1381
|
return ret;
|
|
1383
1382
|
}
|
|
1384
|
-
function
|
|
1383
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, session_id, ciphertext) {
|
|
1384
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1385
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1386
|
+
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
1387
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1388
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, ptr0, len0, ptr1, len1);
|
|
1389
|
+
return BigInt.asUintN(64, ret);
|
|
1390
|
+
}
|
|
1391
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_) {
|
|
1385
1392
|
_assertClass(f_status_, RustCallStatus);
|
|
1386
|
-
const ret = wasm.
|
|
1393
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_.__wbg_ptr);
|
|
1387
1394
|
return ret;
|
|
1388
1395
|
}
|
|
1389
|
-
function
|
|
1390
|
-
const
|
|
1391
|
-
|
|
1396
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_device_identities() {
|
|
1397
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_device_identities();
|
|
1398
|
+
return ret;
|
|
1399
|
+
}
|
|
1400
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1392
1401
|
_assertClass(f_status_, RustCallStatus);
|
|
1393
|
-
const ret = wasm.
|
|
1402
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1403
|
+
return ret;
|
|
1404
|
+
}
|
|
1405
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_from_u16() {
|
|
1406
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_from_u16();
|
|
1407
|
+
return ret;
|
|
1408
|
+
}
|
|
1409
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_exists(ptr, conversation_id) {
|
|
1410
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_exists(ptr, conversation_id);
|
|
1394
1411
|
return BigInt.asUintN(64, ret);
|
|
1395
1412
|
}
|
|
1396
|
-
function
|
|
1413
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_signature_scheme(ptr, f_status_) {
|
|
1397
1414
|
_assertClass(f_status_, RustCallStatus);
|
|
1398
|
-
const ret = wasm.
|
|
1415
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
1416
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1417
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1418
|
+
return v1;
|
|
1419
|
+
}
|
|
1420
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init() {
|
|
1421
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init();
|
|
1399
1422
|
return ret;
|
|
1400
1423
|
}
|
|
1401
|
-
function
|
|
1402
|
-
|
|
1403
|
-
const
|
|
1404
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_enabled(ptr, ptr0, len0);
|
|
1424
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(ptr, f_status_) {
|
|
1425
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1426
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
1405
1427
|
return BigInt.asUintN(64, ret);
|
|
1406
1428
|
}
|
|
1407
|
-
function
|
|
1408
|
-
const ret = wasm.
|
|
1429
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer() {
|
|
1430
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer();
|
|
1409
1431
|
return ret;
|
|
1410
1432
|
}
|
|
1411
|
-
function
|
|
1412
|
-
|
|
1413
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_credentialref(handle, f_status_.__wbg_ptr);
|
|
1433
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_historyobserver(vtable) {
|
|
1434
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_historyobserver(vtable);
|
|
1414
1435
|
}
|
|
1415
|
-
function
|
|
1416
|
-
const ret = wasm.
|
|
1436
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_decrypt_message() {
|
|
1437
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_decrypt_message();
|
|
1417
1438
|
return ret;
|
|
1418
1439
|
}
|
|
1419
|
-
function
|
|
1420
|
-
const ptr0 = passArray8ToWasm0(
|
|
1440
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(ptr, conversation_id, user_ids) {
|
|
1441
|
+
const ptr0 = passArray8ToWasm0(user_ids, wasm.__wbindgen_malloc);
|
|
1421
1442
|
const len0 = WASM_VECTOR_LEN;
|
|
1422
|
-
const ret = wasm.
|
|
1443
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
1423
1444
|
return BigInt.asUintN(64, ret);
|
|
1424
1445
|
}
|
|
1425
|
-
function
|
|
1426
|
-
const ret = wasm.
|
|
1446
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_check_credentials() {
|
|
1447
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_check_credentials();
|
|
1427
1448
|
return ret;
|
|
1428
1449
|
}
|
|
1429
|
-
function
|
|
1430
|
-
wasm.
|
|
1450
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert() {
|
|
1451
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert();
|
|
1452
|
+
return ret;
|
|
1431
1453
|
}
|
|
1432
|
-
function
|
|
1433
|
-
const ret = wasm.
|
|
1454
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt() {
|
|
1455
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt();
|
|
1434
1456
|
return ret;
|
|
1435
1457
|
}
|
|
1436
|
-
function
|
|
1437
|
-
|
|
1438
|
-
const
|
|
1458
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_create_conversation(ptr, conversation_id, credential_ref, external_sender) {
|
|
1459
|
+
const ptr0 = passArray8ToWasm0(external_sender, wasm.__wbindgen_malloc);
|
|
1460
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1461
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_create_conversation(ptr, conversation_id, credential_ref, ptr0, len0);
|
|
1439
1462
|
return BigInt.asUintN(64, ret);
|
|
1440
1463
|
}
|
|
1441
|
-
function
|
|
1442
|
-
const ret = wasm.
|
|
1464
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit() {
|
|
1465
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit();
|
|
1443
1466
|
return ret;
|
|
1444
1467
|
}
|
|
1445
|
-
function
|
|
1446
|
-
const
|
|
1447
|
-
|
|
1448
|
-
}
|
|
1449
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_) {
|
|
1468
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(prekey, f_status_) {
|
|
1469
|
+
const ptr0 = passArray8ToWasm0(prekey, wasm.__wbindgen_malloc);
|
|
1470
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1450
1471
|
_assertClass(f_status_, RustCallStatus);
|
|
1451
|
-
const ret = wasm.
|
|
1452
|
-
var
|
|
1472
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(ptr0, len0, f_status_.__wbg_ptr);
|
|
1473
|
+
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1453
1474
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1454
|
-
return
|
|
1475
|
+
return v2;
|
|
1455
1476
|
}
|
|
1456
|
-
function
|
|
1457
|
-
|
|
1477
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_) {
|
|
1478
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1479
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_.__wbg_ptr);
|
|
1458
1480
|
return ret;
|
|
1459
1481
|
}
|
|
1460
|
-
function
|
|
1461
|
-
const ptr0 = passArray8ToWasm0(
|
|
1482
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_session_exists(ptr, session_id) {
|
|
1483
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1462
1484
|
const len0 = WASM_VECTOR_LEN;
|
|
1463
|
-
const ret = wasm.
|
|
1485
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_session_exists(ptr, ptr0, len0);
|
|
1464
1486
|
return BigInt.asUintN(64, ret);
|
|
1465
1487
|
}
|
|
1466
|
-
function
|
|
1467
|
-
const ptr0 = passArray8ToWasm0(
|
|
1488
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_set_max_log_level(level, f_status_) {
|
|
1489
|
+
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
1468
1490
|
const len0 = WASM_VECTOR_LEN;
|
|
1469
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_prepare_for_transport(ptr, ptr0, len0);
|
|
1470
|
-
return BigInt.asUintN(64, ret);
|
|
1471
|
-
}
|
|
1472
|
-
function ubrn_uniffi_core_crypto_ffi_fn_clone_clientid(handle, f_status_) {
|
|
1473
1491
|
_assertClass(f_status_, RustCallStatus);
|
|
1474
|
-
|
|
1492
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_func_set_max_log_level(ptr0, len0, f_status_.__wbg_ptr);
|
|
1493
|
+
}
|
|
1494
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptoffi_new() {
|
|
1495
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptoffi_new();
|
|
1496
|
+
return ret;
|
|
1497
|
+
}
|
|
1498
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_clients_from_conversation(ptr, conversation_id, clients) {
|
|
1499
|
+
const ptr0 = passArray8ToWasm0(clients, wasm.__wbindgen_malloc);
|
|
1500
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1501
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_clients_from_conversation(ptr, conversation_id, ptr0, len0);
|
|
1475
1502
|
return BigInt.asUintN(64, ret);
|
|
1476
1503
|
}
|
|
1477
1504
|
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptologger(handle, f_status_) {
|
|
1478
1505
|
_assertClass(f_status_, RustCallStatus);
|
|
1479
1506
|
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptologger(handle, f_status_.__wbg_ptr);
|
|
1480
1507
|
}
|
|
1481
|
-
function
|
|
1482
|
-
const ret = wasm.
|
|
1483
|
-
return ret;
|
|
1508
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_transaction_ffi(ptr, command) {
|
|
1509
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_transaction_ffi(ptr, command);
|
|
1510
|
+
return BigInt.asUintN(64, ret);
|
|
1484
1511
|
}
|
|
1485
|
-
function
|
|
1486
|
-
|
|
1487
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_mlstransport(handle, f_status_.__wbg_ptr);
|
|
1512
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_pkienvironmenthooks(vtable) {
|
|
1513
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_pkienvironmenthooks(vtable);
|
|
1488
1514
|
}
|
|
1489
|
-
function
|
|
1490
|
-
const
|
|
1491
|
-
|
|
1492
|
-
const ptr1 = passArray8ToWasm0(url, wasm.__wbindgen_malloc);
|
|
1493
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1494
|
-
const ptr2 = passArray8ToWasm0(headers, wasm.__wbindgen_malloc);
|
|
1495
|
-
const len2 = WASM_VECTOR_LEN;
|
|
1496
|
-
const ptr3 = passArray8ToWasm0(body, wasm.__wbindgen_malloc);
|
|
1497
|
-
const len3 = WASM_VECTOR_LEN;
|
|
1498
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1499
|
-
return BigInt.asUintN(64, ret);
|
|
1515
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_exists() {
|
|
1516
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_exists();
|
|
1517
|
+
return ret;
|
|
1500
1518
|
}
|
|
1501
|
-
function
|
|
1502
|
-
|
|
1503
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_.__wbg_ptr);
|
|
1504
|
-
return BigInt.asUintN(64, ret);
|
|
1519
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle) {
|
|
1520
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle);
|
|
1505
1521
|
}
|
|
1506
|
-
function
|
|
1507
|
-
|
|
1522
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u16(handle) {
|
|
1523
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u16(handle);
|
|
1524
|
+
}
|
|
1525
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_create_conversation() {
|
|
1526
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_create_conversation();
|
|
1508
1527
|
return ret;
|
|
1509
1528
|
}
|
|
1510
|
-
function
|
|
1511
|
-
const ret = wasm.
|
|
1529
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes() {
|
|
1530
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes();
|
|
1512
1531
|
return ret;
|
|
1513
1532
|
}
|
|
1514
|
-
function
|
|
1515
|
-
const ret = wasm.
|
|
1533
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_export_secret_key(ptr, conversation_id, key_length) {
|
|
1534
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_export_secret_key(ptr, conversation_id, key_length);
|
|
1516
1535
|
return BigInt.asUintN(64, ret);
|
|
1517
1536
|
}
|
|
1518
|
-
function
|
|
1519
|
-
const ret = wasm.
|
|
1537
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed() {
|
|
1538
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed();
|
|
1520
1539
|
return ret;
|
|
1521
1540
|
}
|
|
1522
|
-
function
|
|
1523
|
-
const ret = wasm.
|
|
1541
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize(ptr) {
|
|
1542
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize(ptr);
|
|
1543
|
+
return BigInt.asUintN(64, ret);
|
|
1544
|
+
}
|
|
1545
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id_ffi() {
|
|
1546
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id_ffi();
|
|
1524
1547
|
return ret;
|
|
1525
1548
|
}
|
|
1526
|
-
function
|
|
1527
|
-
|
|
1528
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_welcome(handle, f_status_.__wbg_ptr);
|
|
1549
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key(ptr, conversation_id, key_length) {
|
|
1550
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key(ptr, conversation_id, key_length);
|
|
1529
1551
|
return BigInt.asUintN(64, ret);
|
|
1530
1552
|
}
|
|
1531
|
-
function
|
|
1532
|
-
wasm.
|
|
1533
|
-
|
|
1534
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data() {
|
|
1535
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data();
|
|
1536
|
-
return ret;
|
|
1553
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_enable_history_sharing(ptr, conversation_id) {
|
|
1554
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_enable_history_sharing(ptr, conversation_id);
|
|
1555
|
+
return BigInt.asUintN(64, ret);
|
|
1537
1556
|
}
|
|
1538
|
-
function
|
|
1539
|
-
const ret = wasm.
|
|
1557
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled() {
|
|
1558
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled();
|
|
1540
1559
|
return ret;
|
|
1541
1560
|
}
|
|
1542
|
-
function
|
|
1543
|
-
|
|
1544
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1545
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, ptr0, len0);
|
|
1546
|
-
return BigInt.asUintN(64, ret);
|
|
1561
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data) {
|
|
1562
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data);
|
|
1547
1563
|
}
|
|
1548
|
-
function
|
|
1564
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(handle, f_status_) {
|
|
1549
1565
|
_assertClass(f_status_, RustCallStatus);
|
|
1550
|
-
|
|
1551
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1552
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1553
|
-
return v1;
|
|
1566
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(handle, f_status_.__wbg_ptr);
|
|
1554
1567
|
}
|
|
1555
|
-
function
|
|
1556
|
-
|
|
1568
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i8(handle) {
|
|
1569
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i8(handle);
|
|
1570
|
+
}
|
|
1571
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential() {
|
|
1572
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential();
|
|
1557
1573
|
return ret;
|
|
1558
1574
|
}
|
|
1559
|
-
function
|
|
1560
|
-
|
|
1561
|
-
return BigInt.asUintN(64, ret);
|
|
1575
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data) {
|
|
1576
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data);
|
|
1562
1577
|
}
|
|
1563
|
-
function
|
|
1578
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new() {
|
|
1579
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new();
|
|
1580
|
+
return ret;
|
|
1581
|
+
}
|
|
1582
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_default(f_status_) {
|
|
1564
1583
|
_assertClass(f_status_, RustCallStatus);
|
|
1565
|
-
const ret = wasm.
|
|
1584
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_default(f_status_.__wbg_ptr);
|
|
1566
1585
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1567
1586
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1568
1587
|
return v1;
|
|
1569
1588
|
}
|
|
1570
|
-
function
|
|
1571
|
-
wasm.
|
|
1589
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle) {
|
|
1590
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle);
|
|
1572
1591
|
}
|
|
1573
|
-
function
|
|
1574
|
-
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1575
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1592
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocontext(handle, f_status_) {
|
|
1576
1593
|
_assertClass(f_status_, RustCallStatus);
|
|
1577
|
-
|
|
1578
|
-
return BigInt.asUintN(64, ret);
|
|
1579
|
-
}
|
|
1580
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle) {
|
|
1581
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle);
|
|
1594
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocontext(handle, f_status_.__wbg_ptr);
|
|
1582
1595
|
}
|
|
1583
|
-
function
|
|
1584
|
-
const
|
|
1585
|
-
|
|
1586
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1587
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1588
|
-
return BigInt.asUintN(64, ret);
|
|
1596
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_conversationid_copy_bytes() {
|
|
1597
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_conversationid_copy_bytes();
|
|
1598
|
+
return ret;
|
|
1589
1599
|
}
|
|
1590
|
-
function
|
|
1591
|
-
const ret = wasm.
|
|
1600
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey(ptr, prekey_id) {
|
|
1601
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey(ptr, prekey_id);
|
|
1592
1602
|
return BigInt.asUintN(64, ret);
|
|
1593
1603
|
}
|
|
1594
|
-
function
|
|
1595
|
-
const ret = wasm.
|
|
1604
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_credential() {
|
|
1605
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_credential();
|
|
1596
1606
|
return ret;
|
|
1597
1607
|
}
|
|
1598
|
-
function
|
|
1599
|
-
wasm.
|
|
1608
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_client_ids(ptr, conversation_id) {
|
|
1609
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_client_ids(ptr, conversation_id);
|
|
1610
|
+
return BigInt.asUintN(64, ret);
|
|
1600
1611
|
}
|
|
1601
|
-
function
|
|
1602
|
-
|
|
1603
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_.__wbg_ptr);
|
|
1612
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token() {
|
|
1613
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token();
|
|
1604
1614
|
return ret;
|
|
1605
1615
|
}
|
|
1606
|
-
function
|
|
1616
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_) {
|
|
1607
1617
|
_assertClass(f_status_, RustCallStatus);
|
|
1608
|
-
const ret = wasm.
|
|
1618
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_.__wbg_ptr);
|
|
1609
1619
|
return ret;
|
|
1610
1620
|
}
|
|
1611
|
-
function
|
|
1612
|
-
|
|
1613
|
-
return ret;
|
|
1621
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer(handle) {
|
|
1622
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer(handle);
|
|
1614
1623
|
}
|
|
1615
|
-
function
|
|
1616
|
-
const ret = wasm.
|
|
1624
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_init(ptr) {
|
|
1625
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_init(ptr);
|
|
1617
1626
|
return BigInt.asUintN(64, ret);
|
|
1618
1627
|
}
|
|
1619
|
-
function
|
|
1620
|
-
wasm.
|
|
1628
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_wipe_conversation(ptr, conversation_id) {
|
|
1629
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_wipe_conversation(ptr, conversation_id);
|
|
1630
|
+
return BigInt.asUintN(64, ret);
|
|
1621
1631
|
}
|
|
1622
|
-
function
|
|
1623
|
-
const
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
const ret = wasm.
|
|
1632
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new() {
|
|
1633
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new();
|
|
1634
|
+
return ret;
|
|
1635
|
+
}
|
|
1636
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_external_sender(ptr, conversation_id) {
|
|
1637
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_external_sender(ptr, conversation_id);
|
|
1628
1638
|
return BigInt.asUintN(64, ret);
|
|
1629
1639
|
}
|
|
1630
|
-
function
|
|
1640
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals() {
|
|
1641
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals();
|
|
1642
|
+
return ret;
|
|
1643
|
+
}
|
|
1644
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle) {
|
|
1645
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle);
|
|
1646
|
+
}
|
|
1647
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_version(f_status_) {
|
|
1631
1648
|
_assertClass(f_status_, RustCallStatus);
|
|
1632
|
-
const ret = wasm.
|
|
1649
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_version(f_status_.__wbg_ptr);
|
|
1633
1650
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1634
1651
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1635
1652
|
return v1;
|
|
1636
1653
|
}
|
|
1637
|
-
function
|
|
1638
|
-
|
|
1654
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment(handle, f_status_) {
|
|
1655
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1656
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment(handle, f_status_.__wbg_ptr);
|
|
1657
|
+
}
|
|
1658
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i64(handle) {
|
|
1659
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i64(handle);
|
|
1660
|
+
}
|
|
1661
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_last_resort_prekey(ptr) {
|
|
1662
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_last_resort_prekey(ptr);
|
|
1663
|
+
return BigInt.asUintN(64, ret);
|
|
1664
|
+
}
|
|
1665
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_mlstransport(vtable) {
|
|
1666
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_mlstransport(vtable);
|
|
1667
|
+
}
|
|
1668
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64() {
|
|
1669
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64();
|
|
1639
1670
|
return ret;
|
|
1640
1671
|
}
|
|
1641
|
-
function
|
|
1642
|
-
|
|
1672
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_uuid(handle, f_status_) {
|
|
1673
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1674
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_uuid(handle, f_status_.__wbg_ptr);
|
|
1675
|
+
}
|
|
1676
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment() {
|
|
1677
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment();
|
|
1678
|
+
return ret;
|
|
1679
|
+
}
|
|
1680
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_prepare_for_transport(ptr, history_secret) {
|
|
1681
|
+
const ptr0 = passArray8ToWasm0(history_secret, wasm.__wbindgen_malloc);
|
|
1643
1682
|
const len0 = WASM_VECTOR_LEN;
|
|
1644
|
-
const ret = wasm.
|
|
1683
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_prepare_for_transport(ptr, ptr0, len0);
|
|
1645
1684
|
return BigInt.asUintN(64, ret);
|
|
1646
1685
|
}
|
|
1647
|
-
function
|
|
1648
|
-
wasm.
|
|
1686
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_credential() {
|
|
1687
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_credential();
|
|
1688
|
+
return ret;
|
|
1649
1689
|
}
|
|
1650
|
-
function
|
|
1651
|
-
const ret = wasm.
|
|
1690
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptologger_log() {
|
|
1691
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptologger_log();
|
|
1652
1692
|
return ret;
|
|
1653
1693
|
}
|
|
1654
|
-
function
|
|
1655
|
-
|
|
1694
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref(handle, f_status_) {
|
|
1695
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1696
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref(handle, f_status_.__wbg_ptr);
|
|
1697
|
+
return BigInt.asUintN(64, ret);
|
|
1656
1698
|
}
|
|
1657
|
-
function
|
|
1658
|
-
const ret = wasm.
|
|
1659
|
-
return ret;
|
|
1699
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_package(ptr, kp_ref) {
|
|
1700
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_package(ptr, kp_ref);
|
|
1701
|
+
return BigInt.asUintN(64, ret);
|
|
1660
1702
|
}
|
|
1661
|
-
function
|
|
1703
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_) {
|
|
1662
1704
|
_assertClass(f_status_, RustCallStatus);
|
|
1663
|
-
wasm.
|
|
1705
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_.__wbg_ptr);
|
|
1706
|
+
return BigInt.asUintN(64, ret);
|
|
1707
|
+
}
|
|
1708
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_clients_to_conversation(ptr, conversation_id, key_packages) {
|
|
1709
|
+
const ptr0 = passArray8ToWasm0(key_packages, wasm.__wbindgen_malloc);
|
|
1710
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1711
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_clients_to_conversation(ptr, conversation_id, ptr0, len0);
|
|
1712
|
+
return BigInt.asUintN(64, ret);
|
|
1664
1713
|
}
|
|
1665
|
-
function
|
|
1666
|
-
const ret = wasm.
|
|
1714
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_set_max_log_level() {
|
|
1715
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_set_max_log_level();
|
|
1667
1716
|
return ret;
|
|
1668
1717
|
}
|
|
1669
|
-
function
|
|
1670
|
-
const ret = wasm.
|
|
1718
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint() {
|
|
1719
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint();
|
|
1671
1720
|
return ret;
|
|
1672
1721
|
}
|
|
1673
|
-
function
|
|
1674
|
-
const ret = wasm.
|
|
1722
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local() {
|
|
1723
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local();
|
|
1675
1724
|
return ret;
|
|
1676
1725
|
}
|
|
1677
|
-
function
|
|
1678
|
-
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
1679
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1680
|
-
const ptr1 = passArray8ToWasm0(signature_scheme, wasm.__wbindgen_malloc);
|
|
1681
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1726
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_welcome(handle, f_status_) {
|
|
1682
1727
|
_assertClass(f_status_, RustCallStatus);
|
|
1683
|
-
const ret = wasm.
|
|
1728
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_welcome(handle, f_status_.__wbg_ptr);
|
|
1684
1729
|
return BigInt.asUintN(64, ret);
|
|
1685
1730
|
}
|
|
1686
|
-
function
|
|
1687
|
-
const ret = wasm.
|
|
1731
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_signature_scheme() {
|
|
1732
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_signature_scheme();
|
|
1688
1733
|
return ret;
|
|
1689
1734
|
}
|
|
1690
|
-
function
|
|
1691
|
-
const ret = wasm.
|
|
1735
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport() {
|
|
1736
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport();
|
|
1692
1737
|
return ret;
|
|
1693
1738
|
}
|
|
1694
|
-
function
|
|
1739
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_credential(handle, f_status_) {
|
|
1695
1740
|
_assertClass(f_status_, RustCallStatus);
|
|
1696
|
-
wasm.
|
|
1741
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_credential(handle, f_status_.__wbg_ptr);
|
|
1742
|
+
return BigInt.asUintN(64, ret);
|
|
1697
1743
|
}
|
|
1698
|
-
function
|
|
1744
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_wipe_conversation() {
|
|
1745
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_wipe_conversation();
|
|
1746
|
+
return ret;
|
|
1747
|
+
}
|
|
1748
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_) {
|
|
1699
1749
|
_assertClass(f_status_, RustCallStatus);
|
|
1700
|
-
const ret = wasm.
|
|
1750
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_.__wbg_ptr);
|
|
1701
1751
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1702
1752
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1703
1753
|
return v1;
|
|
1704
1754
|
}
|
|
1705
|
-
function
|
|
1706
|
-
const ret = wasm.
|
|
1755
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init() {
|
|
1756
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init();
|
|
1707
1757
|
return ret;
|
|
1708
1758
|
}
|
|
1709
|
-
function
|
|
1710
|
-
|
|
1711
|
-
return ret;
|
|
1759
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u32(handle, callback, callback_data) {
|
|
1760
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u32(handle, callback, callback_data);
|
|
1712
1761
|
}
|
|
1713
|
-
function
|
|
1714
|
-
const ret = wasm.
|
|
1762
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_public_key() {
|
|
1763
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_public_key();
|
|
1715
1764
|
return ret;
|
|
1716
1765
|
}
|
|
1717
|
-
function
|
|
1718
|
-
|
|
1719
|
-
return ret;
|
|
1766
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptologger(vtable) {
|
|
1767
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptologger(vtable);
|
|
1720
1768
|
}
|
|
1721
|
-
function
|
|
1722
|
-
|
|
1723
|
-
|
|
1769
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_credentialref(handle, f_status_) {
|
|
1770
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1771
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_credentialref(handle, f_status_.__wbg_ptr);
|
|
1724
1772
|
}
|
|
1725
|
-
function
|
|
1726
|
-
const ret = wasm.
|
|
1773
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_random_bytes(ptr, len) {
|
|
1774
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_random_bytes(ptr, len);
|
|
1727
1775
|
return BigInt.asUintN(64, ret);
|
|
1728
1776
|
}
|
|
1729
|
-
function
|
|
1730
|
-
const
|
|
1731
|
-
|
|
1777
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem() {
|
|
1778
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem();
|
|
1779
|
+
return ret;
|
|
1780
|
+
}
|
|
1781
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_database(handle, f_status_) {
|
|
1732
1782
|
_assertClass(f_status_, RustCallStatus);
|
|
1733
|
-
wasm.
|
|
1783
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_database(handle, f_status_.__wbg_ptr);
|
|
1734
1784
|
}
|
|
1735
|
-
function
|
|
1736
|
-
|
|
1785
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocommand(handle, f_status_) {
|
|
1786
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1787
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocommand(handle, f_status_.__wbg_ptr);
|
|
1788
|
+
}
|
|
1789
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_conversation_state(ptr, conversation_id) {
|
|
1790
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_conversation_state(ptr, conversation_id);
|
|
1791
|
+
return BigInt.asUintN(64, ret);
|
|
1792
|
+
}
|
|
1793
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory(key) {
|
|
1794
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory(key);
|
|
1795
|
+
return BigInt.asUintN(64, ret);
|
|
1796
|
+
}
|
|
1797
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key() {
|
|
1798
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key();
|
|
1737
1799
|
return ret;
|
|
1738
1800
|
}
|
|
1739
|
-
function
|
|
1740
|
-
const
|
|
1801
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, domain, f_status_) {
|
|
1802
|
+
const ptr0 = passArray8ToWasm0(domain, wasm.__wbindgen_malloc);
|
|
1803
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1804
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1805
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, ptr0, len0, f_status_.__wbg_ptr);
|
|
1741
1806
|
return BigInt.asUintN(64, ret);
|
|
1742
1807
|
}
|
|
1743
|
-
function
|
|
1744
|
-
const ret = wasm.
|
|
1808
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize() {
|
|
1809
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize();
|
|
1745
1810
|
return ret;
|
|
1746
1811
|
}
|
|
1747
|
-
function
|
|
1748
|
-
const ret = wasm.
|
|
1812
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_set_pki_environment() {
|
|
1813
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_set_pki_environment();
|
|
1749
1814
|
return ret;
|
|
1750
1815
|
}
|
|
1751
|
-
function
|
|
1752
|
-
const ret = wasm.
|
|
1816
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto() {
|
|
1817
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto();
|
|
1753
1818
|
return ret;
|
|
1754
1819
|
}
|
|
1755
|
-
function
|
|
1756
|
-
const ret = wasm.
|
|
1820
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_prekey() {
|
|
1821
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_prekey();
|
|
1757
1822
|
return ret;
|
|
1758
1823
|
}
|
|
1759
|
-
function
|
|
1760
|
-
|
|
1761
|
-
|
|
1824
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_signature_scheme() {
|
|
1825
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_signature_scheme();
|
|
1826
|
+
return ret;
|
|
1762
1827
|
}
|
|
1763
|
-
function
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
return ret >>> 0;
|
|
1828
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_pki_env_setup(ptr) {
|
|
1829
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_pki_env_setup(ptr);
|
|
1830
|
+
return BigInt.asUintN(64, ret);
|
|
1767
1831
|
}
|
|
1768
|
-
function
|
|
1769
|
-
const ret = wasm.
|
|
1832
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_conversation_credential(ptr, conversation_id, credential_ref) {
|
|
1833
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_conversation_credential(ptr, conversation_id, credential_ref);
|
|
1834
|
+
return BigInt.asUintN(64, ret);
|
|
1835
|
+
}
|
|
1836
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_credential_type() {
|
|
1837
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_credential_type();
|
|
1770
1838
|
return ret;
|
|
1771
1839
|
}
|
|
1772
|
-
function
|
|
1840
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_) {
|
|
1773
1841
|
_assertClass(f_status_, RustCallStatus);
|
|
1774
|
-
wasm.
|
|
1842
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_.__wbg_ptr);
|
|
1843
|
+
return ret;
|
|
1775
1844
|
}
|
|
1776
|
-
function
|
|
1777
|
-
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1778
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1845
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64(ptr, f_status_) {
|
|
1779
1846
|
_assertClass(f_status_, RustCallStatus);
|
|
1780
|
-
const ret = wasm.
|
|
1847
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64(ptr, f_status_.__wbg_ptr);
|
|
1781
1848
|
return BigInt.asUintN(64, ret);
|
|
1782
1849
|
}
|
|
1783
|
-
function
|
|
1784
|
-
|
|
1785
|
-
|
|
1850
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle) {
|
|
1851
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle);
|
|
1852
|
+
}
|
|
1853
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_uuid(handle, f_status_) {
|
|
1786
1854
|
_assertClass(f_status_, RustCallStatus);
|
|
1787
|
-
const ret = wasm.
|
|
1855
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_uuid(handle, f_status_.__wbg_ptr);
|
|
1788
1856
|
return BigInt.asUintN(64, ret);
|
|
1789
1857
|
}
|
|
1790
|
-
function
|
|
1858
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptologger(handle, f_status_) {
|
|
1791
1859
|
_assertClass(f_status_, RustCallStatus);
|
|
1792
|
-
const ret = wasm.
|
|
1793
|
-
return ret;
|
|
1860
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptologger(handle, f_status_.__wbg_ptr);
|
|
1861
|
+
return BigInt.asUintN(64, ret);
|
|
1794
1862
|
}
|
|
1795
|
-
function
|
|
1796
|
-
const ptr0 = passArray8ToWasm0(
|
|
1863
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_remote(ptr, session_id) {
|
|
1864
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1797
1865
|
const len0 = WASM_VECTOR_LEN;
|
|
1798
|
-
const ret = wasm.
|
|
1866
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_remote(ptr, ptr0, len0);
|
|
1799
1867
|
return BigInt.asUintN(64, ret);
|
|
1800
1868
|
}
|
|
1801
|
-
function
|
|
1802
|
-
const ret = wasm.
|
|
1869
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id) {
|
|
1870
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id);
|
|
1871
|
+
return BigInt.asUintN(64, ret);
|
|
1872
|
+
}
|
|
1873
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u8(handle, callback, callback_data) {
|
|
1874
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u8(handle, callback, callback_data);
|
|
1875
|
+
}
|
|
1876
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1877
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1878
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1803
1879
|
return ret;
|
|
1804
1880
|
}
|
|
1805
|
-
function
|
|
1881
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(uuid, f_status_) {
|
|
1882
|
+
const ptr0 = passArray8ToWasm0(uuid, wasm.__wbindgen_malloc);
|
|
1883
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1806
1884
|
_assertClass(f_status_, RustCallStatus);
|
|
1807
|
-
const ret = wasm.
|
|
1885
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1808
1886
|
return BigInt.asUintN(64, ret);
|
|
1809
1887
|
}
|
|
1810
|
-
function
|
|
1888
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_secretkey(handle, f_status_) {
|
|
1811
1889
|
_assertClass(f_status_, RustCallStatus);
|
|
1812
|
-
|
|
1890
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_secretkey(handle, f_status_.__wbg_ptr);
|
|
1891
|
+
}
|
|
1892
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_type(ptr, f_status_) {
|
|
1893
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1894
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_type(ptr, f_status_.__wbg_ptr);
|
|
1813
1895
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1814
1896
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1815
1897
|
return v1;
|
|
1816
1898
|
}
|
|
1817
|
-
function
|
|
1818
|
-
const ret = wasm.
|
|
1899
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_conversation_state() {
|
|
1900
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_conversation_state();
|
|
1819
1901
|
return ret;
|
|
1820
1902
|
}
|
|
1821
|
-
function
|
|
1822
|
-
const
|
|
1823
|
-
|
|
1824
|
-
|
|
1903
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_signature_scheme() {
|
|
1904
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_signature_scheme();
|
|
1905
|
+
return ret;
|
|
1906
|
+
}
|
|
1907
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_new(database, f_status_) {
|
|
1908
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1909
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_new(database, f_status_.__wbg_ptr);
|
|
1825
1910
|
return BigInt.asUintN(64, ret);
|
|
1826
1911
|
}
|
|
1827
|
-
function
|
|
1828
|
-
const ret = wasm.
|
|
1912
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_exists() {
|
|
1913
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_exists();
|
|
1914
|
+
return ret;
|
|
1915
|
+
}
|
|
1916
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities() {
|
|
1917
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities();
|
|
1918
|
+
return ret;
|
|
1919
|
+
}
|
|
1920
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle) {
|
|
1921
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle);
|
|
1922
|
+
}
|
|
1923
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite() {
|
|
1924
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite();
|
|
1925
|
+
return ret;
|
|
1926
|
+
}
|
|
1927
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_) {
|
|
1928
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1929
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
1829
1930
|
return BigInt.asUintN(64, ret);
|
|
1830
1931
|
}
|
|
1831
|
-
function
|
|
1832
|
-
|
|
1932
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i32(handle, f_status_) {
|
|
1933
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1934
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i32(handle, f_status_.__wbg_ptr);
|
|
1935
|
+
return ret;
|
|
1936
|
+
}
|
|
1937
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_epoch_observer(ptr, epoch_observer) {
|
|
1938
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_epoch_observer(ptr, epoch_observer);
|
|
1833
1939
|
return BigInt.asUintN(64, ret);
|
|
1834
1940
|
}
|
|
1835
|
-
function
|
|
1836
|
-
|
|
1941
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackageref(handle, f_status_) {
|
|
1942
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1943
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackageref(handle, f_status_.__wbg_ptr);
|
|
1944
|
+
}
|
|
1945
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_packages_for() {
|
|
1946
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_packages_for();
|
|
1837
1947
|
return ret;
|
|
1838
1948
|
}
|
|
1839
|
-
function
|
|
1840
|
-
const ret = wasm.
|
|
1949
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_commit_pending_proposals(ptr, conversation_id) {
|
|
1950
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_commit_pending_proposals(ptr, conversation_id);
|
|
1951
|
+
return BigInt.asUintN(64, ret);
|
|
1952
|
+
}
|
|
1953
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(ptr, conversation_id, user_ids) {
|
|
1954
|
+
const ptr0 = passArray8ToWasm0(user_ids, wasm.__wbindgen_malloc);
|
|
1955
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1956
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
1957
|
+
return BigInt.asUintN(64, ret);
|
|
1958
|
+
}
|
|
1959
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_version() {
|
|
1960
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_version();
|
|
1841
1961
|
return ret;
|
|
1842
1962
|
}
|
|
1843
|
-
function
|
|
1963
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_epochobserver(handle, f_status_) {
|
|
1844
1964
|
_assertClass(f_status_, RustCallStatus);
|
|
1845
|
-
|
|
1846
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1847
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1848
|
-
return v1;
|
|
1965
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_epochobserver(handle, f_status_.__wbg_ptr);
|
|
1849
1966
|
}
|
|
1850
|
-
function
|
|
1851
|
-
const ret = wasm.
|
|
1967
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_disable_history_sharing(ptr, conversation_id) {
|
|
1968
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_disable_history_sharing(ptr, conversation_id);
|
|
1852
1969
|
return BigInt.asUintN(64, ret);
|
|
1853
1970
|
}
|
|
1854
1971
|
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f_status_) {
|
|
@@ -1856,258 +1973,291 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f
|
|
|
1856
1973
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1857
1974
|
return BigInt.asUintN(64, ret);
|
|
1858
1975
|
}
|
|
1859
|
-
function
|
|
1860
|
-
const
|
|
1976
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new(bytes, f_status_) {
|
|
1977
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1978
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1979
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1980
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1861
1981
|
return BigInt.asUintN(64, ret);
|
|
1862
1982
|
}
|
|
1863
|
-
function
|
|
1864
|
-
|
|
1865
|
-
|
|
1983
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_delete(ptr, session_id) {
|
|
1984
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1985
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1986
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_delete(ptr, ptr0, len0);
|
|
1987
|
+
return BigInt.asUintN(64, ret);
|
|
1866
1988
|
}
|
|
1867
|
-
function
|
|
1868
|
-
const
|
|
1869
|
-
|
|
1989
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_prekey(ptr, session_id, prekey) {
|
|
1990
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1991
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1992
|
+
const ptr1 = passArray8ToWasm0(prekey, wasm.__wbindgen_malloc);
|
|
1993
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1994
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_prekey(ptr, ptr0, len0, ptr1, len1);
|
|
1995
|
+
return BigInt.asUintN(64, ret);
|
|
1870
1996
|
}
|
|
1871
|
-
function
|
|
1872
|
-
const ret = wasm.
|
|
1997
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_conversation_state() {
|
|
1998
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_conversation_state();
|
|
1873
1999
|
return ret;
|
|
1874
2000
|
}
|
|
1875
2001
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_external_sender() {
|
|
1876
2002
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_external_sender();
|
|
1877
2003
|
return ret;
|
|
1878
2004
|
}
|
|
1879
|
-
function
|
|
1880
|
-
|
|
1881
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
1882
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1883
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1884
|
-
return v1;
|
|
1885
|
-
}
|
|
1886
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1887
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1888
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2005
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key() {
|
|
2006
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key();
|
|
1889
2007
|
return ret;
|
|
1890
2008
|
}
|
|
1891
|
-
function
|
|
2009
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_reseed(ptr, seed) {
|
|
2010
|
+
const ptr0 = passArray8ToWasm0(seed, wasm.__wbindgen_malloc);
|
|
2011
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2012
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_reseed(ptr, ptr0, len0);
|
|
2013
|
+
return BigInt.asUintN(64, ret);
|
|
2014
|
+
}
|
|
2015
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_conversationid(handle, f_status_) {
|
|
1892
2016
|
_assertClass(f_status_, RustCallStatus);
|
|
1893
|
-
const ret = wasm.
|
|
2017
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_conversationid(handle, f_status_.__wbg_ptr);
|
|
1894
2018
|
return BigInt.asUintN(64, ret);
|
|
1895
2019
|
}
|
|
1896
|
-
function
|
|
1897
|
-
const ptr0 = passArray8ToWasm0(
|
|
2020
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_conversationid_new(bytes, f_status_) {
|
|
2021
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1898
2022
|
const len0 = WASM_VECTOR_LEN;
|
|
1899
2023
|
_assertClass(f_status_, RustCallStatus);
|
|
1900
|
-
const ret = wasm.
|
|
2024
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_conversationid_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1901
2025
|
return BigInt.asUintN(64, ret);
|
|
1902
2026
|
}
|
|
1903
|
-
function
|
|
1904
|
-
|
|
1905
|
-
return BigInt.asUintN(64, ret);
|
|
2027
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_epochobserver(vtable) {
|
|
2028
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_epochobserver(vtable);
|
|
1906
2029
|
}
|
|
1907
|
-
function
|
|
2030
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_externalsender(handle, f_status_) {
|
|
1908
2031
|
_assertClass(f_status_, RustCallStatus);
|
|
1909
|
-
|
|
2032
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_externalsender(handle, f_status_.__wbg_ptr);
|
|
2033
|
+
}
|
|
2034
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(ptr, cert_pem) {
|
|
2035
|
+
const ptr0 = passArray8ToWasm0(cert_pem, wasm.__wbindgen_malloc);
|
|
2036
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2037
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(ptr, ptr0, len0);
|
|
1910
2038
|
return BigInt.asUintN(64, ret);
|
|
1911
2039
|
}
|
|
1912
|
-
function
|
|
1913
|
-
wasm.
|
|
2040
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_earliest_validity() {
|
|
2041
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_earliest_validity();
|
|
2042
|
+
return ret;
|
|
1914
2043
|
}
|
|
1915
|
-
function
|
|
1916
|
-
|
|
1917
|
-
|
|
2044
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_pki_environment(ptr) {
|
|
2045
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_pki_environment(ptr);
|
|
2046
|
+
return BigInt.asUintN(64, ret);
|
|
1918
2047
|
}
|
|
1919
|
-
function
|
|
1920
|
-
const ret = wasm.
|
|
2048
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages() {
|
|
2049
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages();
|
|
1921
2050
|
return ret;
|
|
1922
2051
|
}
|
|
1923
|
-
function
|
|
2052
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default() {
|
|
2053
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default();
|
|
2054
|
+
return ret;
|
|
2055
|
+
}
|
|
2056
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i16(handle, callback, callback_data) {
|
|
2057
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i16(handle, callback, callback_data);
|
|
2058
|
+
}
|
|
2059
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle) {
|
|
2060
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle);
|
|
2061
|
+
}
|
|
2062
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_key_packages(ptr) {
|
|
2063
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_key_packages(ptr);
|
|
2064
|
+
return BigInt.asUintN(64, ret);
|
|
2065
|
+
}
|
|
2066
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_) {
|
|
1924
2067
|
_assertClass(f_status_, RustCallStatus);
|
|
1925
|
-
const ret = wasm.
|
|
2068
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_.__wbg_ptr);
|
|
1926
2069
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1927
2070
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1928
2071
|
return v1;
|
|
1929
2072
|
}
|
|
1930
|
-
function
|
|
1931
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1932
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1933
|
-
return BigInt.asUintN(64, ret);
|
|
1934
|
-
}
|
|
1935
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_delete(ptr, session_id) {
|
|
2073
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_remote(ptr, session_id) {
|
|
1936
2074
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1937
2075
|
const len0 = WASM_VECTOR_LEN;
|
|
1938
|
-
const ret = wasm.
|
|
2076
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_remote(ptr, ptr0, len0);
|
|
1939
2077
|
return BigInt.asUintN(64, ret);
|
|
1940
2078
|
}
|
|
1941
|
-
function
|
|
1942
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle);
|
|
1943
|
-
}
|
|
1944
|
-
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocommand(handle, f_status_) {
|
|
2079
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_) {
|
|
1945
2080
|
_assertClass(f_status_, RustCallStatus);
|
|
1946
|
-
wasm.
|
|
2081
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_.__wbg_ptr);
|
|
1947
2082
|
}
|
|
1948
|
-
function
|
|
1949
|
-
|
|
1950
|
-
const
|
|
1951
|
-
const ptr1 = passArray8ToWasm0(core_crypto_database, wasm.__wbindgen_malloc);
|
|
1952
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1953
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new_from_credential_ref(pki_environment, ptr0, len0, credential_ref, ptr1, len1);
|
|
2083
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment(handle, f_status_) {
|
|
2084
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2085
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment(handle, f_status_.__wbg_ptr);
|
|
1954
2086
|
return BigInt.asUintN(64, ret);
|
|
1955
2087
|
}
|
|
1956
|
-
function
|
|
1957
|
-
wasm.
|
|
2088
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open() {
|
|
2089
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open();
|
|
2090
|
+
return ret;
|
|
1958
2091
|
}
|
|
1959
|
-
function
|
|
1960
|
-
|
|
2092
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_) {
|
|
2093
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2094
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_.__wbg_ptr);
|
|
1961
2095
|
return BigInt.asUintN(64, ret);
|
|
1962
2096
|
}
|
|
1963
|
-
function
|
|
1964
|
-
const ret = wasm.
|
|
2097
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes() {
|
|
2098
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes();
|
|
1965
2099
|
return ret;
|
|
1966
2100
|
}
|
|
1967
|
-
function
|
|
1968
|
-
const
|
|
1969
|
-
|
|
1970
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1971
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(ptr0, len0, f_status_.__wbg_ptr);
|
|
1972
|
-
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1973
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1974
|
-
return v2;
|
|
2101
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_credentials() {
|
|
2102
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_credentials();
|
|
2103
|
+
return ret;
|
|
1975
2104
|
}
|
|
1976
|
-
function
|
|
1977
|
-
const ret = wasm.
|
|
2105
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type() {
|
|
2106
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type();
|
|
1978
2107
|
return ret;
|
|
1979
2108
|
}
|
|
1980
|
-
function
|
|
2109
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt() {
|
|
2110
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt();
|
|
2111
|
+
return ret;
|
|
2112
|
+
}
|
|
2113
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash(ptr, f_status_) {
|
|
1981
2114
|
_assertClass(f_status_, RustCallStatus);
|
|
1982
|
-
wasm.
|
|
2115
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
2116
|
+
return BigInt.asUintN(64, ret);
|
|
1983
2117
|
}
|
|
1984
|
-
function
|
|
1985
|
-
|
|
2118
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_historyobserver(handle, f_status_) {
|
|
2119
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2120
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_historyobserver(handle, f_status_.__wbg_ptr);
|
|
2121
|
+
}
|
|
2122
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_) {
|
|
2123
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2124
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_.__wbg_ptr);
|
|
1986
2125
|
return BigInt.asUintN(64, ret);
|
|
1987
2126
|
}
|
|
1988
|
-
function
|
|
1989
|
-
const
|
|
1990
|
-
|
|
2127
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_key(key, signature_scheme, f_status_) {
|
|
2128
|
+
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
2129
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2130
|
+
const ptr1 = passArray8ToWasm0(signature_scheme, wasm.__wbindgen_malloc);
|
|
2131
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2132
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2133
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_key(ptr0, len0, ptr1, len1, f_status_.__wbg_ptr);
|
|
2134
|
+
return BigInt.asUintN(64, ret);
|
|
1991
2135
|
}
|
|
1992
|
-
function
|
|
1993
|
-
|
|
2136
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver(handle, f_status_) {
|
|
2137
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2138
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver(handle, f_status_.__wbg_ptr);
|
|
1994
2139
|
return BigInt.asUintN(64, ret);
|
|
1995
2140
|
}
|
|
1996
|
-
function
|
|
1997
|
-
wasm.
|
|
2141
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_is_valid() {
|
|
2142
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_is_valid();
|
|
2143
|
+
return ret;
|
|
1998
2144
|
}
|
|
1999
|
-
function
|
|
2000
|
-
|
|
2145
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u8(handle) {
|
|
2146
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u8(handle);
|
|
2147
|
+
}
|
|
2148
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_cipher_suite() {
|
|
2149
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_cipher_suite();
|
|
2001
2150
|
return ret;
|
|
2002
2151
|
}
|
|
2003
|
-
function
|
|
2152
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_local(ptr, session_id) {
|
|
2004
2153
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
2005
2154
|
const len0 = WASM_VECTOR_LEN;
|
|
2006
|
-
const ret = wasm.
|
|
2007
|
-
return BigInt.asUintN(64, ret);
|
|
2008
|
-
}
|
|
2009
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_conversation_state(ptr, conversation_id) {
|
|
2010
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_conversation_state(ptr, conversation_id);
|
|
2155
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
2011
2156
|
return BigInt.asUintN(64, ret);
|
|
2012
2157
|
}
|
|
2013
|
-
function
|
|
2014
|
-
const ret = wasm.
|
|
2158
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint() {
|
|
2159
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint();
|
|
2015
2160
|
return ret;
|
|
2016
2161
|
}
|
|
2017
|
-
function
|
|
2018
|
-
wasm.
|
|
2162
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids() {
|
|
2163
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids();
|
|
2164
|
+
return ret;
|
|
2019
2165
|
}
|
|
2020
|
-
function
|
|
2021
|
-
const
|
|
2166
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, secret) {
|
|
2167
|
+
const ptr0 = passArray8ToWasm0(secret, wasm.__wbindgen_malloc);
|
|
2168
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2169
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, ptr0, len0);
|
|
2022
2170
|
return BigInt.asUintN(64, ret);
|
|
2023
2171
|
}
|
|
2024
|
-
function
|
|
2025
|
-
|
|
2172
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_) {
|
|
2173
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2174
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_.__wbg_ptr);
|
|
2026
2175
|
return ret;
|
|
2027
2176
|
}
|
|
2028
|
-
function
|
|
2029
|
-
const ret = wasm.
|
|
2177
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey() {
|
|
2178
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey();
|
|
2030
2179
|
return ret;
|
|
2031
2180
|
}
|
|
2032
|
-
function
|
|
2033
|
-
const ret = wasm.
|
|
2181
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(ptr) {
|
|
2182
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(ptr);
|
|
2034
2183
|
return BigInt.asUintN(64, ret);
|
|
2035
2184
|
}
|
|
2036
|
-
function
|
|
2037
|
-
const ret = wasm.
|
|
2038
|
-
return ret;
|
|
2039
|
-
}
|
|
2040
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init() {
|
|
2041
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init();
|
|
2185
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_close() {
|
|
2186
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_close();
|
|
2042
2187
|
return ret;
|
|
2043
2188
|
}
|
|
2044
|
-
function
|
|
2189
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_credential(handle, f_status_) {
|
|
2045
2190
|
_assertClass(f_status_, RustCallStatus);
|
|
2046
|
-
|
|
2047
|
-
return ret;
|
|
2191
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_credential(handle, f_status_.__wbg_ptr);
|
|
2048
2192
|
}
|
|
2049
|
-
function
|
|
2050
|
-
|
|
2051
|
-
return BigInt.asUintN(64, ret);
|
|
2193
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u64(handle, callback, callback_data) {
|
|
2194
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u64(handle, callback, callback_data);
|
|
2052
2195
|
}
|
|
2053
|
-
function
|
|
2054
|
-
|
|
2055
|
-
|
|
2196
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_from_u16(discriminant, f_status_) {
|
|
2197
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2198
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_from_u16(discriminant, f_status_.__wbg_ptr);
|
|
2199
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2200
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2201
|
+
return v1;
|
|
2056
2202
|
}
|
|
2057
|
-
function
|
|
2058
|
-
|
|
2059
|
-
|
|
2203
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_uniffi_trait_debug(ptr, f_status_) {
|
|
2204
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2205
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
2206
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2207
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2208
|
+
return v1;
|
|
2060
2209
|
}
|
|
2061
|
-
function
|
|
2210
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2062
2211
|
_assertClass(f_status_, RustCallStatus);
|
|
2063
|
-
const ret = wasm.
|
|
2212
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2064
2213
|
return ret;
|
|
2065
2214
|
}
|
|
2066
|
-
function
|
|
2067
|
-
const ret = wasm.
|
|
2215
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_new() {
|
|
2216
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_new();
|
|
2068
2217
|
return ret;
|
|
2069
2218
|
}
|
|
2070
|
-
function
|
|
2071
|
-
const ptr0 = passArray8ToWasm0(
|
|
2219
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(hex_string, f_status_) {
|
|
2220
|
+
const ptr0 = passArray8ToWasm0(hex_string, wasm.__wbindgen_malloc);
|
|
2072
2221
|
const len0 = WASM_VECTOR_LEN;
|
|
2073
2222
|
_assertClass(f_status_, RustCallStatus);
|
|
2074
|
-
const ret = wasm.
|
|
2223
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(ptr0, len0, f_status_.__wbg_ptr);
|
|
2075
2224
|
return BigInt.asUintN(64, ret);
|
|
2076
2225
|
}
|
|
2077
|
-
function
|
|
2078
|
-
|
|
2079
|
-
|
|
2226
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_status_) {
|
|
2227
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2228
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_status_.__wbg_ptr);
|
|
2229
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2230
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2231
|
+
return v1;
|
|
2080
2232
|
}
|
|
2081
|
-
function
|
|
2082
|
-
const ptr0 = passArray8ToWasm0(
|
|
2233
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new(bytes, f_status_) {
|
|
2234
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
2083
2235
|
const len0 = WASM_VECTOR_LEN;
|
|
2084
|
-
|
|
2236
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2237
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
2085
2238
|
return BigInt.asUintN(64, ret);
|
|
2086
2239
|
}
|
|
2087
|
-
function
|
|
2088
|
-
|
|
2240
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i32(handle) {
|
|
2241
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i32(handle);
|
|
2242
|
+
}
|
|
2243
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt_safe() {
|
|
2244
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt_safe();
|
|
2089
2245
|
return ret;
|
|
2090
2246
|
}
|
|
2091
|
-
function
|
|
2092
|
-
const ret = wasm.
|
|
2247
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed(ptr, conversation_id, epoch) {
|
|
2248
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed(ptr, conversation_id, epoch);
|
|
2093
2249
|
return BigInt.asUintN(64, ret);
|
|
2094
2250
|
}
|
|
2095
|
-
function
|
|
2096
|
-
const ret = wasm.
|
|
2251
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package() {
|
|
2252
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package();
|
|
2097
2253
|
return ret;
|
|
2098
2254
|
}
|
|
2099
|
-
function
|
|
2100
|
-
const ret = wasm.
|
|
2255
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities() {
|
|
2256
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities();
|
|
2101
2257
|
return ret;
|
|
2102
2258
|
}
|
|
2103
|
-
function
|
|
2104
|
-
wasm.
|
|
2105
|
-
}
|
|
2106
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data) {
|
|
2107
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data);
|
|
2108
|
-
}
|
|
2109
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_last_resort_prekey(ptr) {
|
|
2110
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_last_resort_prekey(ptr);
|
|
2259
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocommand_execute(ptr, context) {
|
|
2260
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocommand_execute(ptr, context);
|
|
2111
2261
|
return BigInt.asUintN(64, ret);
|
|
2112
2262
|
}
|
|
2113
2263
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_device_identities(ptr, conversation_id, device_ids) {
|
|
@@ -2116,345 +2266,290 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_device_iden
|
|
|
2116
2266
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_device_identities(ptr, conversation_id, ptr0, len0);
|
|
2117
2267
|
return BigInt.asUintN(64, ret);
|
|
2118
2268
|
}
|
|
2119
|
-
function
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
return
|
|
2269
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_serialize(ptr, f_status_) {
|
|
2270
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2271
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_serialize(ptr, f_status_.__wbg_ptr);
|
|
2272
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2273
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2274
|
+
return v1;
|
|
2125
2275
|
}
|
|
2126
|
-
function
|
|
2127
|
-
const ret = wasm.
|
|
2276
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new() {
|
|
2277
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new();
|
|
2128
2278
|
return ret;
|
|
2129
2279
|
}
|
|
2130
|
-
function
|
|
2131
|
-
|
|
2132
|
-
return ret;
|
|
2280
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data) {
|
|
2281
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data);
|
|
2133
2282
|
}
|
|
2134
|
-
function
|
|
2283
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2135
2284
|
_assertClass(f_status_, RustCallStatus);
|
|
2136
|
-
const ret = wasm.
|
|
2137
|
-
return
|
|
2285
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2286
|
+
return ret;
|
|
2138
2287
|
}
|
|
2139
|
-
function
|
|
2140
|
-
wasm.
|
|
2288
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new() {
|
|
2289
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new();
|
|
2290
|
+
return ret;
|
|
2141
2291
|
}
|
|
2142
|
-
function
|
|
2292
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash(ptr, f_status_) {
|
|
2143
2293
|
_assertClass(f_status_, RustCallStatus);
|
|
2144
|
-
const ret = wasm.
|
|
2294
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
2145
2295
|
return BigInt.asUintN(64, ret);
|
|
2146
2296
|
}
|
|
2147
|
-
function
|
|
2148
|
-
const ret = wasm.
|
|
2297
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_x509credentialacquisition_finalize() {
|
|
2298
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_x509credentialacquisition_finalize();
|
|
2149
2299
|
return ret;
|
|
2150
2300
|
}
|
|
2151
|
-
function
|
|
2152
|
-
|
|
2153
|
-
|
|
2301
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_display(ptr, f_status_) {
|
|
2302
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2303
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
2304
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2305
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2306
|
+
return v1;
|
|
2154
2307
|
}
|
|
2155
|
-
function
|
|
2156
|
-
|
|
2308
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2309
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2310
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2157
2311
|
return ret;
|
|
2158
2312
|
}
|
|
2159
|
-
function
|
|
2160
|
-
const ptr0 = passArray8ToWasm0(
|
|
2313
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_device_identities(ptr, conversation_id, device_ids) {
|
|
2314
|
+
const ptr0 = passArray8ToWasm0(device_ids, wasm.__wbindgen_malloc);
|
|
2161
2315
|
const len0 = WASM_VECTOR_LEN;
|
|
2162
|
-
const ret = wasm.
|
|
2316
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_device_identities(ptr, conversation_id, ptr0, len0);
|
|
2163
2317
|
return BigInt.asUintN(64, ret);
|
|
2164
2318
|
}
|
|
2165
|
-
function
|
|
2166
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key();
|
|
2167
|
-
return ret;
|
|
2168
|
-
}
|
|
2169
|
-
function ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptoffi_new(instance, f_status_) {
|
|
2319
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_mlstransport(handle, f_status_) {
|
|
2170
2320
|
_assertClass(f_status_, RustCallStatus);
|
|
2171
|
-
|
|
2172
|
-
return BigInt.asUintN(64, ret);
|
|
2173
|
-
}
|
|
2174
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment() {
|
|
2175
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment();
|
|
2176
|
-
return ret;
|
|
2177
|
-
}
|
|
2178
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_local() {
|
|
2179
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_local();
|
|
2180
|
-
return ret;
|
|
2321
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_mlstransport(handle, f_status_.__wbg_ptr);
|
|
2181
2322
|
}
|
|
2182
|
-
function
|
|
2323
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_debug(ptr, f_status_) {
|
|
2183
2324
|
_assertClass(f_status_, RustCallStatus);
|
|
2184
|
-
const ret = wasm.
|
|
2325
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
2185
2326
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2186
2327
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2187
2328
|
return v1;
|
|
2188
2329
|
}
|
|
2189
|
-
function
|
|
2330
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_mlstransport(handle, f_status_) {
|
|
2190
2331
|
_assertClass(f_status_, RustCallStatus);
|
|
2191
|
-
const ret = wasm.
|
|
2332
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_mlstransport(handle, f_status_.__wbg_ptr);
|
|
2192
2333
|
return BigInt.asUintN(64, ret);
|
|
2193
2334
|
}
|
|
2194
|
-
function
|
|
2195
|
-
const ret = wasm.
|
|
2196
|
-
return ret;
|
|
2197
|
-
}
|
|
2198
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities() {
|
|
2199
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities();
|
|
2200
|
-
return ret;
|
|
2201
|
-
}
|
|
2202
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed() {
|
|
2203
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed();
|
|
2204
|
-
return ret;
|
|
2205
|
-
}
|
|
2206
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem() {
|
|
2207
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem();
|
|
2208
|
-
return ret;
|
|
2209
|
-
}
|
|
2210
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_check_credentials() {
|
|
2211
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_check_credentials();
|
|
2212
|
-
return ret;
|
|
2213
|
-
}
|
|
2214
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, secret) {
|
|
2215
|
-
const ptr0 = passArray8ToWasm0(secret, wasm.__wbindgen_malloc);
|
|
2216
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2217
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, ptr0, len0);
|
|
2335
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_public_key(ptr, credential_ref) {
|
|
2336
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_public_key(ptr, credential_ref);
|
|
2218
2337
|
return BigInt.asUintN(64, ret);
|
|
2219
2338
|
}
|
|
2220
|
-
function
|
|
2221
|
-
|
|
2222
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
2223
|
-
return BigInt.asUintN(64, ret);
|
|
2339
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64(handle) {
|
|
2340
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64(handle);
|
|
2224
2341
|
}
|
|
2225
|
-
function
|
|
2226
|
-
|
|
2227
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2342
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_earliest_validity() {
|
|
2343
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_earliest_validity();
|
|
2228
2344
|
return ret;
|
|
2229
2345
|
}
|
|
2230
|
-
function
|
|
2231
|
-
const ret = wasm.
|
|
2346
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location() {
|
|
2347
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location();
|
|
2232
2348
|
return ret;
|
|
2233
2349
|
}
|
|
2234
|
-
function
|
|
2350
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u32(handle) {
|
|
2351
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u32(handle);
|
|
2352
|
+
}
|
|
2353
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt(ptr, session_id, ciphertext) {
|
|
2235
2354
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
2236
2355
|
const len0 = WASM_VECTOR_LEN;
|
|
2237
|
-
const ptr1 = passArray8ToWasm0(
|
|
2356
|
+
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
2238
2357
|
const len1 = WASM_VECTOR_LEN;
|
|
2239
|
-
const ret = wasm.
|
|
2240
|
-
return BigInt.asUintN(64, ret);
|
|
2241
|
-
}
|
|
2242
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_cipher_suite(ptr, conversation_id) {
|
|
2243
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_cipher_suite(ptr, conversation_id);
|
|
2358
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt(ptr, ptr0, len0, ptr1, len1);
|
|
2244
2359
|
return BigInt.asUintN(64, ret);
|
|
2245
2360
|
}
|
|
2246
|
-
function
|
|
2247
|
-
const ret = wasm.
|
|
2361
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_message() {
|
|
2362
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_message();
|
|
2248
2363
|
return ret;
|
|
2249
2364
|
}
|
|
2250
|
-
function
|
|
2251
|
-
const ret = wasm.
|
|
2365
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_enabled() {
|
|
2366
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_enabled();
|
|
2252
2367
|
return ret;
|
|
2253
2368
|
}
|
|
2254
|
-
function
|
|
2255
|
-
const ret = wasm.
|
|
2256
|
-
return
|
|
2257
|
-
}
|
|
2258
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed(ptr, conversation_id, epoch) {
|
|
2259
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed(ptr, conversation_id, epoch);
|
|
2260
|
-
return BigInt.asUintN(64, ret);
|
|
2261
|
-
}
|
|
2262
|
-
function ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_) {
|
|
2263
|
-
_assertClass(f_status_, RustCallStatus);
|
|
2264
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_.__wbg_ptr);
|
|
2265
|
-
return BigInt.asUintN(64, ret);
|
|
2369
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_transaction_ffi() {
|
|
2370
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_transaction_ffi();
|
|
2371
|
+
return ret;
|
|
2266
2372
|
}
|
|
2267
|
-
function
|
|
2268
|
-
const ret = wasm.
|
|
2373
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_is_history_sharing_enabled(ptr, conversation_id) {
|
|
2374
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_is_history_sharing_enabled(ptr, conversation_id);
|
|
2269
2375
|
return BigInt.asUintN(64, ret);
|
|
2270
2376
|
}
|
|
2271
|
-
function
|
|
2272
|
-
const
|
|
2273
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2274
|
-
const ptr1 = passArray8ToWasm0(plaintext, wasm.__wbindgen_malloc);
|
|
2275
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2276
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt(ptr, ptr0, len0, ptr1, len1);
|
|
2377
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_credential(ptr, credential_ref) {
|
|
2378
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_credential(ptr, credential_ref);
|
|
2277
2379
|
return BigInt.asUintN(64, ret);
|
|
2278
2380
|
}
|
|
2279
|
-
function
|
|
2280
|
-
const ret = wasm.
|
|
2381
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse() {
|
|
2382
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse();
|
|
2281
2383
|
return ret;
|
|
2282
2384
|
}
|
|
2283
|
-
function
|
|
2284
|
-
|
|
2285
|
-
return ret;
|
|
2385
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle) {
|
|
2386
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle);
|
|
2286
2387
|
}
|
|
2287
|
-
function
|
|
2288
|
-
|
|
2388
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptoffi(handle, f_status_) {
|
|
2389
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2390
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptoffi(handle, f_status_.__wbg_ptr);
|
|
2391
|
+
}
|
|
2392
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_data() {
|
|
2393
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_data();
|
|
2289
2394
|
return ret;
|
|
2290
2395
|
}
|
|
2291
|
-
function
|
|
2292
|
-
const ret = wasm.
|
|
2396
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new() {
|
|
2397
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new();
|
|
2293
2398
|
return ret;
|
|
2294
2399
|
}
|
|
2295
|
-
function
|
|
2296
|
-
const ret = wasm.
|
|
2400
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_epoch_observer() {
|
|
2401
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_epoch_observer();
|
|
2297
2402
|
return ret;
|
|
2298
2403
|
}
|
|
2299
|
-
function
|
|
2404
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u8(handle, f_status_) {
|
|
2300
2405
|
_assertClass(f_status_, RustCallStatus);
|
|
2301
|
-
wasm.
|
|
2406
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u8(handle, f_status_.__wbg_ptr);
|
|
2407
|
+
return ret;
|
|
2302
2408
|
}
|
|
2303
|
-
function
|
|
2409
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u32(handle, f_status_) {
|
|
2304
2410
|
_assertClass(f_status_, RustCallStatus);
|
|
2305
|
-
wasm.
|
|
2306
|
-
|
|
2307
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential() {
|
|
2308
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential();
|
|
2309
|
-
return ret;
|
|
2411
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u32(handle, f_status_.__wbg_ptr);
|
|
2412
|
+
return ret >>> 0;
|
|
2310
2413
|
}
|
|
2311
|
-
function
|
|
2414
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_) {
|
|
2312
2415
|
_assertClass(f_status_, RustCallStatus);
|
|
2313
|
-
const ret = wasm.
|
|
2416
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
2314
2417
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2315
2418
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2316
2419
|
return v1;
|
|
2317
2420
|
}
|
|
2318
|
-
function
|
|
2319
|
-
const ret = wasm.
|
|
2320
|
-
return ret;
|
|
2421
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_history_observer(ptr, history_observer) {
|
|
2422
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_history_observer(ptr, history_observer);
|
|
2423
|
+
return BigInt.asUintN(64, ret);
|
|
2321
2424
|
}
|
|
2322
|
-
function
|
|
2323
|
-
|
|
2324
|
-
|
|
2425
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_) {
|
|
2426
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2427
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_.__wbg_ptr);
|
|
2428
|
+
return BigInt.asUintN(64, ret);
|
|
2325
2429
|
}
|
|
2326
|
-
function
|
|
2327
|
-
|
|
2430
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i64(handle, f_status_) {
|
|
2431
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2432
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i64(handle, f_status_.__wbg_ptr);
|
|
2328
2433
|
return ret;
|
|
2329
2434
|
}
|
|
2330
|
-
function
|
|
2331
|
-
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
2332
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2435
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_keypackageref(handle, f_status_) {
|
|
2333
2436
|
_assertClass(f_status_, RustCallStatus);
|
|
2334
|
-
const ret = wasm.
|
|
2437
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackageref(handle, f_status_.__wbg_ptr);
|
|
2335
2438
|
return BigInt.asUintN(64, ret);
|
|
2336
2439
|
}
|
|
2337
|
-
function
|
|
2440
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
2338
2441
|
_assertClass(f_status_, RustCallStatus);
|
|
2339
|
-
const ret = wasm.
|
|
2340
|
-
return BigInt.asUintN(64, ret);
|
|
2341
|
-
}
|
|
2342
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data) {
|
|
2343
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data);
|
|
2344
|
-
}
|
|
2345
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open() {
|
|
2346
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open();
|
|
2442
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2347
2443
|
return ret;
|
|
2348
2444
|
}
|
|
2349
|
-
function
|
|
2350
|
-
|
|
2445
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_) {
|
|
2446
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2447
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_.__wbg_ptr);
|
|
2351
2448
|
}
|
|
2352
|
-
function
|
|
2353
|
-
const ret = wasm.
|
|
2354
|
-
return ret;
|
|
2449
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new(hooks, database) {
|
|
2450
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new(hooks, database);
|
|
2451
|
+
return BigInt.asUintN(64, ret);
|
|
2355
2452
|
}
|
|
2356
|
-
function
|
|
2357
|
-
|
|
2453
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_) {
|
|
2454
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2455
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_.__wbg_ptr);
|
|
2456
|
+
return BigInt.asUintN(64, ret);
|
|
2358
2457
|
}
|
|
2359
|
-
function
|
|
2360
|
-
const ret = wasm.
|
|
2458
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes() {
|
|
2459
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes();
|
|
2361
2460
|
return ret;
|
|
2362
2461
|
}
|
|
2363
|
-
function
|
|
2364
|
-
const ret = wasm.
|
|
2462
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce() {
|
|
2463
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce();
|
|
2365
2464
|
return ret;
|
|
2366
2465
|
}
|
|
2367
|
-
function
|
|
2368
|
-
|
|
2369
|
-
const
|
|
2370
|
-
|
|
2371
|
-
|
|
2466
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_type(ptr, f_status_) {
|
|
2467
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2468
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_type(ptr, f_status_.__wbg_ptr);
|
|
2469
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2470
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2471
|
+
return v1;
|
|
2372
2472
|
}
|
|
2373
|
-
function
|
|
2374
|
-
const
|
|
2375
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2376
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
2473
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_exists(ptr, conversation_id) {
|
|
2474
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_exists(ptr, conversation_id);
|
|
2377
2475
|
return BigInt.asUintN(64, ret);
|
|
2378
2476
|
}
|
|
2379
|
-
function
|
|
2380
|
-
|
|
2381
|
-
const
|
|
2382
|
-
|
|
2383
|
-
|
|
2477
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_display(ptr, f_status_) {
|
|
2478
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2479
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
2480
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2481
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2482
|
+
return v1;
|
|
2384
2483
|
}
|
|
2385
|
-
function
|
|
2386
|
-
const ret = wasm.
|
|
2484
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_groupinfo_new() {
|
|
2485
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_groupinfo_new();
|
|
2387
2486
|
return ret;
|
|
2388
2487
|
}
|
|
2389
|
-
function
|
|
2390
|
-
|
|
2391
|
-
const
|
|
2392
|
-
const ptr1 = passArray8ToWasm0(public_key, wasm.__wbindgen_malloc);
|
|
2393
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2394
|
-
const ptr2 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
2395
|
-
const len2 = WASM_VECTOR_LEN;
|
|
2396
|
-
const ptr3 = passArray8ToWasm0(credential_type, wasm.__wbindgen_malloc);
|
|
2397
|
-
const len3 = WASM_VECTOR_LEN;
|
|
2398
|
-
const ptr4 = passArray8ToWasm0(earliest_validity, wasm.__wbindgen_malloc);
|
|
2399
|
-
const len4 = WASM_VECTOR_LEN;
|
|
2400
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_find_credentials_ffi(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
2401
|
-
return BigInt.asUintN(64, ret);
|
|
2402
|
-
}
|
|
2403
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_export_secret_key(ptr, conversation_id, key_length) {
|
|
2404
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_export_secret_key(ptr, conversation_id, key_length);
|
|
2488
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocommand(handle, f_status_) {
|
|
2489
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2490
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocommand(handle, f_status_.__wbg_ptr);
|
|
2405
2491
|
return BigInt.asUintN(64, ret);
|
|
2406
2492
|
}
|
|
2407
|
-
function
|
|
2408
|
-
const ret = wasm.
|
|
2493
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities() {
|
|
2494
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities();
|
|
2409
2495
|
return ret;
|
|
2410
2496
|
}
|
|
2411
|
-
function
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2415
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2416
|
-
return v1;
|
|
2497
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_mls_init(ptr, client_id, transport) {
|
|
2498
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_mls_init(ptr, client_id, transport);
|
|
2499
|
+
return BigInt.asUintN(64, ret);
|
|
2417
2500
|
}
|
|
2418
|
-
function
|
|
2419
|
-
|
|
2501
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f64(handle) {
|
|
2502
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f64(handle);
|
|
2503
|
+
}
|
|
2504
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory() {
|
|
2505
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory();
|
|
2420
2506
|
return ret;
|
|
2421
2507
|
}
|
|
2422
|
-
function
|
|
2423
|
-
const ret = wasm.
|
|
2508
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_client_ids(ptr, conversation_id) {
|
|
2509
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_client_ids(ptr, conversation_id);
|
|
2424
2510
|
return BigInt.asUintN(64, ret);
|
|
2425
2511
|
}
|
|
2426
|
-
function
|
|
2427
|
-
const
|
|
2512
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new_from_credential_ref(pki_environment, config, credential_ref, core_crypto_database) {
|
|
2513
|
+
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
2514
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2515
|
+
const ptr1 = passArray8ToWasm0(core_crypto_database, wasm.__wbindgen_malloc);
|
|
2516
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2517
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new_from_credential_ref(pki_environment, ptr0, len0, credential_ref, ptr1, len1);
|
|
2428
2518
|
return BigInt.asUintN(64, ret);
|
|
2429
2519
|
}
|
|
2430
|
-
function
|
|
2431
|
-
|
|
2432
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_welcome(handle, f_status_.__wbg_ptr);
|
|
2520
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i8(handle) {
|
|
2521
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i8(handle);
|
|
2433
2522
|
}
|
|
2434
|
-
function
|
|
2523
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_packages_for(ptr, credential_ref) {
|
|
2524
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_packages_for(ptr, credential_ref);
|
|
2525
|
+
return BigInt.asUintN(64, ret);
|
|
2526
|
+
}
|
|
2527
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_signature_scheme(ptr, f_status_) {
|
|
2435
2528
|
_assertClass(f_status_, RustCallStatus);
|
|
2436
|
-
const ret = wasm.
|
|
2529
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
2437
2530
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2438
2531
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2439
2532
|
return v1;
|
|
2440
2533
|
}
|
|
2441
|
-
function
|
|
2442
|
-
|
|
2443
|
-
|
|
2534
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_exists() {
|
|
2535
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_exists();
|
|
2536
|
+
return ret;
|
|
2444
2537
|
}
|
|
2445
|
-
function
|
|
2446
|
-
const ret = wasm.
|
|
2447
|
-
return
|
|
2538
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key() {
|
|
2539
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key();
|
|
2540
|
+
return ret;
|
|
2448
2541
|
}
|
|
2449
|
-
function
|
|
2450
|
-
wasm.
|
|
2542
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save() {
|
|
2543
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save();
|
|
2544
|
+
return ret;
|
|
2451
2545
|
}
|
|
2452
|
-
function
|
|
2453
|
-
wasm.
|
|
2546
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_session_exists() {
|
|
2547
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_session_exists();
|
|
2548
|
+
return ret;
|
|
2454
2549
|
}
|
|
2455
|
-
function
|
|
2456
|
-
const ret = wasm.
|
|
2457
|
-
return
|
|
2550
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_random_bytes() {
|
|
2551
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_random_bytes();
|
|
2552
|
+
return ret;
|
|
2458
2553
|
}
|
|
2459
2554
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse(key, signature_scheme, f_status_) {
|
|
2460
2555
|
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
@@ -2465,81 +2560,76 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse(key, si
|
|
|
2465
2560
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse(ptr0, len0, ptr1, len1, f_status_.__wbg_ptr);
|
|
2466
2561
|
return BigInt.asUintN(64, ret);
|
|
2467
2562
|
}
|
|
2468
|
-
function
|
|
2469
|
-
const ret = wasm.
|
|
2470
|
-
return
|
|
2471
|
-
}
|
|
2472
|
-
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_historyobserver(vtable) {
|
|
2473
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_historyobserver(vtable);
|
|
2563
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_delete() {
|
|
2564
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_delete();
|
|
2565
|
+
return ret;
|
|
2474
2566
|
}
|
|
2475
|
-
function
|
|
2476
|
-
|
|
2477
|
-
const
|
|
2478
|
-
|
|
2479
|
-
|
|
2567
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status_) {
|
|
2568
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2569
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
2570
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2571
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2572
|
+
return v1;
|
|
2480
2573
|
}
|
|
2481
|
-
function
|
|
2482
|
-
const
|
|
2483
|
-
|
|
2484
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_device_identities(ptr, conversation_id, ptr0, len0);
|
|
2485
|
-
return BigInt.asUintN(64, ret);
|
|
2574
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_credential() {
|
|
2575
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_credential();
|
|
2576
|
+
return ret;
|
|
2486
2577
|
}
|
|
2487
|
-
function
|
|
2488
|
-
|
|
2489
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_.__wbg_ptr);
|
|
2578
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_fingerprint_prekeybundle_ffi() {
|
|
2579
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_fingerprint_prekeybundle_ffi();
|
|
2490
2580
|
return ret;
|
|
2491
2581
|
}
|
|
2492
|
-
function
|
|
2493
|
-
|
|
2582
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i64(handle) {
|
|
2583
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i64(handle);
|
|
2584
|
+
}
|
|
2585
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_credential(ptr, credential) {
|
|
2586
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_credential(ptr, credential);
|
|
2494
2587
|
return BigInt.asUintN(64, ret);
|
|
2495
2588
|
}
|
|
2496
|
-
function
|
|
2497
|
-
|
|
2498
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref(handle, f_status_.__wbg_ptr);
|
|
2589
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_data(ptr) {
|
|
2590
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_data(ptr);
|
|
2499
2591
|
return BigInt.asUintN(64, ret);
|
|
2500
2592
|
}
|
|
2501
|
-
function
|
|
2502
|
-
|
|
2593
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
2594
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2595
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2503
2596
|
return ret;
|
|
2504
2597
|
}
|
|
2505
|
-
function
|
|
2506
|
-
|
|
2507
|
-
const
|
|
2598
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled(ptr, cipher_suite) {
|
|
2599
|
+
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
2600
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2601
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled(ptr, ptr0, len0);
|
|
2508
2602
|
return BigInt.asUintN(64, ret);
|
|
2509
2603
|
}
|
|
2510
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize() {
|
|
2511
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize();
|
|
2512
|
-
return ret;
|
|
2513
|
-
}
|
|
2514
2604
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_hash_ref() {
|
|
2515
2605
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_hash_ref();
|
|
2516
2606
|
return ret;
|
|
2517
2607
|
}
|
|
2518
|
-
function
|
|
2519
|
-
const ret = wasm.
|
|
2608
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_public_key_hash() {
|
|
2609
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_public_key_hash();
|
|
2520
2610
|
return ret;
|
|
2521
2611
|
}
|
|
2522
|
-
function
|
|
2523
|
-
const ret = wasm.
|
|
2612
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_package() {
|
|
2613
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_package();
|
|
2524
2614
|
return ret;
|
|
2525
2615
|
}
|
|
2526
|
-
function
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
}
|
|
2530
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport() {
|
|
2531
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport();
|
|
2532
|
-
return ret;
|
|
2616
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_check_credentials(ptr) {
|
|
2617
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_check_credentials(ptr);
|
|
2618
|
+
return BigInt.asUintN(64, ret);
|
|
2533
2619
|
}
|
|
2534
|
-
function
|
|
2535
|
-
wasm.
|
|
2620
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_conversation_state(ptr, conversation_id) {
|
|
2621
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_conversation_state(ptr, conversation_id);
|
|
2622
|
+
return BigInt.asUintN(64, ret);
|
|
2536
2623
|
}
|
|
2537
|
-
function
|
|
2538
|
-
const ret = wasm.
|
|
2624
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_join_by_external_commit(ptr, group_info, credential_ref) {
|
|
2625
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_join_by_external_commit(ptr, group_info, credential_ref);
|
|
2539
2626
|
return BigInt.asUintN(64, ret);
|
|
2540
2627
|
}
|
|
2541
|
-
function
|
|
2542
|
-
|
|
2628
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert(ptr, cert_pem) {
|
|
2629
|
+
const ptr0 = passArray8ToWasm0(cert_pem, wasm.__wbindgen_malloc);
|
|
2630
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2631
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert(ptr, ptr0, len0);
|
|
2632
|
+
return BigInt.asUintN(64, ret);
|
|
2543
2633
|
}
|
|
2544
2634
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_save(ptr, session_id) {
|
|
2545
2635
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
@@ -2547,21 +2637,46 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session
|
|
|
2547
2637
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_save(ptr, ptr0, len0);
|
|
2548
2638
|
return BigInt.asUintN(64, ret);
|
|
2549
2639
|
}
|
|
2550
|
-
function
|
|
2551
|
-
|
|
2640
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i8(handle, callback, callback_data) {
|
|
2641
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i8(handle, callback, callback_data);
|
|
2642
|
+
}
|
|
2643
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_random_bytes(ptr, len) {
|
|
2644
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_random_bytes(ptr, len);
|
|
2645
|
+
return BigInt.asUintN(64, ret);
|
|
2646
|
+
}
|
|
2647
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer(handle) {
|
|
2648
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer(handle);
|
|
2649
|
+
}
|
|
2650
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message() {
|
|
2651
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message();
|
|
2552
2652
|
return ret;
|
|
2553
2653
|
}
|
|
2554
|
-
function
|
|
2555
|
-
|
|
2556
|
-
|
|
2654
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_clients_to_conversation() {
|
|
2655
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_clients_to_conversation();
|
|
2656
|
+
return ret;
|
|
2657
|
+
}
|
|
2658
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_epoch(ptr, conversation_id) {
|
|
2659
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_epoch(ptr, conversation_id);
|
|
2557
2660
|
return BigInt.asUintN(64, ret);
|
|
2558
2661
|
}
|
|
2559
|
-
function
|
|
2560
|
-
wasm.
|
|
2662
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_local() {
|
|
2663
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_local();
|
|
2664
|
+
return ret;
|
|
2665
|
+
}
|
|
2666
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_f64(handle, callback, callback_data) {
|
|
2667
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_f64(handle, callback, callback_data);
|
|
2668
|
+
}
|
|
2669
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
2670
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2671
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2672
|
+
return ret;
|
|
2561
2673
|
}
|
|
2562
2674
|
function wasm_bindgen__convert__closures_____invoke__hf3c68230db5190d1(arg0, arg1, arg2) {
|
|
2563
2675
|
wasm.wasm_bindgen__convert__closures_____invoke__hf3c68230db5190d1(arg0, arg1, arg2);
|
|
2564
2676
|
}
|
|
2677
|
+
function wasm_bindgen__convert__closures_____invoke__he6b63f055d8ab351(arg0, arg1, arg2) {
|
|
2678
|
+
wasm.wasm_bindgen__convert__closures_____invoke__he6b63f055d8ab351(arg0, arg1, arg2);
|
|
2679
|
+
}
|
|
2565
2680
|
var __wbindgen_enum_IdbTransactionMode = ["readonly", "readwrite", "versionchange", "readwriteflush", "cleanup"];
|
|
2566
2681
|
var ForeignFutureCompleteF32Finalization = typeof FinalizationRegistry === "undefined" ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry((ptr) => wasm.__wbg_foreignfuturecompletef32_free(ptr >>> 0, 1));
|
|
2567
2682
|
|
|
@@ -3819,6 +3934,10 @@ function __wbg_get_imports() {
|
|
|
3819
3934
|
const ret = arg0.versions;
|
|
3820
3935
|
return ret;
|
|
3821
3936
|
};
|
|
3937
|
+
imports.wbg.__wbindgen_cast_047ccf8c4564dc92 = function(arg0, arg1) {
|
|
3938
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0424ebc31579b4c3, wasm_bindgen__convert__closures_____invoke__he6b63f055d8ab351);
|
|
3939
|
+
return ret;
|
|
3940
|
+
};
|
|
3822
3941
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
3823
3942
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
3824
3943
|
return ret;
|
|
@@ -3827,10 +3946,6 @@ function __wbg_get_imports() {
|
|
|
3827
3946
|
const ret = BigInt.asUintN(64, arg0);
|
|
3828
3947
|
return ret;
|
|
3829
3948
|
};
|
|
3830
|
-
imports.wbg.__wbindgen_cast_5621ee70d43d35d7 = function(arg0, arg1) {
|
|
3831
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h03dbd4d16ebe6a7f, wasm_bindgen__convert__closures_____invoke__h750cfefaea4c73c0);
|
|
3832
|
-
return ret;
|
|
3833
|
-
};
|
|
3834
3949
|
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
|
3835
3950
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
3836
3951
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
@@ -3841,12 +3956,12 @@ function __wbg_get_imports() {
|
|
|
3841
3956
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
3842
3957
|
return ret;
|
|
3843
3958
|
};
|
|
3844
|
-
imports.wbg.
|
|
3845
|
-
const ret = arg0;
|
|
3959
|
+
imports.wbg.__wbindgen_cast_d15cb06d1b4366f3 = function(arg0, arg1) {
|
|
3960
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4d2826f8cf3948a6, wasm_bindgen__convert__closures_____invoke__hf3c68230db5190d1);
|
|
3846
3961
|
return ret;
|
|
3847
3962
|
};
|
|
3848
|
-
imports.wbg.
|
|
3849
|
-
const ret =
|
|
3963
|
+
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
3964
|
+
const ret = arg0;
|
|
3850
3965
|
return ret;
|
|
3851
3966
|
};
|
|
3852
3967
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
@@ -4836,6 +4951,90 @@ function version() {
|
|
|
4836
4951
|
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_func_version(callStatus);
|
|
4837
4952
|
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
4838
4953
|
}
|
|
4954
|
+
|
|
4955
|
+
class Uuid extends UniffiAbstractObject {
|
|
4956
|
+
[uniffiTypeNameSymbol] = "Uuid";
|
|
4957
|
+
[destructorGuardSymbol];
|
|
4958
|
+
[pointerLiteralSymbol];
|
|
4959
|
+
constructor(uuid) {
|
|
4960
|
+
super();
|
|
4961
|
+
const pointer = uniffiCaller.rustCallWithError(FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError), (callStatus) => {
|
|
4962
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(FfiConverterString.lower(uuid, nativeModule().rustbuffer_alloc), callStatus);
|
|
4963
|
+
}, FfiConverterString.lift.bind(FfiConverterString));
|
|
4964
|
+
this[pointerLiteralSymbol] = pointer;
|
|
4965
|
+
this[destructorGuardSymbol] = uniffiTypeUuidObjectFactory.bless(pointer);
|
|
4966
|
+
}
|
|
4967
|
+
equals(other) {
|
|
4968
|
+
return FfiConverterBool.lift(uniffiCaller.rustCall((callStatus) => {
|
|
4969
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(uniffiTypeUuidObjectFactory.clonePointer(this), FfiConverterTypeUuid.lower(other, nativeModule().rustbuffer_alloc), callStatus);
|
|
4970
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
4971
|
+
}
|
|
4972
|
+
hashCode() {
|
|
4973
|
+
return FfiConverterUInt64.lift(uniffiCaller.rustCall((callStatus) => {
|
|
4974
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash(uniffiTypeUuidObjectFactory.clonePointer(this), callStatus);
|
|
4975
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
4976
|
+
}
|
|
4977
|
+
uniffiDestroy() {
|
|
4978
|
+
const ptr = this[destructorGuardSymbol];
|
|
4979
|
+
if (ptr !== undefined) {
|
|
4980
|
+
const pointer = uniffiTypeUuidObjectFactory.pointer(this);
|
|
4981
|
+
uniffiTypeUuidObjectFactory.freePointer(pointer);
|
|
4982
|
+
uniffiTypeUuidObjectFactory.unbless(ptr);
|
|
4983
|
+
delete this[destructorGuardSymbol];
|
|
4984
|
+
}
|
|
4985
|
+
}
|
|
4986
|
+
static instanceOf(obj_) {
|
|
4987
|
+
return uniffiTypeUuidObjectFactory.isConcreteType(obj_);
|
|
4988
|
+
}
|
|
4989
|
+
}
|
|
4990
|
+
var uniffiTypeUuidObjectFactory = (() => {
|
|
4991
|
+
const registry = typeof FinalizationRegistry !== "undefined" ? new FinalizationRegistry((heldValue) => {
|
|
4992
|
+
uniffiTypeUuidObjectFactory.freePointer(heldValue);
|
|
4993
|
+
}) : null;
|
|
4994
|
+
return {
|
|
4995
|
+
create(pointer) {
|
|
4996
|
+
const instance = Object.create(Uuid.prototype);
|
|
4997
|
+
instance[pointerLiteralSymbol] = pointer;
|
|
4998
|
+
instance[destructorGuardSymbol] = this.bless(pointer);
|
|
4999
|
+
instance[uniffiTypeNameSymbol] = "Uuid";
|
|
5000
|
+
return instance;
|
|
5001
|
+
},
|
|
5002
|
+
bless(p) {
|
|
5003
|
+
const ptr = {
|
|
5004
|
+
p,
|
|
5005
|
+
markDestroyed: () => {
|
|
5006
|
+
return;
|
|
5007
|
+
}
|
|
5008
|
+
};
|
|
5009
|
+
if (registry) {
|
|
5010
|
+
registry.register(ptr, p, ptr);
|
|
5011
|
+
}
|
|
5012
|
+
return ptr;
|
|
5013
|
+
},
|
|
5014
|
+
unbless(ptr_) {
|
|
5015
|
+
if (registry) {
|
|
5016
|
+
registry.unregister(ptr_);
|
|
5017
|
+
}
|
|
5018
|
+
},
|
|
5019
|
+
pointer(obj_) {
|
|
5020
|
+
if (obj_[destructorGuardSymbol] === undefined) {
|
|
5021
|
+
throw new UniffiInternalError.UnexpectedNullPointer;
|
|
5022
|
+
}
|
|
5023
|
+
return obj_[pointerLiteralSymbol];
|
|
5024
|
+
},
|
|
5025
|
+
clonePointer(obj_) {
|
|
5026
|
+
const pointer = this.pointer(obj_);
|
|
5027
|
+
return uniffiCaller.rustCall((callStatus) => nativeModule().ubrn_uniffi_core_crypto_ffi_fn_clone_uuid(pointer, callStatus), FfiConverterString.lift);
|
|
5028
|
+
},
|
|
5029
|
+
freePointer(pointer) {
|
|
5030
|
+
uniffiCaller.rustCall((callStatus) => nativeModule().ubrn_uniffi_core_crypto_ffi_fn_free_uuid(pointer, callStatus), FfiConverterString.lift);
|
|
5031
|
+
},
|
|
5032
|
+
isConcreteType(obj_) {
|
|
5033
|
+
return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "Uuid";
|
|
5034
|
+
}
|
|
5035
|
+
};
|
|
5036
|
+
})();
|
|
5037
|
+
var FfiConverterTypeUuid = new FfiConverterObject(uniffiTypeUuidObjectFactory);
|
|
4839
5038
|
var stringConverter = (() => {
|
|
4840
5039
|
const encoder = new TextEncoder;
|
|
4841
5040
|
const decoder = new TextDecoder;
|
|
@@ -4851,6 +5050,111 @@ var stringConverter = (() => {
|
|
|
4851
5050
|
};
|
|
4852
5051
|
})();
|
|
4853
5052
|
var FfiConverterString = uniffiCreateFfiConverterString(stringConverter);
|
|
5053
|
+
|
|
5054
|
+
class DeviceId extends UniffiAbstractObject {
|
|
5055
|
+
[uniffiTypeNameSymbol] = "DeviceId";
|
|
5056
|
+
[destructorGuardSymbol];
|
|
5057
|
+
[pointerLiteralSymbol];
|
|
5058
|
+
constructor(id) {
|
|
5059
|
+
super();
|
|
5060
|
+
const pointer = uniffiCaller.rustCall((callStatus) => {
|
|
5061
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(FfiConverterUInt64.lower(id, nativeModule().rustbuffer_alloc), callStatus);
|
|
5062
|
+
}, FfiConverterString.lift.bind(FfiConverterString));
|
|
5063
|
+
this[pointerLiteralSymbol] = pointer;
|
|
5064
|
+
this[destructorGuardSymbol] = uniffiTypeDeviceIdObjectFactory.bless(pointer);
|
|
5065
|
+
}
|
|
5066
|
+
static fromHexString(hexString) {
|
|
5067
|
+
return FfiConverterTypeDeviceId.lift(uniffiCaller.rustCallWithError(FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError), (callStatus) => {
|
|
5068
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(FfiConverterString.lower(hexString, nativeModule().rustbuffer_alloc), callStatus);
|
|
5069
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
5070
|
+
}
|
|
5071
|
+
toHexString() {
|
|
5072
|
+
return ((__rb) => {
|
|
5073
|
+
try {
|
|
5074
|
+
return FfiConverterString.lift(__rb);
|
|
5075
|
+
} finally {
|
|
5076
|
+
nativeModule().rustbuffer_free(__rb);
|
|
5077
|
+
}
|
|
5078
|
+
})(uniffiCaller.rustCall((callStatus) => {
|
|
5079
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(uniffiTypeDeviceIdObjectFactory.clonePointer(this), callStatus);
|
|
5080
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
5081
|
+
}
|
|
5082
|
+
toU64() {
|
|
5083
|
+
return FfiConverterUInt64.lift(uniffiCaller.rustCall((callStatus) => {
|
|
5084
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64(uniffiTypeDeviceIdObjectFactory.clonePointer(this), callStatus);
|
|
5085
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
5086
|
+
}
|
|
5087
|
+
equals(other) {
|
|
5088
|
+
return FfiConverterBool.lift(uniffiCaller.rustCall((callStatus) => {
|
|
5089
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq(uniffiTypeDeviceIdObjectFactory.clonePointer(this), FfiConverterTypeDeviceId.lower(other, nativeModule().rustbuffer_alloc), callStatus);
|
|
5090
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
5091
|
+
}
|
|
5092
|
+
hashCode() {
|
|
5093
|
+
return FfiConverterUInt64.lift(uniffiCaller.rustCall((callStatus) => {
|
|
5094
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash(uniffiTypeDeviceIdObjectFactory.clonePointer(this), callStatus);
|
|
5095
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
5096
|
+
}
|
|
5097
|
+
uniffiDestroy() {
|
|
5098
|
+
const ptr = this[destructorGuardSymbol];
|
|
5099
|
+
if (ptr !== undefined) {
|
|
5100
|
+
const pointer = uniffiTypeDeviceIdObjectFactory.pointer(this);
|
|
5101
|
+
uniffiTypeDeviceIdObjectFactory.freePointer(pointer);
|
|
5102
|
+
uniffiTypeDeviceIdObjectFactory.unbless(ptr);
|
|
5103
|
+
delete this[destructorGuardSymbol];
|
|
5104
|
+
}
|
|
5105
|
+
}
|
|
5106
|
+
static instanceOf(obj_) {
|
|
5107
|
+
return uniffiTypeDeviceIdObjectFactory.isConcreteType(obj_);
|
|
5108
|
+
}
|
|
5109
|
+
}
|
|
5110
|
+
var uniffiTypeDeviceIdObjectFactory = (() => {
|
|
5111
|
+
const registry = typeof FinalizationRegistry !== "undefined" ? new FinalizationRegistry((heldValue) => {
|
|
5112
|
+
uniffiTypeDeviceIdObjectFactory.freePointer(heldValue);
|
|
5113
|
+
}) : null;
|
|
5114
|
+
return {
|
|
5115
|
+
create(pointer) {
|
|
5116
|
+
const instance = Object.create(DeviceId.prototype);
|
|
5117
|
+
instance[pointerLiteralSymbol] = pointer;
|
|
5118
|
+
instance[destructorGuardSymbol] = this.bless(pointer);
|
|
5119
|
+
instance[uniffiTypeNameSymbol] = "DeviceId";
|
|
5120
|
+
return instance;
|
|
5121
|
+
},
|
|
5122
|
+
bless(p) {
|
|
5123
|
+
const ptr = {
|
|
5124
|
+
p,
|
|
5125
|
+
markDestroyed: () => {
|
|
5126
|
+
return;
|
|
5127
|
+
}
|
|
5128
|
+
};
|
|
5129
|
+
if (registry) {
|
|
5130
|
+
registry.register(ptr, p, ptr);
|
|
5131
|
+
}
|
|
5132
|
+
return ptr;
|
|
5133
|
+
},
|
|
5134
|
+
unbless(ptr_) {
|
|
5135
|
+
if (registry) {
|
|
5136
|
+
registry.unregister(ptr_);
|
|
5137
|
+
}
|
|
5138
|
+
},
|
|
5139
|
+
pointer(obj_) {
|
|
5140
|
+
if (obj_[destructorGuardSymbol] === undefined) {
|
|
5141
|
+
throw new UniffiInternalError.UnexpectedNullPointer;
|
|
5142
|
+
}
|
|
5143
|
+
return obj_[pointerLiteralSymbol];
|
|
5144
|
+
},
|
|
5145
|
+
clonePointer(obj_) {
|
|
5146
|
+
const pointer = this.pointer(obj_);
|
|
5147
|
+
return uniffiCaller.rustCall((callStatus) => nativeModule().ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(pointer, callStatus), FfiConverterString.lift);
|
|
5148
|
+
},
|
|
5149
|
+
freePointer(pointer) {
|
|
5150
|
+
uniffiCaller.rustCall((callStatus) => nativeModule().ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(pointer, callStatus), FfiConverterString.lift);
|
|
5151
|
+
},
|
|
5152
|
+
isConcreteType(obj_) {
|
|
5153
|
+
return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "DeviceId";
|
|
5154
|
+
}
|
|
5155
|
+
};
|
|
5156
|
+
})();
|
|
5157
|
+
var FfiConverterTypeDeviceId = new FfiConverterObject(uniffiTypeDeviceIdObjectFactory);
|
|
4854
5158
|
var DeserializedClientId = (() => {
|
|
4855
5159
|
const defaults = () => ({});
|
|
4856
5160
|
const create = (() => {
|
|
@@ -4868,19 +5172,19 @@ var FfiConverterTypeDeserializedClientId = (() => {
|
|
|
4868
5172
|
read(from) {
|
|
4869
5173
|
return {
|
|
4870
5174
|
clientId: FfiConverterTypeClientId.read(from),
|
|
4871
|
-
userId:
|
|
4872
|
-
deviceId:
|
|
5175
|
+
userId: FfiConverterTypeUuid.read(from),
|
|
5176
|
+
deviceId: FfiConverterTypeDeviceId.read(from),
|
|
4873
5177
|
domain: FfiConverterString.read(from)
|
|
4874
5178
|
};
|
|
4875
5179
|
}
|
|
4876
5180
|
write(value, into) {
|
|
4877
5181
|
FfiConverterTypeClientId.write(value.clientId, into);
|
|
4878
|
-
|
|
4879
|
-
|
|
5182
|
+
FfiConverterTypeUuid.write(value.userId, into);
|
|
5183
|
+
FfiConverterTypeDeviceId.write(value.deviceId, into);
|
|
4880
5184
|
FfiConverterString.write(value.domain, into);
|
|
4881
5185
|
}
|
|
4882
5186
|
allocationSize(value) {
|
|
4883
|
-
return FfiConverterTypeClientId.allocationSize(value.clientId) +
|
|
5187
|
+
return FfiConverterTypeClientId.allocationSize(value.clientId) + FfiConverterTypeUuid.allocationSize(value.userId) + FfiConverterTypeDeviceId.allocationSize(value.deviceId) + FfiConverterString.allocationSize(value.domain);
|
|
4884
5188
|
}
|
|
4885
5189
|
}
|
|
4886
5190
|
return new FFIConverter;
|
|
@@ -4892,8 +5196,8 @@ class ClientId extends UniffiAbstractObject {
|
|
|
4892
5196
|
[pointerLiteralSymbol];
|
|
4893
5197
|
constructor(userId, deviceId, domain) {
|
|
4894
5198
|
super();
|
|
4895
|
-
const pointer = uniffiCaller.
|
|
4896
|
-
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(
|
|
5199
|
+
const pointer = uniffiCaller.rustCall((callStatus) => {
|
|
5200
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(FfiConverterTypeUuid.lower(userId, nativeModule().rustbuffer_alloc), FfiConverterTypeDeviceId.lower(deviceId, nativeModule().rustbuffer_alloc), FfiConverterString.lower(domain, nativeModule().rustbuffer_alloc), callStatus);
|
|
4897
5201
|
}, FfiConverterString.lift.bind(FfiConverterString));
|
|
4898
5202
|
this[pointerLiteralSymbol] = pointer;
|
|
4899
5203
|
this[destructorGuardSymbol] = uniffiTypeClientIdObjectFactory.bless(pointer);
|
|
@@ -8126,8 +8430,8 @@ class CoreCryptoContext extends UniffiAbstractObject {
|
|
|
8126
8430
|
}
|
|
8127
8431
|
async getUserIdentities(conversationId, userIds, asyncOpts_) {
|
|
8128
8432
|
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
8129
|
-
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(uniffiTypeCoreCryptoContextObjectFactory.clonePointer(this), FfiConverterTypeConversationId.lower(conversationId, nativeModule().rustbuffer_alloc),
|
|
8130
|
-
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer,
|
|
8433
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(uniffiTypeCoreCryptoContextObjectFactory.clonePointer(this), FfiConverterTypeConversationId.lower(conversationId, nativeModule().rustbuffer_alloc), FfiConverterSequenceTypeUuid.lower(userIds, nativeModule().rustbuffer_alloc));
|
|
8434
|
+
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer, FfiConverterMapTypeUuidSequenceTypeWireIdentity.lift.bind(FfiConverterMapTypeUuidSequenceTypeWireIdentity), FfiConverterString.lift.bind(FfiConverterString), asyncOpts_, FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError));
|
|
8131
8435
|
}
|
|
8132
8436
|
async joinByExternalCommit(groupInfo, credentialRef, asyncOpts_) {
|
|
8133
8437
|
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
@@ -8822,8 +9126,8 @@ class CoreCryptoFfi extends UniffiAbstractObject {
|
|
|
8822
9126
|
}
|
|
8823
9127
|
async getUserIdentities(conversationId, userIds, asyncOpts_) {
|
|
8824
9128
|
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
8825
|
-
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(uniffiTypeCoreCryptoFfiObjectFactory.clonePointer(this), FfiConverterTypeConversationId.lower(conversationId, nativeModule().rustbuffer_alloc),
|
|
8826
|
-
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer,
|
|
9129
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(uniffiTypeCoreCryptoFfiObjectFactory.clonePointer(this), FfiConverterTypeConversationId.lower(conversationId, nativeModule().rustbuffer_alloc), FfiConverterSequenceTypeUuid.lower(userIds, nativeModule().rustbuffer_alloc));
|
|
9130
|
+
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer, FfiConverterMapTypeUuidSequenceTypeWireIdentity.lift.bind(FfiConverterMapTypeUuidSequenceTypeWireIdentity), FfiConverterString.lift.bind(FfiConverterString), asyncOpts_, FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError));
|
|
8827
9131
|
}
|
|
8828
9132
|
async isHistorySharingEnabled(conversationId, asyncOpts_) {
|
|
8829
9133
|
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
@@ -9525,8 +9829,9 @@ var FfiConverterOptionalDuration = new FfiConverterOptional(FfiConverterDuration
|
|
|
9525
9829
|
var FfiConverterSequenceTypeClientId = new FfiConverterArray(FfiConverterTypeClientId);
|
|
9526
9830
|
var FfiConverterSequenceTypeWireIdentity = new FfiConverterArray(FfiConverterTypeWireIdentity);
|
|
9527
9831
|
var FfiConverterSequenceTypeKeyPackageRef = new FfiConverterArray(FfiConverterTypeKeyPackageRef);
|
|
9832
|
+
var FfiConverterSequenceTypeUuid = new FfiConverterArray(FfiConverterTypeUuid);
|
|
9833
|
+
var FfiConverterMapTypeUuidSequenceTypeWireIdentity = new FfiConverterMap(FfiConverterTypeUuid, FfiConverterSequenceTypeWireIdentity);
|
|
9528
9834
|
var FfiConverterSequenceString = new FfiConverterArray(FfiConverterString);
|
|
9529
|
-
var FfiConverterMapStringSequenceTypeWireIdentity = new FfiConverterMap(FfiConverterString, FfiConverterSequenceTypeWireIdentity);
|
|
9530
9835
|
var FfiConverterMapStringBytes = new FfiConverterMap(FfiConverterString, FfiConverterUint8Array);
|
|
9531
9836
|
var FfiConverterOptionalTypeCipherSuite = new FfiConverterOptional(FfiConverterTypeCipherSuite);
|
|
9532
9837
|
var FfiConverterOptionalTypeCredentialType = new FfiConverterOptional(FfiConverterTypeCredentialType);
|
|
@@ -9572,13 +9877,13 @@ function uniffiEnsureInitialized() {
|
|
|
9572
9877
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_func_version() !== 8474) {
|
|
9573
9878
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_func_version");
|
|
9574
9879
|
}
|
|
9575
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new() !==
|
|
9880
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new() !== 44879) {
|
|
9576
9881
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_constructor_clientid_new");
|
|
9577
9882
|
}
|
|
9578
9883
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes() !== 10155) {
|
|
9579
9884
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes");
|
|
9580
9885
|
}
|
|
9581
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize() !==
|
|
9886
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize() !== 19701) {
|
|
9582
9887
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_clientid_deserialize");
|
|
9583
9888
|
}
|
|
9584
9889
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new() !== 12558) {
|
|
@@ -9659,7 +9964,7 @@ function uniffiEnsureInitialized() {
|
|
|
9659
9964
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages() !== 64486) {
|
|
9660
9965
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages");
|
|
9661
9966
|
}
|
|
9662
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities() !==
|
|
9967
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities() !== 21557) {
|
|
9663
9968
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities");
|
|
9664
9969
|
}
|
|
9665
9970
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit() !== 38654) {
|
|
@@ -9791,7 +10096,7 @@ function uniffiEnsureInitialized() {
|
|
|
9791
10096
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment() !== 28140) {
|
|
9792
10097
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment");
|
|
9793
10098
|
}
|
|
9794
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities() !==
|
|
10099
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities() !== 33184) {
|
|
9795
10100
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities");
|
|
9796
10101
|
}
|
|
9797
10102
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_is_history_sharing_enabled() !== 59378) {
|
|
@@ -9884,6 +10189,18 @@ function uniffiEnsureInitialized() {
|
|
|
9884
10189
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new() !== 36198) {
|
|
9885
10190
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_constructor_databasekey_new");
|
|
9886
10191
|
}
|
|
10192
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string() !== 44184) {
|
|
10193
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string");
|
|
10194
|
+
}
|
|
10195
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new() !== 62163) {
|
|
10196
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_constructor_deviceid_new");
|
|
10197
|
+
}
|
|
10198
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string() !== 17498) {
|
|
10199
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string");
|
|
10200
|
+
}
|
|
10201
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64() !== 14542) {
|
|
10202
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64");
|
|
10203
|
+
}
|
|
9887
10204
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed() !== 64106) {
|
|
9888
10205
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed");
|
|
9889
10206
|
}
|
|
@@ -9962,6 +10279,9 @@ function uniffiEnsureInitialized() {
|
|
|
9962
10279
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes() !== 18148) {
|
|
9963
10280
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes");
|
|
9964
10281
|
}
|
|
10282
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new() !== 40259) {
|
|
10283
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_constructor_uuid_new");
|
|
10284
|
+
}
|
|
9965
10285
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new() !== 20256) {
|
|
9966
10286
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_constructor_welcome_new");
|
|
9967
10287
|
}
|
|
@@ -10009,6 +10329,7 @@ var core_crypto_ffi_default = Object.freeze({
|
|
|
10009
10329
|
FfiConverterTypeDatabaseKey,
|
|
10010
10330
|
FfiConverterTypeDecryptedMessage,
|
|
10011
10331
|
FfiConverterTypeDeserializedClientId,
|
|
10332
|
+
FfiConverterTypeDeviceId,
|
|
10012
10333
|
FfiConverterTypeDeviceStatus,
|
|
10013
10334
|
FfiConverterTypeE2eiConversationState,
|
|
10014
10335
|
FfiConverterTypeEpochChangedReportingError,
|
|
@@ -10039,6 +10360,7 @@ var core_crypto_ffi_default = Object.freeze({
|
|
|
10039
10360
|
FfiConverterTypeSecretKey,
|
|
10040
10361
|
FfiConverterTypeSignatureScheme,
|
|
10041
10362
|
FfiConverterTypeTimestamp,
|
|
10363
|
+
FfiConverterTypeUuid,
|
|
10042
10364
|
FfiConverterTypeWelcome,
|
|
10043
10365
|
FfiConverterTypeWireIdentity,
|
|
10044
10366
|
FfiConverterTypeX509CredentialAcquisition,
|
|
@@ -10153,6 +10475,7 @@ export {
|
|
|
10153
10475
|
X509CredentialAcquisition2 as X509CredentialAcquisition,
|
|
10154
10476
|
WireIdentity,
|
|
10155
10477
|
Welcome,
|
|
10478
|
+
Uuid,
|
|
10156
10479
|
SignatureScheme,
|
|
10157
10480
|
SecretKey,
|
|
10158
10481
|
MlsRatchetTreeType as RatchetTreeType,
|
|
@@ -10179,6 +10502,7 @@ export {
|
|
|
10179
10502
|
EpochChangedReportingError,
|
|
10180
10503
|
E2eiConversationState,
|
|
10181
10504
|
DeviceStatus,
|
|
10505
|
+
DeviceId,
|
|
10182
10506
|
DeserializedClientId,
|
|
10183
10507
|
DatabaseKey,
|
|
10184
10508
|
Database,
|