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