@wireapp/core-crypto 10.3.0 → 10.4.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 +38 -26
- package/dist/browser/corecrypto.d.ts +32 -3
- package/dist/browser/corecrypto.js +473 -384
- package/dist/native/corecrypto.d.ts +32 -3
- package/dist/native/corecrypto.js +108 -1
- package/dist/native/libcore_crypto_ffi.dylib +0 -0
- package/dist/native/libcore_crypto_ffi.so +0 -0
- package/package.json +1 -1
|
@@ -31,6 +31,8 @@ __export(exports_wasm_bindgen, {
|
|
|
31
31
|
ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce: () => ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce,
|
|
32
32
|
ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token: () => ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token,
|
|
33
33
|
ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate: () => ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate,
|
|
34
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_remove_trust_anchor: () => ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_remove_trust_anchor,
|
|
35
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_get_trust_anchors: () => ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_get_trust_anchors,
|
|
34
36
|
ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor: () => ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor,
|
|
35
37
|
ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert: () => ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_intermediate_cert,
|
|
36
38
|
ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle: () => ubrn_uniffi_core_crypto_ffi_fn_method_mlstransport_send_commit_bundle,
|
|
@@ -134,6 +136,7 @@ __export(exports_wasm_bindgen, {
|
|
|
134
136
|
ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_client_ids: () => ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_get_client_ids,
|
|
135
137
|
ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package: () => ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_generate_key_package,
|
|
136
138
|
ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key: () => ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key,
|
|
139
|
+
ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_targeted_message: () => ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_targeted_message,
|
|
137
140
|
ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message: () => ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message,
|
|
138
141
|
ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_enable_history_sharing: () => ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_enable_history_sharing,
|
|
139
142
|
ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled: () => ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_e2ei_is_enabled,
|
|
@@ -255,6 +258,8 @@ __export(exports_wasm_bindgen, {
|
|
|
255
258
|
ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce: () => ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce,
|
|
256
259
|
ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token: () => ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token,
|
|
257
260
|
ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate: () => ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate,
|
|
261
|
+
ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_remove_trust_anchor: () => ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_remove_trust_anchor,
|
|
262
|
+
ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_get_trust_anchors: () => ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_get_trust_anchors,
|
|
258
263
|
ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor: () => ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor,
|
|
259
264
|
ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert: () => ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert,
|
|
260
265
|
ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle: () => ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle,
|
|
@@ -348,6 +353,7 @@ __export(exports_wasm_bindgen, {
|
|
|
348
353
|
ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids: () => ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids,
|
|
349
354
|
ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package: () => ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package,
|
|
350
355
|
ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key: () => ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key,
|
|
356
|
+
ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_targeted_message: () => ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_targeted_message,
|
|
351
357
|
ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message: () => ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message,
|
|
352
358
|
ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_enable_history_sharing: () => ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_enable_history_sharing,
|
|
353
359
|
ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled: () => ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled,
|
|
@@ -1081,6 +1087,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message
|
|
|
1081
1087
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(ptr, conversation_id, ptr0, len0);
|
|
1082
1088
|
return BigInt.asUintN(64, ret);
|
|
1083
1089
|
}
|
|
1090
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_clients_from_conversation(ptr, conversation_id, clients) {
|
|
1091
|
+
const ptr0 = passArray8ToWasm0(clients, wasm.__wbindgen_malloc);
|
|
1092
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1093
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_clients_from_conversation(ptr, conversation_id, ptr0, len0);
|
|
1094
|
+
return BigInt.asUintN(64, ret);
|
|
1095
|
+
}
|
|
1084
1096
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_credential(ptr, credential_ref) {
|
|
1085
1097
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_remove_credential(ptr, credential_ref);
|
|
1086
1098
|
return BigInt.asUintN(64, ret);
|
|
@@ -1113,12 +1125,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt
|
|
|
1113
1125
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt(ptr, ptr0, len0, ptr1, len1);
|
|
1114
1126
|
return BigInt.asUintN(64, ret);
|
|
1115
1127
|
}
|
|
1116
|
-
function
|
|
1117
|
-
const ptr0 = passArray8ToWasm0(
|
|
1128
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_targeted_message(ptr, conversation_id, recipient, policy, message) {
|
|
1129
|
+
const ptr0 = passArray8ToWasm0(policy, wasm.__wbindgen_malloc);
|
|
1118
1130
|
const len0 = WASM_VECTOR_LEN;
|
|
1119
|
-
const ptr1 = passArray8ToWasm0(
|
|
1131
|
+
const ptr1 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
|
|
1120
1132
|
const len1 = WASM_VECTOR_LEN;
|
|
1121
|
-
const ret = wasm.
|
|
1133
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_targeted_message(ptr, conversation_id, recipient, ptr0, len0, ptr1, len1);
|
|
1122
1134
|
return BigInt.asUintN(64, ret);
|
|
1123
1135
|
}
|
|
1124
1136
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key(ptr, conversation_id, key_length) {
|
|
@@ -1155,10 +1167,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_process_welcome
|
|
|
1155
1167
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_process_welcome_message(ptr, welcome_message);
|
|
1156
1168
|
return BigInt.asUintN(64, ret);
|
|
1157
1169
|
}
|
|
1158
|
-
function
|
|
1159
|
-
const ptr0 = passArray8ToWasm0(
|
|
1170
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, session_id, ciphertext) {
|
|
1171
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1160
1172
|
const len0 = WASM_VECTOR_LEN;
|
|
1161
|
-
const
|
|
1173
|
+
const ptr1 = passArray8ToWasm0(ciphertext, wasm.__wbindgen_malloc);
|
|
1174
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1175
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_decrypt_safe(ptr, ptr0, len0, ptr1, len1);
|
|
1162
1176
|
return BigInt.asUintN(64, ret);
|
|
1163
1177
|
}
|
|
1164
1178
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_encrypt(ptr, session_id, plaintext) {
|
|
@@ -1181,10 +1195,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerp
|
|
|
1181
1195
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint(ptr);
|
|
1182
1196
|
return BigInt.asUintN(64, ret);
|
|
1183
1197
|
}
|
|
1184
|
-
function
|
|
1198
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_message(ptr, session_id, envelope) {
|
|
1185
1199
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1186
1200
|
const len0 = WASM_VECTOR_LEN;
|
|
1187
|
-
const
|
|
1201
|
+
const ptr1 = passArray8ToWasm0(envelope, wasm.__wbindgen_malloc);
|
|
1202
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1203
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_message(ptr, ptr0, len0, ptr1, len1);
|
|
1188
1204
|
return BigInt.asUintN(64, ret);
|
|
1189
1205
|
}
|
|
1190
1206
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_from_prekey(ptr, session_id, prekey) {
|
|
@@ -1233,13 +1249,6 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(bytes, f_statu
|
|
|
1233
1249
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_secretkey_new(ptr0, len0, f_status_.__wbg_ptr);
|
|
1234
1250
|
return BigInt.asUintN(64, ret);
|
|
1235
1251
|
}
|
|
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;
|
|
1242
|
-
}
|
|
1243
1252
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, domain, f_status_) {
|
|
1244
1253
|
const ptr0 = passArray8ToWasm0(domain, wasm.__wbindgen_malloc);
|
|
1245
1254
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -1247,6 +1256,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device
|
|
|
1247
1256
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_clientid_new(user_id, device_id, ptr0, len0, f_status_.__wbg_ptr);
|
|
1248
1257
|
return BigInt.asUintN(64, ret);
|
|
1249
1258
|
}
|
|
1259
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, session_id) {
|
|
1260
|
+
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1261
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1262
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_local(ptr, ptr0, len0);
|
|
1263
|
+
return BigInt.asUintN(64, ret);
|
|
1264
|
+
}
|
|
1250
1265
|
function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_fingerprint_remote(ptr, session_id) {
|
|
1251
1266
|
const ptr0 = passArray8ToWasm0(session_id, wasm.__wbindgen_malloc);
|
|
1252
1267
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -1281,13 +1296,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session
|
|
|
1281
1296
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_proteus_session_exists(ptr, ptr0, len0);
|
|
1282
1297
|
return BigInt.asUintN(64, ret);
|
|
1283
1298
|
}
|
|
1284
|
-
function
|
|
1285
|
-
|
|
1286
|
-
const
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
return BigInt.asUintN(64, ret);
|
|
1299
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_) {
|
|
1300
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1301
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
1302
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1303
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1304
|
+
return v1;
|
|
1291
1305
|
}
|
|
1292
1306
|
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_display(ptr, f_status_) {
|
|
1293
1307
|
_assertClass(f_status_, RustCallStatus);
|
|
@@ -1301,10 +1315,10 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr,
|
|
|
1301
1315
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
1302
1316
|
return ret;
|
|
1303
1317
|
}
|
|
1304
|
-
function
|
|
1318
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_) {
|
|
1305
1319
|
_assertClass(f_status_, RustCallStatus);
|
|
1306
|
-
const ret = wasm.
|
|
1307
|
-
return ret;
|
|
1320
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credential_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
1321
|
+
return BigInt.asUintN(64, ret);
|
|
1308
1322
|
}
|
|
1309
1323
|
function ubrn_uniffi_core_crypto_ffi_fn_method_credential_export_pem(ptr, f_status_) {
|
|
1310
1324
|
_assertClass(f_status_, RustCallStatus);
|
|
@@ -1353,12 +1367,10 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(p
|
|
|
1353
1367
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_earliest_validity(ptr, f_status_.__wbg_ptr);
|
|
1354
1368
|
return BigInt.asUintN(64, ret);
|
|
1355
1369
|
}
|
|
1356
|
-
function
|
|
1370
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
1357
1371
|
_assertClass(f_status_, RustCallStatus);
|
|
1358
|
-
const ret = wasm.
|
|
1359
|
-
|
|
1360
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1361
|
-
return v1;
|
|
1372
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
1373
|
+
return ret;
|
|
1362
1374
|
}
|
|
1363
1375
|
function ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash(ptr, f_status_) {
|
|
1364
1376
|
_assertClass(f_status_, RustCallStatus);
|
|
@@ -1404,10 +1416,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(cipher_suit
|
|
|
1404
1416
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_credential_basic(ptr0, len0, client_id, f_status_.__wbg_ptr);
|
|
1405
1417
|
return BigInt.asUintN(64, ret);
|
|
1406
1418
|
}
|
|
1407
|
-
function
|
|
1419
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_public_key_hash(ptr, f_status_) {
|
|
1408
1420
|
_assertClass(f_status_, RustCallStatus);
|
|
1409
|
-
const ret = wasm.
|
|
1410
|
-
|
|
1421
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_public_key_hash(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;
|
|
1411
1425
|
}
|
|
1412
1426
|
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_signature_scheme(ptr, f_status_) {
|
|
1413
1427
|
_assertClass(f_status_, RustCallStatus);
|
|
@@ -1423,12 +1437,9 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_type(ptr, f_status_
|
|
|
1423
1437
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1424
1438
|
return v1;
|
|
1425
1439
|
}
|
|
1426
|
-
function
|
|
1440
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_databasekey(handle, f_status_) {
|
|
1427
1441
|
_assertClass(f_status_, RustCallStatus);
|
|
1428
|
-
|
|
1429
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1430
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1431
|
-
return v1;
|
|
1442
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_databasekey(handle, f_status_.__wbg_ptr);
|
|
1432
1443
|
}
|
|
1433
1444
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_databasekey_new(bytes, f_status_) {
|
|
1434
1445
|
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
@@ -1470,12 +1481,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_fr
|
|
|
1470
1481
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_frombytes(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
1471
1482
|
return BigInt.asUintN(64, ret);
|
|
1472
1483
|
}
|
|
1473
|
-
function
|
|
1474
|
-
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
1475
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1484
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_uniffi_trait_debug(ptr, f_status_) {
|
|
1476
1485
|
_assertClass(f_status_, RustCallStatus);
|
|
1477
|
-
const ret = wasm.
|
|
1478
|
-
|
|
1486
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_credentialref_uniffi_trait_debug(ptr, f_status_.__wbg_ptr);
|
|
1487
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1488
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1489
|
+
return v1;
|
|
1479
1490
|
}
|
|
1480
1491
|
function ubrn_uniffi_core_crypto_ffi_fn_clone_database(handle, f_status_) {
|
|
1481
1492
|
_assertClass(f_status_, RustCallStatus);
|
|
@@ -1513,9 +1524,12 @@ function ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_) {
|
|
|
1513
1524
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_databasekey(handle, f_status_.__wbg_ptr);
|
|
1514
1525
|
return BigInt.asUintN(64, ret);
|
|
1515
1526
|
}
|
|
1516
|
-
function
|
|
1527
|
+
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new(pki_environment, config, f_status_) {
|
|
1528
|
+
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
1529
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1517
1530
|
_assertClass(f_status_, RustCallStatus);
|
|
1518
|
-
wasm.
|
|
1531
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new(pki_environment, ptr0, len0, f_status_.__wbg_ptr);
|
|
1532
|
+
return BigInt.asUintN(64, ret);
|
|
1519
1533
|
}
|
|
1520
1534
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_x509credentialacquisition_new_from_credential_ref(pki_environment, config, credential_ref, core_crypto_database) {
|
|
1521
1535
|
const ptr0 = passArray8ToWasm0(config, wasm.__wbindgen_malloc);
|
|
@@ -1534,9 +1548,9 @@ function ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_)
|
|
|
1534
1548
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_externalsender(handle, f_status_.__wbg_ptr);
|
|
1535
1549
|
return BigInt.asUintN(64, ret);
|
|
1536
1550
|
}
|
|
1537
|
-
function
|
|
1551
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_) {
|
|
1538
1552
|
_assertClass(f_status_, RustCallStatus);
|
|
1539
|
-
wasm.
|
|
1553
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_.__wbg_ptr);
|
|
1540
1554
|
}
|
|
1541
1555
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_keypackage_new(bytes, f_status_) {
|
|
1542
1556
|
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
@@ -1587,11 +1601,6 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_hash_ref(ptr, f_sta
|
|
|
1587
1601
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1588
1602
|
return v1;
|
|
1589
1603
|
}
|
|
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);
|
|
1593
|
-
return ret;
|
|
1594
|
-
}
|
|
1595
1604
|
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status_) {
|
|
1596
1605
|
_assertClass(f_status_, RustCallStatus);
|
|
1597
1606
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status_.__wbg_ptr);
|
|
@@ -1599,6 +1608,10 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_copy_bytes(ptr, f_status
|
|
|
1599
1608
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1600
1609
|
return v1;
|
|
1601
1610
|
}
|
|
1611
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_externalsender(handle, f_status_) {
|
|
1612
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1613
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_externalsender(handle, f_status_.__wbg_ptr);
|
|
1614
|
+
}
|
|
1602
1615
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_externalsender_parse(key, signature_scheme, f_status_) {
|
|
1603
1616
|
const ptr0 = passArray8ToWasm0(key, wasm.__wbindgen_malloc);
|
|
1604
1617
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -1646,10 +1659,6 @@ function ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_) {
|
|
|
1646
1659
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_keypackage(handle, f_status_.__wbg_ptr);
|
|
1647
1660
|
return BigInt.asUintN(64, ret);
|
|
1648
1661
|
}
|
|
1649
|
-
function ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_) {
|
|
1650
|
-
_assertClass(f_status_, RustCallStatus);
|
|
1651
|
-
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_keypackage(handle, f_status_.__wbg_ptr);
|
|
1652
|
-
}
|
|
1653
1662
|
function ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(ptr, f_status_) {
|
|
1654
1663
|
_assertClass(f_status_, RustCallStatus);
|
|
1655
1664
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string(ptr, f_status_.__wbg_ptr);
|
|
@@ -1700,6 +1709,11 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display(ptr, f_
|
|
|
1700
1709
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1701
1710
|
return v1;
|
|
1702
1711
|
}
|
|
1712
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_) {
|
|
1713
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1714
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_is_valid(ptr, f_status_.__wbg_ptr);
|
|
1715
|
+
return ret;
|
|
1716
|
+
}
|
|
1703
1717
|
function ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_) {
|
|
1704
1718
|
_assertClass(f_status_, RustCallStatus);
|
|
1705
1719
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_keypackageref_signature_scheme(ptr, f_status_.__wbg_ptr);
|
|
@@ -1712,9 +1726,33 @@ function ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment(handle, f_status_)
|
|
|
1712
1726
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironment(handle, f_status_.__wbg_ptr);
|
|
1713
1727
|
return BigInt.asUintN(64, ret);
|
|
1714
1728
|
}
|
|
1715
|
-
function
|
|
1716
|
-
|
|
1717
|
-
|
|
1729
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, method, url, headers, body) {
|
|
1730
|
+
const ptr0 = passArray8ToWasm0(method, wasm.__wbindgen_malloc);
|
|
1731
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1732
|
+
const ptr1 = passArray8ToWasm0(url, wasm.__wbindgen_malloc);
|
|
1733
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1734
|
+
const ptr2 = passArray8ToWasm0(headers, wasm.__wbindgen_malloc);
|
|
1735
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1736
|
+
const ptr3 = passArray8ToWasm0(body, wasm.__wbindgen_malloc);
|
|
1737
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1738
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_http_request(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1739
|
+
return BigInt.asUintN(64, ret);
|
|
1740
|
+
}
|
|
1741
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, idp, key_auth, acme_aud, acquisition_snapshot) {
|
|
1742
|
+
const ptr0 = passArray8ToWasm0(idp, wasm.__wbindgen_malloc);
|
|
1743
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1744
|
+
const ptr1 = passArray8ToWasm0(key_auth, wasm.__wbindgen_malloc);
|
|
1745
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1746
|
+
const ptr2 = passArray8ToWasm0(acme_aud, wasm.__wbindgen_malloc);
|
|
1747
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1748
|
+
const ptr3 = passArray8ToWasm0(acquisition_snapshot, wasm.__wbindgen_malloc);
|
|
1749
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1750
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_authenticate(ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1751
|
+
return BigInt.asUintN(64, ret);
|
|
1752
|
+
}
|
|
1753
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce(ptr) {
|
|
1754
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_get_backend_nonce(ptr);
|
|
1755
|
+
return BigInt.asUintN(64, ret);
|
|
1718
1756
|
}
|
|
1719
1757
|
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironmenthooks_fetch_backend_access_token(ptr, dpop) {
|
|
1720
1758
|
const ptr0 = passArray8ToWasm0(dpop, wasm.__wbindgen_malloc);
|
|
@@ -1754,25 +1792,9 @@ function ubrn_uniffi_core_crypto_ffi_fn_func_set_logger(logger, f_status_) {
|
|
|
1754
1792
|
_assertClass(f_status_, RustCallStatus);
|
|
1755
1793
|
wasm.ubrn_uniffi_core_crypto_ffi_fn_func_set_logger(logger, f_status_.__wbg_ptr);
|
|
1756
1794
|
}
|
|
1757
|
-
function
|
|
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);
|
|
1762
|
-
}
|
|
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;
|
|
1766
|
-
_assertClass(f_status_, RustCallStatus);
|
|
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;
|
|
1771
|
-
}
|
|
1772
|
-
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_) {
|
|
1795
|
+
function ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment(handle, f_status_) {
|
|
1773
1796
|
_assertClass(f_status_, RustCallStatus);
|
|
1774
|
-
|
|
1775
|
-
return ret;
|
|
1797
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironment(handle, f_status_.__wbg_ptr);
|
|
1776
1798
|
}
|
|
1777
1799
|
function ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new(hooks, database) {
|
|
1778
1800
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_pkienvironment_new(hooks, database);
|
|
@@ -1790,6 +1812,16 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(p
|
|
|
1790
1812
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(ptr, ptr0, len0);
|
|
1791
1813
|
return BigInt.asUintN(64, ret);
|
|
1792
1814
|
}
|
|
1815
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_get_trust_anchors(ptr) {
|
|
1816
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_get_trust_anchors(ptr);
|
|
1817
|
+
return BigInt.asUintN(64, ret);
|
|
1818
|
+
}
|
|
1819
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_remove_trust_anchor(ptr, fingerprint) {
|
|
1820
|
+
const ptr0 = passArray8ToWasm0(fingerprint, wasm.__wbindgen_malloc);
|
|
1821
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1822
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_remove_trust_anchor(ptr, ptr0, len0);
|
|
1823
|
+
return BigInt.asUintN(64, ret);
|
|
1824
|
+
}
|
|
1793
1825
|
function ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_) {
|
|
1794
1826
|
_assertClass(f_status_, RustCallStatus);
|
|
1795
1827
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_pkienvironmenthooks(handle, f_status_.__wbg_ptr);
|
|
@@ -1802,54 +1834,36 @@ function ubrn_uniffi_core_crypto_ffi_fn_free_pkienvironmenthooks(handle, f_statu
|
|
|
1802
1834
|
function ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_pkienvironmenthooks(vtable) {
|
|
1803
1835
|
wasm.ubrn_uniffi_core_crypto_ffi_fn_init_callback_vtable_pkienvironmenthooks(vtable);
|
|
1804
1836
|
}
|
|
1805
|
-
function
|
|
1806
|
-
const ptr0 = passArray8ToWasm0(
|
|
1837
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_set_max_log_level(level, f_status_) {
|
|
1838
|
+
const ptr0 = passArray8ToWasm0(level, wasm.__wbindgen_malloc);
|
|
1807
1839
|
const len0 = WASM_VECTOR_LEN;
|
|
1808
|
-
|
|
1809
|
-
|
|
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);
|
|
1815
|
-
return BigInt.asUintN(64, ret);
|
|
1840
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1841
|
+
wasm.ubrn_uniffi_core_crypto_ffi_fn_func_set_max_log_level(ptr0, len0, f_status_.__wbg_ptr);
|
|
1816
1842
|
}
|
|
1817
|
-
function
|
|
1818
|
-
const ptr0 = passArray8ToWasm0(
|
|
1843
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(prekey, f_status_) {
|
|
1844
|
+
const ptr0 = passArray8ToWasm0(prekey, wasm.__wbindgen_malloc);
|
|
1819
1845
|
const len0 = WASM_VECTOR_LEN;
|
|
1820
|
-
|
|
1821
|
-
const
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
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);
|
|
1827
|
-
return BigInt.asUintN(64, ret);
|
|
1846
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1847
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_fingerprint_prekeybundle_ffi(ptr0, len0, f_status_.__wbg_ptr);
|
|
1848
|
+
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1849
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1850
|
+
return v2;
|
|
1828
1851
|
}
|
|
1829
|
-
function
|
|
1830
|
-
|
|
1831
|
-
|
|
1852
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_) {
|
|
1853
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1854
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_proteus_last_resort_prekey_id_ffi(f_status_.__wbg_ptr);
|
|
1855
|
+
return ret;
|
|
1832
1856
|
}
|
|
1833
|
-
function
|
|
1834
|
-
|
|
1835
|
-
const len0 = WASM_VECTOR_LEN;
|
|
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);
|
|
1839
|
-
return BigInt.asUintN(64, ret);
|
|
1857
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i8(handle) {
|
|
1858
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i8(handle);
|
|
1840
1859
|
}
|
|
1841
|
-
function
|
|
1842
|
-
|
|
1843
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1844
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(ptr0, len0);
|
|
1845
|
-
return BigInt.asUintN(64, ret);
|
|
1860
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i8(handle) {
|
|
1861
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i8(handle);
|
|
1846
1862
|
}
|
|
1847
|
-
function
|
|
1863
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_) {
|
|
1848
1864
|
_assertClass(f_status_, RustCallStatus);
|
|
1849
|
-
const ret = wasm.
|
|
1850
|
-
|
|
1851
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1852
|
-
return v1;
|
|
1865
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i8(handle, f_status_.__wbg_ptr);
|
|
1866
|
+
return ret;
|
|
1853
1867
|
}
|
|
1854
1868
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u16(handle, callback, callback_data) {
|
|
1855
1869
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u16(handle, callback, callback_data);
|
|
@@ -1868,16 +1882,26 @@ function ubrn_ffi_core_crypto_ffi_rust_future_complete_u16(handle, f_status_) {
|
|
|
1868
1882
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i16(handle, callback, callback_data) {
|
|
1869
1883
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i16(handle, callback, callback_data);
|
|
1870
1884
|
}
|
|
1871
|
-
function
|
|
1872
|
-
wasm.
|
|
1885
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(path, old_key, new_key) {
|
|
1886
|
+
const ptr0 = passArray8ToWasm0(path, wasm.__wbindgen_malloc);
|
|
1887
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1888
|
+
const ptr1 = passArray8ToWasm0(old_key, wasm.__wbindgen_malloc);
|
|
1889
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1890
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_migrate_database_key_type_to_bytes(ptr0, len0, ptr1, len1, new_key);
|
|
1891
|
+
return BigInt.asUintN(64, ret);
|
|
1873
1892
|
}
|
|
1874
|
-
function
|
|
1875
|
-
wasm.
|
|
1893
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(history_secret) {
|
|
1894
|
+
const ptr0 = passArray8ToWasm0(history_secret, wasm.__wbindgen_malloc);
|
|
1895
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1896
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_core_crypto_history_client(ptr0, len0);
|
|
1897
|
+
return BigInt.asUintN(64, ret);
|
|
1876
1898
|
}
|
|
1877
|
-
function
|
|
1899
|
+
function ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_) {
|
|
1878
1900
|
_assertClass(f_status_, RustCallStatus);
|
|
1879
|
-
const ret = wasm.
|
|
1880
|
-
|
|
1901
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_func_build_metadata(f_status_.__wbg_ptr);
|
|
1902
|
+
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
1903
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1904
|
+
return v1;
|
|
1881
1905
|
}
|
|
1882
1906
|
function ubrn_uniffi_core_crypto_ffi_fn_func_version(f_status_) {
|
|
1883
1907
|
_assertClass(f_status_, RustCallStatus);
|
|
@@ -1903,30 +1927,30 @@ function ubrn_ffi_core_crypto_ffi_rust_future_complete_u8(handle, f_status_) {
|
|
|
1903
1927
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i8(handle, callback, callback_data) {
|
|
1904
1928
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i8(handle, callback, callback_data);
|
|
1905
1929
|
}
|
|
1906
|
-
function
|
|
1907
|
-
wasm.
|
|
1930
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle) {
|
|
1931
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_i16(handle);
|
|
1908
1932
|
}
|
|
1909
|
-
function
|
|
1910
|
-
wasm.
|
|
1933
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle) {
|
|
1934
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_i16(handle);
|
|
1911
1935
|
}
|
|
1912
|
-
function
|
|
1936
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_) {
|
|
1913
1937
|
_assertClass(f_status_, RustCallStatus);
|
|
1914
|
-
const ret = wasm.
|
|
1938
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_i16(handle, f_status_.__wbg_ptr);
|
|
1915
1939
|
return ret;
|
|
1916
1940
|
}
|
|
1917
1941
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u32(handle, callback, callback_data) {
|
|
1918
1942
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u32(handle, callback, callback_data);
|
|
1919
1943
|
}
|
|
1920
|
-
function
|
|
1921
|
-
wasm.
|
|
1944
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64(handle) {
|
|
1945
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u64(handle);
|
|
1922
1946
|
}
|
|
1923
|
-
function
|
|
1924
|
-
wasm.
|
|
1947
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle) {
|
|
1948
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle);
|
|
1925
1949
|
}
|
|
1926
|
-
function
|
|
1950
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_) {
|
|
1927
1951
|
_assertClass(f_status_, RustCallStatus);
|
|
1928
|
-
const ret = wasm.
|
|
1929
|
-
return ret
|
|
1952
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u64(handle, f_status_.__wbg_ptr);
|
|
1953
|
+
return BigInt.asUintN(64, ret);
|
|
1930
1954
|
}
|
|
1931
1955
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data) {
|
|
1932
1956
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i64(handle, callback, callback_data);
|
|
@@ -1948,17 +1972,6 @@ function ubrn_ffi_core_crypto_ffi_rust_future_poll_f32(handle, callback, callbac
|
|
|
1948
1972
|
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle) {
|
|
1949
1973
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f32(handle);
|
|
1950
1974
|
}
|
|
1951
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle) {
|
|
1952
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle);
|
|
1953
|
-
}
|
|
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);
|
|
1957
|
-
return ret;
|
|
1958
|
-
}
|
|
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);
|
|
1961
|
-
}
|
|
1962
1975
|
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_status_) {
|
|
1963
1976
|
_assertClass(f_status_, RustCallStatus);
|
|
1964
1977
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_status_.__wbg_ptr);
|
|
@@ -1966,6 +1979,17 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_deserialize(ptr, f_statu
|
|
|
1966
1979
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
1967
1980
|
return v1;
|
|
1968
1981
|
}
|
|
1982
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle) {
|
|
1983
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_u32(handle);
|
|
1984
|
+
}
|
|
1985
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_u32(handle) {
|
|
1986
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u32(handle);
|
|
1987
|
+
}
|
|
1988
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_u32(handle, f_status_) {
|
|
1989
|
+
_assertClass(f_status_, RustCallStatus);
|
|
1990
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_u32(handle, f_status_.__wbg_ptr);
|
|
1991
|
+
return ret >>> 0;
|
|
1992
|
+
}
|
|
1969
1993
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data) {
|
|
1970
1994
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_i32(handle, callback, callback_data);
|
|
1971
1995
|
}
|
|
@@ -1983,26 +2007,26 @@ function ubrn_ffi_core_crypto_ffi_rust_future_complete_i32(handle, f_status_) {
|
|
|
1983
2007
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_u64(handle, callback, callback_data) {
|
|
1984
2008
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_u64(handle, callback, callback_data);
|
|
1985
2009
|
}
|
|
1986
|
-
function
|
|
1987
|
-
wasm.
|
|
1988
|
-
}
|
|
1989
|
-
function ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle) {
|
|
1990
|
-
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_u64(handle);
|
|
2010
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle) {
|
|
2011
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f32(handle);
|
|
1991
2012
|
}
|
|
1992
|
-
function
|
|
2013
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_) {
|
|
1993
2014
|
_assertClass(f_status_, RustCallStatus);
|
|
1994
|
-
const ret = wasm.
|
|
1995
|
-
return
|
|
2015
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f32(handle, f_status_.__wbg_ptr);
|
|
2016
|
+
return ret;
|
|
1996
2017
|
}
|
|
1997
|
-
function
|
|
1998
|
-
wasm.
|
|
2018
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_poll_f64(handle, callback, callback_data) {
|
|
2019
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_poll_f64(handle, callback, callback_data);
|
|
1999
2020
|
}
|
|
2000
|
-
function
|
|
2001
|
-
wasm.
|
|
2021
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle) {
|
|
2022
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_void(handle);
|
|
2002
2023
|
}
|
|
2003
|
-
function
|
|
2024
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_) {
|
|
2004
2025
|
_assertClass(f_status_, RustCallStatus);
|
|
2005
|
-
|
|
2026
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_void(handle, f_status_.__wbg_ptr);
|
|
2027
|
+
}
|
|
2028
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default() {
|
|
2029
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_default();
|
|
2006
2030
|
return ret;
|
|
2007
2031
|
}
|
|
2008
2032
|
function ubrn_uniffi_core_crypto_ffi_checksum_func_cipher_suite_from_u16() {
|
|
@@ -2029,16 +2053,15 @@ function ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id
|
|
|
2029
2053
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_proteus_last_resort_prekey_id_ffi();
|
|
2030
2054
|
return ret;
|
|
2031
2055
|
}
|
|
2032
|
-
function
|
|
2033
|
-
|
|
2034
|
-
return ret;
|
|
2056
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_f64(handle) {
|
|
2057
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_f64(handle);
|
|
2035
2058
|
}
|
|
2036
|
-
function
|
|
2037
|
-
|
|
2038
|
-
return ret;
|
|
2059
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_free_f64(handle) {
|
|
2060
|
+
wasm.ubrn_ffi_core_crypto_ffi_rust_future_free_f64(handle);
|
|
2039
2061
|
}
|
|
2040
|
-
function
|
|
2041
|
-
|
|
2062
|
+
function ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_) {
|
|
2063
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2064
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_rust_future_complete_f64(handle, f_status_.__wbg_ptr);
|
|
2042
2065
|
return ret;
|
|
2043
2066
|
}
|
|
2044
2067
|
function ubrn_ffi_core_crypto_ffi_rust_future_poll_rust_buffer(handle, callback, callback_data) {
|
|
@@ -2063,27 +2086,28 @@ function ubrn_ffi_core_crypto_ffi_rust_future_poll_void(handle, callback, callba
|
|
|
2063
2086
|
function ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle) {
|
|
2064
2087
|
wasm.ubrn_ffi_core_crypto_ffi_rust_future_cancel_void(handle);
|
|
2065
2088
|
}
|
|
2066
|
-
function
|
|
2067
|
-
wasm.
|
|
2089
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_migrate_database_key_type_to_bytes() {
|
|
2090
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_migrate_database_key_type_to_bytes();
|
|
2091
|
+
return ret;
|
|
2068
2092
|
}
|
|
2069
|
-
function
|
|
2070
|
-
|
|
2071
|
-
|
|
2093
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_history_client() {
|
|
2094
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_core_crypto_history_client();
|
|
2095
|
+
return ret;
|
|
2072
2096
|
}
|
|
2073
|
-
function
|
|
2074
|
-
const ret = wasm.
|
|
2097
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_build_metadata() {
|
|
2098
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_build_metadata();
|
|
2075
2099
|
return ret;
|
|
2076
2100
|
}
|
|
2077
|
-
function
|
|
2078
|
-
const ret = wasm.
|
|
2101
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_exists() {
|
|
2102
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_exists();
|
|
2079
2103
|
return ret;
|
|
2080
2104
|
}
|
|
2081
|
-
function
|
|
2082
|
-
const ret = wasm.
|
|
2105
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key() {
|
|
2106
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_export_secret_key();
|
|
2083
2107
|
return ret;
|
|
2084
2108
|
}
|
|
2085
|
-
function
|
|
2086
|
-
const ret = wasm.
|
|
2109
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids() {
|
|
2110
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_client_ids();
|
|
2087
2111
|
return ret;
|
|
2088
2112
|
}
|
|
2089
2113
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_external_sender() {
|
|
@@ -2106,16 +2130,16 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_public_key()
|
|
|
2106
2130
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_public_key();
|
|
2107
2131
|
return ret;
|
|
2108
2132
|
}
|
|
2109
|
-
function
|
|
2110
|
-
const ret = wasm.
|
|
2133
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_func_version() {
|
|
2134
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_func_version();
|
|
2111
2135
|
return ret;
|
|
2112
2136
|
}
|
|
2113
|
-
function
|
|
2114
|
-
const ret = wasm.
|
|
2137
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes() {
|
|
2138
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_copy_bytes();
|
|
2115
2139
|
return ret;
|
|
2116
2140
|
}
|
|
2117
|
-
function
|
|
2118
|
-
const ret = wasm.
|
|
2141
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize() {
|
|
2142
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_clientid_deserialize();
|
|
2119
2143
|
return ret;
|
|
2120
2144
|
}
|
|
2121
2145
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_deviceid_to_hex_string() {
|
|
@@ -2142,32 +2166,32 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_
|
|
|
2142
2166
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_conversation_epoch();
|
|
2143
2167
|
return ret;
|
|
2144
2168
|
}
|
|
2145
|
-
function
|
|
2146
|
-
const ret = wasm.
|
|
2169
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_conversation_state() {
|
|
2170
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_conversation_state();
|
|
2147
2171
|
return ret;
|
|
2148
2172
|
}
|
|
2149
|
-
function
|
|
2150
|
-
const ret = wasm.
|
|
2173
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_enabled() {
|
|
2174
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_enabled();
|
|
2151
2175
|
return ret;
|
|
2152
2176
|
}
|
|
2153
|
-
function
|
|
2154
|
-
const ret = wasm.
|
|
2177
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_pki_env_setup() {
|
|
2178
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_e2ei_is_pki_env_setup();
|
|
2155
2179
|
return ret;
|
|
2156
2180
|
}
|
|
2157
2181
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities() {
|
|
2158
2182
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_device_identities();
|
|
2159
2183
|
return ret;
|
|
2160
2184
|
}
|
|
2161
|
-
function
|
|
2162
|
-
const ret = wasm.
|
|
2185
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_reseed() {
|
|
2186
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_reseed();
|
|
2163
2187
|
return ret;
|
|
2164
2188
|
}
|
|
2165
|
-
function
|
|
2166
|
-
const ret = wasm.
|
|
2189
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment() {
|
|
2190
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_pki_environment();
|
|
2167
2191
|
return ret;
|
|
2168
2192
|
}
|
|
2169
|
-
function
|
|
2170
|
-
const ret = wasm.
|
|
2193
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_set_pki_environment() {
|
|
2194
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_set_pki_environment();
|
|
2171
2195
|
return ret;
|
|
2172
2196
|
}
|
|
2173
2197
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocommand_execute() {
|
|
@@ -2194,21 +2218,21 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bu
|
|
|
2194
2218
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_send_commit_bundle();
|
|
2195
2219
|
return ret;
|
|
2196
2220
|
}
|
|
2197
|
-
function
|
|
2198
|
-
|
|
2221
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_) {
|
|
2222
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2223
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2199
2224
|
return ret;
|
|
2200
2225
|
}
|
|
2201
|
-
function
|
|
2202
|
-
const ret = wasm.
|
|
2226
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities() {
|
|
2227
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_get_user_identities();
|
|
2203
2228
|
return ret;
|
|
2204
2229
|
}
|
|
2205
|
-
function
|
|
2206
|
-
const ret = wasm.
|
|
2230
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_epoch_observer() {
|
|
2231
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_epoch_observer();
|
|
2207
2232
|
return ret;
|
|
2208
2233
|
}
|
|
2209
|
-
function
|
|
2210
|
-
|
|
2211
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_eq(ptr, other, f_status_.__wbg_ptr);
|
|
2234
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer() {
|
|
2235
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_register_history_observer();
|
|
2212
2236
|
return ret;
|
|
2213
2237
|
}
|
|
2214
2238
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_proteus_fingerprint() {
|
|
@@ -2231,28 +2255,28 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_random_bytes(
|
|
|
2231
2255
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptoffi_random_bytes();
|
|
2232
2256
|
return ret;
|
|
2233
2257
|
}
|
|
2234
|
-
function
|
|
2235
|
-
const ret = wasm.
|
|
2258
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport() {
|
|
2259
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_mlstransport_prepare_for_transport();
|
|
2236
2260
|
return ret;
|
|
2237
2261
|
}
|
|
2238
|
-
function
|
|
2239
|
-
const ret = wasm.
|
|
2262
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_data() {
|
|
2263
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_data();
|
|
2240
2264
|
return ret;
|
|
2241
2265
|
}
|
|
2242
|
-
function
|
|
2243
|
-
const ret = wasm.
|
|
2266
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes() {
|
|
2267
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_random_bytes();
|
|
2244
2268
|
return ret;
|
|
2245
2269
|
}
|
|
2246
|
-
function
|
|
2247
|
-
const ret = wasm.
|
|
2270
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite() {
|
|
2271
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_cipher_suite();
|
|
2248
2272
|
return ret;
|
|
2249
2273
|
}
|
|
2250
|
-
function
|
|
2251
|
-
const ret = wasm.
|
|
2274
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential() {
|
|
2275
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_credential();
|
|
2252
2276
|
return ret;
|
|
2253
2277
|
}
|
|
2254
|
-
function
|
|
2255
|
-
const ret = wasm.
|
|
2278
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_epoch() {
|
|
2279
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_epoch();
|
|
2256
2280
|
return ret;
|
|
2257
2281
|
}
|
|
2258
2282
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_conversation_exists() {
|
|
@@ -2279,16 +2303,16 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_m
|
|
|
2279
2303
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message();
|
|
2280
2304
|
return ret;
|
|
2281
2305
|
}
|
|
2282
|
-
function
|
|
2283
|
-
const ret = wasm.
|
|
2306
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data() {
|
|
2307
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_data();
|
|
2284
2308
|
return ret;
|
|
2285
2309
|
}
|
|
2286
|
-
function
|
|
2287
|
-
const ret = wasm.
|
|
2310
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_conversation_state() {
|
|
2311
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_conversation_state();
|
|
2288
2312
|
return ret;
|
|
2289
2313
|
}
|
|
2290
|
-
function
|
|
2291
|
-
const ret = wasm.
|
|
2314
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled() {
|
|
2315
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_e2ei_is_enabled();
|
|
2292
2316
|
return ret;
|
|
2293
2317
|
}
|
|
2294
2318
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_device_identities() {
|
|
@@ -2315,28 +2339,32 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pe
|
|
|
2315
2339
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_commit_pending_proposals();
|
|
2316
2340
|
return ret;
|
|
2317
2341
|
}
|
|
2318
|
-
function
|
|
2319
|
-
const ret = wasm.
|
|
2342
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_targeted_message() {
|
|
2343
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_targeted_message();
|
|
2320
2344
|
return ret;
|
|
2321
2345
|
}
|
|
2322
|
-
function
|
|
2323
|
-
const ret = wasm.
|
|
2346
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key() {
|
|
2347
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key();
|
|
2324
2348
|
return ret;
|
|
2325
2349
|
}
|
|
2326
|
-
function
|
|
2327
|
-
const ret = wasm.
|
|
2350
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package() {
|
|
2351
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_generate_key_package();
|
|
2328
2352
|
return ret;
|
|
2329
2353
|
}
|
|
2330
|
-
function
|
|
2331
|
-
const ret = wasm.
|
|
2354
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_packages_for() {
|
|
2355
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_packages_for();
|
|
2332
2356
|
return ret;
|
|
2333
2357
|
}
|
|
2334
|
-
function
|
|
2335
|
-
const ret = wasm.
|
|
2358
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_conversation_credential() {
|
|
2359
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_set_conversation_credential();
|
|
2336
2360
|
return ret;
|
|
2337
2361
|
}
|
|
2338
|
-
function
|
|
2339
|
-
const ret = wasm.
|
|
2362
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_update_keying_material() {
|
|
2363
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_update_keying_material();
|
|
2364
|
+
return ret;
|
|
2365
|
+
}
|
|
2366
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_wipe_conversation() {
|
|
2367
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_wipe_conversation();
|
|
2340
2368
|
return ret;
|
|
2341
2369
|
}
|
|
2342
2370
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_decrypt() {
|
|
@@ -2355,20 +2383,20 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_e
|
|
|
2355
2383
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_encrypt_batched();
|
|
2356
2384
|
return ret;
|
|
2357
2385
|
}
|
|
2358
|
-
function
|
|
2359
|
-
const ret = wasm.
|
|
2386
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids() {
|
|
2387
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_client_ids();
|
|
2360
2388
|
return ret;
|
|
2361
2389
|
}
|
|
2362
|
-
function
|
|
2363
|
-
const ret = wasm.
|
|
2390
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender() {
|
|
2391
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_external_sender();
|
|
2364
2392
|
return ret;
|
|
2365
2393
|
}
|
|
2366
|
-
function
|
|
2367
|
-
const ret = wasm.
|
|
2394
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages() {
|
|
2395
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_get_key_packages();
|
|
2368
2396
|
return ret;
|
|
2369
2397
|
}
|
|
2370
|
-
function
|
|
2371
|
-
const ret = wasm.
|
|
2398
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit() {
|
|
2399
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_join_by_external_commit();
|
|
2372
2400
|
return ret;
|
|
2373
2401
|
}
|
|
2374
2402
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_mls_init() {
|
|
@@ -2391,36 +2419,36 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_ke
|
|
|
2391
2419
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_remove_key_package();
|
|
2392
2420
|
return ret;
|
|
2393
2421
|
}
|
|
2394
|
-
function
|
|
2395
|
-
const ret = wasm.
|
|
2422
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint() {
|
|
2423
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint();
|
|
2396
2424
|
return ret;
|
|
2397
2425
|
}
|
|
2398
|
-
function
|
|
2399
|
-
const ret = wasm.
|
|
2426
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local() {
|
|
2427
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_local();
|
|
2400
2428
|
return ret;
|
|
2401
2429
|
}
|
|
2402
|
-
function
|
|
2403
|
-
const ret = wasm.
|
|
2430
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_remote() {
|
|
2431
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_fingerprint_remote();
|
|
2404
2432
|
return ret;
|
|
2405
2433
|
}
|
|
2406
|
-
function
|
|
2407
|
-
const ret = wasm.
|
|
2434
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init() {
|
|
2435
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_init();
|
|
2408
2436
|
return ret;
|
|
2409
2437
|
}
|
|
2410
|
-
function
|
|
2411
|
-
const ret = wasm.
|
|
2438
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes() {
|
|
2439
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_secretkey_copy_bytes();
|
|
2412
2440
|
return ret;
|
|
2413
2441
|
}
|
|
2414
|
-
function
|
|
2415
|
-
const ret = wasm.
|
|
2442
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_welcome_serialize() {
|
|
2443
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_welcome_serialize();
|
|
2416
2444
|
return ret;
|
|
2417
2445
|
}
|
|
2418
|
-
function
|
|
2419
|
-
const ret = wasm.
|
|
2446
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_earliest_validity() {
|
|
2447
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_earliest_validity();
|
|
2420
2448
|
return ret;
|
|
2421
2449
|
}
|
|
2422
|
-
function
|
|
2423
|
-
const ret = wasm.
|
|
2450
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem() {
|
|
2451
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credential_export_pem();
|
|
2424
2452
|
return ret;
|
|
2425
2453
|
}
|
|
2426
2454
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_credential_signature_scheme() {
|
|
@@ -2443,25 +2471,25 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_earliest_vali
|
|
|
2443
2471
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_earliest_validity();
|
|
2444
2472
|
return ret;
|
|
2445
2473
|
}
|
|
2446
|
-
function
|
|
2447
|
-
|
|
2474
|
+
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_) {
|
|
2475
|
+
_assertClass(f_status_, RustCallStatus);
|
|
2476
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2448
2477
|
return ret;
|
|
2449
2478
|
}
|
|
2450
|
-
function
|
|
2451
|
-
const ret = wasm.
|
|
2479
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey() {
|
|
2480
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey();
|
|
2452
2481
|
return ret;
|
|
2453
2482
|
}
|
|
2454
|
-
function
|
|
2455
|
-
const ret = wasm.
|
|
2483
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey() {
|
|
2484
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey();
|
|
2456
2485
|
return ret;
|
|
2457
2486
|
}
|
|
2458
|
-
function
|
|
2459
|
-
const ret = wasm.
|
|
2487
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto() {
|
|
2488
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto();
|
|
2460
2489
|
return ret;
|
|
2461
2490
|
}
|
|
2462
|
-
function
|
|
2463
|
-
|
|
2464
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_eq_ne(ptr, other, f_status_.__wbg_ptr);
|
|
2491
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_delete() {
|
|
2492
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_delete();
|
|
2465
2493
|
return ret;
|
|
2466
2494
|
}
|
|
2467
2495
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_exists() {
|
|
@@ -2480,68 +2508,68 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_s
|
|
|
2480
2508
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_session_save();
|
|
2481
2509
|
return ret;
|
|
2482
2510
|
}
|
|
2483
|
-
function
|
|
2484
|
-
const ret = wasm.
|
|
2511
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_public_key_hash() {
|
|
2512
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_public_key_hash();
|
|
2485
2513
|
return ret;
|
|
2486
2514
|
}
|
|
2487
|
-
function
|
|
2488
|
-
const ret = wasm.
|
|
2515
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_signature_scheme() {
|
|
2516
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_signature_scheme();
|
|
2489
2517
|
return ret;
|
|
2490
2518
|
}
|
|
2491
|
-
function
|
|
2492
|
-
const ret = wasm.
|
|
2519
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type() {
|
|
2520
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_credentialref_type();
|
|
2493
2521
|
return ret;
|
|
2494
2522
|
}
|
|
2495
|
-
function
|
|
2496
|
-
const ret = wasm.
|
|
2523
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_hash_ref() {
|
|
2524
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_hash_ref();
|
|
2497
2525
|
return ret;
|
|
2498
2526
|
}
|
|
2499
|
-
function
|
|
2500
|
-
const ret = wasm.
|
|
2527
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_is_valid() {
|
|
2528
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_is_valid();
|
|
2501
2529
|
return ret;
|
|
2502
2530
|
}
|
|
2503
|
-
function
|
|
2504
|
-
const ret = wasm.
|
|
2531
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_signature_scheme() {
|
|
2532
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_signature_scheme();
|
|
2505
2533
|
return ret;
|
|
2506
2534
|
}
|
|
2507
|
-
function
|
|
2508
|
-
const ret = wasm.
|
|
2535
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert() {
|
|
2536
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert();
|
|
2509
2537
|
return ret;
|
|
2510
2538
|
}
|
|
2511
2539
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor() {
|
|
2512
2540
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor();
|
|
2513
2541
|
return ret;
|
|
2514
2542
|
}
|
|
2515
|
-
function
|
|
2516
|
-
const ret = wasm.
|
|
2543
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_get_trust_anchors() {
|
|
2544
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_get_trust_anchors();
|
|
2517
2545
|
return ret;
|
|
2518
2546
|
}
|
|
2519
|
-
function
|
|
2520
|
-
const ret = wasm.
|
|
2547
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_remove_trust_anchor() {
|
|
2548
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_remove_trust_anchor();
|
|
2521
2549
|
return ret;
|
|
2522
2550
|
}
|
|
2523
|
-
function
|
|
2524
|
-
const ret = wasm.
|
|
2551
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request() {
|
|
2552
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request();
|
|
2525
2553
|
return ret;
|
|
2526
2554
|
}
|
|
2527
|
-
function
|
|
2528
|
-
const ret = wasm.
|
|
2555
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate() {
|
|
2556
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_authenticate();
|
|
2529
2557
|
return ret;
|
|
2530
2558
|
}
|
|
2531
|
-
function
|
|
2532
|
-
const ret = wasm.
|
|
2559
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_close() {
|
|
2560
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_close();
|
|
2533
2561
|
return ret;
|
|
2534
2562
|
}
|
|
2535
|
-
function
|
|
2536
|
-
const ret = wasm.
|
|
2563
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location() {
|
|
2564
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_get_location();
|
|
2537
2565
|
return ret;
|
|
2538
2566
|
}
|
|
2539
|
-
function
|
|
2540
|
-
const ret = wasm.
|
|
2567
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key() {
|
|
2568
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_database_update_key();
|
|
2541
2569
|
return ret;
|
|
2542
2570
|
}
|
|
2543
|
-
function
|
|
2544
|
-
const ret = wasm.
|
|
2571
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_x509credentialacquisition_finalize() {
|
|
2572
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_x509credentialacquisition_finalize();
|
|
2545
2573
|
return ret;
|
|
2546
2574
|
}
|
|
2547
2575
|
function ubrn_uniffi_core_crypto_ffi_checksum_method_externalsender_serialize() {
|
|
@@ -2564,32 +2592,40 @@ function ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_credential_ty
|
|
|
2564
2592
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_keypackageref_credential_type();
|
|
2565
2593
|
return ret;
|
|
2566
2594
|
}
|
|
2567
|
-
function
|
|
2568
|
-
const ret = wasm.
|
|
2595
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce() {
|
|
2596
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_get_backend_nonce();
|
|
2569
2597
|
return ret;
|
|
2570
2598
|
}
|
|
2571
|
-
function
|
|
2572
|
-
const ret = wasm.
|
|
2599
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token() {
|
|
2600
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_fetch_backend_access_token();
|
|
2573
2601
|
return ret;
|
|
2574
2602
|
}
|
|
2575
|
-
function
|
|
2576
|
-
const ret = wasm.
|
|
2603
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new() {
|
|
2604
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_clientid_new();
|
|
2577
2605
|
return ret;
|
|
2578
2606
|
}
|
|
2579
|
-
function
|
|
2580
|
-
const ret = wasm.
|
|
2607
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_credential_basic() {
|
|
2608
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_credential_basic();
|
|
2581
2609
|
return ret;
|
|
2582
2610
|
}
|
|
2583
|
-
function
|
|
2584
|
-
const ret = wasm.
|
|
2611
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory() {
|
|
2612
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_in_memory();
|
|
2585
2613
|
return ret;
|
|
2586
2614
|
}
|
|
2587
|
-
function
|
|
2588
|
-
const ret = wasm.
|
|
2615
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open() {
|
|
2616
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open();
|
|
2589
2617
|
return ret;
|
|
2590
2618
|
}
|
|
2591
|
-
function
|
|
2592
|
-
const ret = wasm.
|
|
2619
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new() {
|
|
2620
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_databasekey_new();
|
|
2621
|
+
return ret;
|
|
2622
|
+
}
|
|
2623
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes() {
|
|
2624
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_frombytes();
|
|
2625
|
+
return ret;
|
|
2626
|
+
}
|
|
2627
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new() {
|
|
2628
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new();
|
|
2593
2629
|
return ret;
|
|
2594
2630
|
}
|
|
2595
2631
|
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_x509credentialacquisition_new_from_credential_ref() {
|
|
@@ -2600,25 +2636,29 @@ function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse()
|
|
|
2600
2636
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse();
|
|
2601
2637
|
return ret;
|
|
2602
2638
|
}
|
|
2603
|
-
function
|
|
2604
|
-
const ret = wasm.
|
|
2639
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string() {
|
|
2640
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_from_hex_string();
|
|
2605
2641
|
return ret;
|
|
2606
2642
|
}
|
|
2607
|
-
function
|
|
2608
|
-
const ret = wasm.
|
|
2643
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new() {
|
|
2644
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_deviceid_new();
|
|
2609
2645
|
return ret;
|
|
2610
2646
|
}
|
|
2611
|
-
function
|
|
2612
|
-
const ret = wasm.
|
|
2647
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new() {
|
|
2648
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_uuid_new();
|
|
2613
2649
|
return ret;
|
|
2614
2650
|
}
|
|
2615
|
-
function
|
|
2616
|
-
const ret = wasm.
|
|
2651
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptoffi_new() {
|
|
2652
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptoffi_new();
|
|
2617
2653
|
return ret;
|
|
2618
2654
|
}
|
|
2619
|
-
function
|
|
2620
|
-
const ret = wasm.
|
|
2621
|
-
return ret
|
|
2655
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new() {
|
|
2656
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_conversationid_new();
|
|
2657
|
+
return ret;
|
|
2658
|
+
}
|
|
2659
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptocontext_new() {
|
|
2660
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_corecryptocontext_new();
|
|
2661
|
+
return ret;
|
|
2622
2662
|
}
|
|
2623
2663
|
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_groupinfo_new() {
|
|
2624
2664
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_groupinfo_new();
|
|
@@ -2632,28 +2672,20 @@ function ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new() {
|
|
|
2632
2672
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_welcome_new();
|
|
2633
2673
|
return ret;
|
|
2634
2674
|
}
|
|
2635
|
-
function
|
|
2636
|
-
const ret = wasm.
|
|
2637
|
-
return ret;
|
|
2638
|
-
}
|
|
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;
|
|
2642
|
-
}
|
|
2643
|
-
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open() {
|
|
2644
|
-
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_database_open();
|
|
2675
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk() {
|
|
2676
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_jwk();
|
|
2645
2677
|
return ret;
|
|
2646
2678
|
}
|
|
2647
|
-
function
|
|
2648
|
-
const ret = wasm.
|
|
2679
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key() {
|
|
2680
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_externalsender_parse_public_key();
|
|
2649
2681
|
return ret;
|
|
2650
2682
|
}
|
|
2651
|
-
function
|
|
2652
|
-
const ret = wasm.
|
|
2683
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new() {
|
|
2684
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_keypackage_new();
|
|
2653
2685
|
return ret;
|
|
2654
2686
|
}
|
|
2655
|
-
function
|
|
2656
|
-
const ret = wasm.
|
|
2687
|
+
function ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new() {
|
|
2688
|
+
const ret = wasm.ubrn_uniffi_core_crypto_ffi_checksum_constructor_pkienvironment_new();
|
|
2657
2689
|
return ret;
|
|
2658
2690
|
}
|
|
2659
2691
|
function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f_status_) {
|
|
@@ -2661,6 +2693,10 @@ function ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f
|
|
|
2661
2693
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_method_clientid_uniffi_trait_hash(ptr, f_status_.__wbg_ptr);
|
|
2662
2694
|
return BigInt.asUintN(64, ret);
|
|
2663
2695
|
}
|
|
2696
|
+
function ubrn_ffi_core_crypto_ffi_uniffi_contract_version() {
|
|
2697
|
+
const ret = wasm.ubrn_ffi_core_crypto_ffi_uniffi_contract_version();
|
|
2698
|
+
return ret >>> 0;
|
|
2699
|
+
}
|
|
2664
2700
|
function ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_) {
|
|
2665
2701
|
_assertClass(f_status_, RustCallStatus);
|
|
2666
2702
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_clone_deviceid(handle, f_status_.__wbg_ptr);
|
|
@@ -2682,32 +2718,32 @@ function ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_)
|
|
|
2682
2718
|
const ret = wasm.ubrn_uniffi_core_crypto_ffi_fn_constructor_deviceid_new(id, f_status_.__wbg_ptr);
|
|
2683
2719
|
return BigInt.asUintN(64, ret);
|
|
2684
2720
|
}
|
|
2685
|
-
function
|
|
2686
|
-
wasm.
|
|
2687
|
-
}
|
|
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);
|
|
2690
|
-
}
|
|
2691
|
-
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventuECsfqA46X3blwG_20core_crypto_keystore(arg0, arg1, arg2) {
|
|
2692
|
-
wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventuECsfqA46X3blwG_20core_crypto_keystore(arg0, arg1, arg2);
|
|
2693
|
-
}
|
|
2694
|
-
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECsk4VgpxaNMXX_3idb(arg0, arg1, arg2) {
|
|
2695
|
-
wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECsk4VgpxaNMXX_3idb(arg0, arg1, arg2);
|
|
2696
|
-
}
|
|
2697
|
-
function _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress0_1__6invokeuECsckjKPEl01w1_18indexed_db_futures(arg0, arg1) {
|
|
2698
|
-
wasm._RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress0_1__6invokeuECsckjKPEl01w1_18indexed_db_futures(arg0, arg1);
|
|
2721
|
+
function _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtB8_7JsValueuECs6oi2QWajr82_20wasm_bindgen_futures(arg0, arg1, arg2) {
|
|
2722
|
+
wasm._RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtB8_7JsValueuECs6oi2QWajr82_20wasm_bindgen_futures(arg0, arg1, arg2);
|
|
2699
2723
|
}
|
|
2700
2724
|
function takeFromExternrefTable0(idx) {
|
|
2701
2725
|
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
2702
2726
|
wasm.__externref_table_dealloc(idx);
|
|
2703
2727
|
return value;
|
|
2704
2728
|
}
|
|
2705
|
-
function
|
|
2706
|
-
const ret = wasm.
|
|
2729
|
+
function _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventINtNtCsdkdt1aaAg1T_4core6result6ResultuNtB8_7JsValueEECsezU3dQ8ny60_15core_crypto_ffi(arg0, arg1, arg2) {
|
|
2730
|
+
const ret = wasm._RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventINtNtCsdkdt1aaAg1T_4core6result6ResultuNtB8_7JsValueEECsezU3dQ8ny60_15core_crypto_ffi(arg0, arg1, arg2);
|
|
2707
2731
|
if (ret[1]) {
|
|
2708
2732
|
throw takeFromExternrefTable0(ret[0]);
|
|
2709
2733
|
}
|
|
2710
2734
|
}
|
|
2735
|
+
function _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventuECszZaOapotrU_18indexed_db_futures(arg0, arg1, arg2) {
|
|
2736
|
+
wasm._RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventuECszZaOapotrU_18indexed_db_futures(arg0, arg1, arg2);
|
|
2737
|
+
}
|
|
2738
|
+
function _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventuECsfTAVwrhQF3_20core_crypto_keystore(arg0, arg1, arg2) {
|
|
2739
|
+
wasm._RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventuECsfTAVwrhQF3_20core_crypto_keystore(arg0, arg1, arg2);
|
|
2740
|
+
}
|
|
2741
|
+
function _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress0_1__6invokeuECszZaOapotrU_18indexed_db_futures(arg0, arg1) {
|
|
2742
|
+
wasm._RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress0_1__6invokeuECszZaOapotrU_18indexed_db_futures(arg0, arg1);
|
|
2743
|
+
}
|
|
2744
|
+
function _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventuECs7RhRqPViKqB_3idb(arg0, arg1, arg2) {
|
|
2745
|
+
wasm._RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventuECs7RhRqPViKqB_3idb(arg0, arg1, arg2);
|
|
2746
|
+
}
|
|
2711
2747
|
var __wbindgen_enum_IdbRequestReadyState = ["pending", "done"];
|
|
2712
2748
|
var __wbindgen_enum_IdbTransactionMode = ["readonly", "readwrite", "versionchange", "readwriteflush", "cleanup"];
|
|
2713
2749
|
var ForeignFutureCompleteF32Finalization = typeof FinalizationRegistry === "undefined" ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry((ptr) => wasm.__wbg_foreignfuturecompletef32_free(ptr >>> 0, 1));
|
|
@@ -4080,44 +4116,36 @@ function __wbg_get_imports() {
|
|
|
4080
4116
|
const ret = arg0.versions;
|
|
4081
4117
|
return ret;
|
|
4082
4118
|
};
|
|
4083
|
-
imports.wbg.
|
|
4084
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4119
|
+
imports.wbg.__wbindgen_cast_13b5e8fcefd01c4c = function(arg0, arg1) {
|
|
4120
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCslSRLpRjL4Qd_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventEEp6OutputuEL_ECs7RhRqPViKqB_3idb, _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventuECs7RhRqPViKqB_3idb);
|
|
4085
4121
|
return ret;
|
|
4086
4122
|
};
|
|
4087
4123
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
4088
4124
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
4089
4125
|
return ret;
|
|
4090
4126
|
};
|
|
4091
|
-
imports.wbg.
|
|
4092
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4127
|
+
imports.wbg.__wbindgen_cast_2fa6c75e78383271 = function(arg0, arg1) {
|
|
4128
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCslSRLpRjL4Qd_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCs5aKoPCzAvZg_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventEEp6OutputuEL_ECsfTAVwrhQF3_20core_crypto_keystore, _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventuECsfTAVwrhQF3_20core_crypto_keystore);
|
|
4129
|
+
return ret;
|
|
4130
|
+
};
|
|
4131
|
+
imports.wbg.__wbindgen_cast_35698d6af910240c = function(arg0, arg1) {
|
|
4132
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCslSRLpRjL4Qd_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventEEp6OutputuEL_ECszZaOapotrU_18indexed_db_futures, _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress0_1__6invokeuECszZaOapotrU_18indexed_db_futures);
|
|
4093
4133
|
return ret;
|
|
4094
4134
|
};
|
|
4095
4135
|
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
4096
4136
|
const ret = BigInt.asUintN(64, arg0);
|
|
4097
4137
|
return ret;
|
|
4098
4138
|
};
|
|
4139
|
+
imports.wbg.__wbindgen_cast_60eb12e88f7c1fa3 = function(arg0, arg1) {
|
|
4140
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCslSRLpRjL4Qd_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventEEp6OutputuEL_ECszZaOapotrU_18indexed_db_futures, _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features9gen_Event5EventuECszZaOapotrU_18indexed_db_futures);
|
|
4141
|
+
return ret;
|
|
4142
|
+
};
|
|
4099
4143
|
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
|
4100
4144
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
4101
4145
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
4102
4146
|
const ret = v0;
|
|
4103
4147
|
return ret;
|
|
4104
4148
|
};
|
|
4105
|
-
imports.wbg.__wbindgen_cast_878857b9307e94d7 = function(arg0, arg1) {
|
|
4106
|
-
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCs1v8yTr2kYOM_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventEEp6OutputuEL_ECsk4VgpxaNMXX_3idb, _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCsj0N8EzF6AVm_7web_sys8features9gen_Event5EventuECsk4VgpxaNMXX_3idb);
|
|
4107
|
-
return ret;
|
|
4108
|
-
};
|
|
4109
|
-
imports.wbg.__wbindgen_cast_8ab00396d91dd2da = function(arg0, arg1) {
|
|
4110
|
-
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCs1v8yTr2kYOM_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtB4_7JsValueEEp6OutputuEL_ECs1CdnCKNhB1d_20wasm_bindgen_futures, _RINvNvNtNtCs1v8yTr2kYOM_12wasm_bindgen7convert8closuress2_1__6invokeNtB8_7JsValueuECs1CdnCKNhB1d_20wasm_bindgen_futures);
|
|
4111
|
-
return ret;
|
|
4112
|
-
};
|
|
4113
|
-
imports.wbg.__wbindgen_cast_aa1336661b979b7a = function(arg0, arg1) {
|
|
4114
|
-
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);
|
|
4115
|
-
return ret;
|
|
4116
|
-
};
|
|
4117
|
-
imports.wbg.__wbindgen_cast_b5741fc4d2a52b2b = function(arg0, arg1) {
|
|
4118
|
-
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);
|
|
4119
|
-
return ret;
|
|
4120
|
-
};
|
|
4121
4149
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
4122
4150
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
4123
4151
|
return ret;
|
|
@@ -4126,6 +4154,14 @@ function __wbg_get_imports() {
|
|
|
4126
4154
|
const ret = arg0;
|
|
4127
4155
|
return ret;
|
|
4128
4156
|
};
|
|
4157
|
+
imports.wbg.__wbindgen_cast_e06c15c3e65c1b9e = function(arg0, arg1) {
|
|
4158
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCslSRLpRjL4Qd_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtB4_7JsValueEEp6OutputuEL_ECs6oi2QWajr82_20wasm_bindgen_futures, _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtB8_7JsValueuECs6oi2QWajr82_20wasm_bindgen_futures);
|
|
4159
|
+
return ret;
|
|
4160
|
+
};
|
|
4161
|
+
imports.wbg.__wbindgen_cast_f39e1a27b2b659d3 = function(arg0, arg1) {
|
|
4162
|
+
const ret = makeMutClosure(arg0, arg1, wasm._RINvNtCslSRLpRjL4Qd_12wasm_bindgen7closure7destroyDINtNtNtCsdkdt1aaAg1T_4core3ops8function5FnMutTNtNtNtCs5aKoPCzAvZg_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventEEp6OutputINtNtBU_6result6ResultuNtB4_7JsValueEEL_ECsezU3dQ8ny60_15core_crypto_ffi, _RINvNvNtNtCslSRLpRjL4Qd_12wasm_bindgen7convert8closuress2_1__6invokeNtNtNtCs5aKoPCzAvZg_7web_sys8features25gen_IdbVersionChangeEvent21IdbVersionChangeEventINtNtCsdkdt1aaAg1T_4core6result6ResultuNtB8_7JsValueEECsezU3dQ8ny60_15core_crypto_ffi);
|
|
4163
|
+
return ret;
|
|
4164
|
+
};
|
|
4129
4165
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
4130
4166
|
const table = wasm.__wbindgen_externrefs;
|
|
4131
4167
|
const offset = table.grow(4);
|
|
@@ -7670,6 +7706,34 @@ var FfiConverterTypeSignatureScheme = (() => {
|
|
|
7670
7706
|
}
|
|
7671
7707
|
return new FFIConverter;
|
|
7672
7708
|
})();
|
|
7709
|
+
var FfiConverterTypeTargetedMessagePolicy = (() => {
|
|
7710
|
+
const ordinalConverter = FfiConverterInt32;
|
|
7711
|
+
|
|
7712
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
7713
|
+
read(from) {
|
|
7714
|
+
switch (ordinalConverter.read(from)) {
|
|
7715
|
+
case 1:
|
|
7716
|
+
return 0 /* Transient */;
|
|
7717
|
+
case 2:
|
|
7718
|
+
return 1 /* Persisted */;
|
|
7719
|
+
default:
|
|
7720
|
+
throw new UniffiInternalError.UnexpectedEnumCase;
|
|
7721
|
+
}
|
|
7722
|
+
}
|
|
7723
|
+
write(value, into) {
|
|
7724
|
+
switch (value) {
|
|
7725
|
+
case 0 /* Transient */:
|
|
7726
|
+
return ordinalConverter.write(1, into);
|
|
7727
|
+
case 1 /* Persisted */:
|
|
7728
|
+
return ordinalConverter.write(2, into);
|
|
7729
|
+
}
|
|
7730
|
+
}
|
|
7731
|
+
allocationSize(value) {
|
|
7732
|
+
return ordinalConverter.allocationSize(0);
|
|
7733
|
+
}
|
|
7734
|
+
}
|
|
7735
|
+
return new FFIConverter;
|
|
7736
|
+
})();
|
|
7673
7737
|
var FfiConverterTypeMlsTransportData = FfiConverterUint8Array;
|
|
7674
7738
|
|
|
7675
7739
|
class ConversationId extends UniffiAbstractObject {
|
|
@@ -8753,6 +8817,11 @@ class CoreCryptoContext extends UniffiAbstractObject {
|
|
|
8753
8817
|
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_message(uniffiTypeCoreCryptoContextObjectFactory.clonePointer(this), FfiConverterTypeConversationId.lower(conversationId, nativeModule().rustbuffer_alloc), FfiConverterUint8Array.lower(message, nativeModule().rustbuffer_alloc));
|
|
8754
8818
|
}, 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, FfiConverterUint8Array.lift.bind(FfiConverterUint8Array), FfiConverterString.lift.bind(FfiConverterString), asyncOpts_, FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError));
|
|
8755
8819
|
}
|
|
8820
|
+
async encryptTargetedMessage(conversationId, recipient, policy, message, asyncOpts_) {
|
|
8821
|
+
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
8822
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_encrypt_targeted_message(uniffiTypeCoreCryptoContextObjectFactory.clonePointer(this), FfiConverterTypeConversationId.lower(conversationId, nativeModule().rustbuffer_alloc), FfiConverterTypeClientId.lower(recipient, nativeModule().rustbuffer_alloc), FfiConverterTypeTargetedMessagePolicy.lower(policy, nativeModule().rustbuffer_alloc), FfiConverterUint8Array.lower(message, nativeModule().rustbuffer_alloc));
|
|
8823
|
+
}, 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, FfiConverterUint8Array.lift.bind(FfiConverterUint8Array), FfiConverterString.lift.bind(FfiConverterString), asyncOpts_, FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError));
|
|
8824
|
+
}
|
|
8756
8825
|
async exportSecretKey(conversationId, keyLength, asyncOpts_) {
|
|
8757
8826
|
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
8758
8827
|
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_corecryptocontext_export_secret_key(uniffiTypeCoreCryptoContextObjectFactory.clonePointer(this), FfiConverterTypeConversationId.lower(conversationId, nativeModule().rustbuffer_alloc), FfiConverterUInt32.lower(keyLength, nativeModule().rustbuffer_alloc));
|
|
@@ -9126,6 +9195,16 @@ class PkiEnvironment extends UniffiAbstractObject {
|
|
|
9126
9195
|
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_add_trust_anchor(uniffiTypePkiEnvironmentObjectFactory.clonePointer(this), FfiConverterString.lower(certPem, nativeModule().rustbuffer_alloc));
|
|
9127
9196
|
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_void, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_void, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_void, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_void, (_v) => {}, FfiConverterString.lift.bind(FfiConverterString), asyncOpts_, FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError));
|
|
9128
9197
|
}
|
|
9198
|
+
async getTrustAnchors(asyncOpts_) {
|
|
9199
|
+
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
9200
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_get_trust_anchors(uniffiTypePkiEnvironmentObjectFactory.clonePointer(this));
|
|
9201
|
+
}, 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, FfiConverterSequenceString.lift.bind(FfiConverterSequenceString), FfiConverterString.lift.bind(FfiConverterString), asyncOpts_, FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError));
|
|
9202
|
+
}
|
|
9203
|
+
async removeTrustAnchor(fingerprint, asyncOpts_) {
|
|
9204
|
+
return await uniffiRustCallAsync(uniffiCaller, () => {
|
|
9205
|
+
return nativeModule().ubrn_uniffi_core_crypto_ffi_fn_method_pkienvironment_remove_trust_anchor(uniffiTypePkiEnvironmentObjectFactory.clonePointer(this), FfiConverterUint8Array.lower(fingerprint, nativeModule().rustbuffer_alloc));
|
|
9206
|
+
}, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_poll_void, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_cancel_void, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_complete_void, nativeModule().ubrn_ffi_core_crypto_ffi_rust_future_free_void, (_v) => {}, FfiConverterString.lift.bind(FfiConverterString), asyncOpts_, FfiConverterTypeCoreCryptoError.lift.bind(FfiConverterTypeCoreCryptoError));
|
|
9207
|
+
}
|
|
9129
9208
|
uniffiDestroy() {
|
|
9130
9209
|
const ptr = this[destructorGuardSymbol];
|
|
9131
9210
|
if (ptr !== undefined) {
|
|
@@ -10303,6 +10382,9 @@ function uniffiEnsureInitialized() {
|
|
|
10303
10382
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message() !== 23805) {
|
|
10304
10383
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_message");
|
|
10305
10384
|
}
|
|
10385
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_targeted_message() !== 52733) {
|
|
10386
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_encrypt_targeted_message");
|
|
10387
|
+
}
|
|
10306
10388
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key() !== 35407) {
|
|
10307
10389
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_export_secret_key");
|
|
10308
10390
|
}
|
|
@@ -10618,9 +10700,15 @@ function uniffiEnsureInitialized() {
|
|
|
10618
10700
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert() !== 57664) {
|
|
10619
10701
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_intermediate_cert");
|
|
10620
10702
|
}
|
|
10621
|
-
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor() !==
|
|
10703
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor() !== 14999) {
|
|
10622
10704
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_pkienvironment_add_trust_anchor");
|
|
10623
10705
|
}
|
|
10706
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_get_trust_anchors() !== 11812) {
|
|
10707
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_pkienvironment_get_trust_anchors");
|
|
10708
|
+
}
|
|
10709
|
+
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironment_remove_trust_anchor() !== 41980) {
|
|
10710
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_pkienvironment_remove_trust_anchor");
|
|
10711
|
+
}
|
|
10624
10712
|
if (nativeModule().ubrn_uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request() !== 1349) {
|
|
10625
10713
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_pkienvironmenthooks_http_request");
|
|
10626
10714
|
}
|
|
@@ -10719,6 +10807,7 @@ var core_crypto_ffi_default = Object.freeze({
|
|
|
10719
10807
|
FfiConverterTypeProteusError,
|
|
10720
10808
|
FfiConverterTypeSecretKey,
|
|
10721
10809
|
FfiConverterTypeSignatureScheme,
|
|
10810
|
+
FfiConverterTypeTargetedMessagePolicy,
|
|
10722
10811
|
FfiConverterTypeTimestamp,
|
|
10723
10812
|
FfiConverterTypeUuid,
|
|
10724
10813
|
FfiConverterTypeWelcome,
|