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