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