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