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