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