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