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