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