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