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