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