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