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