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