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