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