@wireapp/core-crypto 10.1.1 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/autogenerated/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/browser/autogenerated/wasm-bindgen/index_bg.wasm.d.ts +32 -26
- package/dist/browser/corecrypto.d.ts +11 -4
- package/dist/browser/corecrypto.js +1540 -1396
- package/dist/native/corecrypto.d.ts +5 -1
- package/dist/native/corecrypto.js +7 -7
- package/dist/native/libcore_crypto_ffi.dylib +0 -0
- package/dist/native/libcore_crypto_ffi.so +0 -0
- package/package.json +32 -32
|
@@ -599,10 +599,6 @@ ${val.stack}`;
|
|
|
599
599
|
}
|
|
600
600
|
return className;
|
|
601
601
|
}
|
|
602
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
603
|
-
ptr = ptr >>> 0;
|
|
604
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
605
|
-
}
|
|
606
602
|
function addToExternrefTable0(obj) {
|
|
607
603
|
const idx = wasm.__externref_table_alloc();
|
|
608
604
|
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
@@ -616,6 +612,10 @@ function handleError(f, args) {
|
|
|
616
612
|
wasm.__wbindgen_exn_store(idx);
|
|
617
613
|
}
|
|
618
614
|
}
|
|
615
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
616
|
+
ptr = ptr >>> 0;
|
|
617
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
618
|
+
}
|
|
619
619
|
function _assertClass(instance, klass) {
|
|
620
620
|
if (!(instance instanceof klass)) {
|
|
621
621
|
throw new Error(`expected instance of ${klass.name}`);
|
|
@@ -651,471 +651,397 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
651
651
|
CLOSURE_DTORS.register(real, state, state);
|
|
652
652
|
return real;
|
|
653
653
|
}
|
|
654
|
-
function
|
|
655
|
-
|
|
654
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_clientid(handle, f_status_) {
|
|
655
|
+
_assertClass(f_status_, RustCallStatus);
|
|
656
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_clientid(handle, f_status_.__wbg_ptr);
|
|
656
657
|
return BigInt.asUintN(64, ret);
|
|
657
658
|
}
|
|
658
|
-
function
|
|
659
|
-
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
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;
|
|
659
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
665
660
|
_assertClass(f_status_, RustCallStatus);
|
|
666
|
-
wasm.
|
|
661
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
662
|
+
return ret;
|
|
667
663
|
}
|
|
668
|
-
function
|
|
669
|
-
|
|
670
|
-
|
|
664
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
665
|
+
_assertClass(f_status_, RustCallStatus);
|
|
666
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
667
|
+
return ret;
|
|
671
668
|
}
|
|
672
|
-
function
|
|
669
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash(ptr, f_status_) {
|
|
673
670
|
_assertClass(f_status_, RustCallStatus);
|
|
674
|
-
const ret = wasm.
|
|
671
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
675
672
|
return BigInt.asUintN(64, ret);
|
|
676
673
|
}
|
|
677
|
-
function
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
return ret;
|
|
674
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_client_ids(ptr, conversation_id) {
|
|
675
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_client_ids(ptr, conversation_id);
|
|
676
|
+
return BigInt.asUintN(64, ret);
|
|
681
677
|
}
|
|
682
|
-
function
|
|
683
|
-
|
|
684
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
678
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_external_sender(ptr, conversation_id) {
|
|
679
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_external_sender(ptr, conversation_id);
|
|
685
680
|
return BigInt.asUintN(64, ret);
|
|
686
681
|
}
|
|
687
|
-
function
|
|
688
|
-
const ret = wasm.
|
|
689
|
-
return ret;
|
|
682
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_is_history_sharing_enabled(ptr, conversation_id) {
|
|
683
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_is_history_sharing_enabled(ptr, conversation_id);
|
|
684
|
+
return BigInt.asUintN(64, ret);
|
|
690
685
|
}
|
|
691
|
-
function
|
|
692
|
-
const ptr0 = passArray8ToWasm0(
|
|
686
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_find_credentials_ffi(ptr, client_id, public_key, cipher_suite, credential_type, earliest_validity) {
|
|
687
|
+
const ptr0 = passArray8ToWasm0(client_id, wasm.__wbindgen_malloc);
|
|
693
688
|
const len0 = WASM_VECTOR_LEN;
|
|
694
|
-
const ptr1 = passArray8ToWasm0(
|
|
689
|
+
const ptr1 = passArray8ToWasm0(public_key, wasm.__wbindgen_malloc);
|
|
695
690
|
const len1 = WASM_VECTOR_LEN;
|
|
696
|
-
const
|
|
691
|
+
const ptr2 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
692
|
+
const len2 = WASM_VECTOR_LEN;
|
|
693
|
+
const ptr3 = passArray8ToWasm0(credential_type, wasm.__wbindgen_malloc);
|
|
694
|
+
const len3 = WASM_VECTOR_LEN;
|
|
695
|
+
const ptr4 = passArray8ToWasm0(earliest_validity, wasm.__wbindgen_malloc);
|
|
696
|
+
const len4 = WASM_VECTOR_LEN;
|
|
697
|
+
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);
|
|
697
698
|
return BigInt.asUintN(64, ret);
|
|
698
699
|
}
|
|
699
|
-
function
|
|
700
|
-
const
|
|
701
|
-
const len0 = WASM_VECTOR_LEN;
|
|
702
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_save(ptr, ptr0, len0);
|
|
700
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_credentials(ptr) {
|
|
701
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_credentials(ptr);
|
|
703
702
|
return BigInt.asUintN(64, ret);
|
|
704
703
|
}
|
|
705
|
-
function
|
|
706
|
-
|
|
707
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_clientid(handle, f_status_.__wbg_ptr);
|
|
704
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_public_key(ptr, credential_ref) {
|
|
705
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_public_key(ptr, credential_ref);
|
|
708
706
|
return BigInt.asUintN(64, ret);
|
|
709
707
|
}
|
|
710
|
-
function
|
|
711
|
-
const ret = wasm.
|
|
712
|
-
return ret;
|
|
713
|
-
}
|
|
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);
|
|
716
|
-
}
|
|
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;
|
|
720
|
-
}
|
|
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();
|
|
723
|
-
return ret;
|
|
724
|
-
}
|
|
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);
|
|
708
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_conversation_state(ptr, conversation_id) {
|
|
709
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_conversation_state(ptr, conversation_id);
|
|
727
710
|
return BigInt.asUintN(64, ret);
|
|
728
711
|
}
|
|
729
|
-
function
|
|
730
|
-
const ptr0 = passArray8ToWasm0(
|
|
712
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_enabled(ptr, cipher_suite) {
|
|
713
|
+
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
731
714
|
const len0 = WASM_VECTOR_LEN;
|
|
732
|
-
const ret = wasm.
|
|
715
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_enabled(ptr, ptr0, len0);
|
|
733
716
|
return BigInt.asUintN(64, ret);
|
|
734
717
|
}
|
|
735
|
-
function
|
|
736
|
-
const
|
|
737
|
-
const len0 = WASM_VECTOR_LEN;
|
|
738
|
-
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
739
|
-
const len1 = WASM_VECTOR_LEN;
|
|
740
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, ptr0, len0, ptr1, len1);
|
|
718
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_pki_env_setup(ptr) {
|
|
719
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_pki_env_setup(ptr);
|
|
741
720
|
return BigInt.asUintN(64, ret);
|
|
742
721
|
}
|
|
743
|
-
function
|
|
744
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids();
|
|
745
|
-
return ret;
|
|
746
|
-
}
|
|
747
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_) {
|
|
722
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptoffi(handle, f_status_) {
|
|
748
723
|
_assertClass(f_status_, RustCallStatus);
|
|
749
|
-
const ret = wasm.
|
|
750
|
-
return ret;
|
|
751
|
-
}
|
|
752
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce() {
|
|
753
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce();
|
|
754
|
-
return ret;
|
|
755
|
-
}
|
|
756
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id) {
|
|
757
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id);
|
|
724
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptoffi(handle, f_status_.__wbg_ptr);
|
|
758
725
|
return BigInt.asUintN(64, ret);
|
|
759
726
|
}
|
|
760
|
-
function
|
|
727
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptoffi(handle, f_status_) {
|
|
761
728
|
_assertClass(f_status_, RustCallStatus);
|
|
762
|
-
|
|
763
|
-
return ret;
|
|
764
|
-
}
|
|
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);
|
|
729
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptoffi(handle, f_status_.__wbg_ptr);
|
|
768
730
|
}
|
|
769
|
-
function
|
|
731
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptoffi_new(instance, f_status_) {
|
|
770
732
|
_assertClass(f_status_, RustCallStatus);
|
|
771
|
-
wasm.
|
|
772
|
-
}
|
|
773
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer() {
|
|
774
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer();
|
|
775
|
-
return ret;
|
|
776
|
-
}
|
|
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;
|
|
780
|
-
}
|
|
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);
|
|
733
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptoffi_new(instance, f_status_.__wbg_ptr);
|
|
783
734
|
return BigInt.asUintN(64, ret);
|
|
784
735
|
}
|
|
785
|
-
function
|
|
786
|
-
const ret = wasm.
|
|
787
|
-
return ret;
|
|
788
|
-
}
|
|
789
|
-
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_) {
|
|
790
|
-
_assertClass(f_status_, RustCallStatus);
|
|
791
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_.__wbg_ptr);
|
|
792
|
-
}
|
|
793
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i64(handle) {
|
|
794
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i64(handle);
|
|
736
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_transaction_ffi(ptr, command) {
|
|
737
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_transaction_ffi(ptr, command);
|
|
738
|
+
return BigInt.asUintN(64, ret);
|
|
795
739
|
}
|
|
796
|
-
function
|
|
797
|
-
|
|
798
|
-
|
|
740
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_cipher_suite(ptr, conversation_id) {
|
|
741
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_cipher_suite(ptr, conversation_id);
|
|
742
|
+
return BigInt.asUintN(64, ret);
|
|
799
743
|
}
|
|
800
|
-
function
|
|
801
|
-
const ret = wasm.
|
|
744
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_credential(ptr, conversation_id) {
|
|
745
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_credential(ptr, conversation_id);
|
|
802
746
|
return BigInt.asUintN(64, ret);
|
|
803
747
|
}
|
|
804
|
-
function
|
|
805
|
-
|
|
806
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey(handle, f_status_.__wbg_ptr);
|
|
748
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_epoch(ptr, conversation_id) {
|
|
749
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_epoch(ptr, conversation_id);
|
|
807
750
|
return BigInt.asUintN(64, ret);
|
|
808
751
|
}
|
|
809
|
-
function
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
return ret >>> 0;
|
|
752
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_exists(ptr, conversation_id) {
|
|
753
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_conversation_exists(ptr, conversation_id);
|
|
754
|
+
return BigInt.asUintN(64, ret);
|
|
813
755
|
}
|
|
814
|
-
function
|
|
815
|
-
const ret = wasm.
|
|
756
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_export_secret_key(ptr, conversation_id, key_length) {
|
|
757
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_export_secret_key(ptr, conversation_id, key_length);
|
|
816
758
|
return BigInt.asUintN(64, ret);
|
|
817
759
|
}
|
|
818
|
-
function
|
|
819
|
-
const ptr0 = passArray8ToWasm0(
|
|
760
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_device_identities(ptr, conversation_id, device_ids) {
|
|
761
|
+
const ptr0 = passArray8ToWasm0(device_ids, wasm.__wbindgen_malloc);
|
|
820
762
|
const len0 = WASM_VECTOR_LEN;
|
|
821
|
-
const
|
|
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);
|
|
763
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_device_identities(ptr, conversation_id, ptr0, len0);
|
|
824
764
|
return BigInt.asUintN(64, ret);
|
|
825
765
|
}
|
|
826
|
-
function
|
|
827
|
-
const
|
|
828
|
-
|
|
766
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(ptr, conversation_id, user_ids) {
|
|
767
|
+
const ptr0 = passArray8ToWasm0(user_ids, wasm.__wbindgen_malloc);
|
|
768
|
+
const len0 = WASM_VECTOR_LEN;
|
|
769
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
770
|
+
return BigInt.asUintN(64, ret);
|
|
829
771
|
}
|
|
830
|
-
function
|
|
831
|
-
const ret = wasm.
|
|
832
|
-
return ret;
|
|
772
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_epoch_observer(ptr, epoch_observer) {
|
|
773
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_epoch_observer(ptr, epoch_observer);
|
|
774
|
+
return BigInt.asUintN(64, ret);
|
|
833
775
|
}
|
|
834
|
-
function
|
|
776
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocommand(handle, f_status_) {
|
|
835
777
|
_assertClass(f_status_, RustCallStatus);
|
|
836
|
-
wasm.
|
|
778
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocommand(handle, f_status_.__wbg_ptr);
|
|
779
|
+
return BigInt.asUintN(64, ret);
|
|
837
780
|
}
|
|
838
|
-
function
|
|
839
|
-
|
|
840
|
-
|
|
781
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocommand(handle, f_status_) {
|
|
782
|
+
_assertClass(f_status_, RustCallStatus);
|
|
783
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocommand(handle, f_status_.__wbg_ptr);
|
|
841
784
|
}
|
|
842
|
-
function
|
|
843
|
-
|
|
844
|
-
return ret;
|
|
785
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptocommand(vtable) {
|
|
786
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptocommand(vtable);
|
|
845
787
|
}
|
|
846
|
-
function
|
|
847
|
-
const
|
|
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);
|
|
788
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocommand_execute(ptr, context) {
|
|
789
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocommand_execute(ptr, context);
|
|
850
790
|
return BigInt.asUintN(64, ret);
|
|
851
791
|
}
|
|
852
|
-
function
|
|
792
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_conversationid(handle, f_status_) {
|
|
853
793
|
_assertClass(f_status_, RustCallStatus);
|
|
854
|
-
const ret = wasm.
|
|
855
|
-
return ret;
|
|
794
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_conversationid(handle, f_status_.__wbg_ptr);
|
|
795
|
+
return BigInt.asUintN(64, ret);
|
|
856
796
|
}
|
|
857
|
-
function
|
|
797
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_conversationid(handle, f_status_) {
|
|
858
798
|
_assertClass(f_status_, RustCallStatus);
|
|
859
|
-
|
|
860
|
-
return BigInt.asUintN(64, ret);
|
|
799
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_conversationid(handle, f_status_.__wbg_ptr);
|
|
861
800
|
}
|
|
862
|
-
function
|
|
863
|
-
const ptr0 = passArray8ToWasm0(
|
|
801
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_conversationid_new(bytes, f_status_) {
|
|
802
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
864
803
|
const len0 = WASM_VECTOR_LEN;
|
|
865
|
-
|
|
804
|
+
_assertClass(f_status_, RustCallStatus);
|
|
805
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_conversationid_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
866
806
|
return BigInt.asUintN(64, ret);
|
|
867
807
|
}
|
|
868
|
-
function
|
|
808
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_copy_bytes(ptr, f_status_) {
|
|
869
809
|
_assertClass(f_status_, RustCallStatus);
|
|
870
|
-
const ret = wasm.
|
|
810
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
871
811
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
872
812
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
873
813
|
return v1;
|
|
874
814
|
}
|
|
875
|
-
function
|
|
876
|
-
const ret = wasm.
|
|
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);
|
|
815
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_history_observer(ptr, history_observer) {
|
|
816
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_register_history_observer(ptr, history_observer);
|
|
882
817
|
return BigInt.asUintN(64, ret);
|
|
883
818
|
}
|
|
884
|
-
function
|
|
885
|
-
const ret = wasm.
|
|
886
|
-
return ret;
|
|
887
|
-
}
|
|
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);
|
|
819
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint(ptr) {
|
|
820
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint(ptr);
|
|
890
821
|
return BigInt.asUintN(64, ret);
|
|
891
822
|
}
|
|
892
|
-
function
|
|
893
|
-
const
|
|
894
|
-
return ret;
|
|
895
|
-
}
|
|
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;
|
|
899
|
-
}
|
|
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);
|
|
823
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_local(ptr, session_id) {
|
|
824
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
902
825
|
const len0 = WASM_VECTOR_LEN;
|
|
903
|
-
|
|
904
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(ptr0, len0, client_id, f_status_.__wbg_ptr);
|
|
826
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
905
827
|
return BigInt.asUintN(64, ret);
|
|
906
828
|
}
|
|
907
|
-
function
|
|
908
|
-
wasm.
|
|
909
|
-
}
|
|
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);
|
|
829
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_remote(ptr, session_id) {
|
|
830
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
912
831
|
const len0 = WASM_VECTOR_LEN;
|
|
913
|
-
const
|
|
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);
|
|
832
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_fingerprint_remote(ptr, ptr0, len0);
|
|
922
833
|
return BigInt.asUintN(64, ret);
|
|
923
834
|
}
|
|
924
|
-
function
|
|
925
|
-
const ptr0 = passArray8ToWasm0(
|
|
835
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_session_exists(ptr, session_id) {
|
|
836
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
926
837
|
const len0 = WASM_VECTOR_LEN;
|
|
927
|
-
const ret = wasm.
|
|
838
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_proteus_session_exists(ptr, ptr0, len0);
|
|
928
839
|
return BigInt.asUintN(64, ret);
|
|
929
840
|
}
|
|
930
|
-
function
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
return ret;
|
|
934
|
-
}
|
|
935
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey() {
|
|
936
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey();
|
|
937
|
-
return ret;
|
|
938
|
-
}
|
|
939
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new() {
|
|
940
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new();
|
|
941
|
-
return ret;
|
|
841
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_random_bytes(ptr, len) {
|
|
842
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_random_bytes(ptr, len);
|
|
843
|
+
return BigInt.asUintN(64, ret);
|
|
942
844
|
}
|
|
943
|
-
function
|
|
944
|
-
const ptr0 = passArray8ToWasm0(
|
|
845
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_reseed(ptr, seed) {
|
|
846
|
+
const ptr0 = passArray8ToWasm0(seed, wasm.__wbindgen_malloc);
|
|
945
847
|
const len0 = WASM_VECTOR_LEN;
|
|
946
|
-
const ret = wasm.
|
|
848
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_reseed(ptr, ptr0, len0);
|
|
947
849
|
return BigInt.asUintN(64, ret);
|
|
948
850
|
}
|
|
949
|
-
function
|
|
950
|
-
const ret = wasm.
|
|
851
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_pki_environment(ptr) {
|
|
852
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_get_pki_environment(ptr);
|
|
951
853
|
return BigInt.asUintN(64, ret);
|
|
952
854
|
}
|
|
953
|
-
function
|
|
954
|
-
const
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_signature_scheme(ptr, f_status_) {
|
|
958
|
-
_assertClass(f_status_, RustCallStatus);
|
|
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;
|
|
963
|
-
}
|
|
964
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite() {
|
|
965
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite();
|
|
966
|
-
return ret;
|
|
967
|
-
}
|
|
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);
|
|
855
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_set_pki_environment(ptr, pki_environment) {
|
|
856
|
+
const ptr0 = passArray8ToWasm0(pki_environment, wasm.__wbindgen_malloc);
|
|
857
|
+
const len0 = WASM_VECTOR_LEN;
|
|
858
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_set_pki_environment(ptr, ptr0, len0);
|
|
970
859
|
return BigInt.asUintN(64, ret);
|
|
971
860
|
}
|
|
972
|
-
function
|
|
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_) {
|
|
861
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_debug(ptr, f_status_) {
|
|
976
862
|
_assertClass(f_status_, RustCallStatus);
|
|
977
|
-
const ret = wasm.
|
|
863
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
978
864
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
979
865
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
980
866
|
return v1;
|
|
981
867
|
}
|
|
982
|
-
function
|
|
868
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_display(ptr, f_status_) {
|
|
983
869
|
_assertClass(f_status_, RustCallStatus);
|
|
984
|
-
const ret = wasm.
|
|
870
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
985
871
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
986
872
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
987
873
|
return v1;
|
|
988
874
|
}
|
|
989
|
-
function
|
|
990
|
-
|
|
991
|
-
|
|
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;
|
|
996
|
-
}
|
|
997
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse() {
|
|
998
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse();
|
|
875
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
876
|
+
_assertClass(f_status_, RustCallStatus);
|
|
877
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
999
878
|
return ret;
|
|
1000
879
|
}
|
|
1001
|
-
function
|
|
880
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1002
881
|
_assertClass(f_status_, RustCallStatus);
|
|
1003
|
-
const ret = wasm.
|
|
1004
|
-
|
|
1005
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1006
|
-
return v1;
|
|
882
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
883
|
+
return ret;
|
|
1007
884
|
}
|
|
1008
|
-
function
|
|
1009
|
-
const ptr0 = passArray8ToWasm0(
|
|
885
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, secret) {
|
|
886
|
+
const ptr0 = passArray8ToWasm0(secret, wasm.__wbindgen_malloc);
|
|
1010
887
|
const len0 = WASM_VECTOR_LEN;
|
|
1011
|
-
const ret = wasm.
|
|
888
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, ptr0, len0);
|
|
1012
889
|
return BigInt.asUintN(64, ret);
|
|
1013
890
|
}
|
|
1014
|
-
function
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_conversationid_copy_bytes();
|
|
1019
|
-
return ret;
|
|
891
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptologger(handle, f_status_) {
|
|
892
|
+
_assertClass(f_status_, RustCallStatus);
|
|
893
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptologger(handle, f_status_.__wbg_ptr);
|
|
894
|
+
return BigInt.asUintN(64, ret);
|
|
1020
895
|
}
|
|
1021
|
-
function
|
|
1022
|
-
|
|
1023
|
-
|
|
896
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptologger(handle, f_status_) {
|
|
897
|
+
_assertClass(f_status_, RustCallStatus);
|
|
898
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptologger(handle, f_status_.__wbg_ptr);
|
|
1024
899
|
}
|
|
1025
|
-
function
|
|
1026
|
-
|
|
1027
|
-
return ret;
|
|
900
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptologger(vtable) {
|
|
901
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_corecryptologger(vtable);
|
|
1028
902
|
}
|
|
1029
|
-
function
|
|
903
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptologger_log(ptr, level, message, context, f_status_) {
|
|
904
|
+
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
905
|
+
const len0 = WASM_VECTOR_LEN;
|
|
906
|
+
const ptr1 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
907
|
+
const len1 = WASM_VECTOR_LEN;
|
|
908
|
+
const ptr2 = passArray8ToWasm0(context, wasm.__wbindgen_malloc);
|
|
909
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1030
910
|
_assertClass(f_status_, RustCallStatus);
|
|
1031
|
-
wasm.
|
|
1032
|
-
}
|
|
1033
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_find_credentials_ffi() {
|
|
1034
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_find_credentials_ffi();
|
|
1035
|
-
return ret;
|
|
911
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptologger_log(ptr, ptr0, len0, ptr1, len1, ptr2, len2, f_status_.__wbg_ptr);
|
|
1036
912
|
}
|
|
1037
|
-
function
|
|
913
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_mlstransport(handle, f_status_) {
|
|
1038
914
|
_assertClass(f_status_, RustCallStatus);
|
|
1039
|
-
const ret = wasm.
|
|
915
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_mlstransport(handle, f_status_.__wbg_ptr);
|
|
1040
916
|
return BigInt.asUintN(64, ret);
|
|
1041
917
|
}
|
|
1042
|
-
function
|
|
918
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_mlstransport(handle, f_status_) {
|
|
1043
919
|
_assertClass(f_status_, RustCallStatus);
|
|
1044
|
-
|
|
1045
|
-
return BigInt.asUintN(64, ret);
|
|
920
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_mlstransport(handle, f_status_.__wbg_ptr);
|
|
1046
921
|
}
|
|
1047
|
-
function
|
|
1048
|
-
|
|
1049
|
-
return ret;
|
|
922
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_mlstransport(vtable) {
|
|
923
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_mlstransport(vtable);
|
|
1050
924
|
}
|
|
1051
|
-
function
|
|
1052
|
-
const ptr0 = passArray8ToWasm0(
|
|
925
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle(ptr, commit_bundle) {
|
|
926
|
+
const ptr0 = passArray8ToWasm0(commit_bundle, wasm.__wbindgen_malloc);
|
|
1053
927
|
const len0 = WASM_VECTOR_LEN;
|
|
928
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle(ptr, ptr0, len0);
|
|
929
|
+
return BigInt.asUintN(64, ret);
|
|
930
|
+
}
|
|
931
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_clientid(handle, f_status_) {
|
|
1054
932
|
_assertClass(f_status_, RustCallStatus);
|
|
1055
|
-
|
|
1056
|
-
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1057
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1058
|
-
return v2;
|
|
933
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_clientid(handle, f_status_.__wbg_ptr);
|
|
1059
934
|
}
|
|
1060
|
-
function
|
|
1061
|
-
|
|
1062
|
-
const
|
|
1063
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
935
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_hash(ptr, f_status_) {
|
|
936
|
+
_assertClass(f_status_, RustCallStatus);
|
|
937
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_conversationid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1064
938
|
return BigInt.asUintN(64, ret);
|
|
1065
939
|
}
|
|
1066
|
-
function
|
|
1067
|
-
|
|
1068
|
-
|
|
940
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver(handle, f_status_) {
|
|
941
|
+
_assertClass(f_status_, RustCallStatus);
|
|
942
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_epochobserver(handle, f_status_.__wbg_ptr);
|
|
943
|
+
return BigInt.asUintN(64, ret);
|
|
1069
944
|
}
|
|
1070
|
-
function
|
|
1071
|
-
|
|
1072
|
-
|
|
945
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_epochobserver(handle, f_status_) {
|
|
946
|
+
_assertClass(f_status_, RustCallStatus);
|
|
947
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_epochobserver(handle, f_status_.__wbg_ptr);
|
|
1073
948
|
}
|
|
1074
|
-
function
|
|
1075
|
-
|
|
1076
|
-
return ret;
|
|
949
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_epochobserver(vtable) {
|
|
950
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_epochobserver(vtable);
|
|
1077
951
|
}
|
|
1078
|
-
function
|
|
1079
|
-
const
|
|
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);
|
|
952
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed(ptr, conversation_id, epoch) {
|
|
953
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_epochobserver_epoch_changed(ptr, conversation_id, epoch);
|
|
1082
954
|
return BigInt.asUintN(64, ret);
|
|
1083
955
|
}
|
|
1084
|
-
function
|
|
956
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_historyobserver(handle, f_status_) {
|
|
1085
957
|
_assertClass(f_status_, RustCallStatus);
|
|
1086
|
-
const ret = wasm.
|
|
1087
|
-
return ret;
|
|
958
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_historyobserver(handle, f_status_.__wbg_ptr);
|
|
959
|
+
return BigInt.asUintN(64, ret);
|
|
1088
960
|
}
|
|
1089
|
-
function
|
|
1090
|
-
|
|
961
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_historyobserver(handle, f_status_) {
|
|
962
|
+
_assertClass(f_status_, RustCallStatus);
|
|
963
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_historyobserver(handle, f_status_.__wbg_ptr);
|
|
1091
964
|
}
|
|
1092
|
-
function
|
|
1093
|
-
|
|
1094
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1095
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_data(ptr, ptr0, len0);
|
|
1096
|
-
return BigInt.asUintN(64, ret);
|
|
965
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_historyobserver(vtable) {
|
|
966
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_historyobserver(vtable);
|
|
1097
967
|
}
|
|
1098
|
-
function
|
|
1099
|
-
const ptr0 = passArray8ToWasm0(
|
|
968
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_prepare_for_transport(ptr, history_secret) {
|
|
969
|
+
const ptr0 = passArray8ToWasm0(history_secret, wasm.__wbindgen_malloc);
|
|
1100
970
|
const len0 = WASM_VECTOR_LEN;
|
|
1101
|
-
const ret = wasm.
|
|
971
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_prepare_for_transport(ptr, ptr0, len0);
|
|
1102
972
|
return BigInt.asUintN(64, ret);
|
|
1103
973
|
}
|
|
1104
|
-
function
|
|
1105
|
-
|
|
1106
|
-
|
|
974
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocontext(handle, f_status_) {
|
|
975
|
+
_assertClass(f_status_, RustCallStatus);
|
|
976
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptocontext(handle, f_status_.__wbg_ptr);
|
|
977
|
+
return BigInt.asUintN(64, ret);
|
|
1107
978
|
}
|
|
1108
|
-
function
|
|
1109
|
-
|
|
1110
|
-
|
|
979
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocontext(handle, f_status_) {
|
|
980
|
+
_assertClass(f_status_, RustCallStatus);
|
|
981
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_corecryptocontext(handle, f_status_.__wbg_ptr);
|
|
1111
982
|
}
|
|
1112
|
-
function
|
|
1113
|
-
const ret = wasm.
|
|
1114
|
-
return ret;
|
|
983
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_credential(ptr, credential) {
|
|
984
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_credential(ptr, credential);
|
|
985
|
+
return BigInt.asUintN(64, ret);
|
|
1115
986
|
}
|
|
1116
|
-
function
|
|
1117
|
-
const ret = wasm.
|
|
1118
|
-
return ret;
|
|
987
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_check_credentials(ptr) {
|
|
988
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_check_credentials(ptr);
|
|
989
|
+
return BigInt.asUintN(64, ret);
|
|
990
|
+
}
|
|
991
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_commit_pending_proposals(ptr, conversation_id) {
|
|
992
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_commit_pending_proposals(ptr, conversation_id);
|
|
993
|
+
return BigInt.asUintN(64, ret);
|
|
994
|
+
}
|
|
995
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_cipher_suite(ptr, conversation_id) {
|
|
996
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_cipher_suite(ptr, conversation_id);
|
|
997
|
+
return BigInt.asUintN(64, ret);
|
|
998
|
+
}
|
|
999
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id) {
|
|
1000
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_credential(ptr, conversation_id);
|
|
1001
|
+
return BigInt.asUintN(64, ret);
|
|
1002
|
+
}
|
|
1003
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_epoch(ptr, conversation_id) {
|
|
1004
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_epoch(ptr, conversation_id);
|
|
1005
|
+
return BigInt.asUintN(64, ret);
|
|
1006
|
+
}
|
|
1007
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_exists(ptr, conversation_id) {
|
|
1008
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_conversation_exists(ptr, conversation_id);
|
|
1009
|
+
return BigInt.asUintN(64, ret);
|
|
1010
|
+
}
|
|
1011
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_create_conversation(ptr, conversation_id, credential_ref, external_sender) {
|
|
1012
|
+
const ptr0 = passArray8ToWasm0(external_sender, wasm.__wbindgen_malloc);
|
|
1013
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1014
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_create_conversation(ptr, conversation_id, credential_ref, ptr0, len0);
|
|
1015
|
+
return BigInt.asUintN(64, ret);
|
|
1016
|
+
}
|
|
1017
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_decrypt_message(ptr, conversation_id, payload) {
|
|
1018
|
+
const ptr0 = passArray8ToWasm0(payload, wasm.__wbindgen_malloc);
|
|
1019
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1020
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_decrypt_message(ptr, conversation_id, ptr0, len0);
|
|
1021
|
+
return BigInt.asUintN(64, ret);
|
|
1022
|
+
}
|
|
1023
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptocontext_new(instance, f_status_) {
|
|
1024
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1025
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_corecryptocontext_new(instance, f_status_.__wbg_ptr);
|
|
1026
|
+
return BigInt.asUintN(64, ret);
|
|
1027
|
+
}
|
|
1028
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_data(ptr) {
|
|
1029
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_data(ptr);
|
|
1030
|
+
return BigInt.asUintN(64, ret);
|
|
1031
|
+
}
|
|
1032
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_random_bytes(ptr, len) {
|
|
1033
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_random_bytes(ptr, len);
|
|
1034
|
+
return BigInt.asUintN(64, ret);
|
|
1035
|
+
}
|
|
1036
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_data(ptr, data) {
|
|
1037
|
+
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
1038
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1039
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_data(ptr, ptr0, len0);
|
|
1040
|
+
return BigInt.asUintN(64, ret);
|
|
1041
|
+
}
|
|
1042
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_conversation_state(ptr, conversation_id) {
|
|
1043
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_conversation_state(ptr, conversation_id);
|
|
1044
|
+
return BigInt.asUintN(64, ret);
|
|
1119
1045
|
}
|
|
1120
1046
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled(ptr, cipher_suite) {
|
|
1121
1047
|
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
@@ -1123,365 +1049,529 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled
|
|
|
1123
1049
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled(ptr, ptr0, len0);
|
|
1124
1050
|
return BigInt.asUintN(64, ret);
|
|
1125
1051
|
}
|
|
1126
|
-
function
|
|
1127
|
-
const ptr0 = passArray8ToWasm0(
|
|
1052
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_device_identities(ptr, conversation_id, device_ids) {
|
|
1053
|
+
const ptr0 = passArray8ToWasm0(device_ids, wasm.__wbindgen_malloc);
|
|
1128
1054
|
const len0 = WASM_VECTOR_LEN;
|
|
1129
|
-
const ret = wasm.
|
|
1055
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_device_identities(ptr, conversation_id, ptr0, len0);
|
|
1130
1056
|
return BigInt.asUintN(64, ret);
|
|
1131
1057
|
}
|
|
1132
|
-
function
|
|
1133
|
-
const
|
|
1134
|
-
|
|
1058
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(ptr, conversation_id, user_ids) {
|
|
1059
|
+
const ptr0 = passArray8ToWasm0(user_ids, wasm.__wbindgen_malloc);
|
|
1060
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1061
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_user_identities(ptr, conversation_id, ptr0, len0);
|
|
1062
|
+
return BigInt.asUintN(64, ret);
|
|
1135
1063
|
}
|
|
1136
|
-
function
|
|
1137
|
-
|
|
1138
|
-
const
|
|
1064
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_clients_to_conversation(ptr, conversation_id, key_packages) {
|
|
1065
|
+
const ptr0 = passArray8ToWasm0(key_packages, wasm.__wbindgen_malloc);
|
|
1066
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1067
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_add_clients_to_conversation(ptr, conversation_id, ptr0, len0);
|
|
1139
1068
|
return BigInt.asUintN(64, ret);
|
|
1140
1069
|
}
|
|
1141
|
-
function
|
|
1142
|
-
|
|
1143
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackageref(handle, f_status_.__wbg_ptr);
|
|
1070
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_disable_history_sharing(ptr, conversation_id) {
|
|
1071
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_disable_history_sharing(ptr, conversation_id);
|
|
1144
1072
|
return BigInt.asUintN(64, ret);
|
|
1145
1073
|
}
|
|
1146
|
-
function
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1150
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1151
|
-
return v1;
|
|
1074
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_enable_history_sharing(ptr, conversation_id) {
|
|
1075
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_enable_history_sharing(ptr, conversation_id);
|
|
1076
|
+
return BigInt.asUintN(64, ret);
|
|
1152
1077
|
}
|
|
1153
|
-
function
|
|
1154
|
-
const
|
|
1078
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, message) {
|
|
1079
|
+
const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
1080
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1081
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, ptr0, len0);
|
|
1155
1082
|
return BigInt.asUintN(64, ret);
|
|
1156
1083
|
}
|
|
1157
|
-
function
|
|
1158
|
-
|
|
1159
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1084
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_credential(ptr, credential_ref) {
|
|
1085
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_credential(ptr, credential_ref);
|
|
1160
1086
|
return BigInt.asUintN(64, ret);
|
|
1161
1087
|
}
|
|
1162
|
-
function
|
|
1088
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_package(ptr, kp_ref) {
|
|
1089
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_package(ptr, kp_ref);
|
|
1090
|
+
return BigInt.asUintN(64, ret);
|
|
1091
|
+
}
|
|
1092
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_packages_for(ptr, credential_ref) {
|
|
1093
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_packages_for(ptr, credential_ref);
|
|
1094
|
+
return BigInt.asUintN(64, ret);
|
|
1095
|
+
}
|
|
1096
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_conversation_credential(ptr, conversation_id, credential_ref) {
|
|
1097
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_set_conversation_credential(ptr, conversation_id, credential_ref);
|
|
1098
|
+
return BigInt.asUintN(64, ret);
|
|
1099
|
+
}
|
|
1100
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_update_keying_material(ptr, conversation_id) {
|
|
1101
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_update_keying_material(ptr, conversation_id);
|
|
1102
|
+
return BigInt.asUintN(64, ret);
|
|
1103
|
+
}
|
|
1104
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_wipe_conversation(ptr, conversation_id) {
|
|
1105
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_wipe_conversation(ptr, conversation_id);
|
|
1106
|
+
return BigInt.asUintN(64, ret);
|
|
1107
|
+
}
|
|
1108
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt(ptr, session_id, ciphertext) {
|
|
1163
1109
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1164
1110
|
const len0 = WASM_VECTOR_LEN;
|
|
1165
|
-
const ptr1 = passArray8ToWasm0(
|
|
1111
|
+
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
1166
1112
|
const len1 = WASM_VECTOR_LEN;
|
|
1167
|
-
const ret = wasm.
|
|
1113
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt(ptr, ptr0, len0, ptr1, len1);
|
|
1168
1114
|
return BigInt.asUintN(64, ret);
|
|
1169
1115
|
}
|
|
1170
|
-
function
|
|
1171
|
-
const
|
|
1172
|
-
|
|
1116
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, session_id, ciphertext) {
|
|
1117
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1118
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1119
|
+
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
1120
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1121
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, ptr0, len0, ptr1, len1);
|
|
1122
|
+
return BigInt.asUintN(64, ret);
|
|
1173
1123
|
}
|
|
1174
|
-
function
|
|
1175
|
-
const
|
|
1124
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key(ptr, conversation_id, key_length) {
|
|
1125
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key(ptr, conversation_id, key_length);
|
|
1126
|
+
return BigInt.asUintN(64, ret);
|
|
1127
|
+
}
|
|
1128
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package(ptr, credential_ref, lifetime) {
|
|
1129
|
+
const ptr0 = passArray8ToWasm0(lifetime, wasm.__wbindgen_malloc);
|
|
1176
1130
|
const len0 = WASM_VECTOR_LEN;
|
|
1177
|
-
const ret = wasm.
|
|
1131
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package(ptr, credential_ref, ptr0, len0);
|
|
1178
1132
|
return BigInt.asUintN(64, ret);
|
|
1179
1133
|
}
|
|
1180
|
-
function
|
|
1181
|
-
const ret = wasm.
|
|
1182
|
-
return ret;
|
|
1134
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_client_ids(ptr, conversation_id) {
|
|
1135
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_client_ids(ptr, conversation_id);
|
|
1136
|
+
return BigInt.asUintN(64, ret);
|
|
1183
1137
|
}
|
|
1184
|
-
function
|
|
1185
|
-
wasm.
|
|
1138
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_external_sender(ptr, conversation_id) {
|
|
1139
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_external_sender(ptr, conversation_id);
|
|
1140
|
+
return BigInt.asUintN(64, ret);
|
|
1186
1141
|
}
|
|
1187
|
-
function
|
|
1188
|
-
const ret = wasm.
|
|
1142
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_key_packages(ptr) {
|
|
1143
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_key_packages(ptr);
|
|
1189
1144
|
return BigInt.asUintN(64, ret);
|
|
1190
1145
|
}
|
|
1191
|
-
function
|
|
1192
|
-
const ret = wasm.
|
|
1193
|
-
return ret;
|
|
1146
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_join_by_external_commit(ptr, group_info, credential_ref) {
|
|
1147
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_join_by_external_commit(ptr, group_info, credential_ref);
|
|
1148
|
+
return BigInt.asUintN(64, ret);
|
|
1194
1149
|
}
|
|
1195
|
-
function
|
|
1196
|
-
const ret = wasm.
|
|
1197
|
-
return ret;
|
|
1150
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_mls_init(ptr, client_id, transport) {
|
|
1151
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_mls_init(ptr, client_id, transport);
|
|
1152
|
+
return BigInt.asUintN(64, ret);
|
|
1198
1153
|
}
|
|
1199
|
-
function
|
|
1200
|
-
const ret = wasm.
|
|
1201
|
-
return ret;
|
|
1154
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_process_welcome_message(ptr, welcome_message) {
|
|
1155
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_process_welcome_message(ptr, welcome_message);
|
|
1156
|
+
return BigInt.asUintN(64, ret);
|
|
1202
1157
|
}
|
|
1203
|
-
function
|
|
1204
|
-
const
|
|
1205
|
-
|
|
1158
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_clients_from_conversation(ptr, conversation_id, clients) {
|
|
1159
|
+
const ptr0 = passArray8ToWasm0(clients, wasm.__wbindgen_malloc);
|
|
1160
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1161
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_clients_from_conversation(ptr, conversation_id, ptr0, len0);
|
|
1162
|
+
return BigInt.asUintN(64, ret);
|
|
1206
1163
|
}
|
|
1207
|
-
function
|
|
1208
|
-
|
|
1164
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt(ptr, session_id, plaintext) {
|
|
1165
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1166
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1167
|
+
const ptr1 = passArray8ToWasm0(plaintext, wasm.__wbindgen_malloc);
|
|
1168
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1169
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt(ptr, ptr0, len0, ptr1, len1);
|
|
1170
|
+
return BigInt.asUintN(64, ret);
|
|
1209
1171
|
}
|
|
1210
|
-
function
|
|
1211
|
-
const ptr0 = passArray8ToWasm0(
|
|
1172
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt_batched(ptr, sessions, plaintext) {
|
|
1173
|
+
const ptr0 = passArray8ToWasm0(sessions, wasm.__wbindgen_malloc);
|
|
1212
1174
|
const len0 = WASM_VECTOR_LEN;
|
|
1213
|
-
const
|
|
1175
|
+
const ptr1 = passArray8ToWasm0(plaintext, wasm.__wbindgen_malloc);
|
|
1176
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1177
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt_batched(ptr, ptr0, len0, ptr1, len1);
|
|
1214
1178
|
return BigInt.asUintN(64, ret);
|
|
1215
1179
|
}
|
|
1216
|
-
function
|
|
1180
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint(ptr) {
|
|
1181
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint(ptr);
|
|
1182
|
+
return BigInt.asUintN(64, ret);
|
|
1183
|
+
}
|
|
1184
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, session_id) {
|
|
1185
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1186
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1187
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
1188
|
+
return BigInt.asUintN(64, ret);
|
|
1189
|
+
}
|
|
1190
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_prekey(ptr, session_id, prekey) {
|
|
1191
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1192
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1193
|
+
const ptr1 = passArray8ToWasm0(prekey, wasm.__wbindgen_malloc);
|
|
1194
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1195
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_prekey(ptr, ptr0, len0, ptr1, len1);
|
|
1196
|
+
return BigInt.asUintN(64, ret);
|
|
1197
|
+
}
|
|
1198
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_save(ptr, session_id) {
|
|
1199
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1200
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1201
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_save(ptr, ptr0, len0);
|
|
1202
|
+
return BigInt.asUintN(64, ret);
|
|
1203
|
+
}
|
|
1204
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo(handle, f_status_) {
|
|
1217
1205
|
_assertClass(f_status_, RustCallStatus);
|
|
1218
|
-
const ret = wasm.
|
|
1206
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_groupinfo(handle, f_status_.__wbg_ptr);
|
|
1207
|
+
return BigInt.asUintN(64, ret);
|
|
1208
|
+
}
|
|
1209
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_groupinfo(handle, f_status_) {
|
|
1210
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1211
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_groupinfo(handle, f_status_.__wbg_ptr);
|
|
1212
|
+
}
|
|
1213
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_groupinfo_new(bytes, f_status_) {
|
|
1214
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1215
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1216
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1217
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_groupinfo_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1218
|
+
return BigInt.asUintN(64, ret);
|
|
1219
|
+
}
|
|
1220
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey(handle, f_status_) {
|
|
1221
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1222
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_secretkey(handle, f_status_.__wbg_ptr);
|
|
1223
|
+
return BigInt.asUintN(64, ret);
|
|
1224
|
+
}
|
|
1225
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_secretkey(handle, f_status_) {
|
|
1226
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1227
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_secretkey(handle, f_status_.__wbg_ptr);
|
|
1228
|
+
}
|
|
1229
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(bytes, f_status_) {
|
|
1230
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1231
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1232
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1233
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1234
|
+
return BigInt.asUintN(64, ret);
|
|
1235
|
+
}
|
|
1236
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_) {
|
|
1237
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1238
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
1219
1239
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1220
1240
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1221
1241
|
return v1;
|
|
1222
1242
|
}
|
|
1223
|
-
function
|
|
1224
|
-
const
|
|
1225
|
-
|
|
1243
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, domain, f_status_) {
|
|
1244
|
+
const ptr0 = passArray8ToWasm0(domain, wasm.__wbindgen_malloc);
|
|
1245
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1246
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1247
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, ptr0, len0, f_status_.__wbg_ptr);
|
|
1248
|
+
return BigInt.asUintN(64, ret);
|
|
1226
1249
|
}
|
|
1227
|
-
function
|
|
1228
|
-
const
|
|
1250
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_remote(ptr, session_id) {
|
|
1251
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1252
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1253
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_remote(ptr, ptr0, len0);
|
|
1229
1254
|
return BigInt.asUintN(64, ret);
|
|
1230
1255
|
}
|
|
1231
|
-
function
|
|
1232
|
-
const ret = wasm.
|
|
1233
|
-
return ret;
|
|
1256
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_init(ptr) {
|
|
1257
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_init(ptr);
|
|
1258
|
+
return BigInt.asUintN(64, ret);
|
|
1234
1259
|
}
|
|
1235
|
-
function
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
return ret;
|
|
1260
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_last_resort_prekey(ptr) {
|
|
1261
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_last_resort_prekey(ptr);
|
|
1262
|
+
return BigInt.asUintN(64, ret);
|
|
1239
1263
|
}
|
|
1240
|
-
function
|
|
1241
|
-
const ret = wasm.
|
|
1242
|
-
return ret;
|
|
1264
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey(ptr, prekey_id) {
|
|
1265
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey(ptr, prekey_id);
|
|
1266
|
+
return BigInt.asUintN(64, ret);
|
|
1243
1267
|
}
|
|
1244
|
-
function
|
|
1245
|
-
|
|
1246
|
-
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_.__wbg_ptr);
|
|
1268
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey_auto(ptr) {
|
|
1269
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_new_prekey_auto(ptr);
|
|
1247
1270
|
return BigInt.asUintN(64, ret);
|
|
1248
1271
|
}
|
|
1249
|
-
function
|
|
1250
|
-
const
|
|
1272
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_delete(ptr, session_id) {
|
|
1273
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1274
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1275
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_delete(ptr, ptr0, len0);
|
|
1251
1276
|
return BigInt.asUintN(64, ret);
|
|
1252
1277
|
}
|
|
1253
|
-
function
|
|
1254
|
-
const
|
|
1255
|
-
|
|
1278
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_exists(ptr, session_id) {
|
|
1279
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1280
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1281
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_exists(ptr, ptr0, len0);
|
|
1282
|
+
return BigInt.asUintN(64, ret);
|
|
1256
1283
|
}
|
|
1257
|
-
function
|
|
1284
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_message(ptr, session_id, envelope) {
|
|
1285
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1286
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1287
|
+
const ptr1 = passArray8ToWasm0(envelope, wasm.__wbindgen_malloc);
|
|
1288
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1289
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_message(ptr, ptr0, len0, ptr1, len1);
|
|
1290
|
+
return BigInt.asUintN(64, ret);
|
|
1291
|
+
}
|
|
1292
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_display(ptr, f_status_) {
|
|
1258
1293
|
_assertClass(f_status_, RustCallStatus);
|
|
1259
|
-
wasm.
|
|
1294
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
1295
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1296
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1297
|
+
return v1;
|
|
1260
1298
|
}
|
|
1261
|
-
function
|
|
1262
|
-
|
|
1299
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1300
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1301
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1263
1302
|
return ret;
|
|
1264
1303
|
}
|
|
1265
|
-
function
|
|
1266
|
-
|
|
1304
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1305
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1306
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1267
1307
|
return ret;
|
|
1268
1308
|
}
|
|
1269
|
-
function
|
|
1270
|
-
|
|
1309
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_export_pem(ptr, f_status_) {
|
|
1310
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1311
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_export_pem(ptr, f_status_.__wbg_ptr);
|
|
1312
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1313
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1314
|
+
return v1;
|
|
1271
1315
|
}
|
|
1272
|
-
function
|
|
1316
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_signature_scheme(ptr, f_status_) {
|
|
1273
1317
|
_assertClass(f_status_, RustCallStatus);
|
|
1274
|
-
const ret = wasm.
|
|
1275
|
-
|
|
1318
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
1319
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1320
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1321
|
+
return v1;
|
|
1276
1322
|
}
|
|
1277
|
-
function
|
|
1278
|
-
|
|
1279
|
-
|
|
1323
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_type(ptr, f_status_) {
|
|
1324
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1325
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_type(ptr, f_status_.__wbg_ptr);
|
|
1326
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1327
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1328
|
+
return v1;
|
|
1280
1329
|
}
|
|
1281
|
-
function
|
|
1282
|
-
|
|
1330
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref(handle, f_status_) {
|
|
1331
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1332
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_credentialref(handle, f_status_.__wbg_ptr);
|
|
1333
|
+
return BigInt.asUintN(64, ret);
|
|
1283
1334
|
}
|
|
1284
|
-
function
|
|
1285
|
-
|
|
1335
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_credentialref(handle, f_status_) {
|
|
1336
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1337
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_credentialref(handle, f_status_.__wbg_ptr);
|
|
1286
1338
|
}
|
|
1287
|
-
function
|
|
1288
|
-
|
|
1289
|
-
|
|
1339
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_cipher_suite(ptr, f_status_) {
|
|
1340
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1341
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_cipher_suite(ptr, f_status_.__wbg_ptr);
|
|
1342
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1343
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1344
|
+
return v1;
|
|
1290
1345
|
}
|
|
1291
|
-
function
|
|
1292
|
-
|
|
1346
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_client_id(ptr, f_status_) {
|
|
1347
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1348
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_client_id(ptr, f_status_.__wbg_ptr);
|
|
1293
1349
|
return BigInt.asUintN(64, ret);
|
|
1294
1350
|
}
|
|
1295
|
-
function
|
|
1351
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(ptr, f_status_) {
|
|
1296
1352
|
_assertClass(f_status_, RustCallStatus);
|
|
1297
|
-
const ret = wasm.
|
|
1298
|
-
return ret;
|
|
1353
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
1354
|
+
return BigInt.asUintN(64, ret);
|
|
1299
1355
|
}
|
|
1300
|
-
function
|
|
1356
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_public_key_hash(ptr, f_status_) {
|
|
1301
1357
|
_assertClass(f_status_, RustCallStatus);
|
|
1302
|
-
const ret = wasm.
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u8(handle, callback, callback_data);
|
|
1358
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_public_key_hash(ptr, f_status_.__wbg_ptr);
|
|
1359
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1360
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1361
|
+
return v1;
|
|
1307
1362
|
}
|
|
1308
|
-
function
|
|
1309
|
-
|
|
1310
|
-
|
|
1363
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_) {
|
|
1364
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1365
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1366
|
+
return BigInt.asUintN(64, ret);
|
|
1311
1367
|
}
|
|
1312
|
-
function
|
|
1368
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_welcome(handle, f_status_) {
|
|
1313
1369
|
_assertClass(f_status_, RustCallStatus);
|
|
1314
|
-
const ret = wasm.
|
|
1370
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_welcome(handle, f_status_.__wbg_ptr);
|
|
1315
1371
|
return BigInt.asUintN(64, ret);
|
|
1316
1372
|
}
|
|
1317
|
-
function
|
|
1318
|
-
|
|
1319
|
-
|
|
1373
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_welcome(handle, f_status_) {
|
|
1374
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1375
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_welcome(handle, f_status_.__wbg_ptr);
|
|
1320
1376
|
}
|
|
1321
|
-
function
|
|
1377
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_welcome_new(bytes, f_status_) {
|
|
1378
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1379
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1322
1380
|
_assertClass(f_status_, RustCallStatus);
|
|
1323
|
-
const ret = wasm.
|
|
1381
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_welcome_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1324
1382
|
return BigInt.asUintN(64, ret);
|
|
1325
1383
|
}
|
|
1326
|
-
function
|
|
1327
|
-
|
|
1328
|
-
|
|
1384
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize(ptr, f_status_) {
|
|
1385
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1386
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize(ptr, f_status_.__wbg_ptr);
|
|
1387
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1388
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1389
|
+
return v1;
|
|
1329
1390
|
}
|
|
1330
|
-
function
|
|
1331
|
-
|
|
1332
|
-
|
|
1391
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_credential(handle, f_status_) {
|
|
1392
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1393
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_credential(handle, f_status_.__wbg_ptr);
|
|
1394
|
+
return BigInt.asUintN(64, ret);
|
|
1333
1395
|
}
|
|
1334
|
-
function
|
|
1335
|
-
|
|
1396
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_credential(handle, f_status_) {
|
|
1397
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1398
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_credential(handle, f_status_.__wbg_ptr);
|
|
1399
|
+
}
|
|
1400
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(cipher_suite, client_id, f_status_) {
|
|
1401
|
+
const ptr0 = passArray8ToWasm0(cipher_suite, wasm.__wbindgen_malloc);
|
|
1402
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1403
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1404
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(ptr0, len0, client_id, f_status_.__wbg_ptr);
|
|
1336
1405
|
return BigInt.asUintN(64, ret);
|
|
1337
1406
|
}
|
|
1338
|
-
function
|
|
1339
|
-
|
|
1340
|
-
|
|
1407
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_) {
|
|
1408
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1409
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
1410
|
+
return BigInt.asUintN(64, ret);
|
|
1341
1411
|
}
|
|
1342
|
-
function
|
|
1343
|
-
|
|
1344
|
-
|
|
1412
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_signature_scheme(ptr, f_status_) {
|
|
1413
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1414
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
1415
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1416
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1417
|
+
return v1;
|
|
1345
1418
|
}
|
|
1346
|
-
function
|
|
1419
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_type(ptr, f_status_) {
|
|
1347
1420
|
_assertClass(f_status_, RustCallStatus);
|
|
1348
|
-
wasm.
|
|
1421
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_type(ptr, f_status_.__wbg_ptr);
|
|
1422
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1423
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1424
|
+
return v1;
|
|
1349
1425
|
}
|
|
1350
|
-
function
|
|
1351
|
-
|
|
1352
|
-
|
|
1426
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_uniffi_trait_debug(ptr, f_status_) {
|
|
1427
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1428
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
1429
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1430
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1431
|
+
return v1;
|
|
1353
1432
|
}
|
|
1354
|
-
function
|
|
1355
|
-
const ptr0 = passArray8ToWasm0(
|
|
1433
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new(bytes, f_status_) {
|
|
1434
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1356
1435
|
const len0 = WASM_VECTOR_LEN;
|
|
1357
|
-
|
|
1436
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1437
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1358
1438
|
return BigInt.asUintN(64, ret);
|
|
1359
1439
|
}
|
|
1360
|
-
function
|
|
1361
|
-
|
|
1362
|
-
|
|
1440
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug(ptr, f_status_) {
|
|
1441
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1442
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
1443
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1444
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1445
|
+
return v1;
|
|
1363
1446
|
}
|
|
1364
|
-
function
|
|
1447
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1365
1448
|
_assertClass(f_status_, RustCallStatus);
|
|
1366
|
-
const ret = wasm.
|
|
1367
|
-
return
|
|
1449
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1450
|
+
return ret;
|
|
1368
1451
|
}
|
|
1369
|
-
function
|
|
1370
|
-
|
|
1452
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1453
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1454
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1371
1455
|
return ret;
|
|
1372
1456
|
}
|
|
1373
|
-
function
|
|
1374
|
-
|
|
1457
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_x509credentialacquisition(handle, f_status_) {
|
|
1458
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1459
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_x509credentialacquisition(handle, f_status_.__wbg_ptr);
|
|
1375
1460
|
return BigInt.asUintN(64, ret);
|
|
1376
1461
|
}
|
|
1377
|
-
function
|
|
1462
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_x509credentialacquisition(handle, f_status_) {
|
|
1378
1463
|
_assertClass(f_status_, RustCallStatus);
|
|
1379
|
-
wasm.
|
|
1464
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_x509credentialacquisition(handle, f_status_.__wbg_ptr);
|
|
1380
1465
|
}
|
|
1381
|
-
function
|
|
1382
|
-
const ptr0 = passArray8ToWasm0(
|
|
1466
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes(pki_environment, bytes, f_status_) {
|
|
1467
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1383
1468
|
const len0 = WASM_VECTOR_LEN;
|
|
1384
|
-
|
|
1469
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1470
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
1385
1471
|
return BigInt.asUintN(64, ret);
|
|
1386
1472
|
}
|
|
1387
|
-
function
|
|
1388
|
-
const
|
|
1389
|
-
|
|
1390
|
-
}
|
|
1391
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_cipher_suite(ptr, f_status_) {
|
|
1473
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new(pki_environment, config, f_status_) {
|
|
1474
|
+
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
1475
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1392
1476
|
_assertClass(f_status_, RustCallStatus);
|
|
1393
|
-
const ret = wasm.
|
|
1394
|
-
|
|
1395
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1396
|
-
return v1;
|
|
1477
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
1478
|
+
return BigInt.asUintN(64, ret);
|
|
1397
1479
|
}
|
|
1398
|
-
function
|
|
1399
|
-
|
|
1480
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_) {
|
|
1481
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1482
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_.__wbg_ptr);
|
|
1483
|
+
return BigInt.asUintN(64, ret);
|
|
1400
1484
|
}
|
|
1401
|
-
function
|
|
1485
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_database(handle, f_status_) {
|
|
1402
1486
|
_assertClass(f_status_, RustCallStatus);
|
|
1403
|
-
|
|
1487
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_database(handle, f_status_.__wbg_ptr);
|
|
1488
|
+
}
|
|
1489
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory() {
|
|
1490
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory();
|
|
1404
1491
|
return BigInt.asUintN(64, ret);
|
|
1405
1492
|
}
|
|
1406
|
-
function
|
|
1407
|
-
const ptr0 = passArray8ToWasm0(
|
|
1493
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open(location, key) {
|
|
1494
|
+
const ptr0 = passArray8ToWasm0(location, wasm.__wbindgen_malloc);
|
|
1408
1495
|
const len0 = WASM_VECTOR_LEN;
|
|
1409
|
-
|
|
1410
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1496
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open(ptr0, len0, key);
|
|
1411
1497
|
return BigInt.asUintN(64, ret);
|
|
1412
1498
|
}
|
|
1413
|
-
function
|
|
1414
|
-
const ret = wasm.
|
|
1415
|
-
return ret;
|
|
1499
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_close(ptr) {
|
|
1500
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_close(ptr);
|
|
1501
|
+
return BigInt.asUintN(64, ret);
|
|
1416
1502
|
}
|
|
1417
|
-
function
|
|
1418
|
-
const ret = wasm.
|
|
1419
|
-
return ret;
|
|
1503
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(ptr) {
|
|
1504
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(ptr);
|
|
1505
|
+
return BigInt.asUintN(64, ret);
|
|
1506
|
+
}
|
|
1507
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_database_update_key(ptr, key) {
|
|
1508
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_update_key(ptr, key);
|
|
1509
|
+
return BigInt.asUintN(64, ret);
|
|
1420
1510
|
}
|
|
1421
1511
|
function ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_) {
|
|
1422
1512
|
_assertClass(f_status_, RustCallStatus);
|
|
1423
1513
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_.__wbg_ptr);
|
|
1424
1514
|
return BigInt.asUintN(64, ret);
|
|
1425
1515
|
}
|
|
1426
|
-
function
|
|
1427
|
-
|
|
1428
|
-
|
|
1516
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_databasekey(handle, f_status_) {
|
|
1517
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1518
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_databasekey(handle, f_status_.__wbg_ptr);
|
|
1429
1519
|
}
|
|
1430
|
-
function
|
|
1431
|
-
const ptr0 = passArray8ToWasm0(
|
|
1520
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new_from_credential_ref(pki_environment, config, credential_ref, core_crypto_database) {
|
|
1521
|
+
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
1432
1522
|
const len0 = WASM_VECTOR_LEN;
|
|
1433
|
-
const
|
|
1523
|
+
const ptr1 = passArray8ToWasm0(core_crypto_database, wasm.__wbindgen_malloc);
|
|
1524
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1525
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new_from_credential_ref(pki_environment, ptr0, len0, credential_ref, ptr1, len1);
|
|
1434
1526
|
return BigInt.asUintN(64, ret);
|
|
1435
1527
|
}
|
|
1436
|
-
function
|
|
1437
|
-
const ret = wasm.
|
|
1438
|
-
return ret;
|
|
1439
|
-
}
|
|
1440
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_reseed(ptr, seed) {
|
|
1441
|
-
const ptr0 = passArray8ToWasm0(seed, wasm.__wbindgen_malloc);
|
|
1442
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1443
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_reseed(ptr, ptr0, len0);
|
|
1528
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize(ptr) {
|
|
1529
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize(ptr);
|
|
1444
1530
|
return BigInt.asUintN(64, ret);
|
|
1445
1531
|
}
|
|
1446
|
-
function
|
|
1532
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_) {
|
|
1447
1533
|
_assertClass(f_status_, RustCallStatus);
|
|
1448
|
-
wasm.
|
|
1449
|
-
|
|
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;
|
|
1534
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_.__wbg_ptr);
|
|
1535
|
+
return BigInt.asUintN(64, ret);
|
|
1453
1536
|
}
|
|
1454
|
-
function
|
|
1455
|
-
|
|
1456
|
-
|
|
1537
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_externalsender(handle, f_status_) {
|
|
1538
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1539
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_externalsender(handle, f_status_.__wbg_ptr);
|
|
1457
1540
|
}
|
|
1458
|
-
function
|
|
1459
|
-
|
|
1541
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new(bytes, f_status_) {
|
|
1542
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1543
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1544
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1545
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1546
|
+
return BigInt.asUintN(64, ret);
|
|
1460
1547
|
}
|
|
1461
|
-
function
|
|
1462
|
-
|
|
1463
|
-
|
|
1548
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_ref(ptr, f_status_) {
|
|
1549
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1550
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_ref(ptr, f_status_.__wbg_ptr);
|
|
1551
|
+
return BigInt.asUintN(64, ret);
|
|
1464
1552
|
}
|
|
1465
|
-
function
|
|
1466
|
-
|
|
1467
|
-
|
|
1553
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_serialize(ptr, f_status_) {
|
|
1554
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1555
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_serialize(ptr, f_status_.__wbg_ptr);
|
|
1556
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1557
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1558
|
+
return v1;
|
|
1468
1559
|
}
|
|
1469
|
-
function
|
|
1470
|
-
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
1471
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1472
|
-
const ptr1 = passArray8ToWasm0(signature_scheme, wasm.__wbindgen_malloc);
|
|
1473
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1560
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_keypackageref(handle, f_status_) {
|
|
1474
1561
|
_assertClass(f_status_, RustCallStatus);
|
|
1475
|
-
const ret = wasm.
|
|
1562
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackageref(handle, f_status_.__wbg_ptr);
|
|
1476
1563
|
return BigInt.asUintN(64, ret);
|
|
1477
1564
|
}
|
|
1478
|
-
function
|
|
1479
|
-
|
|
1480
|
-
|
|
1565
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackageref(handle, f_status_) {
|
|
1566
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1567
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackageref(handle, f_status_.__wbg_ptr);
|
|
1481
1568
|
}
|
|
1482
|
-
function
|
|
1483
|
-
|
|
1484
|
-
|
|
1569
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_cipher_suite(ptr, f_status_) {
|
|
1570
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1571
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_cipher_suite(ptr, f_status_.__wbg_ptr);
|
|
1572
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1573
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1574
|
+
return v1;
|
|
1485
1575
|
}
|
|
1486
1576
|
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_credential_type(ptr, f_status_) {
|
|
1487
1577
|
_assertClass(f_status_, RustCallStatus);
|
|
@@ -1490,84 +1580,91 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_credential_type(ptr
|
|
|
1490
1580
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1491
1581
|
return v1;
|
|
1492
1582
|
}
|
|
1493
|
-
function
|
|
1494
|
-
|
|
1495
|
-
|
|
1583
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_status_) {
|
|
1584
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1585
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_status_.__wbg_ptr);
|
|
1586
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1587
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1588
|
+
return v1;
|
|
1496
1589
|
}
|
|
1497
|
-
function
|
|
1498
|
-
|
|
1590
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_) {
|
|
1591
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1592
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_.__wbg_ptr);
|
|
1499
1593
|
return ret;
|
|
1500
1594
|
}
|
|
1501
|
-
function
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
return
|
|
1507
|
-
}
|
|
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();
|
|
1510
|
-
return ret;
|
|
1595
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status_) {
|
|
1596
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1597
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
1598
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1599
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1600
|
+
return v1;
|
|
1511
1601
|
}
|
|
1512
|
-
function
|
|
1513
|
-
const
|
|
1602
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse(key, signature_scheme, f_status_) {
|
|
1603
|
+
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
1604
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1605
|
+
const ptr1 = passArray8ToWasm0(signature_scheme, wasm.__wbindgen_malloc);
|
|
1606
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1607
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1608
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse(ptr0, len0, ptr1, len1, f_status_.__wbg_ptr);
|
|
1514
1609
|
return BigInt.asUintN(64, ret);
|
|
1515
1610
|
}
|
|
1516
|
-
function
|
|
1611
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk(jwk, f_status_) {
|
|
1612
|
+
const ptr0 = passArray8ToWasm0(jwk, wasm.__wbindgen_malloc);
|
|
1613
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1517
1614
|
_assertClass(f_status_, RustCallStatus);
|
|
1518
|
-
const ret = wasm.
|
|
1615
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_jwk(ptr0, len0, f_status_.__wbg_ptr);
|
|
1519
1616
|
return BigInt.asUintN(64, ret);
|
|
1520
1617
|
}
|
|
1521
|
-
function
|
|
1618
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_key(key, signature_scheme, f_status_) {
|
|
1619
|
+
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
1620
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1621
|
+
const ptr1 = passArray8ToWasm0(signature_scheme, wasm.__wbindgen_malloc);
|
|
1622
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1522
1623
|
_assertClass(f_status_, RustCallStatus);
|
|
1523
|
-
wasm.
|
|
1524
|
-
}
|
|
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();
|
|
1527
|
-
return ret;
|
|
1528
|
-
}
|
|
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();
|
|
1531
|
-
return ret;
|
|
1532
|
-
}
|
|
1533
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle) {
|
|
1534
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle);
|
|
1535
|
-
}
|
|
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);
|
|
1624
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse_public_key(ptr0, len0, ptr1, len1, f_status_.__wbg_ptr);
|
|
1538
1625
|
return BigInt.asUintN(64, ret);
|
|
1539
1626
|
}
|
|
1540
|
-
function
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
wasm.
|
|
1627
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize(ptr, f_status_) {
|
|
1628
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1629
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize(ptr, f_status_.__wbg_ptr);
|
|
1630
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1631
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1632
|
+
return v1;
|
|
1545
1633
|
}
|
|
1546
|
-
function
|
|
1547
|
-
|
|
1634
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1635
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1636
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1637
|
+
return ret;
|
|
1548
1638
|
}
|
|
1549
|
-
function
|
|
1550
|
-
|
|
1639
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1640
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1641
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1551
1642
|
return ret;
|
|
1552
1643
|
}
|
|
1553
|
-
function
|
|
1554
|
-
|
|
1644
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_) {
|
|
1645
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1646
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_.__wbg_ptr);
|
|
1555
1647
|
return BigInt.asUintN(64, ret);
|
|
1556
1648
|
}
|
|
1557
|
-
function
|
|
1558
|
-
|
|
1559
|
-
|
|
1649
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_) {
|
|
1650
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1651
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_.__wbg_ptr);
|
|
1560
1652
|
}
|
|
1561
|
-
function
|
|
1562
|
-
|
|
1563
|
-
|
|
1653
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(ptr, f_status_) {
|
|
1654
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1655
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(ptr, f_status_.__wbg_ptr);
|
|
1656
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1657
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1658
|
+
return v1;
|
|
1564
1659
|
}
|
|
1565
|
-
function
|
|
1566
|
-
|
|
1567
|
-
|
|
1660
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64(ptr, f_status_) {
|
|
1661
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1662
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64(ptr, f_status_.__wbg_ptr);
|
|
1663
|
+
return BigInt.asUintN(64, ret);
|
|
1568
1664
|
}
|
|
1569
|
-
function
|
|
1570
|
-
|
|
1665
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
1666
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1667
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1571
1668
|
return ret;
|
|
1572
1669
|
}
|
|
1573
1670
|
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
@@ -1575,92 +1672,136 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne(ptr,
|
|
|
1575
1672
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1576
1673
|
return ret;
|
|
1577
1674
|
}
|
|
1578
|
-
function
|
|
1579
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt();
|
|
1580
|
-
return ret;
|
|
1581
|
-
}
|
|
1582
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackage_ref(ptr, f_status_) {
|
|
1675
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash(ptr, f_status_) {
|
|
1583
1676
|
_assertClass(f_status_, RustCallStatus);
|
|
1584
|
-
const ret = wasm.
|
|
1677
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
1585
1678
|
return BigInt.asUintN(64, ret);
|
|
1586
1679
|
}
|
|
1587
|
-
function
|
|
1588
|
-
|
|
1680
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_uuid(handle, f_status_) {
|
|
1681
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1682
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_uuid(handle, f_status_.__wbg_ptr);
|
|
1589
1683
|
return BigInt.asUintN(64, ret);
|
|
1590
1684
|
}
|
|
1591
|
-
function
|
|
1685
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_uuid(handle, f_status_) {
|
|
1592
1686
|
_assertClass(f_status_, RustCallStatus);
|
|
1593
|
-
|
|
1594
|
-
return ret;
|
|
1687
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_uuid(handle, f_status_.__wbg_ptr);
|
|
1595
1688
|
}
|
|
1596
|
-
function
|
|
1689
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(uuid, f_status_) {
|
|
1690
|
+
const ptr0 = passArray8ToWasm0(uuid, wasm.__wbindgen_malloc);
|
|
1691
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1597
1692
|
_assertClass(f_status_, RustCallStatus);
|
|
1598
|
-
const ret = wasm.
|
|
1693
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_uuid_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1599
1694
|
return BigInt.asUintN(64, ret);
|
|
1600
1695
|
}
|
|
1601
|
-
function
|
|
1602
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data);
|
|
1603
|
-
}
|
|
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);
|
|
1607
|
-
return ret;
|
|
1608
|
-
}
|
|
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();
|
|
1611
|
-
return ret;
|
|
1612
|
-
}
|
|
1613
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_cipher_suite(ptr, f_status_) {
|
|
1696
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display(ptr, f_status_) {
|
|
1614
1697
|
_assertClass(f_status_, RustCallStatus);
|
|
1615
|
-
const ret = wasm.
|
|
1698
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display(ptr, f_status_.__wbg_ptr);
|
|
1616
1699
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1617
1700
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1618
1701
|
return v1;
|
|
1619
1702
|
}
|
|
1620
|
-
function
|
|
1621
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id_ffi();
|
|
1622
|
-
return ret;
|
|
1623
|
-
}
|
|
1624
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_) {
|
|
1703
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_) {
|
|
1625
1704
|
_assertClass(f_status_, RustCallStatus);
|
|
1626
|
-
const ret = wasm.
|
|
1705
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
1627
1706
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1628
1707
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1629
1708
|
return v1;
|
|
1630
1709
|
}
|
|
1631
|
-
function
|
|
1632
|
-
|
|
1633
|
-
|
|
1710
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment(handle, f_status_) {
|
|
1711
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1712
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment(handle, f_status_.__wbg_ptr);
|
|
1713
|
+
return BigInt.asUintN(64, ret);
|
|
1634
1714
|
}
|
|
1635
|
-
function
|
|
1636
|
-
|
|
1715
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment(handle, f_status_) {
|
|
1716
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1717
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment(handle, f_status_.__wbg_ptr);
|
|
1718
|
+
}
|
|
1719
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, dpop) {
|
|
1720
|
+
const ptr0 = passArray8ToWasm0(dpop, wasm.__wbindgen_malloc);
|
|
1637
1721
|
const len0 = WASM_VECTOR_LEN;
|
|
1638
|
-
const ret = wasm.
|
|
1722
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, ptr0, len0);
|
|
1639
1723
|
return BigInt.asUintN(64, ret);
|
|
1640
1724
|
}
|
|
1641
|
-
function
|
|
1725
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display(ptr, f_status_) {
|
|
1726
|
+
const ptr0 = passArray8ToWasm0(ptr, wasm.__wbindgen_malloc);
|
|
1727
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1642
1728
|
_assertClass(f_status_, RustCallStatus);
|
|
1643
|
-
const ret = wasm.
|
|
1644
|
-
var
|
|
1729
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display(ptr0, len0, f_status_.__wbg_ptr);
|
|
1730
|
+
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1645
1731
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1646
|
-
return
|
|
1732
|
+
return v2;
|
|
1647
1733
|
}
|
|
1648
|
-
function
|
|
1734
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_default(f_status_) {
|
|
1649
1735
|
_assertClass(f_status_, RustCallStatus);
|
|
1650
|
-
wasm.
|
|
1736
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_default(f_status_.__wbg_ptr);
|
|
1737
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1738
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1739
|
+
return v1;
|
|
1651
1740
|
}
|
|
1652
|
-
function
|
|
1741
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_from_u16(discriminant, f_status_) {
|
|
1653
1742
|
_assertClass(f_status_, RustCallStatus);
|
|
1654
|
-
const ret = wasm.
|
|
1743
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_cipher_suite_from_u16(discriminant, f_status_.__wbg_ptr);
|
|
1655
1744
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1656
1745
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1657
1746
|
return v1;
|
|
1658
1747
|
}
|
|
1659
|
-
function
|
|
1748
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_new(database, f_status_) {
|
|
1660
1749
|
_assertClass(f_status_, RustCallStatus);
|
|
1661
|
-
const ret = wasm.
|
|
1750
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_new(database, f_status_.__wbg_ptr);
|
|
1751
|
+
return BigInt.asUintN(64, ret);
|
|
1752
|
+
}
|
|
1753
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_set_logger(logger, f_status_) {
|
|
1754
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1755
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_func_set_logger(logger, f_status_.__wbg_ptr);
|
|
1756
|
+
}
|
|
1757
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_set_max_log_level(level, f_status_) {
|
|
1758
|
+
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
1759
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1760
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1761
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_func_set_max_log_level(ptr0, len0, f_status_.__wbg_ptr);
|
|
1762
|
+
}
|
|
1763
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(prekey, f_status_) {
|
|
1764
|
+
const ptr0 = passArray8ToWasm0(prekey, wasm.__wbindgen_malloc);
|
|
1765
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1766
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1767
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(ptr0, len0, f_status_.__wbg_ptr);
|
|
1768
|
+
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1769
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1770
|
+
return v2;
|
|
1771
|
+
}
|
|
1772
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_) {
|
|
1773
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1774
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_.__wbg_ptr);
|
|
1775
|
+
return ret;
|
|
1776
|
+
}
|
|
1777
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new(hooks, database) {
|
|
1778
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new(hooks, database);
|
|
1779
|
+
return BigInt.asUintN(64, ret);
|
|
1780
|
+
}
|
|
1781
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert(ptr, cert_pem) {
|
|
1782
|
+
const ptr0 = passArray8ToWasm0(cert_pem, wasm.__wbindgen_malloc);
|
|
1783
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1784
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert(ptr, ptr0, len0);
|
|
1785
|
+
return BigInt.asUintN(64, ret);
|
|
1786
|
+
}
|
|
1787
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(ptr, cert_pem) {
|
|
1788
|
+
const ptr0 = passArray8ToWasm0(cert_pem, wasm.__wbindgen_malloc);
|
|
1789
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1790
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(ptr, ptr0, len0);
|
|
1791
|
+
return BigInt.asUintN(64, ret);
|
|
1792
|
+
}
|
|
1793
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_) {
|
|
1794
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1795
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_.__wbg_ptr);
|
|
1662
1796
|
return BigInt.asUintN(64, ret);
|
|
1663
1797
|
}
|
|
1798
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks(handle, f_status_) {
|
|
1799
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1800
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks(handle, f_status_.__wbg_ptr);
|
|
1801
|
+
}
|
|
1802
|
+
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_pkienvironmenthooks(vtable) {
|
|
1803
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_pkienvironmenthooks(vtable);
|
|
1804
|
+
}
|
|
1664
1805
|
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, method, url, headers, body) {
|
|
1665
1806
|
const ptr0 = passArray8ToWasm0(method, wasm.__wbindgen_malloc);
|
|
1666
1807
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -1673,987 +1814,861 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(
|
|
|
1673
1814
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1674
1815
|
return BigInt.asUintN(64, ret);
|
|
1675
1816
|
}
|
|
1676
|
-
function
|
|
1677
|
-
const
|
|
1817
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, idp, key_auth, acme_aud, acquisition_snapshot) {
|
|
1818
|
+
const ptr0 = passArray8ToWasm0(idp, wasm.__wbindgen_malloc);
|
|
1819
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1820
|
+
const ptr1 = passArray8ToWasm0(key_auth, wasm.__wbindgen_malloc);
|
|
1821
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1822
|
+
const ptr2 = passArray8ToWasm0(acme_aud, wasm.__wbindgen_malloc);
|
|
1823
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1824
|
+
const ptr3 = passArray8ToWasm0(acquisition_snapshot, wasm.__wbindgen_malloc);
|
|
1825
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1826
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1678
1827
|
return BigInt.asUintN(64, ret);
|
|
1679
1828
|
}
|
|
1680
|
-
function
|
|
1681
|
-
const ret = wasm.
|
|
1682
|
-
return ret;
|
|
1829
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce(ptr) {
|
|
1830
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce(ptr);
|
|
1831
|
+
return BigInt.asUintN(64, ret);
|
|
1683
1832
|
}
|
|
1684
|
-
function
|
|
1685
|
-
const ptr0 = passArray8ToWasm0(
|
|
1833
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(path, old_key, new_key) {
|
|
1834
|
+
const ptr0 = passArray8ToWasm0(path, wasm.__wbindgen_malloc);
|
|
1686
1835
|
const len0 = WASM_VECTOR_LEN;
|
|
1687
|
-
|
|
1688
|
-
const
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
return v2;
|
|
1692
|
-
}
|
|
1693
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle) {
|
|
1694
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle);
|
|
1695
|
-
}
|
|
1696
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callback_data) {
|
|
1697
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callback_data);
|
|
1698
|
-
}
|
|
1699
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_clients_from_conversation() {
|
|
1700
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_clients_from_conversation();
|
|
1701
|
-
return ret;
|
|
1836
|
+
const ptr1 = passArray8ToWasm0(old_key, wasm.__wbindgen_malloc);
|
|
1837
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1838
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(ptr0, len0, ptr1, len1, new_key);
|
|
1839
|
+
return BigInt.asUintN(64, ret);
|
|
1702
1840
|
}
|
|
1703
|
-
function
|
|
1704
|
-
|
|
1705
|
-
const
|
|
1841
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(history_secret) {
|
|
1842
|
+
const ptr0 = passArray8ToWasm0(history_secret, wasm.__wbindgen_malloc);
|
|
1843
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1844
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(ptr0, len0);
|
|
1706
1845
|
return BigInt.asUintN(64, ret);
|
|
1707
1846
|
}
|
|
1708
|
-
function
|
|
1847
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_) {
|
|
1709
1848
|
_assertClass(f_status_, RustCallStatus);
|
|
1710
|
-
const ret = wasm.
|
|
1849
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_.__wbg_ptr);
|
|
1711
1850
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1712
1851
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1713
1852
|
return v1;
|
|
1714
1853
|
}
|
|
1715
|
-
function
|
|
1716
|
-
|
|
1854
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u16(handle, callback, callback_data) {
|
|
1855
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u16(handle, callback, callback_data);
|
|
1856
|
+
}
|
|
1857
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u16(handle) {
|
|
1858
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u16(handle);
|
|
1859
|
+
}
|
|
1860
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u16(handle) {
|
|
1861
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u16(handle);
|
|
1862
|
+
}
|
|
1863
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_) {
|
|
1864
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1865
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_.__wbg_ptr);
|
|
1717
1866
|
return ret;
|
|
1718
1867
|
}
|
|
1719
|
-
function
|
|
1720
|
-
wasm.
|
|
1868
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i16(handle, callback, callback_data) {
|
|
1869
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i16(handle, callback, callback_data);
|
|
1721
1870
|
}
|
|
1722
|
-
function
|
|
1723
|
-
|
|
1724
|
-
return ret;
|
|
1871
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle) {
|
|
1872
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle);
|
|
1725
1873
|
}
|
|
1726
|
-
function
|
|
1727
|
-
|
|
1728
|
-
return ret;
|
|
1874
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle) {
|
|
1875
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle);
|
|
1729
1876
|
}
|
|
1730
|
-
function
|
|
1877
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_) {
|
|
1731
1878
|
_assertClass(f_status_, RustCallStatus);
|
|
1732
|
-
wasm.
|
|
1879
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_.__wbg_ptr);
|
|
1880
|
+
return ret;
|
|
1733
1881
|
}
|
|
1734
|
-
function
|
|
1882
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_version(f_status_) {
|
|
1735
1883
|
_assertClass(f_status_, RustCallStatus);
|
|
1736
|
-
const ret = wasm.
|
|
1884
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_version(f_status_.__wbg_ptr);
|
|
1737
1885
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1738
1886
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1739
1887
|
return v1;
|
|
1740
1888
|
}
|
|
1741
|
-
function
|
|
1742
|
-
|
|
1743
|
-
return ret;
|
|
1889
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u8(handle, callback, callback_data) {
|
|
1890
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u8(handle, callback, callback_data);
|
|
1744
1891
|
}
|
|
1745
|
-
function
|
|
1746
|
-
|
|
1747
|
-
return ret;
|
|
1892
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u8(handle) {
|
|
1893
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u8(handle);
|
|
1748
1894
|
}
|
|
1749
|
-
function
|
|
1750
|
-
|
|
1751
|
-
return BigInt.asUintN(64, ret);
|
|
1895
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u8(handle) {
|
|
1896
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u8(handle);
|
|
1752
1897
|
}
|
|
1753
|
-
function
|
|
1898
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u8(handle, f_status_) {
|
|
1754
1899
|
_assertClass(f_status_, RustCallStatus);
|
|
1755
|
-
const ret = wasm.
|
|
1900
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u8(handle, f_status_.__wbg_ptr);
|
|
1756
1901
|
return ret;
|
|
1757
1902
|
}
|
|
1758
|
-
function
|
|
1759
|
-
|
|
1760
|
-
return BigInt.asUintN(64, ret);
|
|
1903
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i8(handle, callback, callback_data) {
|
|
1904
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i8(handle, callback, callback_data);
|
|
1761
1905
|
}
|
|
1762
|
-
function
|
|
1763
|
-
|
|
1764
|
-
return BigInt.asUintN(64, ret);
|
|
1906
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i8(handle) {
|
|
1907
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i8(handle);
|
|
1765
1908
|
}
|
|
1766
|
-
function
|
|
1767
|
-
|
|
1768
|
-
return ret;
|
|
1909
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i8(handle) {
|
|
1910
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i8(handle);
|
|
1769
1911
|
}
|
|
1770
|
-
function
|
|
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;
|
|
1912
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_) {
|
|
1775
1913
|
_assertClass(f_status_, RustCallStatus);
|
|
1776
|
-
const ret = wasm.
|
|
1777
|
-
return BigInt.asUintN(64, ret);
|
|
1778
|
-
}
|
|
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();
|
|
1914
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_.__wbg_ptr);
|
|
1781
1915
|
return ret;
|
|
1782
1916
|
}
|
|
1783
|
-
function
|
|
1784
|
-
|
|
1785
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_corecryptoffi(handle, f_status_.__wbg_ptr);
|
|
1786
|
-
return BigInt.asUintN(64, ret);
|
|
1917
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u32(handle, callback, callback_data) {
|
|
1918
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u32(handle, callback, callback_data);
|
|
1787
1919
|
}
|
|
1788
|
-
function
|
|
1920
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle) {
|
|
1921
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle);
|
|
1922
|
+
}
|
|
1923
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u32(handle) {
|
|
1924
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u32(handle);
|
|
1925
|
+
}
|
|
1926
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u32(handle, f_status_) {
|
|
1789
1927
|
_assertClass(f_status_, RustCallStatus);
|
|
1790
|
-
const ret = wasm.
|
|
1791
|
-
|
|
1792
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1793
|
-
return v1;
|
|
1928
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u32(handle, f_status_.__wbg_ptr);
|
|
1929
|
+
return ret >>> 0;
|
|
1794
1930
|
}
|
|
1795
|
-
function
|
|
1796
|
-
|
|
1797
|
-
return BigInt.asUintN(64, ret);
|
|
1931
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data) {
|
|
1932
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data);
|
|
1798
1933
|
}
|
|
1799
|
-
function
|
|
1800
|
-
|
|
1801
|
-
return BigInt.asUintN(64, ret);
|
|
1934
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i64(handle) {
|
|
1935
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i64(handle);
|
|
1802
1936
|
}
|
|
1803
|
-
function
|
|
1804
|
-
|
|
1805
|
-
return ret;
|
|
1937
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i64(handle) {
|
|
1938
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i64(handle);
|
|
1806
1939
|
}
|
|
1807
|
-
function
|
|
1808
|
-
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
1809
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1940
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i64(handle, f_status_) {
|
|
1810
1941
|
_assertClass(f_status_, RustCallStatus);
|
|
1811
|
-
const ret = wasm.
|
|
1812
|
-
return
|
|
1942
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i64(handle, f_status_.__wbg_ptr);
|
|
1943
|
+
return ret;
|
|
1813
1944
|
}
|
|
1814
|
-
function
|
|
1815
|
-
|
|
1816
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1817
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
1818
|
-
return BigInt.asUintN(64, ret);
|
|
1945
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_f32(handle, callback, callback_data) {
|
|
1946
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_f32(handle, callback, callback_data);
|
|
1819
1947
|
}
|
|
1820
|
-
function
|
|
1821
|
-
|
|
1822
|
-
return BigInt.asUintN(64, ret);
|
|
1948
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle) {
|
|
1949
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle);
|
|
1823
1950
|
}
|
|
1824
|
-
function
|
|
1825
|
-
|
|
1826
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1827
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1828
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, ptr0, len0, f_status_.__wbg_ptr);
|
|
1829
|
-
return BigInt.asUintN(64, ret);
|
|
1951
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle) {
|
|
1952
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle);
|
|
1830
1953
|
}
|
|
1831
|
-
function
|
|
1954
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_) {
|
|
1832
1955
|
_assertClass(f_status_, RustCallStatus);
|
|
1833
|
-
wasm.
|
|
1834
|
-
}
|
|
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();
|
|
1956
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_.__wbg_ptr);
|
|
1837
1957
|
return ret;
|
|
1838
1958
|
}
|
|
1839
|
-
function
|
|
1959
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_f64(handle, callback, callback_data) {
|
|
1960
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_f64(handle, callback, callback_data);
|
|
1961
|
+
}
|
|
1962
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_status_) {
|
|
1840
1963
|
_assertClass(f_status_, RustCallStatus);
|
|
1841
|
-
const ret = wasm.
|
|
1964
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_status_.__wbg_ptr);
|
|
1842
1965
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1843
1966
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1844
1967
|
return v1;
|
|
1845
1968
|
}
|
|
1846
|
-
function
|
|
1847
|
-
|
|
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();
|
|
1854
|
-
return ret;
|
|
1969
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data) {
|
|
1970
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data);
|
|
1855
1971
|
}
|
|
1856
|
-
function
|
|
1857
|
-
|
|
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);
|
|
1972
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i32(handle) {
|
|
1973
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i32(handle);
|
|
1861
1974
|
}
|
|
1862
|
-
function
|
|
1863
|
-
wasm.
|
|
1975
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i32(handle) {
|
|
1976
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i32(handle);
|
|
1864
1977
|
}
|
|
1865
|
-
function
|
|
1866
|
-
|
|
1978
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i32(handle, f_status_) {
|
|
1979
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1980
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i32(handle, f_status_.__wbg_ptr);
|
|
1867
1981
|
return ret;
|
|
1868
1982
|
}
|
|
1869
|
-
function
|
|
1870
|
-
|
|
1871
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_.__wbg_ptr);
|
|
1983
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u64(handle, callback, callback_data) {
|
|
1984
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u64(handle, callback, callback_data);
|
|
1872
1985
|
}
|
|
1873
|
-
function
|
|
1874
|
-
|
|
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);
|
|
1986
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64(handle) {
|
|
1987
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64(handle);
|
|
1877
1988
|
}
|
|
1878
|
-
function
|
|
1989
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle) {
|
|
1990
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle);
|
|
1991
|
+
}
|
|
1992
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_) {
|
|
1879
1993
|
_assertClass(f_status_, RustCallStatus);
|
|
1880
|
-
const ret = wasm.
|
|
1994
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_.__wbg_ptr);
|
|
1881
1995
|
return BigInt.asUintN(64, ret);
|
|
1882
1996
|
}
|
|
1883
|
-
function
|
|
1884
|
-
|
|
1885
|
-
return ret;
|
|
1997
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f64(handle) {
|
|
1998
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f64(handle);
|
|
1886
1999
|
}
|
|
1887
|
-
function
|
|
1888
|
-
|
|
1889
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_serialize(ptr, f_status_.__wbg_ptr);
|
|
1890
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1891
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1892
|
-
return v1;
|
|
2000
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_f64(handle) {
|
|
2001
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f64(handle);
|
|
1893
2002
|
}
|
|
1894
|
-
function
|
|
1895
|
-
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
1896
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2003
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_) {
|
|
1897
2004
|
_assertClass(f_status_, RustCallStatus);
|
|
1898
|
-
wasm.
|
|
1899
|
-
}
|
|
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();
|
|
2005
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_.__wbg_ptr);
|
|
1902
2006
|
return ret;
|
|
1903
2007
|
}
|
|
1904
|
-
function
|
|
1905
|
-
const ret = wasm.
|
|
1906
|
-
return BigInt.asUintN(64, ret);
|
|
1907
|
-
}
|
|
1908
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default() {
|
|
1909
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default();
|
|
2008
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_from_u16() {
|
|
2009
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_from_u16();
|
|
1910
2010
|
return ret;
|
|
1911
2011
|
}
|
|
1912
|
-
function
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
return BigInt.asUintN(64, ret);
|
|
1916
|
-
}
|
|
1917
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(ptr) {
|
|
1918
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(ptr);
|
|
1919
|
-
return BigInt.asUintN(64, ret);
|
|
2012
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_new() {
|
|
2013
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_new();
|
|
2014
|
+
return ret;
|
|
1920
2015
|
}
|
|
1921
|
-
function
|
|
1922
|
-
const
|
|
1923
|
-
|
|
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);
|
|
2016
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_set_logger() {
|
|
2017
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_set_logger();
|
|
2018
|
+
return ret;
|
|
1928
2019
|
}
|
|
1929
|
-
function
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1933
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1934
|
-
return v1;
|
|
2020
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_set_max_log_level() {
|
|
2021
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_set_max_log_level();
|
|
2022
|
+
return ret;
|
|
1935
2023
|
}
|
|
1936
|
-
function
|
|
1937
|
-
|
|
1938
|
-
|
|
2024
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_fingerprint_prekeybundle_ffi() {
|
|
2025
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_fingerprint_prekeybundle_ffi();
|
|
2026
|
+
return ret;
|
|
1939
2027
|
}
|
|
1940
|
-
function
|
|
1941
|
-
wasm.
|
|
2028
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id_ffi() {
|
|
2029
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id_ffi();
|
|
2030
|
+
return ret;
|
|
2031
|
+
}
|
|
2032
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_migrate_database_key_type_to_bytes() {
|
|
2033
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_migrate_database_key_type_to_bytes();
|
|
2034
|
+
return ret;
|
|
1942
2035
|
}
|
|
1943
2036
|
function ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_history_client() {
|
|
1944
2037
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_history_client();
|
|
1945
2038
|
return ret;
|
|
1946
2039
|
}
|
|
1947
|
-
function
|
|
1948
|
-
const ret = wasm.
|
|
1949
|
-
return
|
|
1950
|
-
}
|
|
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);
|
|
2040
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_build_metadata() {
|
|
2041
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_build_metadata();
|
|
2042
|
+
return ret;
|
|
1954
2043
|
}
|
|
1955
|
-
function
|
|
1956
|
-
|
|
1957
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_conversationid(handle, f_status_.__wbg_ptr);
|
|
2044
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data) {
|
|
2045
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data);
|
|
1958
2046
|
}
|
|
1959
|
-
function
|
|
1960
|
-
wasm.
|
|
2047
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer(handle) {
|
|
2048
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer(handle);
|
|
1961
2049
|
}
|
|
1962
|
-
function
|
|
1963
|
-
|
|
1964
|
-
return BigInt.asUintN(64, ret);
|
|
2050
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer(handle) {
|
|
2051
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer(handle);
|
|
1965
2052
|
}
|
|
1966
|
-
function
|
|
2053
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_) {
|
|
1967
2054
|
_assertClass(f_status_, RustCallStatus);
|
|
1968
|
-
const ret = wasm.
|
|
2055
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer(handle, f_status_.__wbg_ptr);
|
|
1969
2056
|
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1970
2057
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1971
2058
|
return v1;
|
|
1972
2059
|
}
|
|
1973
|
-
function
|
|
2060
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callback_data) {
|
|
2061
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callback_data);
|
|
2062
|
+
}
|
|
2063
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle) {
|
|
2064
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle);
|
|
2065
|
+
}
|
|
2066
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle) {
|
|
2067
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle);
|
|
2068
|
+
}
|
|
2069
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_) {
|
|
1974
2070
|
_assertClass(f_status_, RustCallStatus);
|
|
1975
|
-
wasm.
|
|
2071
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_.__wbg_ptr);
|
|
1976
2072
|
}
|
|
1977
|
-
function
|
|
1978
|
-
const
|
|
1979
|
-
|
|
1980
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert(ptr, ptr0, len0);
|
|
1981
|
-
return BigInt.asUintN(64, ret);
|
|
2073
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default() {
|
|
2074
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default();
|
|
2075
|
+
return ret;
|
|
1982
2076
|
}
|
|
1983
|
-
function
|
|
1984
|
-
const ret = wasm.
|
|
2077
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_version() {
|
|
2078
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_version();
|
|
1985
2079
|
return ret;
|
|
1986
2080
|
}
|
|
1987
|
-
function
|
|
1988
|
-
wasm.
|
|
2081
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes() {
|
|
2082
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes();
|
|
2083
|
+
return ret;
|
|
1989
2084
|
}
|
|
1990
|
-
function
|
|
1991
|
-
const ret = wasm.
|
|
1992
|
-
return
|
|
2085
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize() {
|
|
2086
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize();
|
|
2087
|
+
return ret;
|
|
1993
2088
|
}
|
|
1994
|
-
function
|
|
1995
|
-
const ret = wasm.
|
|
2089
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_external_sender() {
|
|
2090
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_external_sender();
|
|
1996
2091
|
return ret;
|
|
1997
2092
|
}
|
|
1998
|
-
function
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2002
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2003
|
-
return v1;
|
|
2093
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_is_history_sharing_enabled() {
|
|
2094
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_is_history_sharing_enabled();
|
|
2095
|
+
return ret;
|
|
2004
2096
|
}
|
|
2005
|
-
function
|
|
2006
|
-
wasm.
|
|
2097
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_find_credentials_ffi() {
|
|
2098
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_find_credentials_ffi();
|
|
2099
|
+
return ret;
|
|
2007
2100
|
}
|
|
2008
|
-
function
|
|
2009
|
-
const
|
|
2010
|
-
|
|
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);
|
|
2101
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_credentials() {
|
|
2102
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_credentials();
|
|
2103
|
+
return ret;
|
|
2013
2104
|
}
|
|
2014
|
-
function
|
|
2015
|
-
const ret = wasm.
|
|
2105
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_public_key() {
|
|
2106
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_public_key();
|
|
2016
2107
|
return ret;
|
|
2017
2108
|
}
|
|
2018
|
-
function
|
|
2019
|
-
const
|
|
2020
|
-
|
|
2021
|
-
_assertClass(f_status_, RustCallStatus);
|
|
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);
|
|
2109
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_conversation_state() {
|
|
2110
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_conversation_state();
|
|
2111
|
+
return ret;
|
|
2024
2112
|
}
|
|
2025
|
-
function
|
|
2026
|
-
|
|
2027
|
-
|
|
2113
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_enabled() {
|
|
2114
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_enabled();
|
|
2115
|
+
return ret;
|
|
2028
2116
|
}
|
|
2029
|
-
function
|
|
2030
|
-
const ret = wasm.
|
|
2117
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_pki_env_setup() {
|
|
2118
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_pki_env_setup();
|
|
2031
2119
|
return ret;
|
|
2032
2120
|
}
|
|
2033
|
-
function
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
return BigInt.asUintN(64, ret);
|
|
2121
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string() {
|
|
2122
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string();
|
|
2123
|
+
return ret;
|
|
2037
2124
|
}
|
|
2038
|
-
function
|
|
2039
|
-
const ret = wasm.
|
|
2125
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64() {
|
|
2126
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_u64();
|
|
2040
2127
|
return ret;
|
|
2041
2128
|
}
|
|
2042
|
-
function
|
|
2043
|
-
const ret = wasm.
|
|
2129
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_transaction_ffi() {
|
|
2130
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_transaction_ffi();
|
|
2044
2131
|
return ret;
|
|
2045
2132
|
}
|
|
2046
|
-
function
|
|
2047
|
-
const ret = wasm.
|
|
2133
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_cipher_suite() {
|
|
2134
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_cipher_suite();
|
|
2048
2135
|
return ret;
|
|
2049
2136
|
}
|
|
2050
|
-
function
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
return BigInt.asUintN(64, ret);
|
|
2137
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_credential() {
|
|
2138
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_credential();
|
|
2139
|
+
return ret;
|
|
2054
2140
|
}
|
|
2055
|
-
function
|
|
2056
|
-
const ret = wasm.
|
|
2141
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_epoch() {
|
|
2142
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_epoch();
|
|
2057
2143
|
return ret;
|
|
2058
2144
|
}
|
|
2059
|
-
function
|
|
2060
|
-
const ret = wasm.
|
|
2145
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_exists() {
|
|
2146
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_exists();
|
|
2061
2147
|
return ret;
|
|
2062
2148
|
}
|
|
2063
|
-
function
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
return BigInt.asUintN(64, ret);
|
|
2149
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key() {
|
|
2150
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key();
|
|
2151
|
+
return ret;
|
|
2067
2152
|
}
|
|
2068
|
-
function
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2072
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2073
|
-
return v1;
|
|
2153
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids() {
|
|
2154
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids();
|
|
2155
|
+
return ret;
|
|
2074
2156
|
}
|
|
2075
|
-
function
|
|
2076
|
-
|
|
2077
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2157
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities() {
|
|
2158
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities();
|
|
2078
2159
|
return ret;
|
|
2079
2160
|
}
|
|
2080
|
-
function
|
|
2081
|
-
const ret = wasm.
|
|
2161
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities() {
|
|
2162
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities();
|
|
2082
2163
|
return ret;
|
|
2083
2164
|
}
|
|
2084
|
-
function
|
|
2085
|
-
wasm.
|
|
2165
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_epoch_observer() {
|
|
2166
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_epoch_observer();
|
|
2167
|
+
return ret;
|
|
2086
2168
|
}
|
|
2087
|
-
function
|
|
2088
|
-
wasm.
|
|
2169
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer() {
|
|
2170
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer();
|
|
2171
|
+
return ret;
|
|
2089
2172
|
}
|
|
2090
|
-
function
|
|
2091
|
-
const
|
|
2092
|
-
|
|
2093
|
-
_assertClass(f_status_, RustCallStatus);
|
|
2094
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_groupinfo_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
2095
|
-
return BigInt.asUintN(64, ret);
|
|
2173
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocommand_execute() {
|
|
2174
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocommand_execute();
|
|
2175
|
+
return ret;
|
|
2096
2176
|
}
|
|
2097
|
-
function
|
|
2098
|
-
const
|
|
2099
|
-
|
|
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);
|
|
2177
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_conversationid_copy_bytes() {
|
|
2178
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_conversationid_copy_bytes();
|
|
2179
|
+
return ret;
|
|
2103
2180
|
}
|
|
2104
|
-
function
|
|
2105
|
-
const ret = wasm.
|
|
2181
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed() {
|
|
2182
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_epochobserver_epoch_changed();
|
|
2106
2183
|
return ret;
|
|
2107
2184
|
}
|
|
2108
|
-
function
|
|
2109
|
-
const
|
|
2110
|
-
|
|
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);
|
|
2185
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_historyobserver_history_client_created() {
|
|
2186
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_historyobserver_history_client_created();
|
|
2187
|
+
return ret;
|
|
2113
2188
|
}
|
|
2114
|
-
function
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
return BigInt.asUintN(64, ret);
|
|
2189
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptologger_log() {
|
|
2190
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptologger_log();
|
|
2191
|
+
return ret;
|
|
2118
2192
|
}
|
|
2119
|
-
function
|
|
2120
|
-
const ret = wasm.
|
|
2193
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle() {
|
|
2194
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle();
|
|
2121
2195
|
return ret;
|
|
2122
2196
|
}
|
|
2123
|
-
function
|
|
2124
|
-
const ret = wasm.
|
|
2125
|
-
return
|
|
2197
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport() {
|
|
2198
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport();
|
|
2199
|
+
return ret;
|
|
2126
2200
|
}
|
|
2127
|
-
function
|
|
2128
|
-
const ret = wasm.
|
|
2129
|
-
return
|
|
2201
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_data() {
|
|
2202
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_data();
|
|
2203
|
+
return ret;
|
|
2130
2204
|
}
|
|
2131
|
-
function
|
|
2205
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes() {
|
|
2206
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes();
|
|
2207
|
+
return ret;
|
|
2208
|
+
}
|
|
2209
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2132
2210
|
_assertClass(f_status_, RustCallStatus);
|
|
2133
|
-
const ret = wasm.
|
|
2134
|
-
|
|
2135
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2136
|
-
return v1;
|
|
2211
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2212
|
+
return ret;
|
|
2137
2213
|
}
|
|
2138
|
-
function
|
|
2139
|
-
const ret = wasm.
|
|
2214
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint() {
|
|
2215
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint();
|
|
2140
2216
|
return ret;
|
|
2141
2217
|
}
|
|
2142
|
-
function
|
|
2143
|
-
const
|
|
2144
|
-
|
|
2145
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_create_conversation(ptr, conversation_id, credential_ref, ptr0, len0);
|
|
2146
|
-
return BigInt.asUintN(64, ret);
|
|
2218
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_local() {
|
|
2219
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_local();
|
|
2220
|
+
return ret;
|
|
2147
2221
|
}
|
|
2148
|
-
function
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
return BigInt.asUintN(64, ret);
|
|
2222
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_remote() {
|
|
2223
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint_remote();
|
|
2224
|
+
return ret;
|
|
2152
2225
|
}
|
|
2153
|
-
function
|
|
2154
|
-
wasm.
|
|
2226
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_session_exists() {
|
|
2227
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_session_exists();
|
|
2228
|
+
return ret;
|
|
2155
2229
|
}
|
|
2156
|
-
function
|
|
2157
|
-
wasm.
|
|
2230
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_random_bytes() {
|
|
2231
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_random_bytes();
|
|
2232
|
+
return ret;
|
|
2158
2233
|
}
|
|
2159
|
-
function
|
|
2160
|
-
|
|
2161
|
-
|
|
2234
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_reseed() {
|
|
2235
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_reseed();
|
|
2236
|
+
return ret;
|
|
2162
2237
|
}
|
|
2163
|
-
function
|
|
2164
|
-
const ret = wasm.
|
|
2238
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment() {
|
|
2239
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment();
|
|
2165
2240
|
return ret;
|
|
2166
2241
|
}
|
|
2167
|
-
function
|
|
2168
|
-
const ret = wasm.
|
|
2242
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_set_pki_environment() {
|
|
2243
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_set_pki_environment();
|
|
2169
2244
|
return ret;
|
|
2170
2245
|
}
|
|
2171
|
-
function
|
|
2172
|
-
wasm.
|
|
2246
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data() {
|
|
2247
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data();
|
|
2248
|
+
return ret;
|
|
2173
2249
|
}
|
|
2174
|
-
function
|
|
2175
|
-
const ret = wasm.
|
|
2250
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_conversation_state() {
|
|
2251
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_conversation_state();
|
|
2176
2252
|
return ret;
|
|
2177
2253
|
}
|
|
2178
|
-
function
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
return BigInt.asUintN(64, ret);
|
|
2254
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled() {
|
|
2255
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled();
|
|
2256
|
+
return ret;
|
|
2182
2257
|
}
|
|
2183
|
-
function
|
|
2184
|
-
|
|
2185
|
-
|
|
2258
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_exists() {
|
|
2259
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_exists();
|
|
2260
|
+
return ret;
|
|
2186
2261
|
}
|
|
2187
|
-
function
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2191
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2192
|
-
return v1;
|
|
2262
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_create_conversation() {
|
|
2263
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_create_conversation();
|
|
2264
|
+
return ret;
|
|
2193
2265
|
}
|
|
2194
|
-
function
|
|
2195
|
-
const ret = wasm.
|
|
2266
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_decrypt_message() {
|
|
2267
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_decrypt_message();
|
|
2196
2268
|
return ret;
|
|
2197
2269
|
}
|
|
2198
|
-
function
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2202
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2203
|
-
return v1;
|
|
2270
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_disable_history_sharing() {
|
|
2271
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_disable_history_sharing();
|
|
2272
|
+
return ret;
|
|
2204
2273
|
}
|
|
2205
2274
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_enable_history_sharing() {
|
|
2206
2275
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_enable_history_sharing();
|
|
2207
2276
|
return ret;
|
|
2208
2277
|
}
|
|
2209
|
-
function
|
|
2210
|
-
const ret = wasm.
|
|
2211
|
-
return
|
|
2278
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message() {
|
|
2279
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message();
|
|
2280
|
+
return ret;
|
|
2212
2281
|
}
|
|
2213
|
-
function
|
|
2214
|
-
const ret = wasm.
|
|
2282
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key() {
|
|
2283
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key();
|
|
2215
2284
|
return ret;
|
|
2216
2285
|
}
|
|
2217
|
-
function
|
|
2218
|
-
wasm.
|
|
2286
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package() {
|
|
2287
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package();
|
|
2288
|
+
return ret;
|
|
2219
2289
|
}
|
|
2220
|
-
function
|
|
2221
|
-
const ret = wasm.
|
|
2290
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids() {
|
|
2291
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids();
|
|
2222
2292
|
return ret;
|
|
2223
2293
|
}
|
|
2224
|
-
function
|
|
2225
|
-
const
|
|
2226
|
-
|
|
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);
|
|
2230
|
-
return BigInt.asUintN(64, ret);
|
|
2294
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_device_identities() {
|
|
2295
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_device_identities();
|
|
2296
|
+
return ret;
|
|
2231
2297
|
}
|
|
2232
|
-
function
|
|
2233
|
-
const
|
|
2234
|
-
|
|
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);
|
|
2237
|
-
return BigInt.asUintN(64, ret);
|
|
2298
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities() {
|
|
2299
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_user_identities();
|
|
2300
|
+
return ret;
|
|
2238
2301
|
}
|
|
2239
|
-
function
|
|
2240
|
-
const
|
|
2241
|
-
|
|
2242
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_database_open(ptr0, len0, key);
|
|
2243
|
-
return BigInt.asUintN(64, ret);
|
|
2302
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_clients_to_conversation() {
|
|
2303
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_clients_to_conversation();
|
|
2304
|
+
return ret;
|
|
2244
2305
|
}
|
|
2245
|
-
function
|
|
2246
|
-
const ret = wasm.
|
|
2247
|
-
return
|
|
2306
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_credential() {
|
|
2307
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_add_credential();
|
|
2308
|
+
return ret;
|
|
2248
2309
|
}
|
|
2249
|
-
function
|
|
2250
|
-
const ret = wasm.
|
|
2310
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_check_credentials() {
|
|
2311
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_check_credentials();
|
|
2251
2312
|
return ret;
|
|
2252
2313
|
}
|
|
2253
|
-
function
|
|
2254
|
-
|
|
2255
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2314
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals() {
|
|
2315
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals();
|
|
2256
2316
|
return ret;
|
|
2257
2317
|
}
|
|
2258
|
-
function
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
return BigInt.asUintN(64, ret);
|
|
2318
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite() {
|
|
2319
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite();
|
|
2320
|
+
return ret;
|
|
2262
2321
|
}
|
|
2263
|
-
function
|
|
2264
|
-
const ret = wasm.
|
|
2322
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential() {
|
|
2323
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential();
|
|
2265
2324
|
return ret;
|
|
2266
2325
|
}
|
|
2267
|
-
function
|
|
2268
|
-
const ret = wasm.
|
|
2326
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_epoch() {
|
|
2327
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_epoch();
|
|
2269
2328
|
return ret;
|
|
2270
2329
|
}
|
|
2271
|
-
function
|
|
2272
|
-
const
|
|
2273
|
-
|
|
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);
|
|
2277
|
-
return BigInt.asUintN(64, ret);
|
|
2330
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender() {
|
|
2331
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender();
|
|
2332
|
+
return ret;
|
|
2278
2333
|
}
|
|
2279
|
-
function
|
|
2280
|
-
|
|
2281
|
-
|
|
2334
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages() {
|
|
2335
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages();
|
|
2336
|
+
return ret;
|
|
2282
2337
|
}
|
|
2283
|
-
function
|
|
2284
|
-
const ret = wasm.
|
|
2338
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit() {
|
|
2339
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit();
|
|
2285
2340
|
return ret;
|
|
2286
2341
|
}
|
|
2287
|
-
function
|
|
2288
|
-
|
|
2289
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2342
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt() {
|
|
2343
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt();
|
|
2290
2344
|
return ret;
|
|
2291
2345
|
}
|
|
2292
|
-
function
|
|
2293
|
-
wasm.
|
|
2346
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt_safe() {
|
|
2347
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt_safe();
|
|
2348
|
+
return ret;
|
|
2294
2349
|
}
|
|
2295
|
-
function
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2299
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2300
|
-
return v1;
|
|
2350
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt() {
|
|
2351
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt();
|
|
2352
|
+
return ret;
|
|
2301
2353
|
}
|
|
2302
|
-
function
|
|
2303
|
-
wasm.
|
|
2354
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt_batched() {
|
|
2355
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt_batched();
|
|
2356
|
+
return ret;
|
|
2304
2357
|
}
|
|
2305
|
-
function
|
|
2306
|
-
const ret = wasm.
|
|
2358
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint() {
|
|
2359
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint();
|
|
2307
2360
|
return ret;
|
|
2308
2361
|
}
|
|
2309
|
-
function
|
|
2310
|
-
const ret = wasm.
|
|
2362
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local() {
|
|
2363
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local();
|
|
2311
2364
|
return ret;
|
|
2312
2365
|
}
|
|
2313
|
-
function
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
return BigInt.asUintN(64, ret);
|
|
2366
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_remote() {
|
|
2367
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_remote();
|
|
2368
|
+
return ret;
|
|
2317
2369
|
}
|
|
2318
|
-
function
|
|
2319
|
-
const ret = wasm.
|
|
2370
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init() {
|
|
2371
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init();
|
|
2320
2372
|
return ret;
|
|
2321
2373
|
}
|
|
2322
|
-
function
|
|
2323
|
-
|
|
2324
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2374
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init() {
|
|
2375
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init();
|
|
2325
2376
|
return ret;
|
|
2326
2377
|
}
|
|
2327
|
-
function
|
|
2328
|
-
const ret = wasm.
|
|
2329
|
-
return
|
|
2378
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message() {
|
|
2379
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message();
|
|
2380
|
+
return ret;
|
|
2330
2381
|
}
|
|
2331
|
-
function
|
|
2332
|
-
const
|
|
2333
|
-
|
|
2334
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle(ptr, ptr0, len0);
|
|
2335
|
-
return BigInt.asUintN(64, ret);
|
|
2382
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_clients_from_conversation() {
|
|
2383
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_clients_from_conversation();
|
|
2384
|
+
return ret;
|
|
2336
2385
|
}
|
|
2337
|
-
function
|
|
2338
|
-
|
|
2339
|
-
|
|
2386
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_credential() {
|
|
2387
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_credential();
|
|
2388
|
+
return ret;
|
|
2389
|
+
}
|
|
2390
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_package() {
|
|
2391
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_package();
|
|
2392
|
+
return ret;
|
|
2340
2393
|
}
|
|
2341
|
-
function
|
|
2342
|
-
const ret = wasm.
|
|
2394
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_packages_for() {
|
|
2395
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_packages_for();
|
|
2343
2396
|
return ret;
|
|
2344
2397
|
}
|
|
2345
|
-
function
|
|
2346
|
-
const ret = wasm.
|
|
2398
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_conversation_credential() {
|
|
2399
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_conversation_credential();
|
|
2347
2400
|
return ret;
|
|
2348
2401
|
}
|
|
2349
|
-
function
|
|
2350
|
-
const ret = wasm.
|
|
2402
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_update_keying_material() {
|
|
2403
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_update_keying_material();
|
|
2351
2404
|
return ret;
|
|
2352
2405
|
}
|
|
2353
|
-
function
|
|
2354
|
-
|
|
2355
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_.__wbg_ptr);
|
|
2406
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_wipe_conversation() {
|
|
2407
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_wipe_conversation();
|
|
2356
2408
|
return ret;
|
|
2357
2409
|
}
|
|
2358
|
-
function
|
|
2359
|
-
const ret = wasm.
|
|
2410
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey() {
|
|
2411
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey();
|
|
2360
2412
|
return ret;
|
|
2361
2413
|
}
|
|
2362
|
-
function
|
|
2363
|
-
const ret = wasm.
|
|
2414
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey() {
|
|
2415
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey();
|
|
2364
2416
|
return ret;
|
|
2365
2417
|
}
|
|
2366
|
-
function
|
|
2367
|
-
|
|
2368
|
-
|
|
2418
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto() {
|
|
2419
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto();
|
|
2420
|
+
return ret;
|
|
2369
2421
|
}
|
|
2370
|
-
function
|
|
2371
|
-
const
|
|
2372
|
-
|
|
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);
|
|
2376
|
-
return BigInt.asUintN(64, ret);
|
|
2422
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_delete() {
|
|
2423
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_delete();
|
|
2424
|
+
return ret;
|
|
2377
2425
|
}
|
|
2378
|
-
function
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2382
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2383
|
-
return v1;
|
|
2426
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_signature_scheme() {
|
|
2427
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_signature_scheme();
|
|
2428
|
+
return ret;
|
|
2384
2429
|
}
|
|
2385
|
-
function
|
|
2386
|
-
const ret = wasm.
|
|
2387
|
-
return
|
|
2430
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_type() {
|
|
2431
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_type();
|
|
2432
|
+
return ret;
|
|
2388
2433
|
}
|
|
2389
|
-
function
|
|
2390
|
-
wasm.
|
|
2434
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_cipher_suite() {
|
|
2435
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_cipher_suite();
|
|
2436
|
+
return ret;
|
|
2391
2437
|
}
|
|
2392
|
-
function
|
|
2393
|
-
const ret = wasm.
|
|
2438
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_client_id() {
|
|
2439
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_client_id();
|
|
2394
2440
|
return ret;
|
|
2395
2441
|
}
|
|
2396
|
-
function
|
|
2397
|
-
const ret = wasm.
|
|
2442
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_earliest_validity() {
|
|
2443
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_earliest_validity();
|
|
2398
2444
|
return ret;
|
|
2399
2445
|
}
|
|
2400
|
-
function
|
|
2401
|
-
const
|
|
2402
|
-
|
|
2403
|
-
const ptr1 = passArray8ToWasm0(key_auth, wasm.__wbindgen_malloc);
|
|
2404
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2405
|
-
const ptr2 = passArray8ToWasm0(acme_aud, wasm.__wbindgen_malloc);
|
|
2406
|
-
const len2 = WASM_VECTOR_LEN;
|
|
2407
|
-
const ptr3 = passArray8ToWasm0(acquisition_snapshot, wasm.__wbindgen_malloc);
|
|
2408
|
-
const len3 = WASM_VECTOR_LEN;
|
|
2409
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
2410
|
-
return BigInt.asUintN(64, ret);
|
|
2446
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_public_key_hash() {
|
|
2447
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_public_key_hash();
|
|
2448
|
+
return ret;
|
|
2411
2449
|
}
|
|
2412
|
-
function
|
|
2413
|
-
const ret = wasm.
|
|
2450
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_signature_scheme() {
|
|
2451
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_signature_scheme();
|
|
2414
2452
|
return ret;
|
|
2415
2453
|
}
|
|
2416
|
-
function
|
|
2417
|
-
const
|
|
2418
|
-
|
|
2419
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_historyobserver_history_client_created(ptr, conversation_id, ptr0, len0);
|
|
2420
|
-
return BigInt.asUintN(64, ret);
|
|
2454
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type() {
|
|
2455
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type();
|
|
2456
|
+
return ret;
|
|
2421
2457
|
}
|
|
2422
|
-
function
|
|
2458
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_close() {
|
|
2459
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_close();
|
|
2460
|
+
return ret;
|
|
2461
|
+
}
|
|
2462
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
2423
2463
|
_assertClass(f_status_, RustCallStatus);
|
|
2424
|
-
const ret = wasm.
|
|
2425
|
-
|
|
2426
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2427
|
-
return v1;
|
|
2464
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2465
|
+
return ret;
|
|
2428
2466
|
}
|
|
2429
|
-
function
|
|
2430
|
-
wasm.
|
|
2467
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_exists() {
|
|
2468
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_exists();
|
|
2469
|
+
return ret;
|
|
2431
2470
|
}
|
|
2432
|
-
function
|
|
2433
|
-
const ret = wasm.
|
|
2471
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_message() {
|
|
2472
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_message();
|
|
2434
2473
|
return ret;
|
|
2435
2474
|
}
|
|
2436
|
-
function
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
return BigInt.asUintN(64, ret);
|
|
2475
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_prekey() {
|
|
2476
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_from_prekey();
|
|
2477
|
+
return ret;
|
|
2440
2478
|
}
|
|
2441
|
-
function
|
|
2442
|
-
|
|
2443
|
-
|
|
2479
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save() {
|
|
2480
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save();
|
|
2481
|
+
return ret;
|
|
2444
2482
|
}
|
|
2445
|
-
function
|
|
2446
|
-
const ret = wasm.
|
|
2483
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes() {
|
|
2484
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes();
|
|
2447
2485
|
return ret;
|
|
2448
2486
|
}
|
|
2449
|
-
function
|
|
2450
|
-
const ret = wasm.
|
|
2487
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_welcome_serialize() {
|
|
2488
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_welcome_serialize();
|
|
2451
2489
|
return ret;
|
|
2452
2490
|
}
|
|
2453
2491
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_earliest_validity() {
|
|
2454
2492
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_earliest_validity();
|
|
2455
2493
|
return ret;
|
|
2456
2494
|
}
|
|
2457
|
-
function
|
|
2458
|
-
const ret = wasm.
|
|
2459
|
-
return
|
|
2495
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem() {
|
|
2496
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem();
|
|
2497
|
+
return ret;
|
|
2460
2498
|
}
|
|
2461
|
-
function
|
|
2462
|
-
const ret = wasm.
|
|
2499
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location() {
|
|
2500
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location();
|
|
2463
2501
|
return ret;
|
|
2464
2502
|
}
|
|
2465
|
-
function
|
|
2466
|
-
const
|
|
2467
|
-
|
|
2468
|
-
_assertClass(f_status_, RustCallStatus);
|
|
2469
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
2470
|
-
return BigInt.asUintN(64, ret);
|
|
2503
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key() {
|
|
2504
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key();
|
|
2505
|
+
return ret;
|
|
2471
2506
|
}
|
|
2472
|
-
function
|
|
2473
|
-
|
|
2474
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2507
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_x509credentialacquisition_finalize() {
|
|
2508
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_x509credentialacquisition_finalize();
|
|
2475
2509
|
return ret;
|
|
2476
2510
|
}
|
|
2477
|
-
function
|
|
2478
|
-
const ret = wasm.
|
|
2511
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor() {
|
|
2512
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor();
|
|
2479
2513
|
return ret;
|
|
2480
2514
|
}
|
|
2481
|
-
function
|
|
2482
|
-
const ret = wasm.
|
|
2483
|
-
return
|
|
2515
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request() {
|
|
2516
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request();
|
|
2517
|
+
return ret;
|
|
2484
2518
|
}
|
|
2485
|
-
function
|
|
2486
|
-
const ret = wasm.
|
|
2519
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate() {
|
|
2520
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate();
|
|
2487
2521
|
return ret;
|
|
2488
2522
|
}
|
|
2489
|
-
function
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
return BigInt.asUintN(64, ret);
|
|
2523
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce() {
|
|
2524
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce();
|
|
2525
|
+
return ret;
|
|
2493
2526
|
}
|
|
2494
|
-
function
|
|
2495
|
-
const
|
|
2496
|
-
|
|
2497
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptoffi_e2ei_is_enabled(ptr, ptr0, len0);
|
|
2498
|
-
return BigInt.asUintN(64, ret);
|
|
2527
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token() {
|
|
2528
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token();
|
|
2529
|
+
return ret;
|
|
2499
2530
|
}
|
|
2500
|
-
function
|
|
2501
|
-
const ret = wasm.
|
|
2502
|
-
return
|
|
2531
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new() {
|
|
2532
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new();
|
|
2533
|
+
return ret;
|
|
2503
2534
|
}
|
|
2504
|
-
function
|
|
2505
|
-
wasm.
|
|
2535
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string() {
|
|
2536
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string();
|
|
2537
|
+
return ret;
|
|
2506
2538
|
}
|
|
2507
|
-
function
|
|
2508
|
-
const ret = wasm.
|
|
2539
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new() {
|
|
2540
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new();
|
|
2509
2541
|
return ret;
|
|
2510
2542
|
}
|
|
2511
|
-
function
|
|
2512
|
-
const ret = wasm.
|
|
2513
|
-
return
|
|
2543
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new() {
|
|
2544
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new();
|
|
2545
|
+
return ret;
|
|
2514
2546
|
}
|
|
2515
|
-
function
|
|
2516
|
-
const ret = wasm.
|
|
2547
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize() {
|
|
2548
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize();
|
|
2517
2549
|
return ret;
|
|
2518
2550
|
}
|
|
2519
|
-
function
|
|
2520
|
-
const
|
|
2521
|
-
|
|
2522
|
-
_assertClass(f_status_, RustCallStatus);
|
|
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);
|
|
2551
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_ref() {
|
|
2552
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_ref();
|
|
2553
|
+
return ret;
|
|
2525
2554
|
}
|
|
2526
|
-
function
|
|
2527
|
-
const ret = wasm.
|
|
2555
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_serialize() {
|
|
2556
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackage_serialize();
|
|
2528
2557
|
return ret;
|
|
2529
2558
|
}
|
|
2530
|
-
function
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
return BigInt.asUintN(64, ret);
|
|
2559
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_cipher_suite() {
|
|
2560
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_cipher_suite();
|
|
2561
|
+
return ret;
|
|
2534
2562
|
}
|
|
2535
|
-
function
|
|
2536
|
-
const ret = wasm.
|
|
2537
|
-
return
|
|
2563
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_credential_type() {
|
|
2564
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_credential_type();
|
|
2565
|
+
return ret;
|
|
2538
2566
|
}
|
|
2539
|
-
function
|
|
2540
|
-
const ret = wasm.
|
|
2541
|
-
return
|
|
2567
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_hash_ref() {
|
|
2568
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_hash_ref();
|
|
2569
|
+
return ret;
|
|
2542
2570
|
}
|
|
2543
|
-
function
|
|
2544
|
-
const ret = wasm.
|
|
2571
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_is_valid() {
|
|
2572
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_is_valid();
|
|
2545
2573
|
return ret;
|
|
2546
2574
|
}
|
|
2547
|
-
function
|
|
2548
|
-
const ret = wasm.
|
|
2575
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_signature_scheme() {
|
|
2576
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_signature_scheme();
|
|
2577
|
+
return ret;
|
|
2578
|
+
}
|
|
2579
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert() {
|
|
2580
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert();
|
|
2549
2581
|
return ret;
|
|
2550
2582
|
}
|
|
2551
|
-
function
|
|
2552
|
-
const
|
|
2553
|
-
|
|
2554
|
-
_assertClass(f_status_, RustCallStatus);
|
|
2555
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
2556
|
-
return BigInt.asUintN(64, ret);
|
|
2557
|
-
}
|
|
2558
|
-
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_package(ptr, kp_ref) {
|
|
2559
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_key_package(ptr, kp_ref);
|
|
2560
|
-
return BigInt.asUintN(64, ret);
|
|
2583
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptoffi_new() {
|
|
2584
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptoffi_new();
|
|
2585
|
+
return ret;
|
|
2561
2586
|
}
|
|
2562
|
-
function
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2566
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2567
|
-
return v1;
|
|
2587
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new() {
|
|
2588
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new();
|
|
2589
|
+
return ret;
|
|
2568
2590
|
}
|
|
2569
|
-
function
|
|
2570
|
-
const ret = wasm.
|
|
2591
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptocontext_new() {
|
|
2592
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptocontext_new();
|
|
2571
2593
|
return ret;
|
|
2572
2594
|
}
|
|
2573
2595
|
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new_from_credential_ref() {
|
|
2574
2596
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new_from_credential_ref();
|
|
2575
2597
|
return ret;
|
|
2576
2598
|
}
|
|
2577
|
-
function
|
|
2578
|
-
const ret = wasm.
|
|
2599
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse() {
|
|
2600
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse();
|
|
2579
2601
|
return ret;
|
|
2580
2602
|
}
|
|
2581
|
-
function
|
|
2582
|
-
const ret = wasm.
|
|
2603
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk() {
|
|
2604
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk();
|
|
2583
2605
|
return ret;
|
|
2584
2606
|
}
|
|
2585
|
-
function
|
|
2586
|
-
const ret = wasm.
|
|
2607
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key() {
|
|
2608
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key();
|
|
2587
2609
|
return ret;
|
|
2588
2610
|
}
|
|
2589
|
-
function
|
|
2590
|
-
const ret = wasm.
|
|
2591
|
-
return BigInt.asUintN(64, ret);
|
|
2592
|
-
}
|
|
2593
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new() {
|
|
2594
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new();
|
|
2611
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new() {
|
|
2612
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new();
|
|
2595
2613
|
return ret;
|
|
2596
2614
|
}
|
|
2597
|
-
function
|
|
2598
|
-
|
|
2599
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_.__wbg_ptr);
|
|
2615
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new() {
|
|
2616
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new();
|
|
2600
2617
|
return ret;
|
|
2601
2618
|
}
|
|
2602
|
-
function
|
|
2603
|
-
const ret = wasm.
|
|
2619
|
+
function ubrn_ffi_core_crypto_ffi_uniffi_contract_version() {
|
|
2620
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_uniffi_contract_version();
|
|
2621
|
+
return ret >>> 0;
|
|
2622
|
+
}
|
|
2623
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_groupinfo_new() {
|
|
2624
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_groupinfo_new();
|
|
2604
2625
|
return ret;
|
|
2605
2626
|
}
|
|
2606
|
-
function
|
|
2607
|
-
const ret = wasm.
|
|
2627
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new() {
|
|
2628
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_secretkey_new();
|
|
2608
2629
|
return ret;
|
|
2609
2630
|
}
|
|
2610
|
-
function
|
|
2611
|
-
const ret = wasm.
|
|
2612
|
-
return
|
|
2631
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new() {
|
|
2632
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new();
|
|
2633
|
+
return ret;
|
|
2613
2634
|
}
|
|
2614
|
-
function
|
|
2615
|
-
const ret = wasm.
|
|
2616
|
-
return
|
|
2635
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_credential_basic() {
|
|
2636
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_credential_basic();
|
|
2637
|
+
return ret;
|
|
2617
2638
|
}
|
|
2618
|
-
function
|
|
2619
|
-
|
|
2620
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2639
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory() {
|
|
2640
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory();
|
|
2621
2641
|
return ret;
|
|
2622
2642
|
}
|
|
2623
|
-
function
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
return BigInt.asUintN(64, ret);
|
|
2643
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open() {
|
|
2644
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open();
|
|
2645
|
+
return ret;
|
|
2627
2646
|
}
|
|
2628
|
-
function
|
|
2629
|
-
wasm.
|
|
2647
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new() {
|
|
2648
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new();
|
|
2649
|
+
return ret;
|
|
2630
2650
|
}
|
|
2631
|
-
function
|
|
2632
|
-
|
|
2633
|
-
|
|
2651
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes() {
|
|
2652
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes();
|
|
2653
|
+
return ret;
|
|
2634
2654
|
}
|
|
2635
|
-
function
|
|
2636
|
-
|
|
2637
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_externalsender_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2655
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new() {
|
|
2656
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new();
|
|
2638
2657
|
return ret;
|
|
2639
2658
|
}
|
|
2640
|
-
function
|
|
2659
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f_status_) {
|
|
2641
2660
|
_assertClass(f_status_, RustCallStatus);
|
|
2642
|
-
const ret = wasm.
|
|
2643
|
-
|
|
2644
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2645
|
-
return v1;
|
|
2661
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
2662
|
+
return BigInt.asUintN(64, ret);
|
|
2646
2663
|
}
|
|
2647
|
-
function
|
|
2664
|
+
function ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_) {
|
|
2648
2665
|
_assertClass(f_status_, RustCallStatus);
|
|
2649
|
-
wasm.
|
|
2666
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_.__wbg_ptr);
|
|
2667
|
+
return BigInt.asUintN(64, ret);
|
|
2650
2668
|
}
|
|
2651
|
-
function
|
|
2652
|
-
const ptr0 = passArray8ToWasm0(jwk, wasm.__wbindgen_malloc);
|
|
2653
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2669
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(handle, f_status_) {
|
|
2654
2670
|
_assertClass(f_status_, RustCallStatus);
|
|
2655
|
-
|
|
2656
|
-
return BigInt.asUintN(64, ret);
|
|
2671
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_deviceid(handle, f_status_.__wbg_ptr);
|
|
2657
2672
|
}
|
|
2658
2673
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(hex_string, f_status_) {
|
|
2659
2674
|
const ptr0 = passArray8ToWasm0(hex_string, wasm.__wbindgen_malloc);
|
|
@@ -2662,35 +2677,38 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(hex
|
|
|
2662
2677
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_from_hex_string(ptr0, len0, f_status_.__wbg_ptr);
|
|
2663
2678
|
return BigInt.asUintN(64, ret);
|
|
2664
2679
|
}
|
|
2665
|
-
function
|
|
2666
|
-
|
|
2680
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_) {
|
|
2681
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2682
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_.__wbg_ptr);
|
|
2683
|
+
return BigInt.asUintN(64, ret);
|
|
2667
2684
|
}
|
|
2668
|
-
function
|
|
2669
|
-
|
|
2670
|
-
return ret;
|
|
2685
|
+
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECs23g10cbCpHB_3idb(arg0, arg1, arg2) {
|
|
2686
|
+
wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECs23g10cbCpHB_3idb(arg0, arg1, arg2);
|
|
2671
2687
|
}
|
|
2672
|
-
function
|
|
2673
|
-
wasm.
|
|
2688
|
+
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtB8_7JsValueuECs1CdnCKNhB1d_20wasm_bindgen_futures(arg0, arg1, arg2) {
|
|
2689
|
+
wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtB8_7JsValueuECs1CdnCKNhB1d_20wasm_bindgen_futures(arg0, arg1, arg2);
|
|
2674
2690
|
}
|
|
2675
|
-
function
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
return
|
|
2691
|
+
function takeFromExternrefTable0(idx) {
|
|
2692
|
+
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
2693
|
+
wasm.__externref_table_dealloc(idx);
|
|
2694
|
+
return value;
|
|
2679
2695
|
}
|
|
2680
|
-
function
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2696
|
+
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventINtNtCsdkdt1aaAg1T_4core6result6ResultuNtB8_7JsValueEECs8XZ7I9GocMb_15core_crypto_ffi(arg0, arg1, arg2) {
|
|
2697
|
+
const ret = wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventINtNtCsdkdt1aaAg1T_4core6result6ResultuNtB8_7JsValueEECs8XZ7I9GocMb_15core_crypto_ffi(arg0, arg1, arg2);
|
|
2698
|
+
if (ret[1]) {
|
|
2699
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
2700
|
+
}
|
|
2684
2701
|
}
|
|
2685
|
-
function
|
|
2686
|
-
wasm.
|
|
2702
|
+
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress0_1__6invokeuECsckjKPEl01w1_18indexed_db_futures(arg0, arg1) {
|
|
2703
|
+
wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress0_1__6invokeuECsckjKPEl01w1_18indexed_db_futures(arg0, arg1);
|
|
2687
2704
|
}
|
|
2688
|
-
function
|
|
2689
|
-
wasm.
|
|
2705
|
+
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventuECs9dh8yPvxFbN_20core_crypto_keystore(arg0, arg1, arg2) {
|
|
2706
|
+
wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventuECs9dh8yPvxFbN_20core_crypto_keystore(arg0, arg1, arg2);
|
|
2690
2707
|
}
|
|
2691
|
-
function
|
|
2692
|
-
wasm.
|
|
2708
|
+
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECsckjKPEl01w1_18indexed_db_futures(arg0, arg1, arg2) {
|
|
2709
|
+
wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECsckjKPEl01w1_18indexed_db_futures(arg0, arg1, arg2);
|
|
2693
2710
|
}
|
|
2711
|
+
var __wbindgen_enum_IdbRequestReadyState = ["pending", "done"];
|
|
2694
2712
|
var __wbindgen_enum_IdbTransactionMode = ["readonly", "readwrite", "versionchange", "readwriteflush", "cleanup"];
|
|
2695
2713
|
var ForeignFutureCompleteF32Finalization = typeof FinalizationRegistry === "undefined" ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry((ptr) => wasm.__wbg_foreignfuturecompletef32_free(ptr >>> 0, 1));
|
|
2696
2714
|
|
|
@@ -2959,6 +2977,13 @@ class RustCallStatus {
|
|
|
2959
2977
|
const ptr = this.__destroy_into_raw();
|
|
2960
2978
|
wasm.__wbg_rustcallstatus_free(ptr, 0);
|
|
2961
2979
|
}
|
|
2980
|
+
get code() {
|
|
2981
|
+
const ret = wasm.__wbg_get_rustcallstatus_code(this.__wbg_ptr);
|
|
2982
|
+
return ret;
|
|
2983
|
+
}
|
|
2984
|
+
set code(arg0) {
|
|
2985
|
+
wasm.__wbg_set_rustcallstatus_code(this.__wbg_ptr, arg0);
|
|
2986
|
+
}
|
|
2962
2987
|
set errorBuf(bytes) {
|
|
2963
2988
|
var ptr0 = isLikeNone(bytes) ? 0 : passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
2964
2989
|
var len0 = WASM_VECTOR_LEN;
|
|
@@ -2980,13 +3005,6 @@ class RustCallStatus {
|
|
|
2980
3005
|
}
|
|
2981
3006
|
return v1;
|
|
2982
3007
|
}
|
|
2983
|
-
get code() {
|
|
2984
|
-
const ret = wasm.__wbg_get_rustcallstatus_code(this.__wbg_ptr);
|
|
2985
|
-
return ret;
|
|
2986
|
-
}
|
|
2987
|
-
set code(arg0) {
|
|
2988
|
-
wasm.__wbg_set_rustcallstatus_code(this.__wbg_ptr, arg0);
|
|
2989
|
-
}
|
|
2990
3008
|
}
|
|
2991
3009
|
if (Symbol.dispose)
|
|
2992
3010
|
RustCallStatus.prototype[Symbol.dispose] = RustCallStatus.prototype.free;
|
|
@@ -3034,6 +3052,14 @@ function __wbg_get_imports() {
|
|
|
3034
3052
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3035
3053
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3036
3054
|
};
|
|
3055
|
+
imports.wbg.__wbg_Window_41559019033ede94 = function(arg0) {
|
|
3056
|
+
const ret = arg0.Window;
|
|
3057
|
+
return ret;
|
|
3058
|
+
};
|
|
3059
|
+
imports.wbg.__wbg_WorkerGlobalScope_d324bffbeaef9f3a = function(arg0) {
|
|
3060
|
+
const ret = arg0.WorkerGlobalScope;
|
|
3061
|
+
return ret;
|
|
3062
|
+
};
|
|
3037
3063
|
imports.wbg.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function(arg0, arg1) {
|
|
3038
3064
|
const v = arg1;
|
|
3039
3065
|
const ret = typeof v === "bigint" ? v : undefined;
|
|
@@ -3109,10 +3135,21 @@ function __wbg_get_imports() {
|
|
|
3109
3135
|
imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
|
|
3110
3136
|
arg0._wbg_cb_unref();
|
|
3111
3137
|
};
|
|
3138
|
+
imports.wbg.__wbg_abort_3b256cd5ad0ac232 = function() {
|
|
3139
|
+
return handleError(function(arg0) {
|
|
3140
|
+
arg0.abort();
|
|
3141
|
+
}, arguments);
|
|
3142
|
+
};
|
|
3112
3143
|
imports.wbg.__wbg_authenticate_00cfeef013fc9352 = function(arg0) {
|
|
3113
3144
|
const ret = arg0.authenticate;
|
|
3114
3145
|
return ret;
|
|
3115
3146
|
};
|
|
3147
|
+
imports.wbg.__wbg_bound_7b891dbfb3be3593 = function() {
|
|
3148
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
3149
|
+
const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
|
|
3150
|
+
return ret;
|
|
3151
|
+
}, arguments);
|
|
3152
|
+
};
|
|
3116
3153
|
imports.wbg.__wbg_call_0a038bd355a7b8e5 = function(arg0, arg1, arg2) {
|
|
3117
3154
|
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
3118
3155
|
};
|
|
@@ -3249,6 +3286,12 @@ function __wbg_get_imports() {
|
|
|
3249
3286
|
var ptr1 = ret.__destroy_into_raw();
|
|
3250
3287
|
return ptr1;
|
|
3251
3288
|
};
|
|
3289
|
+
imports.wbg.__wbg_clear_9214baf36e6f1771 = function() {
|
|
3290
|
+
return handleError(function(arg0) {
|
|
3291
|
+
const ret = arg0.clear();
|
|
3292
|
+
return ret;
|
|
3293
|
+
}, arguments);
|
|
3294
|
+
};
|
|
3252
3295
|
imports.wbg.__wbg_close_74386af11ef5ae35 = function(arg0) {
|
|
3253
3296
|
arg0.close();
|
|
3254
3297
|
};
|
|
@@ -3256,16 +3299,9 @@ function __wbg_get_imports() {
|
|
|
3256
3299
|
const ret = arg0.code;
|
|
3257
3300
|
return ret;
|
|
3258
3301
|
};
|
|
3259
|
-
imports.wbg.
|
|
3302
|
+
imports.wbg.__wbg_commit_a54edce65f3858f2 = function() {
|
|
3260
3303
|
return handleError(function(arg0) {
|
|
3261
|
-
|
|
3262
|
-
return ret;
|
|
3263
|
-
}, arguments);
|
|
3264
|
-
};
|
|
3265
|
-
imports.wbg.__wbg_count_bae74599febeb9cc = function() {
|
|
3266
|
-
return handleError(function(arg0, arg1) {
|
|
3267
|
-
const ret = arg0.count(arg1);
|
|
3268
|
-
return ret;
|
|
3304
|
+
arg0.commit();
|
|
3269
3305
|
}, arguments);
|
|
3270
3306
|
};
|
|
3271
3307
|
imports.wbg.__wbg_createIndex_80b227ebee437462 = function() {
|
|
@@ -3290,6 +3326,12 @@ function __wbg_get_imports() {
|
|
|
3290
3326
|
const ret = arg0.crypto;
|
|
3291
3327
|
return ret;
|
|
3292
3328
|
};
|
|
3329
|
+
imports.wbg.__wbg_deleteDatabase_5717f87a73ae5ac5 = function() {
|
|
3330
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
3331
|
+
const ret = arg0.deleteDatabase(getStringFromWasm0(arg1, arg2));
|
|
3332
|
+
return ret;
|
|
3333
|
+
}, arguments);
|
|
3334
|
+
};
|
|
3293
3335
|
imports.wbg.__wbg_deleteIndex_34dd22a93e8c22c2 = function() {
|
|
3294
3336
|
return handleError(function(arg0, arg1, arg2) {
|
|
3295
3337
|
arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
|
|
@@ -3452,16 +3494,14 @@ function __wbg_get_imports() {
|
|
|
3452
3494
|
return ret;
|
|
3453
3495
|
}, arguments);
|
|
3454
3496
|
};
|
|
3455
|
-
imports.wbg.__wbg_get_fb1fa70beb44a754 = function() {
|
|
3456
|
-
return handleError(function(arg0, arg1) {
|
|
3457
|
-
const ret = arg0.get(arg1);
|
|
3458
|
-
return ret;
|
|
3459
|
-
}, arguments);
|
|
3460
|
-
};
|
|
3461
3497
|
imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
3462
3498
|
const ret = arg0[arg1];
|
|
3463
3499
|
return ret;
|
|
3464
3500
|
};
|
|
3501
|
+
imports.wbg.__wbg_global_f5c2926e57ba457f = function(arg0) {
|
|
3502
|
+
const ret = arg0.global;
|
|
3503
|
+
return ret;
|
|
3504
|
+
};
|
|
3465
3505
|
imports.wbg.__wbg_handle_d67b78e712aafd37 = function(arg0) {
|
|
3466
3506
|
const ret = arg0.handle;
|
|
3467
3507
|
return ret;
|
|
@@ -3484,6 +3524,24 @@ function __wbg_get_imports() {
|
|
|
3484
3524
|
return ret;
|
|
3485
3525
|
}, arguments);
|
|
3486
3526
|
};
|
|
3527
|
+
imports.wbg.__wbg_indexedDB_54f01430b1e194e8 = function() {
|
|
3528
|
+
return handleError(function(arg0) {
|
|
3529
|
+
const ret = arg0.indexedDB;
|
|
3530
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3531
|
+
}, arguments);
|
|
3532
|
+
};
|
|
3533
|
+
imports.wbg.__wbg_indexedDB_62bfbbd55ec74b14 = function() {
|
|
3534
|
+
return handleError(function(arg0) {
|
|
3535
|
+
const ret = arg0.indexedDB;
|
|
3536
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3537
|
+
}, arguments);
|
|
3538
|
+
};
|
|
3539
|
+
imports.wbg.__wbg_indexedDB_8b464318fe56681e = function() {
|
|
3540
|
+
return handleError(function(arg0) {
|
|
3541
|
+
const ret = arg0.indexedDB;
|
|
3542
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3543
|
+
}, arguments);
|
|
3544
|
+
};
|
|
3487
3545
|
imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
|
|
3488
3546
|
let result;
|
|
3489
3547
|
try {
|
|
@@ -3494,6 +3552,26 @@ function __wbg_get_imports() {
|
|
|
3494
3552
|
const ret = result;
|
|
3495
3553
|
return ret;
|
|
3496
3554
|
};
|
|
3555
|
+
imports.wbg.__wbg_instanceof_DomException_83b15e7b042a0b1a = function(arg0) {
|
|
3556
|
+
let result;
|
|
3557
|
+
try {
|
|
3558
|
+
result = arg0 instanceof DOMException;
|
|
3559
|
+
} catch (_) {
|
|
3560
|
+
result = false;
|
|
3561
|
+
}
|
|
3562
|
+
const ret = result;
|
|
3563
|
+
return ret;
|
|
3564
|
+
};
|
|
3565
|
+
imports.wbg.__wbg_instanceof_Error_a944ec10920129e2 = function(arg0) {
|
|
3566
|
+
let result;
|
|
3567
|
+
try {
|
|
3568
|
+
result = arg0 instanceof Error;
|
|
3569
|
+
} catch (_) {
|
|
3570
|
+
result = false;
|
|
3571
|
+
}
|
|
3572
|
+
const ret = result;
|
|
3573
|
+
return ret;
|
|
3574
|
+
};
|
|
3497
3575
|
imports.wbg.__wbg_instanceof_IdbDatabase_fcf75ffeeec3ec8c = function(arg0) {
|
|
3498
3576
|
let result;
|
|
3499
3577
|
try {
|
|
@@ -3588,6 +3666,12 @@ function __wbg_get_imports() {
|
|
|
3588
3666
|
const ret = arg0.log;
|
|
3589
3667
|
return ret;
|
|
3590
3668
|
};
|
|
3669
|
+
imports.wbg.__wbg_lowerBound_738117f2d23f503a = function() {
|
|
3670
|
+
return handleError(function(arg0, arg1) {
|
|
3671
|
+
const ret = IDBKeyRange.lowerBound(arg0, arg1 !== 0);
|
|
3672
|
+
return ret;
|
|
3673
|
+
}, arguments);
|
|
3674
|
+
};
|
|
3591
3675
|
imports.wbg.__wbg_message_1ee258909d7264fd = function(arg0) {
|
|
3592
3676
|
const ret = arg0.message;
|
|
3593
3677
|
return ret;
|
|
@@ -3607,7 +3691,7 @@ function __wbg_get_imports() {
|
|
|
3607
3691
|
const ret = arg0.multiEntry;
|
|
3608
3692
|
return ret;
|
|
3609
3693
|
};
|
|
3610
|
-
imports.wbg.
|
|
3694
|
+
imports.wbg.__wbg_name_3a33ad25b892b2dd = function(arg0, arg1) {
|
|
3611
3695
|
const ret = arg1.name;
|
|
3612
3696
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3613
3697
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3634,6 +3718,10 @@ function __wbg_get_imports() {
|
|
|
3634
3718
|
const ret = new Date(arg0);
|
|
3635
3719
|
return ret;
|
|
3636
3720
|
};
|
|
3721
|
+
imports.wbg.__wbg_new_a7442b4b19c1a356 = function(arg0, arg1) {
|
|
3722
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
3723
|
+
return ret;
|
|
3724
|
+
};
|
|
3637
3725
|
imports.wbg.__wbg_new_e17d9f43105b08be = function() {
|
|
3638
3726
|
const ret = new Array;
|
|
3639
3727
|
return ret;
|
|
@@ -3725,6 +3813,13 @@ function __wbg_get_imports() {
|
|
|
3725
3813
|
return ret;
|
|
3726
3814
|
}, arguments);
|
|
3727
3815
|
};
|
|
3816
|
+
imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
|
|
3817
|
+
const ret = arg0.queueMicrotask;
|
|
3818
|
+
return ret;
|
|
3819
|
+
};
|
|
3820
|
+
imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
|
|
3821
|
+
queueMicrotask(arg0);
|
|
3822
|
+
};
|
|
3728
3823
|
imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() {
|
|
3729
3824
|
return handleError(function(arg0, arg1) {
|
|
3730
3825
|
arg0.randomFillSync(arg1);
|
|
@@ -3734,12 +3829,20 @@ function __wbg_get_imports() {
|
|
|
3734
3829
|
const ret = Math.random();
|
|
3735
3830
|
return ret;
|
|
3736
3831
|
};
|
|
3832
|
+
imports.wbg.__wbg_readyState_51d79bf8ebb8a05c = function(arg0) {
|
|
3833
|
+
const ret = arg0.readyState;
|
|
3834
|
+
return (__wbindgen_enum_IdbRequestReadyState.indexOf(ret) + 1 || 3) - 1;
|
|
3835
|
+
};
|
|
3737
3836
|
imports.wbg.__wbg_require_79b1e9274cde3c87 = function() {
|
|
3738
3837
|
return handleError(function() {
|
|
3739
3838
|
const ret = module_wasm_bindgen.require;
|
|
3740
3839
|
return ret;
|
|
3741
3840
|
}, arguments);
|
|
3742
3841
|
};
|
|
3842
|
+
imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
|
|
3843
|
+
const ret = Promise.resolve(arg0);
|
|
3844
|
+
return ret;
|
|
3845
|
+
};
|
|
3743
3846
|
imports.wbg.__wbg_result_25e75004b82b9830 = function() {
|
|
3744
3847
|
return handleError(function(arg0) {
|
|
3745
3848
|
const ret = arg0.result;
|
|
@@ -3800,12 +3903,21 @@ function __wbg_get_imports() {
|
|
|
3800
3903
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
3801
3904
|
arg0[arg1] = arg2;
|
|
3802
3905
|
};
|
|
3906
|
+
imports.wbg.__wbg_set_9e6516df7b7d0f19 = function(arg0, arg1, arg2) {
|
|
3907
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
3908
|
+
};
|
|
3803
3909
|
imports.wbg.__wbg_set_auto_increment_f44ca0bef52b71d4 = function(arg0, arg1) {
|
|
3804
3910
|
arg0.autoIncrement = arg1 !== 0;
|
|
3805
3911
|
};
|
|
3806
3912
|
imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
|
|
3807
3913
|
arg0[arg1 >>> 0] = arg2;
|
|
3808
3914
|
};
|
|
3915
|
+
imports.wbg.__wbg_set_c2abbebe8b9ebee1 = function() {
|
|
3916
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
3917
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
3918
|
+
return ret;
|
|
3919
|
+
}, arguments);
|
|
3920
|
+
};
|
|
3809
3921
|
imports.wbg.__wbg_set_key_path_ff2217f4e8c2caba = function(arg0, arg1) {
|
|
3810
3922
|
arg0.keyPath = arg1;
|
|
3811
3923
|
};
|
|
@@ -3870,10 +3982,24 @@ function __wbg_get_imports() {
|
|
|
3870
3982
|
const ret = arg0.target;
|
|
3871
3983
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3872
3984
|
};
|
|
3985
|
+
imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
|
|
3986
|
+
const ret = arg0.then(arg1);
|
|
3987
|
+
return ret;
|
|
3988
|
+
};
|
|
3873
3989
|
imports.wbg.__wbg_toString_7da7c8dbec78fcb8 = function(arg0) {
|
|
3874
3990
|
const ret = arg0.toString();
|
|
3875
3991
|
return ret;
|
|
3876
3992
|
};
|
|
3993
|
+
imports.wbg.__wbg_transaction_0aa5a83862993431 = function(arg0) {
|
|
3994
|
+
const ret = arg0.transaction;
|
|
3995
|
+
return ret;
|
|
3996
|
+
};
|
|
3997
|
+
imports.wbg.__wbg_transaction_253405fd3a30ed91 = function() {
|
|
3998
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
3999
|
+
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
|
|
4000
|
+
return ret;
|
|
4001
|
+
}, arguments);
|
|
4002
|
+
};
|
|
3877
4003
|
imports.wbg.__wbg_transaction_9fb8349a0a81725c = function(arg0) {
|
|
3878
4004
|
const ret = arg0.transaction;
|
|
3879
4005
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -3936,6 +4062,12 @@ function __wbg_get_imports() {
|
|
|
3936
4062
|
const ret = arg0.unique;
|
|
3937
4063
|
return ret;
|
|
3938
4064
|
};
|
|
4065
|
+
imports.wbg.__wbg_upperBound_8d0e896ba7b1d0ea = function() {
|
|
4066
|
+
return handleError(function(arg0, arg1) {
|
|
4067
|
+
const ret = IDBKeyRange.upperBound(arg0, arg1 !== 0);
|
|
4068
|
+
return ret;
|
|
4069
|
+
}, arguments);
|
|
4070
|
+
};
|
|
3939
4071
|
imports.wbg.__wbg_value_692627309814bb8c = function(arg0) {
|
|
3940
4072
|
const ret = arg0.value;
|
|
3941
4073
|
return ret;
|
|
@@ -3948,6 +4080,10 @@ function __wbg_get_imports() {
|
|
|
3948
4080
|
const ret = arg0.versions;
|
|
3949
4081
|
return ret;
|
|
3950
4082
|
};
|
|
4083
|
+
imports.wbg.__wbindgen_cast_13362a32bfbf4437 = function(arg0, arg1) {
|
|
4084
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCs1v8yTr2kYOM_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventEEp6OutputuEL_ECsckjKPEl01w1_18indexed_db_futures, _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECsckjKPEl01w1_18indexed_db_futures);
|
|
4085
|
+
return ret;
|
|
4086
|
+
};
|
|
3951
4087
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
3952
4088
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
3953
4089
|
return ret;
|
|
@@ -3956,8 +4092,16 @@ function __wbg_get_imports() {
|
|
|
3956
4092
|
const ret = BigInt.asUintN(64, arg0);
|
|
3957
4093
|
return ret;
|
|
3958
4094
|
};
|
|
3959
|
-
imports.wbg.
|
|
3960
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4095
|
+
imports.wbg.__wbindgen_cast_4bd566ee8bca33f5 = function(arg0, arg1) {
|
|
4096
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCs1v8yTr2kYOM_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventEEp6OutputuEL_ECsckjKPEl01w1_18indexed_db_futures, _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress0_1__6invokeuECsckjKPEl01w1_18indexed_db_futures);
|
|
4097
|
+
return ret;
|
|
4098
|
+
};
|
|
4099
|
+
imports.wbg.__wbindgen_cast_55e0497722645319 = function(arg0, arg1) {
|
|
4100
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCs1v8yTr2kYOM_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtB4_7JsValueEEp6OutputuEL_ECs1CdnCKNhB1d_20wasm_bindgen_futures, _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtB8_7JsValueuECs1CdnCKNhB1d_20wasm_bindgen_futures);
|
|
4101
|
+
return ret;
|
|
4102
|
+
};
|
|
4103
|
+
imports.wbg.__wbindgen_cast_6839ba539615cc3f = function(arg0, arg1) {
|
|
4104
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCs1v8yTr2kYOM_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventEEp6OutputuEL_ECs9dh8yPvxFbN_20core_crypto_keystore, _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventuECs9dh8yPvxFbN_20core_crypto_keystore);
|
|
3961
4105
|
return ret;
|
|
3962
4106
|
};
|
|
3963
4107
|
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
|
@@ -3966,8 +4110,12 @@ function __wbg_get_imports() {
|
|
|
3966
4110
|
const ret = v0;
|
|
3967
4111
|
return ret;
|
|
3968
4112
|
};
|
|
3969
|
-
imports.wbg.
|
|
3970
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4113
|
+
imports.wbg.__wbindgen_cast_aaa470e682f93910 = function(arg0, arg1) {
|
|
4114
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCs1v8yTr2kYOM_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventEEp6OutputuEL_ECs23g10cbCpHB_3idb, _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECs23g10cbCpHB_3idb);
|
|
4115
|
+
return ret;
|
|
4116
|
+
};
|
|
4117
|
+
imports.wbg.__wbindgen_cast_c750ad92937d61ae = function(arg0, arg1) {
|
|
4118
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCs1v8yTr2kYOM_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventEEp6OutputINtNtBU_6result6ResultuNtB4_7JsValueEEL_ECs8XZ7I9GocMb_15core_crypto_ffi, _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventINtNtCsdkdt1aaAg1T_4core6result6ResultuNtB8_7JsValueEECs8XZ7I9GocMb_15core_crypto_ffi);
|
|
3971
4119
|
return ret;
|
|
3972
4120
|
};
|
|
3973
4121
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
@@ -3978,10 +4126,6 @@ function __wbg_get_imports() {
|
|
|
3978
4126
|
const ret = arg0;
|
|
3979
4127
|
return ret;
|
|
3980
4128
|
};
|
|
3981
|
-
imports.wbg.__wbindgen_cast_f1f3da7379ef1ffa = function(arg0, arg1) {
|
|
3982
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4d131c08ac6c5c9f, wasm_bindgen__convert__closures_____invoke__h8a69eb43f38473f3);
|
|
3983
|
-
return ret;
|
|
3984
|
-
};
|
|
3985
4129
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
3986
4130
|
const table = wasm.__wbindgen_externrefs;
|
|
3987
4131
|
const offset = table.grow(4);
|
|
@@ -9495,9 +9639,9 @@ class Database extends UniffiAbstractObject {
|
|
|
9495
9639
|
this[pointerLiteralSymbol] = pointer;
|
|
9496
9640
|
this[destructorGuardSymbol] = uniffiTypeDatabaseObjectFactory.bless(pointer);
|
|
9497
9641
|
}
|
|
9498
|
-
static async inMemory(
|
|
9642
|
+
static async inMemory(asyncOpts_) {
|
|
9499
9643
|
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
9500
|
-
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory(
|
|
9644
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_constructor_database_in_memory();
|
|
9501
9645
|
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_u64, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_u64, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_u64, FfiConverterTypeDatabase.lift.bind(FfiConverterTypeDatabase), FfiConverterString.lift.bind(FfiConverterString), asyncOpts_, FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError));
|
|
9502
9646
|
}
|
|
9503
9647
|
static async open(location, key, asyncOpts_) {
|
|
@@ -9513,7 +9657,7 @@ class Database extends UniffiAbstractObject {
|
|
|
9513
9657
|
async getLocation(asyncOpts_) {
|
|
9514
9658
|
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
9515
9659
|
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_database_get_location(uniffiTypeDatabaseObjectFactory.clonePointer(this));
|
|
9516
|
-
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer, FfiConverterOptionalString.lift.bind(FfiConverterOptionalString), FfiConverterString.lift.bind(FfiConverterString), asyncOpts_
|
|
9660
|
+
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_rust_buffer, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_rust_buffer, FfiConverterOptionalString.lift.bind(FfiConverterOptionalString), FfiConverterString.lift.bind(FfiConverterString), asyncOpts_);
|
|
9517
9661
|
}
|
|
9518
9662
|
async updateKey(key, asyncOpts_) {
|
|
9519
9663
|
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
@@ -10013,7 +10157,7 @@ function uniffiEnsureInitialized() {
|
|
|
10013
10157
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init() !== 29576) {
|
|
10014
10158
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init");
|
|
10015
10159
|
}
|
|
10016
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message() !==
|
|
10160
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message() !== 57182) {
|
|
10017
10161
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_process_welcome_message");
|
|
10018
10162
|
}
|
|
10019
10163
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt() !== 33569) {
|
|
@@ -10211,16 +10355,16 @@ function uniffiEnsureInitialized() {
|
|
|
10211
10355
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type() !== 37445) {
|
|
10212
10356
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_credentialref_type");
|
|
10213
10357
|
}
|
|
10214
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory() !==
|
|
10358
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory() !== 46380) {
|
|
10215
10359
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_constructor_database_in_memory");
|
|
10216
10360
|
}
|
|
10217
10361
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open() !== 13723) {
|
|
10218
10362
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_constructor_database_open");
|
|
10219
10363
|
}
|
|
10220
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_database_close() !==
|
|
10364
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_database_close() !== 25099) {
|
|
10221
10365
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_database_close");
|
|
10222
10366
|
}
|
|
10223
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location() !==
|
|
10367
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location() !== 23786) {
|
|
10224
10368
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_database_get_location");
|
|
10225
10369
|
}
|
|
10226
10370
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key() !== 45220) {
|
|
@@ -10482,7 +10626,7 @@ class X509CredentialAcquisition2 extends X509CredentialAcquisition {
|
|
|
10482
10626
|
}
|
|
10483
10627
|
}
|
|
10484
10628
|
// packages/browser/src/CoreCrypto.ts
|
|
10485
|
-
async function initWasmModule(path
|
|
10629
|
+
async function initWasmModule(path) {
|
|
10486
10630
|
if (typeof window !== "undefined") {
|
|
10487
10631
|
if (typeof path === "string") {
|
|
10488
10632
|
await wasm_bindgen_default({ module_or_path: path });
|