@wireapp/core-crypto 10.0.0-pre.11 → 10.0.0
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 +18 -14
- package/dist/browser/corecrypto.d.ts +5 -3
- package/dist/browser/corecrypto.js +1351 -1324
- package/dist/native/corecrypto.d.ts +3 -1
- package/dist/native/corecrypto.js +33 -1
- package/dist/native/libcore_crypto_ffi.dylib +0 -0
- package/dist/native/libcore_crypto_ffi.so +0 -0
- package/package.json +12 -3
|
@@ -12,13 +12,6 @@ var __export = (target, all) => {
|
|
|
12
12
|
set: __exportSetter.bind(all, name)
|
|
13
13
|
});
|
|
14
14
|
};
|
|
15
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
16
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
17
|
-
}) : x)(function(x) {
|
|
18
|
-
if (typeof require !== "undefined")
|
|
19
|
-
return require.apply(this, arguments);
|
|
20
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
21
|
-
});
|
|
22
15
|
|
|
23
16
|
// packages/browser/src/autogenerated/wasm-bindgen/index.js
|
|
24
17
|
var exports_wasm_bindgen = {};
|
|
@@ -28,6 +21,7 @@ __export(exports_wasm_bindgen, {
|
|
|
28
21
|
ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash: () => ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash,
|
|
29
22
|
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
23
|
ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq: () => ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq,
|
|
24
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display: () => ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display,
|
|
31
25
|
ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash: () => ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash,
|
|
32
26
|
ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne: () => ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne,
|
|
33
27
|
ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq: () => ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq,
|
|
@@ -58,6 +52,7 @@ __export(exports_wasm_bindgen, {
|
|
|
58
52
|
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
53
|
ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64: () => ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64,
|
|
60
54
|
ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string: () => ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string,
|
|
55
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display: () => ubrn_uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display,
|
|
61
56
|
ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne: () => ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne,
|
|
62
57
|
ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq: () => ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq,
|
|
63
58
|
ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug: () => ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug,
|
|
@@ -656,1227 +651,1056 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
656
651
|
CLOSURE_DTORS.register(real, state, state);
|
|
657
652
|
return real;
|
|
658
653
|
}
|
|
654
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocontext(handle, f_status_) {
|
|
655
|
+
_assertClass(f_status_, RustCallStatus);
|
|
656
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocontext(handle, f_status_.__wbg_ptr);
|
|
657
|
+
}
|
|
658
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_status_) {
|
|
659
|
+
_assertClass(f_status_, RustCallStatus);
|
|
660
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_status_.__wbg_ptr);
|
|
661
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
662
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
663
|
+
return v1;
|
|
664
|
+
}
|
|
665
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_) {
|
|
666
|
+
_assertClass(f_status_, RustCallStatus);
|
|
667
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_.__wbg_ptr);
|
|
668
|
+
return BigInt.asUintN(64, ret);
|
|
669
|
+
}
|
|
670
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(cipher_suite, client_id, f_status_) {
|
|
671
|
+
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
672
|
+
const len0 = WASM_VECTOR_LEN;
|
|
673
|
+
_assertClass(f_status_, RustCallStatus);
|
|
674
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(ptr0, len0, client_id, f_status_.__wbg_ptr);
|
|
675
|
+
return BigInt.asUintN(64, ret);
|
|
676
|
+
}
|
|
659
677
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_reseed() {
|
|
660
678
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_reseed();
|
|
661
679
|
return ret;
|
|
662
680
|
}
|
|
663
|
-
function
|
|
664
|
-
const ret = wasm.
|
|
665
|
-
return
|
|
681
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type() {
|
|
682
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type();
|
|
683
|
+
return ret;
|
|
666
684
|
}
|
|
667
|
-
function
|
|
668
|
-
const ret = wasm.
|
|
685
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_package() {
|
|
686
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_package();
|
|
669
687
|
return ret;
|
|
670
688
|
}
|
|
671
|
-
function
|
|
672
|
-
|
|
673
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptoffi_new(instance, f_status_.__wbg_ptr);
|
|
689
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed(ptr, conversation_id, epoch) {
|
|
690
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed(ptr, conversation_id, epoch);
|
|
674
691
|
return BigInt.asUintN(64, ret);
|
|
675
692
|
}
|
|
676
|
-
function
|
|
677
|
-
const ret = wasm.
|
|
693
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_create_conversation() {
|
|
694
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_create_conversation();
|
|
678
695
|
return ret;
|
|
679
696
|
}
|
|
680
|
-
function
|
|
681
|
-
const
|
|
697
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_data(ptr, data) {
|
|
698
|
+
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
699
|
+
const len0 = WASM_VECTOR_LEN;
|
|
700
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_data(ptr, ptr0, len0);
|
|
682
701
|
return BigInt.asUintN(64, ret);
|
|
683
702
|
}
|
|
684
|
-
function
|
|
685
|
-
wasm.
|
|
703
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_transaction_ffi(ptr, command) {
|
|
704
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_transaction_ffi(ptr, command);
|
|
705
|
+
return BigInt.asUintN(64, ret);
|
|
686
706
|
}
|
|
687
|
-
function
|
|
688
|
-
|
|
707
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_) {
|
|
708
|
+
_assertClass(f_status_, RustCallStatus);
|
|
709
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_.__wbg_ptr);
|
|
710
|
+
}
|
|
711
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_transaction_ffi() {
|
|
712
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_transaction_ffi();
|
|
689
713
|
return ret;
|
|
690
714
|
}
|
|
691
|
-
function
|
|
692
|
-
const ret = wasm.
|
|
715
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_exists(ptr, conversation_id) {
|
|
716
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_exists(ptr, conversation_id);
|
|
693
717
|
return BigInt.asUintN(64, ret);
|
|
694
718
|
}
|
|
695
|
-
function
|
|
696
|
-
const
|
|
697
|
-
return ret;
|
|
698
|
-
}
|
|
699
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt_batched(ptr, sessions, plaintext) {
|
|
700
|
-
const ptr0 = passArray8ToWasm0(sessions, wasm.__wbindgen_malloc);
|
|
719
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, domain, f_status_) {
|
|
720
|
+
const ptr0 = passArray8ToWasm0(domain, wasm.__wbindgen_malloc);
|
|
701
721
|
const len0 = WASM_VECTOR_LEN;
|
|
702
|
-
|
|
703
|
-
const
|
|
704
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt_batched(ptr, ptr0, len0, ptr1, len1);
|
|
722
|
+
_assertClass(f_status_, RustCallStatus);
|
|
723
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, ptr0, len0, f_status_.__wbg_ptr);
|
|
705
724
|
return BigInt.asUintN(64, ret);
|
|
706
725
|
}
|
|
707
|
-
function
|
|
708
|
-
wasm.
|
|
726
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_client_ids(ptr, conversation_id) {
|
|
727
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_client_ids(ptr, conversation_id);
|
|
728
|
+
return BigInt.asUintN(64, ret);
|
|
709
729
|
}
|
|
710
|
-
function
|
|
711
|
-
|
|
712
|
-
return ret;
|
|
730
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_f32(handle, callback, callback_data) {
|
|
731
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_f32(handle, callback, callback_data);
|
|
713
732
|
}
|
|
714
|
-
function
|
|
733
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_cipher_suite(ptr, f_status_) {
|
|
715
734
|
_assertClass(f_status_, RustCallStatus);
|
|
716
|
-
const ret = wasm.
|
|
735
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_cipher_suite(ptr, f_status_.__wbg_ptr);
|
|
717
736
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
718
737
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
719
738
|
return v1;
|
|
720
739
|
}
|
|
721
|
-
function
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
return BigInt.asUintN(64, ret);
|
|
740
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_serialize() {
|
|
741
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_serialize();
|
|
742
|
+
return ret;
|
|
725
743
|
}
|
|
726
|
-
function
|
|
727
|
-
const ptr0 = passArray8ToWasm0(
|
|
744
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, method, url, headers, body) {
|
|
745
|
+
const ptr0 = passArray8ToWasm0(method, wasm.__wbindgen_malloc);
|
|
728
746
|
const len0 = WASM_VECTOR_LEN;
|
|
729
|
-
const
|
|
747
|
+
const ptr1 = passArray8ToWasm0(url, wasm.__wbindgen_malloc);
|
|
748
|
+
const len1 = WASM_VECTOR_LEN;
|
|
749
|
+
const ptr2 = passArray8ToWasm0(headers, wasm.__wbindgen_malloc);
|
|
750
|
+
const len2 = WASM_VECTOR_LEN;
|
|
751
|
+
const ptr3 = passArray8ToWasm0(body, wasm.__wbindgen_malloc);
|
|
752
|
+
const len3 = WASM_VECTOR_LEN;
|
|
753
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
730
754
|
return BigInt.asUintN(64, ret);
|
|
731
755
|
}
|
|
732
|
-
function
|
|
756
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize(ptr, f_status_) {
|
|
733
757
|
_assertClass(f_status_, RustCallStatus);
|
|
734
|
-
const ret = wasm.
|
|
758
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize(ptr, f_status_.__wbg_ptr);
|
|
735
759
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
736
760
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
737
761
|
return v1;
|
|
738
762
|
}
|
|
739
|
-
function
|
|
740
|
-
wasm.
|
|
763
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i32(handle) {
|
|
764
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i32(handle);
|
|
741
765
|
}
|
|
742
|
-
function
|
|
743
|
-
const
|
|
766
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_device_identities() {
|
|
767
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_device_identities();
|
|
768
|
+
return ret;
|
|
769
|
+
}
|
|
770
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_clients_to_conversation(ptr, conversation_id, key_packages) {
|
|
771
|
+
const ptr0 = passArray8ToWasm0(key_packages, wasm.__wbindgen_malloc);
|
|
744
772
|
const len0 = WASM_VECTOR_LEN;
|
|
745
|
-
const ret = wasm.
|
|
773
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_clients_to_conversation(ptr, conversation_id, ptr0, len0);
|
|
746
774
|
return BigInt.asUintN(64, ret);
|
|
747
775
|
}
|
|
748
|
-
function
|
|
776
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
749
777
|
_assertClass(f_status_, RustCallStatus);
|
|
750
|
-
const ret = wasm.
|
|
778
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
751
779
|
return ret;
|
|
752
780
|
}
|
|
753
|
-
function
|
|
754
|
-
const ret = wasm.
|
|
781
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce() {
|
|
782
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce();
|
|
755
783
|
return ret;
|
|
756
784
|
}
|
|
757
|
-
function
|
|
785
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_ref(ptr, f_status_) {
|
|
758
786
|
_assertClass(f_status_, RustCallStatus);
|
|
759
|
-
const ret = wasm.
|
|
760
|
-
|
|
761
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
762
|
-
return v1;
|
|
787
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_ref(ptr, f_status_.__wbg_ptr);
|
|
788
|
+
return BigInt.asUintN(64, ret);
|
|
763
789
|
}
|
|
764
|
-
function
|
|
765
|
-
const ret = wasm.
|
|
766
|
-
return ret;
|
|
790
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_random_bytes(ptr, len) {
|
|
791
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_random_bytes(ptr, len);
|
|
792
|
+
return BigInt.asUintN(64, ret);
|
|
767
793
|
}
|
|
768
|
-
function
|
|
794
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_serialize(ptr, f_status_) {
|
|
769
795
|
_assertClass(f_status_, RustCallStatus);
|
|
770
|
-
const ret = wasm.
|
|
796
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_serialize(ptr, f_status_.__wbg_ptr);
|
|
771
797
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
772
798
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
773
799
|
return v1;
|
|
774
800
|
}
|
|
775
|
-
function
|
|
801
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(handle, f_status_) {
|
|
776
802
|
_assertClass(f_status_, RustCallStatus);
|
|
777
|
-
|
|
803
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(handle, f_status_.__wbg_ptr);
|
|
804
|
+
}
|
|
805
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled(ptr, cipher_suite) {
|
|
806
|
+
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
807
|
+
const len0 = WASM_VECTOR_LEN;
|
|
808
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled(ptr, ptr0, len0);
|
|
778
809
|
return BigInt.asUintN(64, ret);
|
|
779
810
|
}
|
|
780
|
-
function
|
|
781
|
-
const ret = wasm.
|
|
782
|
-
return ret;
|
|
811
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_last_resort_prekey(ptr) {
|
|
812
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_last_resort_prekey(ptr);
|
|
813
|
+
return BigInt.asUintN(64, ret);
|
|
783
814
|
}
|
|
784
|
-
function
|
|
785
|
-
const ret = wasm.
|
|
815
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_enabled() {
|
|
816
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_enabled();
|
|
786
817
|
return ret;
|
|
787
818
|
}
|
|
788
|
-
function
|
|
789
|
-
const ret = wasm.
|
|
790
|
-
return ret
|
|
819
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_enable_history_sharing(ptr, conversation_id) {
|
|
820
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_enable_history_sharing(ptr, conversation_id);
|
|
821
|
+
return BigInt.asUintN(64, ret);
|
|
791
822
|
}
|
|
792
|
-
function
|
|
793
|
-
|
|
794
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_.__wbg_ptr);
|
|
795
|
-
return ret;
|
|
823
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle) {
|
|
824
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle);
|
|
796
825
|
}
|
|
797
|
-
function
|
|
826
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f64(handle) {
|
|
827
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f64(handle);
|
|
828
|
+
}
|
|
829
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle(ptr, commit_bundle) {
|
|
830
|
+
const ptr0 = passArray8ToWasm0(commit_bundle, wasm.__wbindgen_malloc);
|
|
831
|
+
const len0 = WASM_VECTOR_LEN;
|
|
832
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle(ptr, ptr0, len0);
|
|
833
|
+
return BigInt.asUintN(64, ret);
|
|
834
|
+
}
|
|
835
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_data(ptr) {
|
|
836
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_data(ptr);
|
|
837
|
+
return BigInt.asUintN(64, ret);
|
|
838
|
+
}
|
|
839
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_welcome(handle, f_status_) {
|
|
798
840
|
_assertClass(f_status_, RustCallStatus);
|
|
799
|
-
wasm.
|
|
841
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_welcome(handle, f_status_.__wbg_ptr);
|
|
800
842
|
}
|
|
801
|
-
function
|
|
802
|
-
wasm.
|
|
843
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_new() {
|
|
844
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_new();
|
|
845
|
+
return ret;
|
|
803
846
|
}
|
|
804
|
-
function
|
|
805
|
-
const ret = wasm.
|
|
847
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint(ptr) {
|
|
848
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint(ptr);
|
|
806
849
|
return BigInt.asUintN(64, ret);
|
|
807
850
|
}
|
|
808
|
-
function
|
|
809
|
-
const ret = wasm.
|
|
851
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer() {
|
|
852
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer();
|
|
810
853
|
return ret;
|
|
811
854
|
}
|
|
812
|
-
function
|
|
813
|
-
|
|
855
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_) {
|
|
856
|
+
_assertClass(f_status_, RustCallStatus);
|
|
857
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_.__wbg_ptr);
|
|
814
858
|
return BigInt.asUintN(64, ret);
|
|
815
859
|
}
|
|
816
|
-
function
|
|
817
|
-
wasm.
|
|
860
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey() {
|
|
861
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey();
|
|
862
|
+
return ret;
|
|
818
863
|
}
|
|
819
|
-
function
|
|
820
|
-
const
|
|
864
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes() {
|
|
865
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes();
|
|
866
|
+
return ret;
|
|
867
|
+
}
|
|
868
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, message) {
|
|
869
|
+
const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
821
870
|
const len0 = WASM_VECTOR_LEN;
|
|
822
|
-
const
|
|
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);
|
|
871
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, ptr0, len0);
|
|
825
872
|
return BigInt.asUintN(64, ret);
|
|
826
873
|
}
|
|
827
|
-
function
|
|
828
|
-
|
|
829
|
-
|
|
874
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle) {
|
|
875
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle);
|
|
876
|
+
}
|
|
877
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_credential() {
|
|
878
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_credential();
|
|
830
879
|
return ret;
|
|
831
880
|
}
|
|
832
|
-
function
|
|
881
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display(ptr, f_status_) {
|
|
833
882
|
_assertClass(f_status_, RustCallStatus);
|
|
834
|
-
const ret = wasm.
|
|
883
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
835
884
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
836
885
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
837
886
|
return v1;
|
|
838
887
|
}
|
|
839
|
-
function
|
|
840
|
-
const ret = wasm.
|
|
888
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_message() {
|
|
889
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_message();
|
|
841
890
|
return ret;
|
|
842
891
|
}
|
|
843
|
-
function
|
|
844
|
-
const ret = wasm.
|
|
845
|
-
return ret;
|
|
846
|
-
}
|
|
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);
|
|
892
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_client_ids(ptr, conversation_id) {
|
|
893
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_client_ids(ptr, conversation_id);
|
|
850
894
|
return BigInt.asUintN(64, ret);
|
|
851
895
|
}
|
|
852
|
-
function
|
|
853
|
-
|
|
854
|
-
const
|
|
896
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_local(ptr, session_id) {
|
|
897
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
898
|
+
const len0 = WASM_VECTOR_LEN;
|
|
899
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
855
900
|
return BigInt.asUintN(64, ret);
|
|
856
901
|
}
|
|
857
|
-
function
|
|
858
|
-
|
|
859
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
902
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new() {
|
|
903
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new();
|
|
860
904
|
return ret;
|
|
861
905
|
}
|
|
862
|
-
function
|
|
906
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_x509credentialacquisition(handle, f_status_) {
|
|
863
907
|
_assertClass(f_status_, RustCallStatus);
|
|
864
|
-
|
|
865
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
866
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
867
|
-
return v1;
|
|
908
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_x509credentialacquisition(handle, f_status_.__wbg_ptr);
|
|
868
909
|
}
|
|
869
|
-
function
|
|
870
|
-
const ret = wasm.
|
|
910
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport() {
|
|
911
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport();
|
|
871
912
|
return ret;
|
|
872
913
|
}
|
|
873
|
-
function
|
|
914
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptologger(handle, f_status_) {
|
|
874
915
|
_assertClass(f_status_, RustCallStatus);
|
|
875
|
-
wasm.
|
|
916
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptologger(handle, f_status_.__wbg_ptr);
|
|
917
|
+
return BigInt.asUintN(64, ret);
|
|
876
918
|
}
|
|
877
|
-
function
|
|
878
|
-
const ptr0 = passArray8ToWasm0(
|
|
919
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_set_pki_environment(ptr, pki_environment) {
|
|
920
|
+
const ptr0 = passArray8ToWasm0(pki_environment, wasm.__wbindgen_malloc);
|
|
879
921
|
const len0 = WASM_VECTOR_LEN;
|
|
880
|
-
const ret = wasm.
|
|
922
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_set_pki_environment(ptr, ptr0, len0);
|
|
881
923
|
return BigInt.asUintN(64, ret);
|
|
882
924
|
}
|
|
883
|
-
function
|
|
884
|
-
const ptr0 = passArray8ToWasm0(
|
|
925
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_save(ptr, session_id) {
|
|
926
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
885
927
|
const len0 = WASM_VECTOR_LEN;
|
|
886
|
-
const ret = wasm.
|
|
928
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_save(ptr, ptr0, len0);
|
|
887
929
|
return BigInt.asUintN(64, ret);
|
|
888
930
|
}
|
|
889
|
-
function
|
|
890
|
-
const ret = wasm.
|
|
931
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_is_history_sharing_enabled(ptr, conversation_id) {
|
|
932
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_is_history_sharing_enabled(ptr, conversation_id);
|
|
891
933
|
return BigInt.asUintN(64, ret);
|
|
892
934
|
}
|
|
893
|
-
function
|
|
894
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i32(handle);
|
|
895
|
-
}
|
|
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;
|
|
935
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_) {
|
|
899
936
|
_assertClass(f_status_, RustCallStatus);
|
|
900
|
-
const ret = wasm.
|
|
937
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_.__wbg_ptr);
|
|
938
|
+
return ret;
|
|
939
|
+
}
|
|
940
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_public_key(ptr, credential_ref) {
|
|
941
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_public_key(ptr, credential_ref);
|
|
901
942
|
return BigInt.asUintN(64, ret);
|
|
902
943
|
}
|
|
903
|
-
function
|
|
904
|
-
|
|
905
|
-
const
|
|
944
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, secret) {
|
|
945
|
+
const ptr0 = passArray8ToWasm0(secret, wasm.__wbindgen_malloc);
|
|
946
|
+
const len0 = WASM_VECTOR_LEN;
|
|
947
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, ptr0, len0);
|
|
906
948
|
return BigInt.asUintN(64, ret);
|
|
907
949
|
}
|
|
908
|
-
function
|
|
909
|
-
|
|
950
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
951
|
+
_assertClass(f_status_, RustCallStatus);
|
|
952
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
910
953
|
return ret;
|
|
911
954
|
}
|
|
912
|
-
function
|
|
913
|
-
|
|
914
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptocontext_new(instance, f_status_.__wbg_ptr);
|
|
955
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_pki_environment(ptr) {
|
|
956
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_pki_environment(ptr);
|
|
915
957
|
return BigInt.asUintN(64, ret);
|
|
916
958
|
}
|
|
917
|
-
function
|
|
918
|
-
const ret = wasm.
|
|
919
|
-
return
|
|
959
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate() {
|
|
960
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate();
|
|
961
|
+
return ret;
|
|
920
962
|
}
|
|
921
|
-
function
|
|
922
|
-
const ret = wasm.
|
|
963
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_packages_for() {
|
|
964
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_packages_for();
|
|
923
965
|
return ret;
|
|
924
966
|
}
|
|
925
|
-
function
|
|
926
|
-
|
|
927
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
967
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_cipher_suite() {
|
|
968
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_cipher_suite();
|
|
928
969
|
return ret;
|
|
929
970
|
}
|
|
930
|
-
function
|
|
931
|
-
const ptr0 = passArray8ToWasm0(
|
|
971
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse(key, signature_scheme, f_status_) {
|
|
972
|
+
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
932
973
|
const len0 = WASM_VECTOR_LEN;
|
|
933
|
-
const ptr1 = passArray8ToWasm0(
|
|
974
|
+
const ptr1 = passArray8ToWasm0(signature_scheme, wasm.__wbindgen_malloc);
|
|
934
975
|
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);
|
|
936
|
-
return BigInt.asUintN(64, ret);
|
|
937
|
-
}
|
|
938
|
-
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptoffi(handle, f_status_) {
|
|
939
976
|
_assertClass(f_status_, RustCallStatus);
|
|
940
|
-
const ret = wasm.
|
|
977
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse(ptr0, len0, ptr1, len1, f_status_.__wbg_ptr);
|
|
941
978
|
return BigInt.asUintN(64, ret);
|
|
942
979
|
}
|
|
943
|
-
function
|
|
944
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle);
|
|
945
|
-
}
|
|
946
|
-
function ubrn_uniffi_core_crypto_ffi_fn_free_clientid(handle, f_status_) {
|
|
980
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_) {
|
|
947
981
|
_assertClass(f_status_, RustCallStatus);
|
|
948
|
-
wasm.
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
const len0 = WASM_VECTOR_LEN;
|
|
953
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_exists(ptr, ptr0, len0);
|
|
954
|
-
return BigInt.asUintN(64, ret);
|
|
955
|
-
}
|
|
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();
|
|
958
|
-
return ret;
|
|
982
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_.__wbg_ptr);
|
|
983
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
984
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
985
|
+
return v1;
|
|
959
986
|
}
|
|
960
|
-
function
|
|
961
|
-
const ret = wasm.
|
|
987
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptoffi_new() {
|
|
988
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptoffi_new();
|
|
962
989
|
return ret;
|
|
963
990
|
}
|
|
964
|
-
function
|
|
965
|
-
const
|
|
966
|
-
const len0 = WASM_VECTOR_LEN;
|
|
967
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
991
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_epoch(ptr, conversation_id) {
|
|
992
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_epoch(ptr, conversation_id);
|
|
968
993
|
return BigInt.asUintN(64, ret);
|
|
969
994
|
}
|
|
970
|
-
function
|
|
971
|
-
const ret = wasm.
|
|
995
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptologger_log() {
|
|
996
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptologger_log();
|
|
972
997
|
return ret;
|
|
973
998
|
}
|
|
974
|
-
function
|
|
975
|
-
const ret = wasm.
|
|
999
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt_batched() {
|
|
1000
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt_batched();
|
|
976
1001
|
return ret;
|
|
977
1002
|
}
|
|
978
|
-
function
|
|
979
|
-
wasm.
|
|
980
|
-
}
|
|
981
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new() {
|
|
982
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new();
|
|
1003
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender() {
|
|
1004
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender();
|
|
983
1005
|
return ret;
|
|
984
1006
|
}
|
|
985
|
-
function
|
|
986
|
-
const ret = wasm.
|
|
987
|
-
return
|
|
1007
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new_from_credential_ref() {
|
|
1008
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new_from_credential_ref();
|
|
1009
|
+
return ret;
|
|
988
1010
|
}
|
|
989
|
-
function
|
|
990
|
-
const
|
|
991
|
-
|
|
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);
|
|
1011
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize() {
|
|
1012
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize();
|
|
1013
|
+
return ret;
|
|
995
1014
|
}
|
|
996
|
-
function
|
|
997
|
-
const ret = wasm.
|
|
998
|
-
return
|
|
1015
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_disable_history_sharing() {
|
|
1016
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_disable_history_sharing();
|
|
1017
|
+
return ret;
|
|
999
1018
|
}
|
|
1000
|
-
function
|
|
1001
|
-
const ret = wasm.
|
|
1019
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message() {
|
|
1020
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message();
|
|
1002
1021
|
return ret;
|
|
1003
1022
|
}
|
|
1004
|
-
function
|
|
1005
|
-
|
|
1006
|
-
|
|
1023
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id_ffi() {
|
|
1024
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id_ffi();
|
|
1025
|
+
return ret;
|
|
1007
1026
|
}
|
|
1008
|
-
function
|
|
1009
|
-
const ret = wasm.
|
|
1027
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_remote() {
|
|
1028
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_remote();
|
|
1010
1029
|
return ret;
|
|
1011
1030
|
}
|
|
1012
|
-
function
|
|
1013
|
-
const
|
|
1014
|
-
const len0 = WASM_VECTOR_LEN;
|
|
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);
|
|
1031
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_exists(ptr, conversation_id) {
|
|
1032
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_exists(ptr, conversation_id);
|
|
1017
1033
|
return BigInt.asUintN(64, ret);
|
|
1018
1034
|
}
|
|
1019
|
-
function
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_set_pki_environment(ptr, ptr0, len0);
|
|
1023
|
-
return BigInt.asUintN(64, ret);
|
|
1035
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_secretkey(handle, f_status_) {
|
|
1036
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1037
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_secretkey(handle, f_status_.__wbg_ptr);
|
|
1024
1038
|
}
|
|
1025
|
-
function
|
|
1026
|
-
|
|
1039
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data) {
|
|
1040
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data);
|
|
1041
|
+
}
|
|
1042
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocommand_execute() {
|
|
1043
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocommand_execute();
|
|
1027
1044
|
return ret;
|
|
1028
1045
|
}
|
|
1029
|
-
function
|
|
1030
|
-
const ret = wasm.
|
|
1046
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse() {
|
|
1047
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse();
|
|
1031
1048
|
return ret;
|
|
1032
1049
|
}
|
|
1033
|
-
function
|
|
1034
|
-
|
|
1035
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo(handle, f_status_.__wbg_ptr);
|
|
1050
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_epoch_observer(ptr, epoch_observer) {
|
|
1051
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_epoch_observer(ptr, epoch_observer);
|
|
1036
1052
|
return BigInt.asUintN(64, ret);
|
|
1037
1053
|
}
|
|
1038
|
-
function
|
|
1054
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey(handle, f_status_) {
|
|
1039
1055
|
_assertClass(f_status_, RustCallStatus);
|
|
1040
|
-
const ret = wasm.
|
|
1041
|
-
|
|
1042
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1043
|
-
return v1;
|
|
1056
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey(handle, f_status_.__wbg_ptr);
|
|
1057
|
+
return BigInt.asUintN(64, ret);
|
|
1044
1058
|
}
|
|
1045
|
-
function
|
|
1059
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle) {
|
|
1060
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle);
|
|
1061
|
+
}
|
|
1062
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_) {
|
|
1046
1063
|
_assertClass(f_status_, RustCallStatus);
|
|
1047
|
-
const ret = wasm.
|
|
1048
|
-
|
|
1049
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1050
|
-
return v1;
|
|
1064
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_.__wbg_ptr);
|
|
1065
|
+
return BigInt.asUintN(64, ret);
|
|
1051
1066
|
}
|
|
1052
|
-
function
|
|
1067
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_type(ptr, f_status_) {
|
|
1053
1068
|
_assertClass(f_status_, RustCallStatus);
|
|
1054
|
-
const ret = wasm.
|
|
1069
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_type(ptr, f_status_.__wbg_ptr);
|
|
1055
1070
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1056
1071
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1057
1072
|
return v1;
|
|
1058
1073
|
}
|
|
1059
|
-
function
|
|
1060
|
-
const ret = wasm.
|
|
1061
|
-
return ret;
|
|
1074
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_credential(ptr, credential_ref) {
|
|
1075
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_credential(ptr, credential_ref);
|
|
1076
|
+
return BigInt.asUintN(64, ret);
|
|
1062
1077
|
}
|
|
1063
|
-
function
|
|
1064
|
-
const ret = wasm.
|
|
1078
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_mls_init(ptr, client_id, transport) {
|
|
1079
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_mls_init(ptr, client_id, transport);
|
|
1065
1080
|
return BigInt.asUintN(64, ret);
|
|
1066
1081
|
}
|
|
1067
|
-
function
|
|
1068
|
-
const ret = wasm.
|
|
1082
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle() {
|
|
1083
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle();
|
|
1069
1084
|
return ret;
|
|
1070
1085
|
}
|
|
1071
|
-
function
|
|
1072
|
-
|
|
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;
|
|
1077
|
-
}
|
|
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;
|
|
1086
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u16(handle, callback, callback_data) {
|
|
1087
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u16(handle, callback, callback_data);
|
|
1081
1088
|
}
|
|
1082
|
-
function
|
|
1083
|
-
|
|
1084
|
-
const
|
|
1089
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, dpop) {
|
|
1090
|
+
const ptr0 = passArray8ToWasm0(dpop, wasm.__wbindgen_malloc);
|
|
1091
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1092
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, ptr0, len0);
|
|
1085
1093
|
return BigInt.asUintN(64, ret);
|
|
1086
1094
|
}
|
|
1087
|
-
function
|
|
1088
|
-
|
|
1089
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_conversationid(handle, f_status_.__wbg_ptr);
|
|
1090
|
-
}
|
|
1091
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, message) {
|
|
1092
|
-
const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
1095
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new(bytes, f_status_) {
|
|
1096
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1093
1097
|
const len0 = WASM_VECTOR_LEN;
|
|
1094
|
-
|
|
1098
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1099
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1095
1100
|
return BigInt.asUintN(64, ret);
|
|
1096
1101
|
}
|
|
1097
|
-
function
|
|
1098
|
-
const ret = wasm.
|
|
1102
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_is_valid() {
|
|
1103
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_is_valid();
|
|
1099
1104
|
return ret;
|
|
1100
1105
|
}
|
|
1101
|
-
function
|
|
1102
|
-
|
|
1103
|
-
const
|
|
1104
|
-
|
|
1105
|
-
}
|
|
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);
|
|
1106
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_device_identities(ptr, conversation_id, device_ids) {
|
|
1107
|
+
const ptr0 = passArray8ToWasm0(device_ids, wasm.__wbindgen_malloc);
|
|
1108
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1109
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_device_identities(ptr, conversation_id, ptr0, len0);
|
|
1108
1110
|
return BigInt.asUintN(64, ret);
|
|
1109
1111
|
}
|
|
1110
|
-
function
|
|
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_) {
|
|
1112
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_cipher_suite(ptr, f_status_) {
|
|
1115
1113
|
_assertClass(f_status_, RustCallStatus);
|
|
1116
|
-
const ret = wasm.
|
|
1117
|
-
|
|
1114
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_cipher_suite(ptr, f_status_.__wbg_ptr);
|
|
1115
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1116
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1117
|
+
return v1;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1120
|
-
const ret = wasm.
|
|
1119
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_pki_env_setup(ptr) {
|
|
1120
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_pki_env_setup(ptr);
|
|
1121
1121
|
return BigInt.asUintN(64, ret);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver(handle, f_status_) {
|
|
1124
1124
|
_assertClass(f_status_, RustCallStatus);
|
|
1125
|
-
const ret = wasm.
|
|
1125
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver(handle, f_status_.__wbg_ptr);
|
|
1126
1126
|
return BigInt.asUintN(64, ret);
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1129
|
-
const ptr0 = passArray8ToWasm0(
|
|
1128
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(prekey, f_status_) {
|
|
1129
|
+
const ptr0 = passArray8ToWasm0(prekey, wasm.__wbindgen_malloc);
|
|
1130
1130
|
const len0 = WASM_VECTOR_LEN;
|
|
1131
|
-
|
|
1132
|
-
const
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
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);
|
|
1138
|
-
return BigInt.asUintN(64, ret);
|
|
1139
|
-
}
|
|
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();
|
|
1142
|
-
return ret;
|
|
1131
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1132
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(ptr0, len0, f_status_.__wbg_ptr);
|
|
1133
|
+
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1134
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1135
|
+
return v2;
|
|
1143
1136
|
}
|
|
1144
|
-
function
|
|
1145
|
-
const ret = wasm.
|
|
1146
|
-
return ret;
|
|
1137
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_check_credentials(ptr) {
|
|
1138
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_check_credentials(ptr);
|
|
1139
|
+
return BigInt.asUintN(64, ret);
|
|
1147
1140
|
}
|
|
1148
|
-
function
|
|
1149
|
-
const ret = wasm.
|
|
1141
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_cipher_suite() {
|
|
1142
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_cipher_suite();
|
|
1150
1143
|
return ret;
|
|
1151
1144
|
}
|
|
1152
|
-
function
|
|
1145
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1153
1146
|
_assertClass(f_status_, RustCallStatus);
|
|
1154
|
-
wasm.
|
|
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();
|
|
1147
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1158
1148
|
return ret;
|
|
1159
1149
|
}
|
|
1160
|
-
function
|
|
1150
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_public_key_hash(ptr, f_status_) {
|
|
1161
1151
|
_assertClass(f_status_, RustCallStatus);
|
|
1162
|
-
const ret = wasm.
|
|
1163
|
-
|
|
1152
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_public_key_hash(ptr, f_status_.__wbg_ptr);
|
|
1153
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1154
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1155
|
+
return v1;
|
|
1164
1156
|
}
|
|
1165
|
-
function
|
|
1166
|
-
const ret = wasm.
|
|
1157
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_client_id() {
|
|
1158
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_client_id();
|
|
1167
1159
|
return ret;
|
|
1168
1160
|
}
|
|
1169
|
-
function
|
|
1170
|
-
|
|
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_) {
|
|
1174
|
-
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
1161
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, session_id, ciphertext) {
|
|
1162
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1175
1163
|
const len0 = WASM_VECTOR_LEN;
|
|
1176
|
-
|
|
1177
|
-
const
|
|
1164
|
+
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
1165
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1166
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, ptr0, len0, ptr1, len1);
|
|
1178
1167
|
return BigInt.asUintN(64, ret);
|
|
1179
1168
|
}
|
|
1180
|
-
function
|
|
1181
|
-
|
|
1182
|
-
|
|
1169
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new() {
|
|
1170
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new();
|
|
1171
|
+
return ret;
|
|
1183
1172
|
}
|
|
1184
|
-
function
|
|
1185
|
-
const ret = wasm.
|
|
1173
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_signature_scheme() {
|
|
1174
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_signature_scheme();
|
|
1186
1175
|
return ret;
|
|
1187
1176
|
}
|
|
1188
|
-
function
|
|
1189
|
-
|
|
1177
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1178
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1179
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1190
1180
|
return ret;
|
|
1191
1181
|
}
|
|
1192
|
-
function
|
|
1193
|
-
const ret = wasm.
|
|
1182
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment() {
|
|
1183
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment();
|
|
1194
1184
|
return ret;
|
|
1195
1185
|
}
|
|
1196
|
-
function
|
|
1197
|
-
const
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
const ptr2 = passArray8ToWasm0(context, wasm.__wbindgen_malloc);
|
|
1202
|
-
const len2 = WASM_VECTOR_LEN;
|
|
1186
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_join_by_external_commit(ptr, group_info, credential_ref) {
|
|
1187
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_join_by_external_commit(ptr, group_info, credential_ref);
|
|
1188
|
+
return BigInt.asUintN(64, ret);
|
|
1189
|
+
}
|
|
1190
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptocontext_new(instance, f_status_) {
|
|
1203
1191
|
_assertClass(f_status_, RustCallStatus);
|
|
1204
|
-
wasm.
|
|
1192
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptocontext_new(instance, f_status_.__wbg_ptr);
|
|
1193
|
+
return BigInt.asUintN(64, ret);
|
|
1205
1194
|
}
|
|
1206
|
-
function
|
|
1195
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_debug(ptr, f_status_) {
|
|
1207
1196
|
_assertClass(f_status_, RustCallStatus);
|
|
1208
|
-
const ret = wasm.
|
|
1197
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
1209
1198
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1210
1199
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1211
1200
|
return v1;
|
|
1212
1201
|
}
|
|
1213
|
-
function
|
|
1214
|
-
const ret = wasm.
|
|
1202
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor() {
|
|
1203
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor();
|
|
1215
1204
|
return ret;
|
|
1216
1205
|
}
|
|
1217
|
-
function
|
|
1218
|
-
const ret = wasm.
|
|
1206
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data() {
|
|
1207
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data();
|
|
1219
1208
|
return ret;
|
|
1220
1209
|
}
|
|
1221
|
-
function
|
|
1210
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_welcome(handle, f_status_) {
|
|
1222
1211
|
_assertClass(f_status_, RustCallStatus);
|
|
1223
|
-
const ret = wasm.
|
|
1212
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_welcome(handle, f_status_.__wbg_ptr);
|
|
1224
1213
|
return BigInt.asUintN(64, ret);
|
|
1225
1214
|
}
|
|
1226
|
-
function
|
|
1227
|
-
const ret = wasm.
|
|
1228
|
-
return
|
|
1215
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open() {
|
|
1216
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open();
|
|
1217
|
+
return ret;
|
|
1229
1218
|
}
|
|
1230
|
-
function
|
|
1231
|
-
const ret = wasm.
|
|
1219
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_find_credentials_ffi() {
|
|
1220
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_find_credentials_ffi();
|
|
1232
1221
|
return ret;
|
|
1233
1222
|
}
|
|
1234
|
-
function
|
|
1235
|
-
|
|
1236
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1223
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_exists() {
|
|
1224
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_exists();
|
|
1237
1225
|
return ret;
|
|
1238
1226
|
}
|
|
1239
|
-
function
|
|
1240
|
-
const
|
|
1241
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1242
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(ptr0, len0);
|
|
1227
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_init(ptr) {
|
|
1228
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_init(ptr);
|
|
1243
1229
|
return BigInt.asUintN(64, ret);
|
|
1244
1230
|
}
|
|
1245
|
-
function
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
const
|
|
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);
|
|
1231
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_historyobserver(vtable) {
|
|
1232
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_historyobserver(vtable);
|
|
1233
|
+
}
|
|
1234
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint(ptr) {
|
|
1235
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint(ptr);
|
|
1257
1236
|
return BigInt.asUintN(64, ret);
|
|
1258
1237
|
}
|
|
1259
|
-
function
|
|
1260
|
-
|
|
1261
|
-
return ret;
|
|
1238
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i8(handle) {
|
|
1239
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i8(handle);
|
|
1262
1240
|
}
|
|
1263
|
-
function
|
|
1241
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1264
1242
|
_assertClass(f_status_, RustCallStatus);
|
|
1265
|
-
const ret = wasm.
|
|
1243
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1266
1244
|
return ret;
|
|
1267
1245
|
}
|
|
1268
|
-
function
|
|
1269
|
-
const ptr0 = passArray8ToWasm0(
|
|
1246
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert(ptr, cert_pem) {
|
|
1247
|
+
const ptr0 = passArray8ToWasm0(cert_pem, wasm.__wbindgen_malloc);
|
|
1270
1248
|
const len0 = WASM_VECTOR_LEN;
|
|
1271
|
-
const ret = wasm.
|
|
1249
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert(ptr, ptr0, len0);
|
|
1272
1250
|
return BigInt.asUintN(64, ret);
|
|
1273
1251
|
}
|
|
1274
|
-
function
|
|
1275
|
-
|
|
1252
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_conversationid(handle, f_status_) {
|
|
1253
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1254
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_conversationid(handle, f_status_.__wbg_ptr);
|
|
1255
|
+
}
|
|
1256
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_set_logger(logger, f_status_) {
|
|
1257
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1258
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_func_set_logger(logger, f_status_.__wbg_ptr);
|
|
1259
|
+
}
|
|
1260
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals() {
|
|
1261
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals();
|
|
1276
1262
|
return ret;
|
|
1277
1263
|
}
|
|
1278
|
-
function
|
|
1279
|
-
const ret = wasm.
|
|
1264
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_signature_scheme() {
|
|
1265
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_signature_scheme();
|
|
1280
1266
|
return ret;
|
|
1281
1267
|
}
|
|
1282
|
-
function
|
|
1283
|
-
const ret = wasm.
|
|
1268
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_epoch() {
|
|
1269
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_epoch();
|
|
1270
|
+
return ret;
|
|
1271
|
+
}
|
|
1272
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open(location, key) {
|
|
1273
|
+
const ptr0 = passArray8ToWasm0(location, wasm.__wbindgen_malloc);
|
|
1274
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1275
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open(ptr0, len0, key);
|
|
1284
1276
|
return BigInt.asUintN(64, ret);
|
|
1285
1277
|
}
|
|
1286
|
-
function
|
|
1287
|
-
|
|
1288
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1289
|
-
return BigInt.asUintN(64, ret);
|
|
1278
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i8(handle, callback, callback_data) {
|
|
1279
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i8(handle, callback, callback_data);
|
|
1290
1280
|
}
|
|
1291
|
-
function
|
|
1292
|
-
|
|
1293
|
-
const
|
|
1281
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_session_exists(ptr, session_id) {
|
|
1282
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1283
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1284
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_session_exists(ptr, ptr0, len0);
|
|
1294
1285
|
return BigInt.asUintN(64, ret);
|
|
1295
1286
|
}
|
|
1296
|
-
function
|
|
1297
|
-
const ptr0 = passArray8ToWasm0(
|
|
1287
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_delete(ptr, session_id) {
|
|
1288
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1298
1289
|
const len0 = WASM_VECTOR_LEN;
|
|
1299
|
-
|
|
1300
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
1290
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_delete(ptr, ptr0, len0);
|
|
1301
1291
|
return BigInt.asUintN(64, ret);
|
|
1302
1292
|
}
|
|
1303
|
-
function
|
|
1304
|
-
const
|
|
1305
|
-
|
|
1293
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_credentials(ptr) {
|
|
1294
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_credentials(ptr);
|
|
1295
|
+
return BigInt.asUintN(64, ret);
|
|
1296
|
+
}
|
|
1297
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_set_max_log_level() {
|
|
1298
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_set_max_log_level();
|
|
1299
|
+
return ret;
|
|
1300
|
+
}
|
|
1301
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize(ptr, f_status_) {
|
|
1306
1302
|
_assertClass(f_status_, RustCallStatus);
|
|
1307
|
-
const ret = wasm.
|
|
1303
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize(ptr, f_status_.__wbg_ptr);
|
|
1304
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1305
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1306
|
+
return v1;
|
|
1307
|
+
}
|
|
1308
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize() {
|
|
1309
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize();
|
|
1310
|
+
return ret;
|
|
1311
|
+
}
|
|
1312
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token() {
|
|
1313
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token();
|
|
1314
|
+
return ret;
|
|
1315
|
+
}
|
|
1316
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_check_credentials() {
|
|
1317
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_check_credentials();
|
|
1318
|
+
return ret;
|
|
1319
|
+
}
|
|
1320
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_uniffi_trait_debug(ptr, f_status_) {
|
|
1321
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1322
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
1323
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1324
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1325
|
+
return v1;
|
|
1326
|
+
}
|
|
1327
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_credential(ptr, conversation_id) {
|
|
1328
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_credential(ptr, conversation_id);
|
|
1308
1329
|
return BigInt.asUintN(64, ret);
|
|
1309
1330
|
}
|
|
1310
|
-
function
|
|
1331
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_set_pki_environment() {
|
|
1332
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_set_pki_environment();
|
|
1333
|
+
return ret;
|
|
1334
|
+
}
|
|
1335
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_signature_scheme(ptr, f_status_) {
|
|
1311
1336
|
_assertClass(f_status_, RustCallStatus);
|
|
1312
|
-
const ret = wasm.
|
|
1337
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
1313
1338
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1314
1339
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1315
1340
|
return v1;
|
|
1316
1341
|
}
|
|
1317
|
-
function
|
|
1318
|
-
|
|
1319
|
-
const
|
|
1320
|
-
|
|
1342
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_status_) {
|
|
1343
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1344
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_status_.__wbg_ptr);
|
|
1345
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1346
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1347
|
+
return v1;
|
|
1348
|
+
}
|
|
1349
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_credential(ptr, credential) {
|
|
1350
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_credential(ptr, credential);
|
|
1321
1351
|
return BigInt.asUintN(64, ret);
|
|
1322
1352
|
}
|
|
1323
|
-
function
|
|
1324
|
-
const
|
|
1325
|
-
|
|
1326
|
-
|
|
1353
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_welcome_serialize() {
|
|
1354
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_welcome_serialize();
|
|
1355
|
+
return ret;
|
|
1356
|
+
}
|
|
1357
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory(key) {
|
|
1358
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory(key);
|
|
1327
1359
|
return BigInt.asUintN(64, ret);
|
|
1328
1360
|
}
|
|
1329
|
-
function
|
|
1330
|
-
|
|
1361
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptologger(vtable) {
|
|
1362
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptologger(vtable);
|
|
1363
|
+
}
|
|
1364
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_clients_from_conversation() {
|
|
1365
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_clients_from_conversation();
|
|
1331
1366
|
return ret;
|
|
1332
1367
|
}
|
|
1333
|
-
function
|
|
1334
|
-
const ret = wasm.
|
|
1368
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_conversation_state(ptr, conversation_id) {
|
|
1369
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_conversation_state(ptr, conversation_id);
|
|
1370
|
+
return BigInt.asUintN(64, ret);
|
|
1371
|
+
}
|
|
1372
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_remote(ptr, session_id) {
|
|
1373
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1374
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1375
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_remote(ptr, ptr0, len0);
|
|
1376
|
+
return BigInt.asUintN(64, ret);
|
|
1377
|
+
}
|
|
1378
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes() {
|
|
1379
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes();
|
|
1335
1380
|
return ret;
|
|
1336
1381
|
}
|
|
1337
|
-
function
|
|
1338
|
-
const ret = wasm.
|
|
1382
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_set_logger() {
|
|
1383
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_set_logger();
|
|
1339
1384
|
return ret;
|
|
1340
1385
|
}
|
|
1341
|
-
function
|
|
1342
|
-
const ret = wasm.
|
|
1386
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_epoch() {
|
|
1387
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_epoch();
|
|
1343
1388
|
return ret;
|
|
1344
1389
|
}
|
|
1345
|
-
function
|
|
1346
|
-
const ptr0 = passArray8ToWasm0(
|
|
1390
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new(pki_environment, config, f_status_) {
|
|
1391
|
+
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
1347
1392
|
const len0 = WASM_VECTOR_LEN;
|
|
1348
|
-
|
|
1349
|
-
const
|
|
1350
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(ptr0, len0, ptr1, len1, new_key);
|
|
1393
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1394
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
1351
1395
|
return BigInt.asUintN(64, ret);
|
|
1352
1396
|
}
|
|
1353
|
-
function
|
|
1397
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init() {
|
|
1398
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init();
|
|
1399
|
+
return ret;
|
|
1400
|
+
}
|
|
1401
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new(bytes, f_status_) {
|
|
1354
1402
|
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1355
1403
|
const len0 = WASM_VECTOR_LEN;
|
|
1356
1404
|
_assertClass(f_status_, RustCallStatus);
|
|
1357
|
-
const ret = wasm.
|
|
1405
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1358
1406
|
return BigInt.asUintN(64, ret);
|
|
1359
1407
|
}
|
|
1360
|
-
function
|
|
1361
|
-
|
|
1408
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_decrypt_message(ptr, conversation_id, payload) {
|
|
1409
|
+
const ptr0 = passArray8ToWasm0(payload, wasm.__wbindgen_malloc);
|
|
1410
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1411
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_decrypt_message(ptr, conversation_id, ptr0, len0);
|
|
1412
|
+
return BigInt.asUintN(64, ret);
|
|
1362
1413
|
}
|
|
1363
|
-
function
|
|
1364
|
-
|
|
1365
|
-
|
|
1414
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_epochobserver(handle, f_status_) {
|
|
1415
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1416
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_epochobserver(handle, f_status_.__wbg_ptr);
|
|
1366
1417
|
}
|
|
1367
|
-
function
|
|
1368
|
-
const ptr0 = passArray8ToWasm0(
|
|
1418
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_welcome_new(bytes, f_status_) {
|
|
1419
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1369
1420
|
const len0 = WASM_VECTOR_LEN;
|
|
1370
|
-
|
|
1371
|
-
const
|
|
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);
|
|
1421
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1422
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_welcome_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1377
1423
|
return BigInt.asUintN(64, ret);
|
|
1378
1424
|
}
|
|
1379
|
-
function
|
|
1380
|
-
|
|
1381
|
-
|
|
1425
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocontext(handle, f_status_) {
|
|
1426
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1427
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocontext(handle, f_status_.__wbg_ptr);
|
|
1428
|
+
return BigInt.asUintN(64, ret);
|
|
1382
1429
|
}
|
|
1383
|
-
function
|
|
1430
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_random_bytes(ptr, len) {
|
|
1431
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_random_bytes(ptr, len);
|
|
1432
|
+
return BigInt.asUintN(64, ret);
|
|
1433
|
+
}
|
|
1434
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, session_id) {
|
|
1384
1435
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1385
1436
|
const len0 = WASM_VECTOR_LEN;
|
|
1386
|
-
const
|
|
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);
|
|
1437
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
1389
1438
|
return BigInt.asUintN(64, ret);
|
|
1390
1439
|
}
|
|
1391
|
-
function
|
|
1392
|
-
|
|
1393
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_.__wbg_ptr);
|
|
1440
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_exists() {
|
|
1441
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_exists();
|
|
1394
1442
|
return ret;
|
|
1395
1443
|
}
|
|
1396
|
-
function
|
|
1397
|
-
const ret = wasm.
|
|
1444
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_wipe_conversation() {
|
|
1445
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_wipe_conversation();
|
|
1398
1446
|
return ret;
|
|
1399
1447
|
}
|
|
1400
|
-
function
|
|
1448
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1401
1449
|
_assertClass(f_status_, RustCallStatus);
|
|
1402
|
-
const ret = wasm.
|
|
1450
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1403
1451
|
return ret;
|
|
1404
1452
|
}
|
|
1405
|
-
function
|
|
1406
|
-
const ret = wasm.
|
|
1453
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new() {
|
|
1454
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new();
|
|
1407
1455
|
return ret;
|
|
1408
1456
|
}
|
|
1409
|
-
function
|
|
1410
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_exists(ptr, conversation_id);
|
|
1411
|
-
return BigInt.asUintN(64, ret);
|
|
1412
|
-
}
|
|
1413
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_signature_scheme(ptr, f_status_) {
|
|
1457
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_) {
|
|
1414
1458
|
_assertClass(f_status_, RustCallStatus);
|
|
1415
|
-
const ret = wasm.
|
|
1459
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_.__wbg_ptr);
|
|
1416
1460
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1417
1461
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1418
1462
|
return v1;
|
|
1419
1463
|
}
|
|
1420
|
-
function
|
|
1421
|
-
|
|
1464
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1465
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1466
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1422
1467
|
return ret;
|
|
1423
1468
|
}
|
|
1424
|
-
function
|
|
1469
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_) {
|
|
1425
1470
|
_assertClass(f_status_, RustCallStatus);
|
|
1426
|
-
const ret = wasm.
|
|
1471
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
1427
1472
|
return BigInt.asUintN(64, ret);
|
|
1428
1473
|
}
|
|
1429
|
-
function
|
|
1430
|
-
|
|
1431
|
-
return ret;
|
|
1474
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64(handle) {
|
|
1475
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64(handle);
|
|
1432
1476
|
}
|
|
1433
|
-
function
|
|
1434
|
-
wasm.
|
|
1477
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_type() {
|
|
1478
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_type();
|
|
1479
|
+
return ret;
|
|
1435
1480
|
}
|
|
1436
|
-
function
|
|
1437
|
-
const ret = wasm.
|
|
1481
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled() {
|
|
1482
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled();
|
|
1438
1483
|
return ret;
|
|
1439
1484
|
}
|
|
1440
|
-
function
|
|
1441
|
-
const
|
|
1442
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1443
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
1485
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id) {
|
|
1486
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id);
|
|
1444
1487
|
return BigInt.asUintN(64, ret);
|
|
1445
1488
|
}
|
|
1446
|
-
function
|
|
1447
|
-
|
|
1448
|
-
return ret;
|
|
1489
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptocommand(vtable) {
|
|
1490
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptocommand(vtable);
|
|
1449
1491
|
}
|
|
1450
|
-
function
|
|
1451
|
-
|
|
1492
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_) {
|
|
1493
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1494
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_.__wbg_ptr);
|
|
1495
|
+
return BigInt.asUintN(64, ret);
|
|
1496
|
+
}
|
|
1497
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_pkienvironmenthooks(vtable) {
|
|
1498
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_pkienvironmenthooks(vtable);
|
|
1499
|
+
}
|
|
1500
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_historyobserver_history_client_created() {
|
|
1501
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_historyobserver_history_client_created();
|
|
1452
1502
|
return ret;
|
|
1453
1503
|
}
|
|
1454
|
-
function
|
|
1455
|
-
const ret = wasm.
|
|
1504
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_credentials() {
|
|
1505
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_credentials();
|
|
1456
1506
|
return ret;
|
|
1457
1507
|
}
|
|
1458
|
-
function
|
|
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);
|
|
1462
|
-
return BigInt.asUintN(64, ret);
|
|
1463
|
-
}
|
|
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();
|
|
1466
|
-
return ret;
|
|
1467
|
-
}
|
|
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;
|
|
1471
|
-
_assertClass(f_status_, RustCallStatus);
|
|
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();
|
|
1474
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1475
|
-
return v2;
|
|
1476
|
-
}
|
|
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);
|
|
1480
|
-
return ret;
|
|
1481
|
-
}
|
|
1482
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_session_exists(ptr, session_id) {
|
|
1508
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_prekey(ptr, session_id, prekey) {
|
|
1483
1509
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1484
1510
|
const len0 = WASM_VECTOR_LEN;
|
|
1485
|
-
const
|
|
1511
|
+
const ptr1 = passArray8ToWasm0(prekey, wasm.__wbindgen_malloc);
|
|
1512
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1513
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_prekey(ptr, ptr0, len0, ptr1, len1);
|
|
1486
1514
|
return BigInt.asUintN(64, ret);
|
|
1487
1515
|
}
|
|
1488
|
-
function
|
|
1489
|
-
const ptr0 = passArray8ToWasm0(
|
|
1490
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1491
|
-
_assertClass(f_status_, RustCallStatus);
|
|
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);
|
|
1516
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt(ptr, session_id, plaintext) {
|
|
1517
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1500
1518
|
const len0 = WASM_VECTOR_LEN;
|
|
1501
|
-
const
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptologger(handle, f_status_) {
|
|
1505
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1506
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptologger(handle, f_status_.__wbg_ptr);
|
|
1507
|
-
}
|
|
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);
|
|
1511
|
-
}
|
|
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);
|
|
1514
|
-
}
|
|
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;
|
|
1518
|
-
}
|
|
1519
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle) {
|
|
1520
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle);
|
|
1521
|
-
}
|
|
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();
|
|
1527
|
-
return ret;
|
|
1528
|
-
}
|
|
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();
|
|
1531
|
-
return ret;
|
|
1532
|
-
}
|
|
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);
|
|
1535
|
-
return BigInt.asUintN(64, ret);
|
|
1536
|
-
}
|
|
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();
|
|
1539
|
-
return ret;
|
|
1540
|
-
}
|
|
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();
|
|
1547
|
-
return ret;
|
|
1548
|
-
}
|
|
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);
|
|
1519
|
+
const ptr1 = passArray8ToWasm0(plaintext, wasm.__wbindgen_malloc);
|
|
1520
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1521
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt(ptr, ptr0, len0, ptr1, len1);
|
|
1551
1522
|
return BigInt.asUintN(64, ret);
|
|
1552
1523
|
}
|
|
1553
|
-
function
|
|
1554
|
-
const ret = wasm.
|
|
1524
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_external_sender(ptr, conversation_id) {
|
|
1525
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_external_sender(ptr, conversation_id);
|
|
1555
1526
|
return BigInt.asUintN(64, ret);
|
|
1556
1527
|
}
|
|
1557
|
-
function
|
|
1558
|
-
const ret = wasm.
|
|
1559
|
-
return ret;
|
|
1560
|
-
}
|
|
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);
|
|
1563
|
-
}
|
|
1564
|
-
function ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(handle, f_status_) {
|
|
1565
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1566
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(handle, f_status_.__wbg_ptr);
|
|
1567
|
-
}
|
|
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();
|
|
1573
|
-
return ret;
|
|
1574
|
-
}
|
|
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);
|
|
1577
|
-
}
|
|
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_) {
|
|
1583
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1584
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_default(f_status_.__wbg_ptr);
|
|
1585
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1586
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1587
|
-
return v1;
|
|
1588
|
-
}
|
|
1589
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle) {
|
|
1590
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle);
|
|
1591
|
-
}
|
|
1592
|
-
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocontext(handle, f_status_) {
|
|
1593
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1594
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocontext(handle, f_status_.__wbg_ptr);
|
|
1595
|
-
}
|
|
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();
|
|
1528
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt() {
|
|
1529
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt();
|
|
1598
1530
|
return ret;
|
|
1599
1531
|
}
|
|
1600
|
-
function
|
|
1601
|
-
const ret = wasm.
|
|
1532
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_packages_for(ptr, credential_ref) {
|
|
1533
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_packages_for(ptr, credential_ref);
|
|
1602
1534
|
return BigInt.asUintN(64, ret);
|
|
1603
1535
|
}
|
|
1604
|
-
function
|
|
1605
|
-
const
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
const ret = wasm.
|
|
1536
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(path, old_key, new_key) {
|
|
1537
|
+
const ptr0 = passArray8ToWasm0(path, wasm.__wbindgen_malloc);
|
|
1538
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1539
|
+
const ptr1 = passArray8ToWasm0(old_key, wasm.__wbindgen_malloc);
|
|
1540
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1541
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(ptr0, len0, ptr1, len1, new_key);
|
|
1610
1542
|
return BigInt.asUintN(64, ret);
|
|
1611
1543
|
}
|
|
1612
|
-
function
|
|
1613
|
-
const
|
|
1614
|
-
|
|
1615
|
-
}
|
|
1616
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_) {
|
|
1544
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(bytes, f_status_) {
|
|
1545
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1546
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1617
1547
|
_assertClass(f_status_, RustCallStatus);
|
|
1618
|
-
const ret = wasm.
|
|
1619
|
-
return ret;
|
|
1620
|
-
}
|
|
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);
|
|
1623
|
-
}
|
|
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);
|
|
1626
|
-
return BigInt.asUintN(64, ret);
|
|
1627
|
-
}
|
|
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);
|
|
1631
|
-
}
|
|
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);
|
|
1548
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1638
1549
|
return BigInt.asUintN(64, ret);
|
|
1639
1550
|
}
|
|
1640
|
-
function
|
|
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_) {
|
|
1551
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug(ptr, f_status_) {
|
|
1648
1552
|
_assertClass(f_status_, RustCallStatus);
|
|
1649
|
-
const ret = wasm.
|
|
1553
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
1650
1554
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1651
1555
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1652
1556
|
return v1;
|
|
1653
1557
|
}
|
|
1654
|
-
function
|
|
1655
|
-
|
|
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();
|
|
1670
|
-
return ret;
|
|
1671
|
-
}
|
|
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);
|
|
1558
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_set_max_log_level(level, f_status_) {
|
|
1559
|
+
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
1682
1560
|
const len0 = WASM_VECTOR_LEN;
|
|
1683
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_prepare_for_transport(ptr, ptr0, len0);
|
|
1684
|
-
return BigInt.asUintN(64, ret);
|
|
1685
|
-
}
|
|
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;
|
|
1689
|
-
}
|
|
1690
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptologger_log() {
|
|
1691
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptologger_log();
|
|
1692
|
-
return ret;
|
|
1693
|
-
}
|
|
1694
|
-
function ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref(handle, f_status_) {
|
|
1695
1561
|
_assertClass(f_status_, RustCallStatus);
|
|
1696
|
-
|
|
1697
|
-
return BigInt.asUintN(64, ret);
|
|
1698
|
-
}
|
|
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);
|
|
1702
|
-
}
|
|
1703
|
-
function ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_) {
|
|
1704
|
-
_assertClass(f_status_, RustCallStatus);
|
|
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);
|
|
1713
|
-
}
|
|
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();
|
|
1716
|
-
return ret;
|
|
1717
|
-
}
|
|
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();
|
|
1720
|
-
return ret;
|
|
1562
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_func_set_max_log_level(ptr0, len0, f_status_.__wbg_ptr);
|
|
1721
1563
|
}
|
|
1722
|
-
function
|
|
1723
|
-
const ret = wasm.
|
|
1564
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem() {
|
|
1565
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem();
|
|
1724
1566
|
return ret;
|
|
1725
1567
|
}
|
|
1726
|
-
function
|
|
1568
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_) {
|
|
1727
1569
|
_assertClass(f_status_, RustCallStatus);
|
|
1728
|
-
const ret = wasm.
|
|
1570
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_.__wbg_ptr);
|
|
1729
1571
|
return BigInt.asUintN(64, ret);
|
|
1730
1572
|
}
|
|
1731
|
-
function
|
|
1732
|
-
const ret = wasm.
|
|
1733
|
-
return ret;
|
|
1734
|
-
}
|
|
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();
|
|
1737
|
-
return ret;
|
|
1738
|
-
}
|
|
1739
|
-
function ubrn_uniffi_core_crypto_ffi_fn_clone_credential(handle, f_status_) {
|
|
1740
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1741
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_credential(handle, f_status_.__wbg_ptr);
|
|
1573
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_wipe_conversation(ptr, conversation_id) {
|
|
1574
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_wipe_conversation(ptr, conversation_id);
|
|
1742
1575
|
return BigInt.asUintN(64, ret);
|
|
1743
1576
|
}
|
|
1744
|
-
function
|
|
1745
|
-
const ret = wasm.
|
|
1746
|
-
return ret;
|
|
1747
|
-
}
|
|
1748
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_) {
|
|
1749
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1750
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_.__wbg_ptr);
|
|
1751
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1752
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1753
|
-
return v1;
|
|
1754
|
-
}
|
|
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();
|
|
1757
|
-
return ret;
|
|
1758
|
-
}
|
|
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);
|
|
1761
|
-
}
|
|
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();
|
|
1577
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new() {
|
|
1578
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new();
|
|
1764
1579
|
return ret;
|
|
1765
|
-
}
|
|
1766
|
-
function
|
|
1767
|
-
wasm.
|
|
1768
|
-
}
|
|
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);
|
|
1772
|
-
}
|
|
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);
|
|
1775
|
-
return BigInt.asUintN(64, ret);
|
|
1776
|
-
}
|
|
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();
|
|
1580
|
+
}
|
|
1581
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_remote() {
|
|
1582
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_remote();
|
|
1779
1583
|
return ret;
|
|
1780
1584
|
}
|
|
1781
|
-
function
|
|
1585
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash(ptr, f_status_) {
|
|
1782
1586
|
_assertClass(f_status_, RustCallStatus);
|
|
1783
|
-
wasm.
|
|
1587
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1588
|
+
return BigInt.asUintN(64, ret);
|
|
1784
1589
|
}
|
|
1785
|
-
function
|
|
1590
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_display(ptr, f_status_) {
|
|
1786
1591
|
_assertClass(f_status_, RustCallStatus);
|
|
1787
|
-
wasm.
|
|
1592
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
1593
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1594
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1595
|
+
return v1;
|
|
1788
1596
|
}
|
|
1789
|
-
function
|
|
1790
|
-
|
|
1597
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_conversationid(handle, f_status_) {
|
|
1598
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1599
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_conversationid(handle, f_status_.__wbg_ptr);
|
|
1791
1600
|
return BigInt.asUintN(64, ret);
|
|
1792
1601
|
}
|
|
1793
|
-
function
|
|
1794
|
-
const
|
|
1602
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(ptr, conversation_id, user_ids) {
|
|
1603
|
+
const ptr0 = passArray8ToWasm0(user_ids, wasm.__wbindgen_malloc);
|
|
1604
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1605
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
1795
1606
|
return BigInt.asUintN(64, ret);
|
|
1796
1607
|
}
|
|
1797
|
-
function
|
|
1798
|
-
const ret = wasm.
|
|
1608
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local() {
|
|
1609
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local();
|
|
1799
1610
|
return ret;
|
|
1800
1611
|
}
|
|
1801
|
-
function
|
|
1802
|
-
const ptr0 = passArray8ToWasm0(domain, wasm.__wbindgen_malloc);
|
|
1803
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1612
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_credential(handle, f_status_) {
|
|
1804
1613
|
_assertClass(f_status_, RustCallStatus);
|
|
1805
|
-
|
|
1806
|
-
return BigInt.asUintN(64, ret);
|
|
1614
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_credential(handle, f_status_.__wbg_ptr);
|
|
1807
1615
|
}
|
|
1808
|
-
function
|
|
1809
|
-
|
|
1810
|
-
|
|
1616
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_export_pem(ptr, f_status_) {
|
|
1617
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1618
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_export_pem(ptr, f_status_.__wbg_ptr);
|
|
1619
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1620
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1621
|
+
return v1;
|
|
1811
1622
|
}
|
|
1812
|
-
function
|
|
1813
|
-
|
|
1814
|
-
|
|
1623
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_externalsender(handle, f_status_) {
|
|
1624
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1625
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_externalsender(handle, f_status_.__wbg_ptr);
|
|
1815
1626
|
}
|
|
1816
|
-
function
|
|
1817
|
-
const ret = wasm.
|
|
1627
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint() {
|
|
1628
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint();
|
|
1818
1629
|
return ret;
|
|
1819
1630
|
}
|
|
1820
|
-
function
|
|
1821
|
-
const ret = wasm.
|
|
1631
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_groupinfo_new() {
|
|
1632
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_groupinfo_new();
|
|
1822
1633
|
return ret;
|
|
1823
1634
|
}
|
|
1824
|
-
function
|
|
1825
|
-
const ret = wasm.
|
|
1635
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_fingerprint_prekeybundle_ffi() {
|
|
1636
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_fingerprint_prekeybundle_ffi();
|
|
1826
1637
|
return ret;
|
|
1827
1638
|
}
|
|
1828
|
-
function
|
|
1829
|
-
|
|
1830
|
-
return BigInt.asUintN(64, ret);
|
|
1831
|
-
}
|
|
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);
|
|
1639
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u16(handle) {
|
|
1640
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u16(handle);
|
|
1835
1641
|
}
|
|
1836
|
-
function
|
|
1837
|
-
const ret = wasm.
|
|
1642
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory() {
|
|
1643
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory();
|
|
1838
1644
|
return ret;
|
|
1839
1645
|
}
|
|
1840
|
-
function
|
|
1646
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_historyobserver(handle, f_status_) {
|
|
1841
1647
|
_assertClass(f_status_, RustCallStatus);
|
|
1842
|
-
|
|
1648
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_historyobserver(handle, f_status_.__wbg_ptr);
|
|
1649
|
+
}
|
|
1650
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64() {
|
|
1651
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64();
|
|
1843
1652
|
return ret;
|
|
1844
1653
|
}
|
|
1845
|
-
function
|
|
1654
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo(handle, f_status_) {
|
|
1846
1655
|
_assertClass(f_status_, RustCallStatus);
|
|
1847
|
-
const ret = wasm.
|
|
1656
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo(handle, f_status_.__wbg_ptr);
|
|
1848
1657
|
return BigInt.asUintN(64, ret);
|
|
1849
1658
|
}
|
|
1850
|
-
function
|
|
1851
|
-
wasm.
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1855
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_uuid(handle, f_status_.__wbg_ptr);
|
|
1659
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_remote(ptr, session_id) {
|
|
1660
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1661
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1662
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_remote(ptr, ptr0, len0);
|
|
1856
1663
|
return BigInt.asUintN(64, ret);
|
|
1857
1664
|
}
|
|
1858
|
-
function
|
|
1665
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_prekey() {
|
|
1666
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_prekey();
|
|
1667
|
+
return ret;
|
|
1668
|
+
}
|
|
1669
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash(ptr, f_status_) {
|
|
1859
1670
|
_assertClass(f_status_, RustCallStatus);
|
|
1860
|
-
const ret = wasm.
|
|
1671
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1861
1672
|
return BigInt.asUintN(64, ret);
|
|
1862
1673
|
}
|
|
1863
|
-
function
|
|
1864
|
-
const ptr0 = passArray8ToWasm0(
|
|
1674
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_find_credentials_ffi(ptr, client_id, public_key, cipher_suite, credential_type, earliest_validity) {
|
|
1675
|
+
const ptr0 = passArray8ToWasm0(client_id, wasm.__wbindgen_malloc);
|
|
1865
1676
|
const len0 = WASM_VECTOR_LEN;
|
|
1866
|
-
const
|
|
1677
|
+
const ptr1 = passArray8ToWasm0(public_key, wasm.__wbindgen_malloc);
|
|
1678
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1679
|
+
const ptr2 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
1680
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1681
|
+
const ptr3 = passArray8ToWasm0(credential_type, wasm.__wbindgen_malloc);
|
|
1682
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1683
|
+
const ptr4 = passArray8ToWasm0(earliest_validity, wasm.__wbindgen_malloc);
|
|
1684
|
+
const len4 = WASM_VECTOR_LEN;
|
|
1685
|
+
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);
|
|
1867
1686
|
return BigInt.asUintN(64, ret);
|
|
1868
1687
|
}
|
|
1869
|
-
function
|
|
1870
|
-
const
|
|
1688
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt_batched(ptr, sessions, plaintext) {
|
|
1689
|
+
const ptr0 = passArray8ToWasm0(sessions, wasm.__wbindgen_malloc);
|
|
1690
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1691
|
+
const ptr1 = passArray8ToWasm0(plaintext, wasm.__wbindgen_malloc);
|
|
1692
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1693
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt_batched(ptr, ptr0, len0, ptr1, len1);
|
|
1871
1694
|
return BigInt.asUintN(64, ret);
|
|
1872
1695
|
}
|
|
1873
|
-
function
|
|
1874
|
-
|
|
1696
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_mlstransport(handle, f_status_) {
|
|
1697
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1698
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_mlstransport(handle, f_status_.__wbg_ptr);
|
|
1699
|
+
return BigInt.asUintN(64, ret);
|
|
1875
1700
|
}
|
|
1876
|
-
function
|
|
1701
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks(handle, f_status_) {
|
|
1877
1702
|
_assertClass(f_status_, RustCallStatus);
|
|
1878
|
-
|
|
1879
|
-
return ret;
|
|
1703
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks(handle, f_status_.__wbg_ptr);
|
|
1880
1704
|
}
|
|
1881
1705
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(uuid, f_status_) {
|
|
1882
1706
|
const ptr0 = passArray8ToWasm0(uuid, wasm.__wbindgen_malloc);
|
|
@@ -1885,245 +1709,266 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(uuid, f_status_) {
|
|
|
1885
1709
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1886
1710
|
return BigInt.asUintN(64, ret);
|
|
1887
1711
|
}
|
|
1888
|
-
function
|
|
1889
|
-
_assertClass(f_status_, RustCallStatus);
|
|
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_) {
|
|
1712
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_clientid(handle, f_status_) {
|
|
1893
1713
|
_assertClass(f_status_, RustCallStatus);
|
|
1894
|
-
|
|
1895
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1896
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1897
|
-
return v1;
|
|
1898
|
-
}
|
|
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();
|
|
1901
|
-
return ret;
|
|
1902
|
-
}
|
|
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;
|
|
1714
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_clientid(handle, f_status_.__wbg_ptr);
|
|
1906
1715
|
}
|
|
1907
|
-
function
|
|
1908
|
-
|
|
1909
|
-
const
|
|
1716
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_device_identities(ptr, conversation_id, device_ids) {
|
|
1717
|
+
const ptr0 = passArray8ToWasm0(device_ids, wasm.__wbindgen_malloc);
|
|
1718
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1719
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_device_identities(ptr, conversation_id, ptr0, len0);
|
|
1910
1720
|
return BigInt.asUintN(64, ret);
|
|
1911
1721
|
}
|
|
1912
|
-
function
|
|
1913
|
-
const ret = wasm.
|
|
1914
|
-
return ret;
|
|
1722
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new(hooks, database) {
|
|
1723
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new(hooks, database);
|
|
1724
|
+
return BigInt.asUintN(64, ret);
|
|
1915
1725
|
}
|
|
1916
|
-
function
|
|
1917
|
-
const ret = wasm.
|
|
1726
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new() {
|
|
1727
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new();
|
|
1918
1728
|
return ret;
|
|
1919
1729
|
}
|
|
1920
|
-
function
|
|
1921
|
-
wasm.
|
|
1730
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u32(handle) {
|
|
1731
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u32(handle);
|
|
1922
1732
|
}
|
|
1923
|
-
function
|
|
1924
|
-
const ret = wasm.
|
|
1733
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert() {
|
|
1734
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert();
|
|
1925
1735
|
return ret;
|
|
1926
1736
|
}
|
|
1927
|
-
function
|
|
1928
|
-
|
|
1929
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
1930
|
-
return BigInt.asUintN(64, ret);
|
|
1931
|
-
}
|
|
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);
|
|
1737
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed() {
|
|
1738
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed();
|
|
1935
1739
|
return ret;
|
|
1936
1740
|
}
|
|
1937
|
-
function
|
|
1938
|
-
const
|
|
1741
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_exists(ptr, session_id) {
|
|
1742
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1743
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1744
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_exists(ptr, ptr0, len0);
|
|
1939
1745
|
return BigInt.asUintN(64, ret);
|
|
1940
1746
|
}
|
|
1941
|
-
function
|
|
1747
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_groupinfo(handle, f_status_) {
|
|
1942
1748
|
_assertClass(f_status_, RustCallStatus);
|
|
1943
|
-
wasm.
|
|
1749
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_groupinfo(handle, f_status_.__wbg_ptr);
|
|
1944
1750
|
}
|
|
1945
|
-
function
|
|
1946
|
-
const ret = wasm.
|
|
1751
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_epoch_observer() {
|
|
1752
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_epoch_observer();
|
|
1947
1753
|
return ret;
|
|
1948
1754
|
}
|
|
1949
|
-
function
|
|
1950
|
-
const ret = wasm.
|
|
1951
|
-
return
|
|
1755
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_session_exists() {
|
|
1756
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_session_exists();
|
|
1757
|
+
return ret;
|
|
1952
1758
|
}
|
|
1953
|
-
function
|
|
1954
|
-
|
|
1955
|
-
const
|
|
1956
|
-
|
|
1957
|
-
return BigInt.asUintN(64, ret);
|
|
1759
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i64(handle, f_status_) {
|
|
1760
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1761
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i64(handle, f_status_.__wbg_ptr);
|
|
1762
|
+
return ret;
|
|
1958
1763
|
}
|
|
1959
1764
|
function ubrn_uniffi_core_crypto_ffi_checksum_func_version() {
|
|
1960
1765
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_version();
|
|
1961
1766
|
return ret;
|
|
1962
1767
|
}
|
|
1963
|
-
function
|
|
1768
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey_auto(ptr) {
|
|
1769
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey_auto(ptr);
|
|
1770
|
+
return BigInt.asUintN(64, ret);
|
|
1771
|
+
}
|
|
1772
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u8(handle, f_status_) {
|
|
1964
1773
|
_assertClass(f_status_, RustCallStatus);
|
|
1965
|
-
wasm.
|
|
1774
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u8(handle, f_status_.__wbg_ptr);
|
|
1775
|
+
return ret;
|
|
1966
1776
|
}
|
|
1967
|
-
function
|
|
1968
|
-
const
|
|
1777
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new_from_credential_ref(pki_environment, config, credential_ref, core_crypto_database) {
|
|
1778
|
+
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
1779
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1780
|
+
const ptr1 = passArray8ToWasm0(core_crypto_database, wasm.__wbindgen_malloc);
|
|
1781
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1782
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new_from_credential_ref(pki_environment, ptr0, len0, credential_ref, ptr1, len1);
|
|
1969
1783
|
return BigInt.asUintN(64, ret);
|
|
1970
1784
|
}
|
|
1971
|
-
function
|
|
1785
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref(handle, f_status_) {
|
|
1972
1786
|
_assertClass(f_status_, RustCallStatus);
|
|
1973
|
-
const ret = wasm.
|
|
1787
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref(handle, f_status_.__wbg_ptr);
|
|
1974
1788
|
return BigInt.asUintN(64, ret);
|
|
1975
1789
|
}
|
|
1976
|
-
function
|
|
1977
|
-
|
|
1978
|
-
|
|
1790
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptoffi(handle, f_status_) {
|
|
1791
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1792
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptoffi(handle, f_status_.__wbg_ptr);
|
|
1793
|
+
}
|
|
1794
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_version(f_status_) {
|
|
1795
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1796
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_version(f_status_.__wbg_ptr);
|
|
1797
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1798
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1799
|
+
return v1;
|
|
1800
|
+
}
|
|
1801
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_uuid(handle, f_status_) {
|
|
1802
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1803
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_uuid(handle, f_status_.__wbg_ptr);
|
|
1804
|
+
}
|
|
1805
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_clientid(handle, f_status_) {
|
|
1979
1806
|
_assertClass(f_status_, RustCallStatus);
|
|
1980
|
-
const ret = wasm.
|
|
1807
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_clientid(handle, f_status_.__wbg_ptr);
|
|
1981
1808
|
return BigInt.asUintN(64, ret);
|
|
1982
1809
|
}
|
|
1983
|
-
function
|
|
1984
|
-
const
|
|
1985
|
-
|
|
1986
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_delete(ptr, ptr0, len0);
|
|
1987
|
-
return BigInt.asUintN(64, ret);
|
|
1810
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_clients_to_conversation() {
|
|
1811
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_clients_to_conversation();
|
|
1812
|
+
return ret;
|
|
1988
1813
|
}
|
|
1989
|
-
function
|
|
1990
|
-
const
|
|
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);
|
|
1814
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_update_keying_material(ptr, conversation_id) {
|
|
1815
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_update_keying_material(ptr, conversation_id);
|
|
1995
1816
|
return BigInt.asUintN(64, ret);
|
|
1996
1817
|
}
|
|
1997
|
-
function
|
|
1998
|
-
|
|
1999
|
-
|
|
1818
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_) {
|
|
1819
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1820
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_.__wbg_ptr);
|
|
1821
|
+
return BigInt.asUintN(64, ret);
|
|
2000
1822
|
}
|
|
2001
|
-
function
|
|
2002
|
-
const ret = wasm.
|
|
1823
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_cipher_suite() {
|
|
1824
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_cipher_suite();
|
|
2003
1825
|
return ret;
|
|
2004
1826
|
}
|
|
2005
|
-
function
|
|
2006
|
-
const ret = wasm.
|
|
1827
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite() {
|
|
1828
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite();
|
|
2007
1829
|
return ret;
|
|
2008
1830
|
}
|
|
2009
|
-
function
|
|
2010
|
-
|
|
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_) {
|
|
2016
|
-
_assertClass(f_status_, RustCallStatus);
|
|
2017
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_conversationid(handle, f_status_.__wbg_ptr);
|
|
2018
|
-
return BigInt.asUintN(64, ret);
|
|
1831
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_f64(handle, callback, callback_data) {
|
|
1832
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_f64(handle, callback, callback_data);
|
|
2019
1833
|
}
|
|
2020
|
-
function
|
|
2021
|
-
const
|
|
2022
|
-
|
|
2023
|
-
_assertClass(f_status_, RustCallStatus);
|
|
2024
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_conversationid_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
2025
|
-
return BigInt.asUintN(64, ret);
|
|
1834
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_conversationid_copy_bytes() {
|
|
1835
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_conversationid_copy_bytes();
|
|
1836
|
+
return ret;
|
|
2026
1837
|
}
|
|
2027
|
-
function
|
|
2028
|
-
wasm.
|
|
1838
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new() {
|
|
1839
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new();
|
|
1840
|
+
return ret;
|
|
2029
1841
|
}
|
|
2030
|
-
function
|
|
2031
|
-
|
|
2032
|
-
|
|
1842
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_decrypt_message() {
|
|
1843
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_decrypt_message();
|
|
1844
|
+
return ret;
|
|
2033
1845
|
}
|
|
2034
|
-
function
|
|
2035
|
-
const
|
|
2036
|
-
|
|
2037
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(ptr, ptr0, len0);
|
|
2038
|
-
return BigInt.asUintN(64, ret);
|
|
1846
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_credential_basic() {
|
|
1847
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_credential_basic();
|
|
1848
|
+
return ret;
|
|
2039
1849
|
}
|
|
2040
|
-
function
|
|
2041
|
-
const ret = wasm.
|
|
1850
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential() {
|
|
1851
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential();
|
|
2042
1852
|
return ret;
|
|
2043
1853
|
}
|
|
2044
|
-
function
|
|
2045
|
-
const ret = wasm.
|
|
2046
|
-
return
|
|
1854
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_credential() {
|
|
1855
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_credential();
|
|
1856
|
+
return ret;
|
|
2047
1857
|
}
|
|
2048
|
-
function
|
|
2049
|
-
const ret = wasm.
|
|
1858
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_conversation_state() {
|
|
1859
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_conversation_state();
|
|
2050
1860
|
return ret;
|
|
2051
1861
|
}
|
|
2052
|
-
function
|
|
2053
|
-
|
|
1862
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1863
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1864
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2054
1865
|
return ret;
|
|
2055
1866
|
}
|
|
2056
|
-
function
|
|
2057
|
-
wasm.
|
|
1867
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u8(handle) {
|
|
1868
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u8(handle);
|
|
2058
1869
|
}
|
|
2059
|
-
function
|
|
2060
|
-
wasm.
|
|
1870
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new() {
|
|
1871
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new();
|
|
1872
|
+
return ret;
|
|
2061
1873
|
}
|
|
2062
|
-
function
|
|
2063
|
-
|
|
2064
|
-
|
|
1874
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_display(ptr, f_status_) {
|
|
1875
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1876
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
1877
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1878
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1879
|
+
return v1;
|
|
2065
1880
|
}
|
|
2066
|
-
function
|
|
1881
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(ptr, f_status_) {
|
|
2067
1882
|
_assertClass(f_status_, RustCallStatus);
|
|
2068
|
-
const ret = wasm.
|
|
1883
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(ptr, f_status_.__wbg_ptr);
|
|
2069
1884
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2070
1885
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2071
1886
|
return v1;
|
|
2072
1887
|
}
|
|
2073
|
-
function
|
|
2074
|
-
const
|
|
1888
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_x509credentialacquisition_finalize() {
|
|
1889
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_x509credentialacquisition_finalize();
|
|
1890
|
+
return ret;
|
|
1891
|
+
}
|
|
1892
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u64(handle, callback, callback_data) {
|
|
1893
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u64(handle, callback, callback_data);
|
|
1894
|
+
}
|
|
1895
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, idp, key_auth, acme_aud, acquisition_snapshot) {
|
|
1896
|
+
const ptr0 = passArray8ToWasm0(idp, wasm.__wbindgen_malloc);
|
|
2075
1897
|
const len0 = WASM_VECTOR_LEN;
|
|
2076
|
-
const
|
|
1898
|
+
const ptr1 = passArray8ToWasm0(key_auth, wasm.__wbindgen_malloc);
|
|
1899
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1900
|
+
const ptr2 = passArray8ToWasm0(acme_aud, wasm.__wbindgen_malloc);
|
|
1901
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1902
|
+
const ptr3 = passArray8ToWasm0(acquisition_snapshot, wasm.__wbindgen_malloc);
|
|
1903
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1904
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
2077
1905
|
return BigInt.asUintN(64, ret);
|
|
2078
1906
|
}
|
|
2079
|
-
function
|
|
2080
|
-
|
|
2081
|
-
|
|
1907
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default() {
|
|
1908
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default();
|
|
1909
|
+
return ret;
|
|
2082
1910
|
}
|
|
2083
|
-
function
|
|
2084
|
-
|
|
2085
|
-
const
|
|
1911
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package(ptr, credential_ref, lifetime) {
|
|
1912
|
+
const ptr0 = passArray8ToWasm0(lifetime, wasm.__wbindgen_malloc);
|
|
1913
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1914
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package(ptr, credential_ref, ptr0, len0);
|
|
2086
1915
|
return BigInt.asUintN(64, ret);
|
|
2087
1916
|
}
|
|
2088
|
-
function
|
|
2089
|
-
|
|
2090
|
-
|
|
1917
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_) {
|
|
1918
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1919
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_.__wbg_ptr);
|
|
1920
|
+
return BigInt.asUintN(64, ret);
|
|
2091
1921
|
}
|
|
2092
|
-
function
|
|
1922
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocommand(handle, f_status_) {
|
|
2093
1923
|
_assertClass(f_status_, RustCallStatus);
|
|
2094
|
-
const ret = wasm.
|
|
1924
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocommand(handle, f_status_.__wbg_ptr);
|
|
2095
1925
|
return BigInt.asUintN(64, ret);
|
|
2096
1926
|
}
|
|
2097
|
-
function
|
|
2098
|
-
|
|
1927
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle) {
|
|
1928
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle);
|
|
1929
|
+
}
|
|
1930
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_) {
|
|
1931
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1932
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_.__wbg_ptr);
|
|
2099
1933
|
return ret;
|
|
2100
1934
|
}
|
|
2101
|
-
function
|
|
2102
|
-
const ret = wasm.
|
|
1935
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_earliest_validity() {
|
|
1936
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_earliest_validity();
|
|
2103
1937
|
return ret;
|
|
2104
1938
|
}
|
|
2105
|
-
function
|
|
2106
|
-
|
|
1939
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_copy_bytes(ptr, f_status_) {
|
|
1940
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1941
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
1942
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1943
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1944
|
+
return v1;
|
|
1945
|
+
}
|
|
1946
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_credential_type() {
|
|
1947
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_credential_type();
|
|
2107
1948
|
return ret;
|
|
2108
1949
|
}
|
|
2109
|
-
function
|
|
2110
|
-
const ret = wasm.
|
|
1950
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities() {
|
|
1951
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities();
|
|
2111
1952
|
return ret;
|
|
2112
1953
|
}
|
|
2113
|
-
function
|
|
1954
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_) {
|
|
2114
1955
|
_assertClass(f_status_, RustCallStatus);
|
|
2115
|
-
const ret = wasm.
|
|
2116
|
-
|
|
1956
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
1957
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1958
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1959
|
+
return v1;
|
|
2117
1960
|
}
|
|
2118
|
-
function
|
|
2119
|
-
|
|
2120
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_historyobserver(handle, f_status_.__wbg_ptr);
|
|
1961
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i8(handle) {
|
|
1962
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i8(handle);
|
|
2121
1963
|
}
|
|
2122
|
-
function
|
|
2123
|
-
|
|
2124
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_.__wbg_ptr);
|
|
1964
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_update_key(ptr, key) {
|
|
1965
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_update_key(ptr, key);
|
|
2125
1966
|
return BigInt.asUintN(64, ret);
|
|
2126
1967
|
}
|
|
1968
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes() {
|
|
1969
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes();
|
|
1970
|
+
return ret;
|
|
1971
|
+
}
|
|
2127
1972
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_key(key, signature_scheme, f_status_) {
|
|
2128
1973
|
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
2129
1974
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -2133,65 +1978,75 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_
|
|
|
2133
1978
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_key(ptr0, len0, ptr1, len1, f_status_.__wbg_ptr);
|
|
2134
1979
|
return BigInt.asUintN(64, ret);
|
|
2135
1980
|
}
|
|
2136
|
-
function
|
|
2137
|
-
|
|
2138
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver(handle, f_status_.__wbg_ptr);
|
|
2139
|
-
return BigInt.asUintN(64, ret);
|
|
1981
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u8(handle, callback, callback_data) {
|
|
1982
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u8(handle, callback, callback_data);
|
|
2140
1983
|
}
|
|
2141
|
-
function
|
|
2142
|
-
const ret = wasm.
|
|
1984
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_enable_history_sharing() {
|
|
1985
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_enable_history_sharing();
|
|
2143
1986
|
return ret;
|
|
2144
1987
|
}
|
|
2145
|
-
function
|
|
2146
|
-
wasm.
|
|
1988
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle) {
|
|
1989
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle);
|
|
2147
1990
|
}
|
|
2148
|
-
function
|
|
2149
|
-
|
|
1991
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1992
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1993
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2150
1994
|
return ret;
|
|
2151
1995
|
}
|
|
2152
|
-
function
|
|
2153
|
-
|
|
2154
|
-
const
|
|
2155
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
1996
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_) {
|
|
1997
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1998
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_.__wbg_ptr);
|
|
2156
1999
|
return BigInt.asUintN(64, ret);
|
|
2157
2000
|
}
|
|
2158
|
-
function
|
|
2159
|
-
|
|
2001
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i64(handle) {
|
|
2002
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i64(handle);
|
|
2003
|
+
}
|
|
2004
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptocontext_new() {
|
|
2005
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptocontext_new();
|
|
2160
2006
|
return ret;
|
|
2161
2007
|
}
|
|
2162
|
-
function
|
|
2163
|
-
const ret = wasm.
|
|
2008
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto() {
|
|
2009
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto();
|
|
2164
2010
|
return ret;
|
|
2165
2011
|
}
|
|
2166
|
-
function
|
|
2167
|
-
const
|
|
2168
|
-
|
|
2169
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, ptr0, len0);
|
|
2170
|
-
return BigInt.asUintN(64, ret);
|
|
2012
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_hash_ref() {
|
|
2013
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_hash_ref();
|
|
2014
|
+
return ret;
|
|
2171
2015
|
}
|
|
2172
|
-
function
|
|
2173
|
-
|
|
2174
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_.__wbg_ptr);
|
|
2016
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit() {
|
|
2017
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit();
|
|
2175
2018
|
return ret;
|
|
2176
2019
|
}
|
|
2177
2020
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey() {
|
|
2178
2021
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey();
|
|
2179
2022
|
return ret;
|
|
2180
2023
|
}
|
|
2181
|
-
function
|
|
2182
|
-
|
|
2024
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment(handle, f_status_) {
|
|
2025
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2026
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment(handle, f_status_.__wbg_ptr);
|
|
2183
2027
|
return BigInt.asUintN(64, ret);
|
|
2184
2028
|
}
|
|
2185
|
-
function
|
|
2186
|
-
const ret = wasm.
|
|
2029
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_migrate_database_key_type_to_bytes() {
|
|
2030
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_migrate_database_key_type_to_bytes();
|
|
2187
2031
|
return ret;
|
|
2188
2032
|
}
|
|
2189
|
-
function
|
|
2033
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_is_history_sharing_enabled() {
|
|
2034
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_is_history_sharing_enabled();
|
|
2035
|
+
return ret;
|
|
2036
|
+
}
|
|
2037
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_conversation_credential(ptr, conversation_id, credential_ref) {
|
|
2038
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_conversation_credential(ptr, conversation_id, credential_ref);
|
|
2039
|
+
return BigInt.asUintN(64, ret);
|
|
2040
|
+
}
|
|
2041
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_groupinfo_new(bytes, f_status_) {
|
|
2042
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
2043
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2190
2044
|
_assertClass(f_status_, RustCallStatus);
|
|
2191
|
-
wasm.
|
|
2045
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_groupinfo_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
2046
|
+
return BigInt.asUintN(64, ret);
|
|
2192
2047
|
}
|
|
2193
|
-
function
|
|
2194
|
-
wasm.
|
|
2048
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i64(handle) {
|
|
2049
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i64(handle);
|
|
2195
2050
|
}
|
|
2196
2051
|
function ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_from_u16(discriminant, f_status_) {
|
|
2197
2052
|
_assertClass(f_status_, RustCallStatus);
|
|
@@ -2200,483 +2055,639 @@ function ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_from_u16(discriminant,
|
|
|
2200
2055
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2201
2056
|
return v1;
|
|
2202
2057
|
}
|
|
2203
|
-
function
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2207
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2208
|
-
return v1;
|
|
2058
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_from_u16() {
|
|
2059
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_from_u16();
|
|
2060
|
+
return ret;
|
|
2209
2061
|
}
|
|
2210
|
-
function
|
|
2211
|
-
|
|
2212
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2062
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages() {
|
|
2063
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages();
|
|
2213
2064
|
return ret;
|
|
2214
2065
|
}
|
|
2215
|
-
function
|
|
2216
|
-
const ret = wasm.
|
|
2066
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string() {
|
|
2067
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string();
|
|
2217
2068
|
return ret;
|
|
2218
2069
|
}
|
|
2219
|
-
function
|
|
2220
|
-
const
|
|
2221
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2222
|
-
_assertClass(f_status_, RustCallStatus);
|
|
2223
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(ptr0, len0, f_status_.__wbg_ptr);
|
|
2070
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_commit_pending_proposals(ptr, conversation_id) {
|
|
2071
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_commit_pending_proposals(ptr, conversation_id);
|
|
2224
2072
|
return BigInt.asUintN(64, ret);
|
|
2225
2073
|
}
|
|
2226
|
-
function
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2230
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2231
|
-
return v1;
|
|
2074
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids() {
|
|
2075
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids();
|
|
2076
|
+
return ret;
|
|
2232
2077
|
}
|
|
2233
|
-
function
|
|
2234
|
-
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
2235
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2078
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_database(handle, f_status_) {
|
|
2236
2079
|
_assertClass(f_status_, RustCallStatus);
|
|
2237
|
-
|
|
2238
|
-
return BigInt.asUintN(64, ret);
|
|
2239
|
-
}
|
|
2240
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i32(handle) {
|
|
2241
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i32(handle);
|
|
2080
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_database(handle, f_status_.__wbg_ptr);
|
|
2242
2081
|
}
|
|
2243
|
-
function
|
|
2244
|
-
|
|
2082
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2083
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2084
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2245
2085
|
return ret;
|
|
2246
2086
|
}
|
|
2247
|
-
function
|
|
2248
|
-
const ret = wasm.
|
|
2087
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_package(ptr, kp_ref) {
|
|
2088
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_package(ptr, kp_ref);
|
|
2249
2089
|
return BigInt.asUintN(64, ret);
|
|
2250
2090
|
}
|
|
2251
|
-
function
|
|
2252
|
-
const ret = wasm.
|
|
2091
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message() {
|
|
2092
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message();
|
|
2253
2093
|
return ret;
|
|
2254
2094
|
}
|
|
2255
|
-
function
|
|
2256
|
-
const ret = wasm.
|
|
2095
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_delete() {
|
|
2096
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_delete();
|
|
2257
2097
|
return ret;
|
|
2258
2098
|
}
|
|
2259
|
-
function
|
|
2260
|
-
const
|
|
2261
|
-
|
|
2099
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display(ptr, f_status_) {
|
|
2100
|
+
const ptr0 = passArray8ToWasm0(ptr, wasm.__wbindgen_malloc);
|
|
2101
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2102
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2103
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display(ptr0, len0, f_status_.__wbg_ptr);
|
|
2104
|
+
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2105
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2106
|
+
return v2;
|
|
2262
2107
|
}
|
|
2263
|
-
function
|
|
2264
|
-
const
|
|
2108
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_history_client() {
|
|
2109
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_history_client();
|
|
2110
|
+
return ret;
|
|
2111
|
+
}
|
|
2112
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_reseed(ptr, seed) {
|
|
2113
|
+
const ptr0 = passArray8ToWasm0(seed, wasm.__wbindgen_malloc);
|
|
2265
2114
|
const len0 = WASM_VECTOR_LEN;
|
|
2266
|
-
const ret = wasm.
|
|
2115
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_reseed(ptr, ptr0, len0);
|
|
2267
2116
|
return BigInt.asUintN(64, ret);
|
|
2268
2117
|
}
|
|
2269
|
-
function
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2273
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2274
|
-
return v1;
|
|
2118
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes() {
|
|
2119
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes();
|
|
2120
|
+
return ret;
|
|
2275
2121
|
}
|
|
2276
|
-
function
|
|
2277
|
-
|
|
2122
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i32(handle, f_status_) {
|
|
2123
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2124
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i32(handle, f_status_.__wbg_ptr);
|
|
2278
2125
|
return ret;
|
|
2279
2126
|
}
|
|
2280
2127
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data) {
|
|
2281
2128
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data);
|
|
2282
2129
|
}
|
|
2283
|
-
function
|
|
2130
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptoffi(handle, f_status_) {
|
|
2284
2131
|
_assertClass(f_status_, RustCallStatus);
|
|
2285
|
-
const ret = wasm.
|
|
2132
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptoffi(handle, f_status_.__wbg_ptr);
|
|
2133
|
+
return BigInt.asUintN(64, ret);
|
|
2134
|
+
}
|
|
2135
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_) {
|
|
2136
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2137
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_.__wbg_ptr);
|
|
2286
2138
|
return ret;
|
|
2287
2139
|
}
|
|
2288
|
-
function
|
|
2289
|
-
|
|
2140
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u32(handle, callback, callback_data) {
|
|
2141
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u32(handle, callback, callback_data);
|
|
2142
|
+
}
|
|
2143
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key() {
|
|
2144
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key();
|
|
2290
2145
|
return ret;
|
|
2291
2146
|
}
|
|
2292
|
-
function
|
|
2147
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_) {
|
|
2293
2148
|
_assertClass(f_status_, RustCallStatus);
|
|
2294
|
-
|
|
2295
|
-
return BigInt.asUintN(64, ret);
|
|
2149
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_.__wbg_ptr);
|
|
2296
2150
|
}
|
|
2297
|
-
function
|
|
2298
|
-
const ret = wasm.
|
|
2151
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids() {
|
|
2152
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids();
|
|
2299
2153
|
return ret;
|
|
2300
2154
|
}
|
|
2301
|
-
function
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2305
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2306
|
-
return v1;
|
|
2155
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_history_observer(ptr, history_observer) {
|
|
2156
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_history_observer(ptr, history_observer);
|
|
2157
|
+
return BigInt.asUintN(64, ret);
|
|
2307
2158
|
}
|
|
2308
|
-
function
|
|
2159
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(ptr, f_status_) {
|
|
2309
2160
|
_assertClass(f_status_, RustCallStatus);
|
|
2310
|
-
const ret = wasm.
|
|
2311
|
-
return ret;
|
|
2161
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
2162
|
+
return BigInt.asUintN(64, ret);
|
|
2312
2163
|
}
|
|
2313
|
-
function
|
|
2314
|
-
|
|
2164
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_mlstransport(vtable) {
|
|
2165
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_mlstransport(vtable);
|
|
2166
|
+
}
|
|
2167
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt(ptr, session_id, ciphertext) {
|
|
2168
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
2315
2169
|
const len0 = WASM_VECTOR_LEN;
|
|
2316
|
-
const
|
|
2170
|
+
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
2171
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2172
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt(ptr, ptr0, len0, ptr1, len1);
|
|
2173
|
+
return BigInt.asUintN(64, ret);
|
|
2174
|
+
}
|
|
2175
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_uuid(handle, f_status_) {
|
|
2176
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2177
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_uuid(handle, f_status_.__wbg_ptr);
|
|
2178
|
+
return BigInt.asUintN(64, ret);
|
|
2179
|
+
}
|
|
2180
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle) {
|
|
2181
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle);
|
|
2182
|
+
}
|
|
2183
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_external_sender(ptr, conversation_id) {
|
|
2184
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_external_sender(ptr, conversation_id);
|
|
2317
2185
|
return BigInt.asUintN(64, ret);
|
|
2318
2186
|
}
|
|
2319
2187
|
function ubrn_uniffi_core_crypto_ffi_fn_free_mlstransport(handle, f_status_) {
|
|
2320
2188
|
_assertClass(f_status_, RustCallStatus);
|
|
2321
2189
|
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_mlstransport(handle, f_status_.__wbg_ptr);
|
|
2322
2190
|
}
|
|
2323
|
-
function
|
|
2191
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_new(database, f_status_) {
|
|
2324
2192
|
_assertClass(f_status_, RustCallStatus);
|
|
2325
|
-
const ret = wasm.
|
|
2193
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_new(database, f_status_.__wbg_ptr);
|
|
2194
|
+
return BigInt.asUintN(64, ret);
|
|
2195
|
+
}
|
|
2196
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities() {
|
|
2197
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities();
|
|
2198
|
+
return ret;
|
|
2199
|
+
}
|
|
2200
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocommand_execute(ptr, context) {
|
|
2201
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocommand_execute(ptr, context);
|
|
2202
|
+
return BigInt.asUintN(64, ret);
|
|
2203
|
+
}
|
|
2204
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key(ptr, conversation_id, key_length) {
|
|
2205
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key(ptr, conversation_id, key_length);
|
|
2206
|
+
return BigInt.asUintN(64, ret);
|
|
2207
|
+
}
|
|
2208
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_default(f_status_) {
|
|
2209
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2210
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_default(f_status_.__wbg_ptr);
|
|
2326
2211
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2327
2212
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2328
2213
|
return v1;
|
|
2329
2214
|
}
|
|
2330
|
-
function
|
|
2215
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_x509credentialacquisition(handle, f_status_) {
|
|
2331
2216
|
_assertClass(f_status_, RustCallStatus);
|
|
2332
|
-
const ret = wasm.
|
|
2217
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_x509credentialacquisition(handle, f_status_.__wbg_ptr);
|
|
2333
2218
|
return BigInt.asUintN(64, ret);
|
|
2334
2219
|
}
|
|
2335
|
-
function
|
|
2336
|
-
const ret = wasm.
|
|
2220
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities() {
|
|
2221
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities();
|
|
2222
|
+
return ret;
|
|
2223
|
+
}
|
|
2224
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptoffi_new(instance, f_status_) {
|
|
2225
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2226
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptoffi_new(instance, f_status_.__wbg_ptr);
|
|
2337
2227
|
return BigInt.asUintN(64, ret);
|
|
2338
2228
|
}
|
|
2339
|
-
function
|
|
2340
|
-
|
|
2229
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_keypackageref(handle, f_status_) {
|
|
2230
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2231
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackageref(handle, f_status_.__wbg_ptr);
|
|
2232
|
+
return BigInt.asUintN(64, ret);
|
|
2341
2233
|
}
|
|
2342
|
-
function
|
|
2343
|
-
const ret = wasm.
|
|
2234
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_conversation_credential() {
|
|
2235
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_conversation_credential();
|
|
2344
2236
|
return ret;
|
|
2345
2237
|
}
|
|
2346
|
-
function
|
|
2347
|
-
const ret = wasm.
|
|
2238
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_exists() {
|
|
2239
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_exists();
|
|
2348
2240
|
return ret;
|
|
2349
2241
|
}
|
|
2350
|
-
function
|
|
2351
|
-
wasm.
|
|
2242
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callback_data) {
|
|
2243
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callback_data);
|
|
2352
2244
|
}
|
|
2353
|
-
function
|
|
2354
|
-
const ptr0 = passArray8ToWasm0(
|
|
2245
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes(pki_environment, bytes, f_status_) {
|
|
2246
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
2355
2247
|
const len0 = WASM_VECTOR_LEN;
|
|
2356
|
-
|
|
2357
|
-
const
|
|
2358
|
-
|
|
2248
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2249
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
2250
|
+
return BigInt.asUintN(64, ret);
|
|
2251
|
+
}
|
|
2252
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_clients_from_conversation(ptr, conversation_id, clients) {
|
|
2253
|
+
const ptr0 = passArray8ToWasm0(clients, wasm.__wbindgen_malloc);
|
|
2254
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2255
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_clients_from_conversation(ptr, conversation_id, ptr0, len0);
|
|
2359
2256
|
return BigInt.asUintN(64, ret);
|
|
2360
2257
|
}
|
|
2361
|
-
function
|
|
2362
|
-
|
|
2258
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
2259
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2260
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2363
2261
|
return ret;
|
|
2364
2262
|
}
|
|
2365
|
-
function
|
|
2366
|
-
const ret = wasm.
|
|
2263
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new() {
|
|
2264
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new();
|
|
2367
2265
|
return ret;
|
|
2368
2266
|
}
|
|
2369
|
-
function
|
|
2370
|
-
|
|
2267
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f_status_) {
|
|
2268
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2269
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
2270
|
+
return BigInt.asUintN(64, ret);
|
|
2271
|
+
}
|
|
2272
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key() {
|
|
2273
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key();
|
|
2371
2274
|
return ret;
|
|
2372
2275
|
}
|
|
2373
|
-
function
|
|
2374
|
-
const ret = wasm.
|
|
2276
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_process_welcome_message(ptr, welcome_message) {
|
|
2277
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_process_welcome_message(ptr, welcome_message);
|
|
2375
2278
|
return BigInt.asUintN(64, ret);
|
|
2376
2279
|
}
|
|
2377
|
-
function
|
|
2378
|
-
const ret = wasm.
|
|
2280
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce(ptr) {
|
|
2281
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce(ptr);
|
|
2379
2282
|
return BigInt.asUintN(64, ret);
|
|
2380
2283
|
}
|
|
2381
|
-
function
|
|
2382
|
-
|
|
2383
|
-
return ret;
|
|
2384
|
-
}
|
|
2385
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle) {
|
|
2386
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle);
|
|
2284
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle) {
|
|
2285
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle);
|
|
2387
2286
|
}
|
|
2388
|
-
function
|
|
2287
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_signature_scheme(ptr, f_status_) {
|
|
2389
2288
|
_assertClass(f_status_, RustCallStatus);
|
|
2390
|
-
wasm.
|
|
2289
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
2290
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2291
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2292
|
+
return v1;
|
|
2391
2293
|
}
|
|
2392
|
-
function
|
|
2393
|
-
|
|
2294
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_) {
|
|
2295
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2296
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_.__wbg_ptr);
|
|
2394
2297
|
return ret;
|
|
2395
2298
|
}
|
|
2396
|
-
function
|
|
2397
|
-
|
|
2398
|
-
|
|
2299
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_hash(ptr, f_status_) {
|
|
2300
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2301
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
2302
|
+
return BigInt.asUintN(64, ret);
|
|
2399
2303
|
}
|
|
2400
|
-
function
|
|
2401
|
-
const ret = wasm.
|
|
2402
|
-
return ret;
|
|
2304
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_export_secret_key(ptr, conversation_id, key_length) {
|
|
2305
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_export_secret_key(ptr, conversation_id, key_length);
|
|
2306
|
+
return BigInt.asUintN(64, ret);
|
|
2403
2307
|
}
|
|
2404
|
-
function
|
|
2405
|
-
|
|
2406
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u8(handle, f_status_.__wbg_ptr);
|
|
2308
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_update_keying_material() {
|
|
2309
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_update_keying_material();
|
|
2407
2310
|
return ret;
|
|
2408
2311
|
}
|
|
2409
|
-
function
|
|
2410
|
-
|
|
2411
|
-
const
|
|
2412
|
-
|
|
2312
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(ptr, cert_pem) {
|
|
2313
|
+
const ptr0 = passArray8ToWasm0(cert_pem, wasm.__wbindgen_malloc);
|
|
2314
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2315
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(ptr, ptr0, len0);
|
|
2316
|
+
return BigInt.asUintN(64, ret);
|
|
2413
2317
|
}
|
|
2414
|
-
function
|
|
2318
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint() {
|
|
2319
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint();
|
|
2320
|
+
return ret;
|
|
2321
|
+
}
|
|
2322
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_) {
|
|
2415
2323
|
_assertClass(f_status_, RustCallStatus);
|
|
2416
|
-
const ret = wasm.
|
|
2324
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
2417
2325
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2418
2326
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2419
2327
|
return v1;
|
|
2420
2328
|
}
|
|
2421
|
-
function
|
|
2422
|
-
const
|
|
2329
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(history_secret) {
|
|
2330
|
+
const ptr0 = passArray8ToWasm0(history_secret, wasm.__wbindgen_malloc);
|
|
2331
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2332
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(ptr0, len0);
|
|
2423
2333
|
return BigInt.asUintN(64, ret);
|
|
2424
2334
|
}
|
|
2425
|
-
function
|
|
2426
|
-
|
|
2427
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_.__wbg_ptr);
|
|
2428
|
-
return BigInt.asUintN(64, ret);
|
|
2335
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle) {
|
|
2336
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle);
|
|
2429
2337
|
}
|
|
2430
|
-
function
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
return ret;
|
|
2338
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey(ptr, prekey_id) {
|
|
2339
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey(ptr, prekey_id);
|
|
2340
|
+
return BigInt.asUintN(64, ret);
|
|
2434
2341
|
}
|
|
2435
|
-
function
|
|
2436
|
-
|
|
2437
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackageref(handle, f_status_.__wbg_ptr);
|
|
2342
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_cipher_suite(ptr, conversation_id) {
|
|
2343
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_cipher_suite(ptr, conversation_id);
|
|
2438
2344
|
return BigInt.asUintN(64, ret);
|
|
2439
2345
|
}
|
|
2440
|
-
function
|
|
2346
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status_) {
|
|
2441
2347
|
_assertClass(f_status_, RustCallStatus);
|
|
2442
|
-
const ret = wasm.
|
|
2443
|
-
|
|
2348
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
2349
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2350
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2351
|
+
return v1;
|
|
2444
2352
|
}
|
|
2445
|
-
function
|
|
2353
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_databasekey(handle, f_status_) {
|
|
2446
2354
|
_assertClass(f_status_, RustCallStatus);
|
|
2447
|
-
wasm.
|
|
2355
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_databasekey(handle, f_status_.__wbg_ptr);
|
|
2448
2356
|
}
|
|
2449
|
-
function
|
|
2450
|
-
const
|
|
2357
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk(jwk, f_status_) {
|
|
2358
|
+
const ptr0 = passArray8ToWasm0(jwk, wasm.__wbindgen_malloc);
|
|
2359
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2360
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2361
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk(ptr0, len0, f_status_.__wbg_ptr);
|
|
2451
2362
|
return BigInt.asUintN(64, ret);
|
|
2452
2363
|
}
|
|
2453
|
-
function
|
|
2454
|
-
|
|
2455
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_.__wbg_ptr);
|
|
2364
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_conversation_state(ptr, conversation_id) {
|
|
2365
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_conversation_state(ptr, conversation_id);
|
|
2456
2366
|
return BigInt.asUintN(64, ret);
|
|
2457
2367
|
}
|
|
2458
|
-
function
|
|
2459
|
-
const ret = wasm.
|
|
2368
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_external_sender() {
|
|
2369
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_external_sender();
|
|
2460
2370
|
return ret;
|
|
2461
2371
|
}
|
|
2462
|
-
function
|
|
2463
|
-
|
|
2372
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u8(handle) {
|
|
2373
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u8(handle);
|
|
2374
|
+
}
|
|
2375
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u16(handle) {
|
|
2376
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u16(handle);
|
|
2377
|
+
}
|
|
2378
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_signature_scheme() {
|
|
2379
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_signature_scheme();
|
|
2464
2380
|
return ret;
|
|
2465
2381
|
}
|
|
2466
|
-
function
|
|
2382
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data) {
|
|
2383
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data);
|
|
2384
|
+
}
|
|
2385
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_credentialref(handle, f_status_) {
|
|
2467
2386
|
_assertClass(f_status_, RustCallStatus);
|
|
2468
|
-
|
|
2469
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2470
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2471
|
-
return v1;
|
|
2387
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_credentialref(handle, f_status_.__wbg_ptr);
|
|
2472
2388
|
}
|
|
2473
|
-
function
|
|
2474
|
-
const ret = wasm.
|
|
2389
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init() {
|
|
2390
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init();
|
|
2391
|
+
return ret;
|
|
2392
|
+
}
|
|
2393
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(ptr, conversation_id, user_ids) {
|
|
2394
|
+
const ptr0 = passArray8ToWasm0(user_ids, wasm.__wbindgen_malloc);
|
|
2395
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2396
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
2475
2397
|
return BigInt.asUintN(64, ret);
|
|
2476
2398
|
}
|
|
2477
|
-
function
|
|
2399
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_) {
|
|
2478
2400
|
_assertClass(f_status_, RustCallStatus);
|
|
2479
|
-
const ret = wasm.
|
|
2480
|
-
|
|
2481
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2482
|
-
return v1;
|
|
2401
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_.__wbg_ptr);
|
|
2402
|
+
return ret;
|
|
2483
2403
|
}
|
|
2484
|
-
function
|
|
2485
|
-
|
|
2404
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2405
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2406
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2486
2407
|
return ret;
|
|
2487
2408
|
}
|
|
2488
|
-
function
|
|
2409
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location() {
|
|
2410
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location();
|
|
2411
|
+
return ret;
|
|
2412
|
+
}
|
|
2413
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk() {
|
|
2414
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk();
|
|
2415
|
+
return ret;
|
|
2416
|
+
}
|
|
2417
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptologger(handle, f_status_) {
|
|
2489
2418
|
_assertClass(f_status_, RustCallStatus);
|
|
2490
|
-
|
|
2491
|
-
return BigInt.asUintN(64, ret);
|
|
2419
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptologger(handle, f_status_.__wbg_ptr);
|
|
2492
2420
|
}
|
|
2493
|
-
function
|
|
2494
|
-
|
|
2421
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_) {
|
|
2422
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2423
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_.__wbg_ptr);
|
|
2495
2424
|
return ret;
|
|
2496
2425
|
}
|
|
2497
|
-
function
|
|
2498
|
-
const ret = wasm.
|
|
2426
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_close() {
|
|
2427
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_close();
|
|
2428
|
+
return ret;
|
|
2429
|
+
}
|
|
2430
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt_safe() {
|
|
2431
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt_safe();
|
|
2432
|
+
return ret;
|
|
2433
|
+
}
|
|
2434
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64(ptr, f_status_) {
|
|
2435
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2436
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64(ptr, f_status_.__wbg_ptr);
|
|
2499
2437
|
return BigInt.asUintN(64, ret);
|
|
2500
2438
|
}
|
|
2501
|
-
function
|
|
2502
|
-
wasm.
|
|
2439
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i32(handle) {
|
|
2440
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i32(handle);
|
|
2503
2441
|
}
|
|
2504
|
-
function
|
|
2505
|
-
const ret = wasm.
|
|
2442
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request() {
|
|
2443
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request();
|
|
2506
2444
|
return ret;
|
|
2507
2445
|
}
|
|
2508
|
-
function
|
|
2509
|
-
const ret = wasm.
|
|
2446
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize(ptr) {
|
|
2447
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize(ptr);
|
|
2510
2448
|
return BigInt.asUintN(64, ret);
|
|
2511
2449
|
}
|
|
2512
|
-
function
|
|
2513
|
-
const
|
|
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);
|
|
2450
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_close(ptr) {
|
|
2451
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_close(ptr);
|
|
2518
2452
|
return BigInt.asUintN(64, ret);
|
|
2519
2453
|
}
|
|
2520
|
-
function
|
|
2521
|
-
|
|
2522
|
-
|
|
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);
|
|
2454
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_) {
|
|
2455
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2456
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
2525
2457
|
return BigInt.asUintN(64, ret);
|
|
2526
2458
|
}
|
|
2527
|
-
function
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2531
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2532
|
-
return v1;
|
|
2459
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_public_key_hash() {
|
|
2460
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_public_key_hash();
|
|
2461
|
+
return ret;
|
|
2533
2462
|
}
|
|
2534
|
-
function
|
|
2535
|
-
|
|
2463
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_epochobserver(vtable) {
|
|
2464
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_epochobserver(vtable);
|
|
2465
|
+
}
|
|
2466
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new() {
|
|
2467
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new();
|
|
2468
|
+
return ret;
|
|
2469
|
+
}
|
|
2470
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package() {
|
|
2471
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package();
|
|
2536
2472
|
return ret;
|
|
2537
2473
|
}
|
|
2474
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(ptr) {
|
|
2475
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(ptr);
|
|
2476
|
+
return BigInt.asUintN(64, ret);
|
|
2477
|
+
}
|
|
2538
2478
|
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key() {
|
|
2539
2479
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key();
|
|
2540
2480
|
return ret;
|
|
2541
2481
|
}
|
|
2542
|
-
function
|
|
2543
|
-
|
|
2482
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_historyobserver(handle, f_status_) {
|
|
2483
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2484
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_historyobserver(handle, f_status_.__wbg_ptr);
|
|
2485
|
+
return BigInt.asUintN(64, ret);
|
|
2486
|
+
}
|
|
2487
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key() {
|
|
2488
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key();
|
|
2544
2489
|
return ret;
|
|
2545
2490
|
}
|
|
2546
|
-
function
|
|
2547
|
-
const ret = wasm.
|
|
2491
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_build_metadata() {
|
|
2492
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_build_metadata();
|
|
2548
2493
|
return ret;
|
|
2549
2494
|
}
|
|
2550
|
-
function
|
|
2551
|
-
const ret = wasm.
|
|
2495
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new() {
|
|
2496
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new();
|
|
2552
2497
|
return ret;
|
|
2553
2498
|
}
|
|
2554
|
-
function
|
|
2555
|
-
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
2556
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2557
|
-
const ptr1 = passArray8ToWasm0(signature_scheme, wasm.__wbindgen_malloc);
|
|
2558
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2499
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_client_id(ptr, f_status_) {
|
|
2559
2500
|
_assertClass(f_status_, RustCallStatus);
|
|
2560
|
-
const ret = wasm.
|
|
2501
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_client_id(ptr, f_status_.__wbg_ptr);
|
|
2561
2502
|
return BigInt.asUintN(64, ret);
|
|
2562
2503
|
}
|
|
2563
|
-
function
|
|
2564
|
-
const ret = wasm.
|
|
2504
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_public_key() {
|
|
2505
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_public_key();
|
|
2565
2506
|
return ret;
|
|
2566
2507
|
}
|
|
2567
|
-
function
|
|
2508
|
+
function ubrn_ffi_core_crypto_ffi_uniffi_contract_version() {
|
|
2509
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_uniffi_contract_version();
|
|
2510
|
+
return ret >>> 0;
|
|
2511
|
+
}
|
|
2512
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i16(handle, callback, callback_data) {
|
|
2513
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i16(handle, callback, callback_data);
|
|
2514
|
+
}
|
|
2515
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_credential(handle, f_status_) {
|
|
2568
2516
|
_assertClass(f_status_, RustCallStatus);
|
|
2569
|
-
const ret = wasm.
|
|
2517
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_credential(handle, f_status_.__wbg_ptr);
|
|
2518
|
+
return BigInt.asUintN(64, ret);
|
|
2519
|
+
}
|
|
2520
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2521
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2522
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2523
|
+
return ret;
|
|
2524
|
+
}
|
|
2525
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_f64(handle) {
|
|
2526
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f64(handle);
|
|
2527
|
+
}
|
|
2528
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_credential_type(ptr, f_status_) {
|
|
2529
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2530
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_credential_type(ptr, f_status_.__wbg_ptr);
|
|
2570
2531
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2571
2532
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2572
2533
|
return v1;
|
|
2573
2534
|
}
|
|
2574
|
-
function
|
|
2575
|
-
|
|
2576
|
-
return ret;
|
|
2535
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer(handle) {
|
|
2536
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer(handle);
|
|
2577
2537
|
}
|
|
2578
|
-
function
|
|
2579
|
-
const ret = wasm.
|
|
2538
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_disable_history_sharing(ptr, conversation_id) {
|
|
2539
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_disable_history_sharing(ptr, conversation_id);
|
|
2540
|
+
return BigInt.asUintN(64, ret);
|
|
2541
|
+
}
|
|
2542
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_local() {
|
|
2543
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_local();
|
|
2580
2544
|
return ret;
|
|
2581
2545
|
}
|
|
2582
|
-
function
|
|
2583
|
-
|
|
2546
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocommand(handle, f_status_) {
|
|
2547
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2548
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocommand(handle, f_status_.__wbg_ptr);
|
|
2584
2549
|
}
|
|
2585
|
-
function
|
|
2586
|
-
const ret = wasm.
|
|
2550
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_cipher_suite(ptr, conversation_id) {
|
|
2551
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_cipher_suite(ptr, conversation_id);
|
|
2587
2552
|
return BigInt.asUintN(64, ret);
|
|
2588
2553
|
}
|
|
2589
|
-
function
|
|
2590
|
-
const ret = wasm.
|
|
2591
|
-
return
|
|
2554
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_ref() {
|
|
2555
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_ref();
|
|
2556
|
+
return ret;
|
|
2592
2557
|
}
|
|
2593
|
-
function
|
|
2558
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackageref(handle, f_status_) {
|
|
2594
2559
|
_assertClass(f_status_, RustCallStatus);
|
|
2595
|
-
|
|
2596
|
-
return ret;
|
|
2560
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackageref(handle, f_status_.__wbg_ptr);
|
|
2597
2561
|
}
|
|
2598
|
-
function
|
|
2599
|
-
|
|
2562
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u32(handle, f_status_) {
|
|
2563
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2564
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u32(handle, f_status_.__wbg_ptr);
|
|
2565
|
+
return ret >>> 0;
|
|
2566
|
+
}
|
|
2567
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_prepare_for_transport(ptr, history_secret) {
|
|
2568
|
+
const ptr0 = passArray8ToWasm0(history_secret, wasm.__wbindgen_malloc);
|
|
2600
2569
|
const len0 = WASM_VECTOR_LEN;
|
|
2601
|
-
const ret = wasm.
|
|
2570
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_prepare_for_transport(ptr, ptr0, len0);
|
|
2602
2571
|
return BigInt.asUintN(64, ret);
|
|
2603
2572
|
}
|
|
2604
|
-
function
|
|
2605
|
-
const
|
|
2606
|
-
|
|
2573
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_message(ptr, session_id, envelope) {
|
|
2574
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
2575
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2576
|
+
const ptr1 = passArray8ToWasm0(envelope, wasm.__wbindgen_malloc);
|
|
2577
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2578
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_message(ptr, ptr0, len0, ptr1, len1);
|
|
2579
|
+
return BigInt.asUintN(64, ret);
|
|
2607
2580
|
}
|
|
2608
|
-
function
|
|
2609
|
-
const ret = wasm.
|
|
2581
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_data() {
|
|
2582
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_data();
|
|
2610
2583
|
return ret;
|
|
2611
2584
|
}
|
|
2612
|
-
function
|
|
2613
|
-
const ret = wasm.
|
|
2585
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_pki_env_setup() {
|
|
2586
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_pki_env_setup();
|
|
2614
2587
|
return ret;
|
|
2615
2588
|
}
|
|
2616
|
-
function
|
|
2617
|
-
const ret = wasm.
|
|
2589
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_epoch(ptr, conversation_id) {
|
|
2590
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_epoch(ptr, conversation_id);
|
|
2618
2591
|
return BigInt.asUintN(64, ret);
|
|
2619
2592
|
}
|
|
2620
|
-
function
|
|
2621
|
-
const
|
|
2593
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_create_conversation(ptr, conversation_id, credential_ref, external_sender) {
|
|
2594
|
+
const ptr0 = passArray8ToWasm0(external_sender, wasm.__wbindgen_malloc);
|
|
2595
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2596
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_create_conversation(ptr, conversation_id, credential_ref, ptr0, len0);
|
|
2622
2597
|
return BigInt.asUintN(64, ret);
|
|
2623
2598
|
}
|
|
2624
|
-
function
|
|
2625
|
-
const
|
|
2599
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_conversationid_new(bytes, f_status_) {
|
|
2600
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
2601
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2602
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2603
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_conversationid_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
2626
2604
|
return BigInt.asUintN(64, ret);
|
|
2627
2605
|
}
|
|
2628
|
-
function
|
|
2629
|
-
|
|
2606
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_type(ptr, f_status_) {
|
|
2607
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2608
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_type(ptr, f_status_.__wbg_ptr);
|
|
2609
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2610
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2611
|
+
return v1;
|
|
2612
|
+
}
|
|
2613
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save() {
|
|
2614
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save();
|
|
2615
|
+
return ret;
|
|
2616
|
+
}
|
|
2617
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string() {
|
|
2618
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string();
|
|
2619
|
+
return ret;
|
|
2620
|
+
}
|
|
2621
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_credential() {
|
|
2622
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_credential();
|
|
2623
|
+
return ret;
|
|
2624
|
+
}
|
|
2625
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_) {
|
|
2626
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2627
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_.__wbg_ptr);
|
|
2628
|
+
return ret;
|
|
2629
|
+
}
|
|
2630
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(hex_string, f_status_) {
|
|
2631
|
+
const ptr0 = passArray8ToWasm0(hex_string, wasm.__wbindgen_malloc);
|
|
2630
2632
|
const len0 = WASM_VECTOR_LEN;
|
|
2631
|
-
|
|
2633
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2634
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(ptr0, len0, f_status_.__wbg_ptr);
|
|
2632
2635
|
return BigInt.asUintN(64, ret);
|
|
2633
2636
|
}
|
|
2634
|
-
function
|
|
2635
|
-
const
|
|
2636
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2637
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_save(ptr, ptr0, len0);
|
|
2637
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_key_packages(ptr) {
|
|
2638
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_key_packages(ptr);
|
|
2638
2639
|
return BigInt.asUintN(64, ret);
|
|
2639
2640
|
}
|
|
2640
|
-
function
|
|
2641
|
-
wasm.
|
|
2641
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt() {
|
|
2642
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt();
|
|
2643
|
+
return ret;
|
|
2642
2644
|
}
|
|
2643
|
-
function
|
|
2644
|
-
const
|
|
2645
|
-
|
|
2645
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptologger_log(ptr, level, message, context, f_status_) {
|
|
2646
|
+
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
2647
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2648
|
+
const ptr1 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
2649
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2650
|
+
const ptr2 = passArray8ToWasm0(context, wasm.__wbindgen_malloc);
|
|
2651
|
+
const len2 = WASM_VECTOR_LEN;
|
|
2652
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2653
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptologger_log(ptr, ptr0, len0, ptr1, len1, ptr2, len2, f_status_.__wbg_ptr);
|
|
2654
|
+
}
|
|
2655
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_earliest_validity() {
|
|
2656
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_earliest_validity();
|
|
2657
|
+
return ret;
|
|
2646
2658
|
}
|
|
2647
2659
|
function ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer(handle) {
|
|
2648
2660
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer(handle);
|
|
2649
2661
|
}
|
|
2650
|
-
function
|
|
2651
|
-
|
|
2652
|
-
|
|
2662
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment(handle, f_status_) {
|
|
2663
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2664
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment(handle, f_status_.__wbg_ptr);
|
|
2653
2665
|
}
|
|
2654
|
-
function
|
|
2655
|
-
const ret = wasm.
|
|
2666
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_random_bytes() {
|
|
2667
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_random_bytes();
|
|
2656
2668
|
return ret;
|
|
2657
2669
|
}
|
|
2658
|
-
function
|
|
2659
|
-
|
|
2660
|
-
|
|
2670
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2671
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2672
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2673
|
+
return ret;
|
|
2661
2674
|
}
|
|
2662
|
-
function
|
|
2663
|
-
const ret = wasm.
|
|
2675
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_conversation_state() {
|
|
2676
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_conversation_state();
|
|
2664
2677
|
return ret;
|
|
2665
2678
|
}
|
|
2666
|
-
function
|
|
2667
|
-
|
|
2679
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_enabled(ptr, cipher_suite) {
|
|
2680
|
+
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
2681
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2682
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_enabled(ptr, ptr0, len0);
|
|
2683
|
+
return BigInt.asUintN(64, ret);
|
|
2668
2684
|
}
|
|
2669
|
-
function
|
|
2670
|
-
|
|
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;
|
|
2685
|
+
function wasm_bindgen__convert__closures_____invoke__ha506db150a6eba1b(arg0, arg1, arg2) {
|
|
2686
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha506db150a6eba1b(arg0, arg1, arg2);
|
|
2673
2687
|
}
|
|
2674
2688
|
function wasm_bindgen__convert__closures_____invoke__hf3c68230db5190d1(arg0, arg1, arg2) {
|
|
2675
2689
|
wasm.wasm_bindgen__convert__closures_____invoke__hf3c68230db5190d1(arg0, arg1, arg2);
|
|
2676
2690
|
}
|
|
2677
|
-
function wasm_bindgen__convert__closures_____invoke__he6b63f055d8ab351(arg0, arg1, arg2) {
|
|
2678
|
-
wasm.wasm_bindgen__convert__closures_____invoke__he6b63f055d8ab351(arg0, arg1, arg2);
|
|
2679
|
-
}
|
|
2680
2691
|
var __wbindgen_enum_IdbTransactionMode = ["readonly", "readwrite", "versionchange", "readwriteflush", "cleanup"];
|
|
2681
2692
|
var ForeignFutureCompleteF32Finalization = typeof FinalizationRegistry === "undefined" ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry((ptr) => wasm.__wbg_foreignfuturecompletef32_free(ptr >>> 0, 1));
|
|
2682
2693
|
|
|
@@ -3390,14 +3401,14 @@ function __wbg_get_imports() {
|
|
|
3390
3401
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
3391
3402
|
}, arguments);
|
|
3392
3403
|
};
|
|
3393
|
-
imports.wbg.
|
|
3404
|
+
imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() {
|
|
3394
3405
|
return handleError(function(arg0, arg1) {
|
|
3395
|
-
|
|
3406
|
+
arg0.getRandomValues(arg1);
|
|
3396
3407
|
}, arguments);
|
|
3397
3408
|
};
|
|
3398
|
-
imports.wbg.
|
|
3409
|
+
imports.wbg.__wbg_getRandomValues_cfa3e51efd7b03ad = function() {
|
|
3399
3410
|
return handleError(function(arg0, arg1) {
|
|
3400
|
-
|
|
3411
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
3401
3412
|
}, arguments);
|
|
3402
3413
|
};
|
|
3403
3414
|
imports.wbg.__wbg_getRandomValues_e378dd0e2b437a84 = function() {
|
|
@@ -3934,10 +3945,6 @@ function __wbg_get_imports() {
|
|
|
3934
3945
|
const ret = arg0.versions;
|
|
3935
3946
|
return ret;
|
|
3936
3947
|
};
|
|
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
|
-
};
|
|
3941
3948
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
3942
3949
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
3943
3950
|
return ret;
|
|
@@ -3946,18 +3953,22 @@ function __wbg_get_imports() {
|
|
|
3946
3953
|
const ret = BigInt.asUintN(64, arg0);
|
|
3947
3954
|
return ret;
|
|
3948
3955
|
};
|
|
3956
|
+
imports.wbg.__wbindgen_cast_484731fa5fe2b666 = function(arg0, arg1) {
|
|
3957
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4d2826f8cf3948a6, wasm_bindgen__convert__closures_____invoke__hf3c68230db5190d1);
|
|
3958
|
+
return ret;
|
|
3959
|
+
};
|
|
3949
3960
|
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
|
3950
3961
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
3951
3962
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
3952
3963
|
const ret = v0;
|
|
3953
3964
|
return ret;
|
|
3954
3965
|
};
|
|
3955
|
-
imports.wbg.
|
|
3956
|
-
const ret =
|
|
3966
|
+
imports.wbg.__wbindgen_cast_b11ccd55c70c8f06 = function(arg0, arg1) {
|
|
3967
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h987a717dcbb9636f, wasm_bindgen__convert__closures_____invoke__ha506db150a6eba1b);
|
|
3957
3968
|
return ret;
|
|
3958
3969
|
};
|
|
3959
|
-
imports.wbg.
|
|
3960
|
-
const ret =
|
|
3970
|
+
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
3971
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
3961
3972
|
return ret;
|
|
3962
3973
|
};
|
|
3963
3974
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
@@ -4964,6 +4975,17 @@ class Uuid extends UniffiAbstractObject {
|
|
|
4964
4975
|
this[pointerLiteralSymbol] = pointer;
|
|
4965
4976
|
this[destructorGuardSymbol] = uniffiTypeUuidObjectFactory.bless(pointer);
|
|
4966
4977
|
}
|
|
4978
|
+
toString() {
|
|
4979
|
+
return ((__rb) => {
|
|
4980
|
+
try {
|
|
4981
|
+
return FfiConverterString.lift(__rb);
|
|
4982
|
+
} finally {
|
|
4983
|
+
nativeModule().rustbuffer_free(__rb);
|
|
4984
|
+
}
|
|
4985
|
+
})(uniffiCaller.rustCall((callStatus) => {
|
|
4986
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display(uniffiTypeUuidObjectFactory.clonePointer(this), callStatus);
|
|
4987
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
4988
|
+
}
|
|
4967
4989
|
equals(other) {
|
|
4968
4990
|
return FfiConverterBool.lift(uniffiCaller.rustCall((callStatus) => {
|
|
4969
4991
|
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(uniffiTypeUuidObjectFactory.clonePointer(this), FfiConverterTypeUuid.lower(other, nativeModule().rustbuffer_alloc), callStatus);
|
|
@@ -5163,7 +5185,18 @@ var DeserializedClientId = (() => {
|
|
|
5163
5185
|
return Object.freeze({
|
|
5164
5186
|
create,
|
|
5165
5187
|
new: create,
|
|
5166
|
-
defaults: () => Object.freeze(defaults())
|
|
5188
|
+
defaults: () => Object.freeze(defaults()),
|
|
5189
|
+
toString(self_) {
|
|
5190
|
+
return ((__rb) => {
|
|
5191
|
+
try {
|
|
5192
|
+
return FfiConverterString.lift(__rb);
|
|
5193
|
+
} finally {
|
|
5194
|
+
nativeModule().rustbuffer_free(__rb);
|
|
5195
|
+
}
|
|
5196
|
+
})(uniffiCaller.rustCall((callStatus) => {
|
|
5197
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display(FfiConverterTypeDeserializedClientId.lower(self_, nativeModule().rustbuffer_alloc), callStatus);
|
|
5198
|
+
}, FfiConverterString.lift.bind(FfiConverterString)));
|
|
5199
|
+
}
|
|
5167
5200
|
});
|
|
5168
5201
|
})();
|
|
5169
5202
|
var FfiConverterTypeDeserializedClientId = (() => {
|
|
@@ -10442,21 +10475,15 @@ class X509CredentialAcquisition2 extends X509CredentialAcquisition {
|
|
|
10442
10475
|
}
|
|
10443
10476
|
}
|
|
10444
10477
|
// packages/browser/src/CoreCrypto.ts
|
|
10445
|
-
async function initWasmModule(
|
|
10478
|
+
async function initWasmModule(path = undefined) {
|
|
10446
10479
|
if (typeof window !== "undefined") {
|
|
10447
|
-
if (typeof
|
|
10448
|
-
const path = `${location}index_bg.wasm`;
|
|
10480
|
+
if (typeof path === "string") {
|
|
10449
10481
|
await wasm_bindgen_default({ module_or_path: path });
|
|
10450
10482
|
} else {
|
|
10451
10483
|
await wasm_bindgen_default({});
|
|
10452
10484
|
}
|
|
10453
10485
|
} else {
|
|
10454
|
-
|
|
10455
|
-
const path = new URL(`${location}index_bg.wasm`, import.meta.url);
|
|
10456
|
-
const file = await fs.open(path);
|
|
10457
|
-
const buffer = await file.readFile();
|
|
10458
|
-
const module = new WebAssembly.Module(new Uint8Array(buffer));
|
|
10459
|
-
await wasm_bindgen_default({ module_or_path: module });
|
|
10486
|
+
throw Error("initializing the wasm module of `@wireapp/core-crypto/browser` package outside the browser isn't currently supported. Consider using the `@wireapp/core-crypto/native` package.");
|
|
10460
10487
|
}
|
|
10461
10488
|
core_crypto_ffi_default.initialize();
|
|
10462
10489
|
}
|