@wireapp/core-crypto 5.4.0 → 6.0.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/package.json +21 -22
- package/src/core-crypto-ffi_bg.wasm +0 -0
- package/src/core-crypto-ffi_bg.wasm.d.ts +227 -188
- package/src/corecrypto.d.ts +485 -475
- package/src/corecrypto.js +1496 -902
package/package.json
CHANGED
@@ -1,31 +1,31 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wireapp/core-crypto",
|
3
|
-
"version": "
|
3
|
+
"version": "6.0.0",
|
4
4
|
"author": "Wire CoreCrypto team <team.corecrypto@wire.com>",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
7
7
|
"url": "git@github.com:wireapp/core-crypto.git"
|
8
8
|
},
|
9
|
+
"main": "src/CoreCrypto.ts",
|
9
10
|
"module": "src/corecrypto.js",
|
10
11
|
"devDependencies": {
|
11
|
-
"@types/bun": "^1.
|
12
|
-
"@types/mocha": "^10.0.
|
13
|
-
"@
|
14
|
-
"@
|
15
|
-
"@wdio/
|
16
|
-
"@wdio/
|
17
|
-
"@wdio/
|
18
|
-
"@wdio/
|
19
|
-
"@wdio/spec-reporter": "^9.2.14",
|
20
|
-
"@wdio/static-server-service": "^9.2.2",
|
12
|
+
"@types/bun": "^1.2.9",
|
13
|
+
"@types/mocha": "^10.0.10",
|
14
|
+
"@wdio/browser-runner": "^9.12.1",
|
15
|
+
"@wdio/cli": "^9.12.1",
|
16
|
+
"@wdio/logger": "^9.4.4",
|
17
|
+
"@wdio/mocha-framework": "^9.12.1",
|
18
|
+
"@wdio/spec-reporter": "^9.11.0",
|
19
|
+
"@wdio/static-server-service": "^9.10.1",
|
21
20
|
"dts-bundle-generator": "^9.5.1",
|
22
|
-
"eslint": "^
|
23
|
-
"eslint-config-prettier": "^
|
24
|
-
"eslint-plugin-prettier": "^5.
|
25
|
-
"eslint-plugin-wdio": "^9.
|
26
|
-
"prettier": "^3.
|
27
|
-
"ts-loader": "^9.5.
|
28
|
-
"typescript": "^5.
|
21
|
+
"eslint": "^9.23.0",
|
22
|
+
"eslint-config-prettier": "^10.1.1",
|
23
|
+
"eslint-plugin-prettier": "^5.2.5",
|
24
|
+
"eslint-plugin-wdio": "^9.9.1",
|
25
|
+
"prettier": "^3.5.3",
|
26
|
+
"ts-loader": "^9.5.2",
|
27
|
+
"typescript": "^5.8.2",
|
28
|
+
"typescript-eslint": "^8.28.0"
|
29
29
|
},
|
30
30
|
"bugs": {
|
31
31
|
"url": "https://github.com/wireapp/core-crypto/issues"
|
@@ -37,7 +37,6 @@
|
|
37
37
|
"src/core-crypto-ffi_bg.wasm",
|
38
38
|
"src/core-crypto-ffi_bg.wasm.d.ts"
|
39
39
|
],
|
40
|
-
"main": "src/CoreCrypto.ts",
|
41
40
|
"homepage": "https://github.com/wireapp/core-crypto",
|
42
41
|
"keywords": [
|
43
42
|
"wire",
|
@@ -53,9 +52,9 @@
|
|
53
52
|
"scripts": {
|
54
53
|
"clean": "rm -f src/corecrypto.js src/corecrypto.d.ts",
|
55
54
|
"build": "bun run clean && bun build --target browser --format esm --outfile src/corecrypto.js src/CoreCrypto.ts",
|
56
|
-
"postbuild": "
|
57
|
-
"test": "
|
58
|
-
"bench": "
|
55
|
+
"postbuild": "bun x dts-bundle-generator --project tsconfig.json -o src/corecrypto.d.ts --no-check --export-referenced-types false src/CoreCrypto.ts",
|
56
|
+
"test": "bun x wdio run wdio.conf.ts --spec test/wdio/*.test.ts && bun test",
|
57
|
+
"bench": "bun x wdio run wdio.conf.ts --spec benches/**/*.bench.ts --log-level warn"
|
59
58
|
},
|
60
59
|
"type": "module",
|
61
60
|
"types": "src/corecrypto.d.ts"
|
Binary file
|
@@ -1,147 +1,242 @@
|
|
1
1
|
/* tslint:disable */
|
2
2
|
/* eslint-disable */
|
3
3
|
export const memory: WebAssembly.Memory;
|
4
|
+
export const __wbg_commitbundle_free: (a: number, b: number) => void;
|
5
|
+
export const __wbg_get_commitbundle_welcome: (a: number) => [number, number];
|
6
|
+
export const __wbg_set_commitbundle_welcome: (a: number, b: number, c: number) => void;
|
7
|
+
export const __wbg_get_commitbundle_commit: (a: number) => [number, number];
|
8
|
+
export const __wbg_set_commitbundle_commit: (a: number, b: number, c: number) => void;
|
9
|
+
export const __wbg_get_commitbundle_group_info: (a: number) => number;
|
10
|
+
export const __wbg_set_commitbundle_group_info: (a: number, b: number) => void;
|
11
|
+
export const __wbg_groupinfobundle_free: (a: number, b: number) => void;
|
12
|
+
export const __wbg_get_groupinfobundle_encryption_type: (a: number) => number;
|
13
|
+
export const __wbg_set_groupinfobundle_encryption_type: (a: number, b: number) => void;
|
14
|
+
export const __wbg_get_groupinfobundle_ratchet_tree_type: (a: number) => number;
|
15
|
+
export const __wbg_set_groupinfobundle_ratchet_tree_type: (a: number, b: number) => void;
|
16
|
+
export const __wbg_get_groupinfobundle_payload: (a: number) => [number, number];
|
17
|
+
export const __wbg_proposalbundle_free: (a: number, b: number) => void;
|
18
|
+
export const __wbg_get_proposalbundle_proposal: (a: number) => [number, number];
|
19
|
+
export const __wbg_get_proposalbundle_proposal_ref: (a: number) => [number, number];
|
20
|
+
export const __wbg_set_proposalbundle_proposal_ref: (a: number, b: number, c: number) => void;
|
21
|
+
export const __wbg_get_proposalbundle_crl_new_distribution_points: (a: number) => [number, number];
|
22
|
+
export const __wbg_set_proposalbundle_crl_new_distribution_points: (a: number, b: number, c: number) => void;
|
23
|
+
export const __wbg_get_proteusautoprekeybundle_id: (a: number) => number;
|
24
|
+
export const __wbg_get_proteusautoprekeybundle_pkb: (a: number) => [number, number];
|
25
|
+
export const __wbg_welcomebundle_free: (a: number, b: number) => void;
|
26
|
+
export const __wbg_get_welcomebundle_id: (a: number) => [number, number];
|
27
|
+
export const __wbg_get_welcomebundle_crl_new_distribution_points: (a: number) => [number, number];
|
28
|
+
export const __wbg_set_welcomebundle_crl_new_distribution_points: (a: number, b: number, c: number) => void;
|
29
|
+
export const __wbg_ciphersuite_free: (a: number, b: number) => void;
|
30
|
+
export const ciphersuite_as_u16: (a: number) => number;
|
31
|
+
export const ciphersuite_new: (a: number) => [number, number, number];
|
32
|
+
export const __wbg_ciphersuites_free: (a: number, b: number) => void;
|
33
|
+
export const ciphersuites_from_u16s: (a: number, b: number) => [number, number, number];
|
34
|
+
export const __wbg_clientid_free: (a: number, b: number) => void;
|
35
|
+
export const clientid_new: (a: number, b: number) => number;
|
36
|
+
export const clientid_as_bytes: (a: number) => [number, number];
|
37
|
+
export const __wbg_customconfiguration_free: (a: number, b: number) => void;
|
38
|
+
export const __wbg_get_customconfiguration_keyRotationSpan: (a: number) => number;
|
39
|
+
export const __wbg_set_customconfiguration_keyRotationSpan: (a: number, b: number) => void;
|
40
|
+
export const __wbg_get_customconfiguration_wirePolicy: (a: number) => number;
|
41
|
+
export const __wbg_set_customconfiguration_wirePolicy: (a: number, b: number) => void;
|
42
|
+
export const customconfiguration_new: (a: number, b: number) => number;
|
43
|
+
export const __wbg_conversationconfiguration_free: (a: number, b: number) => void;
|
44
|
+
export const __wbg_get_conversationconfiguration_ciphersuite: (a: number) => number;
|
45
|
+
export const __wbg_get_conversationconfiguration_custom: (a: number) => number;
|
46
|
+
export const conversationconfiguration_new: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
47
|
+
export const conversationconfiguration_externalSenders: (a: number) => [number, number];
|
48
|
+
export const corecrypto_client_public_key: (a: number, b: number, c: number) => any;
|
49
|
+
export const corecrypto_transaction: (a: number, b: any) => any;
|
50
|
+
export const corecrypto_conversation_epoch: (a: number, b: any) => any;
|
51
|
+
export const corecrypto_conversation_ciphersuite: (a: number, b: any) => any;
|
52
|
+
export const corecrypto_conversation_exists: (a: number, b: any) => any;
|
53
|
+
export const corecrypto_get_client_ids: (a: number, b: any) => any;
|
54
|
+
export const corecrypto_get_external_sender: (a: number, b: any) => any;
|
55
|
+
export const corecrypto_export_secret_key: (a: number, b: any, c: number) => any;
|
56
|
+
export const corecrypto_get_device_identities: (a: number, b: any, c: number, d: number) => any;
|
57
|
+
export const corecrypto_get_user_identities: (a: number, b: any, c: number, d: number) => any;
|
58
|
+
export const corecrypto_get_credential_in_use: (a: number, b: number, c: number, d: number) => any;
|
59
|
+
export const __wbg_e2eidumpedpkienv_free: (a: number, b: number) => void;
|
60
|
+
export const __wbg_get_e2eidumpedpkienv_intermediates: (a: number) => [number, number];
|
61
|
+
export const __wbg_get_e2eidumpedpkienv_crls: (a: number) => [number, number];
|
62
|
+
export const corecrypto_e2ei_dump_pki_env: (a: number) => any;
|
63
|
+
export const corecrypto_e2ei_is_pki_env_setup: (a: number) => any;
|
64
|
+
export const corecrypto_e2ei_is_enabled: (a: number, b: number) => any;
|
65
|
+
export const __wbg_epochobserver_free: (a: number, b: number) => void;
|
66
|
+
export const epochobserver_new: (a: any, b: any) => [number, number, number];
|
67
|
+
export const corecrypto_register_epoch_observer: (a: number, b: number) => any;
|
68
|
+
export const __wbg_corecryptologger_free: (a: number, b: number) => void;
|
69
|
+
export const corecryptologger_new: (a: any, b: any) => [number, number, number];
|
70
|
+
export const corecrypto_set_logger: (a: number) => void;
|
71
|
+
export const corecrypto_set_max_log_level: (a: number) => void;
|
72
|
+
export const __wbg_mlstransportresponse_free: (a: number, b: number) => void;
|
73
|
+
export const __wbg_get_mlstransportresponse_variant: (a: number) => number;
|
74
|
+
export const __wbg_set_mlstransportresponse_variant: (a: number, b: number) => void;
|
75
|
+
export const __wbg_get_mlstransportresponse_abort_reason: (a: number) => [number, number];
|
76
|
+
export const __wbg_set_mlstransportresponse_abort_reason: (a: number, b: number, c: number) => void;
|
77
|
+
export const mlstransportresponse_new: (a: number, b: number, c: number) => number;
|
78
|
+
export const __wbg_mlstransport_free: (a: number, b: number) => void;
|
79
|
+
export const mlstransport_new: (a: any, b: any, c: any) => [number, number, number];
|
80
|
+
export const corecrypto_provide_transport: (a: number, b: number) => any;
|
81
|
+
export const corecrypto_proteus_session_exists: (a: number, b: number, c: number) => any;
|
82
|
+
export const corecrypto_proteus_fingerprint: (a: number) => any;
|
83
|
+
export const corecrypto_proteus_fingerprint_local: (a: number, b: number, c: number) => any;
|
84
|
+
export const corecrypto_proteus_fingerprint_remote: (a: number, b: number, c: number) => any;
|
85
|
+
export const corecrypto_proteus_last_resort_prekey_id: () => [number, number, number];
|
86
|
+
export const corecrypto_proteus_fingerprint_prekeybundle: (a: number, b: number) => [number, number, number, number];
|
87
|
+
export const corecrypto_random_bytes: (a: number, b: number) => any;
|
88
|
+
export const corecrypto_reseed_rng: (a: number, b: number, c: number) => any;
|
89
|
+
export const __wbg_corecrypto_free: (a: number, b: number) => void;
|
90
|
+
export const corecrypto_async_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
|
91
|
+
export const corecrypto_deferred_init: (a: number, b: number, c: number, d: number, e: number) => any;
|
92
|
+
export const corecrypto_close: (a: number) => any;
|
93
|
+
export const corecrypto_can_close: (a: number) => any;
|
94
|
+
export const __wbg_arrayofbytearray_free: (a: number, b: number) => void;
|
95
|
+
export const arrayofbytearray_new: (a: number, b: number) => number;
|
96
|
+
export const arrayofbytearray_as_arrays: (a: number) => [number, number];
|
97
|
+
export const corecryptocontext_e2ei_new_enrollment: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
98
|
+
export const corecryptocontext_e2ei_new_activation_enrollment: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
|
99
|
+
export const corecryptocontext_e2ei_new_rotate_enrollment: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
|
100
|
+
export const corecryptocontext_e2ei_register_acme_ca: (a: number, b: number, c: number) => any;
|
101
|
+
export const corecryptocontext_e2ei_register_intermediate_ca: (a: number, b: number, c: number) => any;
|
102
|
+
export const corecryptocontext_e2ei_register_crl: (a: number, b: number, c: number, d: number, e: number) => any;
|
103
|
+
export const corecryptocontext_e2ei_mls_init_only: (a: number, b: number, c: number, d: number, e: number) => any;
|
104
|
+
export const corecryptocontext_e2ei_rotate: (a: number, b: any) => any;
|
105
|
+
export const corecryptocontext_save_x509_credential: (a: number, b: number, c: number, d: number) => any;
|
106
|
+
export const corecryptocontext_delete_stale_key_packages: (a: number, b: number) => any;
|
107
|
+
export const corecryptocontext_e2ei_enrollment_stash: (a: number, b: number) => any;
|
108
|
+
export const corecryptocontext_e2ei_enrollment_stash_pop: (a: number, b: number, c: number) => any;
|
109
|
+
export const corecryptocontext_e2ei_conversation_state: (a: number, b: any) => any;
|
110
|
+
export const corecryptocontext_e2ei_is_enabled: (a: number, b: number) => any;
|
111
|
+
export const corecryptocontext_get_device_identities: (a: number, b: any, c: number, d: number) => any;
|
112
|
+
export const corecryptocontext_get_user_identities: (a: number, b: any, c: number, d: number) => any;
|
113
|
+
export const corecryptocontext_get_credential_in_use: (a: number, b: number, c: number, d: number) => any;
|
114
|
+
export const corecryptocontext_e2ei_dump_pki_env: (a: number) => any;
|
115
|
+
export const corecryptocontext_e2ei_is_pki_env_setup: (a: number) => any;
|
116
|
+
export const corecryptocontext_mls_init: (a: number, b: number, c: number, d: number) => any;
|
117
|
+
export const corecryptocontext_mls_generate_keypairs: (a: number, b: number) => any;
|
118
|
+
export const corecryptocontext_mls_init_with_client_id: (a: number, b: number, c: number, d: number, e: number) => any;
|
119
|
+
export const corecryptocontext_client_public_key: (a: number, b: number, c: number) => any;
|
120
|
+
export const corecryptocontext_conversation_epoch: (a: number, b: any) => any;
|
121
|
+
export const corecryptocontext_conversation_ciphersuite: (a: number, b: any) => any;
|
122
|
+
export const corecryptocontext_conversation_exists: (a: number, b: any) => any;
|
123
|
+
export const corecryptocontext_get_client_ids: (a: number, b: any) => any;
|
124
|
+
export const corecryptocontext_export_secret_key: (a: number, b: any, c: number) => any;
|
125
|
+
export const corecryptocontext_get_external_sender: (a: number, b: any) => any;
|
126
|
+
export const corecryptocontext_client_keypackages: (a: number, b: number, c: number, d: number) => any;
|
127
|
+
export const corecryptocontext_client_valid_keypackages_count: (a: number, b: number, c: number) => any;
|
128
|
+
export const corecryptocontext_delete_keypackages: (a: number, b: number) => any;
|
129
|
+
export const corecryptocontext_create_conversation: (a: number, b: any, c: number, d: number) => any;
|
130
|
+
export const corecryptocontext_process_welcome_message: (a: number, b: number, c: number, d: number) => any;
|
131
|
+
export const corecryptocontext_add_clients_to_conversation: (a: number, b: any, c: number) => any;
|
132
|
+
export const corecryptocontext_remove_clients_from_conversation: (a: number, b: any, c: number, d: number) => any;
|
133
|
+
export const corecryptocontext_mark_conversation_as_child_of: (a: number, b: any, c: any) => any;
|
134
|
+
export const corecryptocontext_update_keying_material: (a: number, b: any) => any;
|
135
|
+
export const corecryptocontext_commit_pending_proposals: (a: number, b: any) => any;
|
136
|
+
export const corecryptocontext_wipe_conversation: (a: number, b: any) => any;
|
137
|
+
export const corecryptocontext_decrypt_message: (a: number, b: any, c: number, d: number) => any;
|
138
|
+
export const corecryptocontext_encrypt_message: (a: number, b: any, c: number, d: number) => any;
|
139
|
+
export const corecryptocontext_join_by_external_commit: (a: number, b: number, c: number, d: number, e: number) => any;
|
140
|
+
export const corecryptocontext_proteus_init: (a: number) => any;
|
141
|
+
export const corecryptocontext_proteus_session_from_prekey: (a: number, b: number, c: number, d: number, e: number) => any;
|
142
|
+
export const corecryptocontext_proteus_session_from_message: (a: number, b: number, c: number, d: number, e: number) => any;
|
143
|
+
export const corecryptocontext_proteus_session_save: (a: number, b: number, c: number) => any;
|
144
|
+
export const corecryptocontext_proteus_session_delete: (a: number, b: number, c: number) => any;
|
145
|
+
export const corecryptocontext_proteus_session_exists: (a: number, b: number, c: number) => any;
|
146
|
+
export const corecryptocontext_proteus_decrypt: (a: number, b: number, c: number, d: number, e: number) => any;
|
147
|
+
export const corecryptocontext_proteus_encrypt: (a: number, b: number, c: number, d: number, e: number) => any;
|
148
|
+
export const corecryptocontext_proteus_encrypt_batched: (a: number, b: number, c: number, d: number, e: number) => any;
|
149
|
+
export const corecryptocontext_proteus_new_prekey: (a: number, b: number) => any;
|
150
|
+
export const corecryptocontext_proteus_new_prekey_auto: (a: number) => any;
|
151
|
+
export const corecryptocontext_proteus_last_resort_prekey: (a: number) => any;
|
152
|
+
export const corecryptocontext_proteus_fingerprint: (a: number) => any;
|
153
|
+
export const corecryptocontext_proteus_fingerprint_local: (a: number, b: number, c: number) => any;
|
154
|
+
export const corecryptocontext_proteus_fingerprint_remote: (a: number, b: number, c: number) => any;
|
155
|
+
export const corecryptocontext_proteus_cryptobox_migrate: (a: number, b: number, c: number) => any;
|
156
|
+
export const corecryptocontext_proteus_reload_sessions: (a: number) => any;
|
157
|
+
export const __wbg_corecryptocontext_free: (a: number, b: number) => void;
|
158
|
+
export const corecryptocontext_set_data: (a: number, b: number, c: number) => any;
|
159
|
+
export const corecryptocontext_get_data: (a: number) => any;
|
160
|
+
export const corecryptocontext_random_bytes: (a: number, b: number) => any;
|
161
|
+
export const __wbg_newcrldistributionpoints_free: (a: number, b: number) => void;
|
162
|
+
export const newcrldistributionpoints_as_strings: (a: number) => [number, number];
|
4
163
|
export const __wbg_crlregistration_free: (a: number, b: number) => void;
|
5
164
|
export const __wbg_get_crlregistration_dirty: (a: number) => number;
|
6
165
|
export const __wbg_set_crlregistration_dirty: (a: number, b: number) => void;
|
7
166
|
export const __wbg_get_crlregistration_expiration: (a: number) => [number, bigint];
|
8
167
|
export const __wbg_set_crlregistration_expiration: (a: number, b: number, c: bigint) => void;
|
168
|
+
export const crlregistration_new: (a: number, b: number, c: bigint) => number;
|
169
|
+
export const __wbg_databasekey_free: (a: number, b: number) => void;
|
170
|
+
export const migrateDatabaseKeyTypeToBytes: (a: number, b: number, c: number, d: number, e: number) => any;
|
171
|
+
export const databasekey_new: (a: number, b: number) => [number, number, number];
|
172
|
+
export const __wbg_decryptedmessage_free: (a: number, b: number) => void;
|
173
|
+
export const __wbg_get_decryptedmessage_isActive: (a: number) => number;
|
174
|
+
export const __wbg_get_decryptedmessage_hasEpochChanged: (a: number) => number;
|
175
|
+
export const __wbg_get_decryptedmessage_bufferedMessages: (a: number) => [number, number];
|
176
|
+
export const __wbg_get_decryptedmessage_crlNewDistributionPoints: (a: number) => number;
|
177
|
+
export const __wbg_buffereddecryptedmessage_free: (a: number, b: number) => void;
|
178
|
+
export const __wbg_get_buffereddecryptedmessage_message: (a: number) => [number, number];
|
179
|
+
export const __wbg_get_buffereddecryptedmessage_proposals: (a: number) => [number, number];
|
180
|
+
export const __wbg_get_buffereddecryptedmessage_isActive: (a: number) => number;
|
181
|
+
export const __wbg_get_buffereddecryptedmessage_commitDelay: (a: number) => [number, bigint];
|
182
|
+
export const __wbg_get_buffereddecryptedmessage_senderClientId: (a: number) => number;
|
183
|
+
export const __wbg_get_buffereddecryptedmessage_hasEpochChanged: (a: number) => number;
|
184
|
+
export const __wbg_get_buffereddecryptedmessage_identity: (a: number) => number;
|
185
|
+
export const __wbg_get_buffereddecryptedmessage_crlNewDistributionPoints: (a: number) => number;
|
9
186
|
export const __wbg_acmechallenge_free: (a: number, b: number) => void;
|
10
187
|
export const __wbg_get_acmechallenge_delegate: (a: number) => [number, number];
|
11
188
|
export const __wbg_get_acmechallenge_url: (a: number) => [number, number];
|
12
189
|
export const __wbg_get_acmechallenge_target: (a: number) => [number, number];
|
13
|
-
export const __wbg_newacmeauthz_free: (a: number, b: number) => void;
|
14
|
-
export const __wbg_get_newacmeauthz_keyauth: (a: number) => [number, number];
|
15
|
-
export const __wbg_get_newacmeauthz_challenge: (a: number) => number;
|
16
|
-
export const newacmeorder_authorizations: (a: number) => [number, number];
|
17
|
-
export const __wbg_newacmeorder_free: (a: number, b: number) => void;
|
18
|
-
export const __wbg_get_newacmeorder_delegate: (a: number) => [number, number];
|
19
190
|
export const __wbg_acmedirectory_free: (a: number, b: number) => void;
|
20
|
-
export const
|
21
|
-
export const
|
191
|
+
export const __wbg_get_acmedirectory_newNonce: (a: number) => [number, number];
|
192
|
+
export const __wbg_get_acmedirectory_revokeCert: (a: number) => [number, number];
|
193
|
+
export const __wbg_ffiwiree2eidentity_free: (a: number, b: number) => void;
|
22
194
|
export const ffiwiree2eidentity_directory_response: (a: number, b: number, c: number) => any;
|
23
195
|
export const ffiwiree2eidentity_new_account_request: (a: number, b: number, c: number) => any;
|
24
|
-
export const ffiwiree2eidentity_new_account_response: (a: number, b:
|
196
|
+
export const ffiwiree2eidentity_new_account_response: (a: number, b: number, c: number) => any;
|
25
197
|
export const ffiwiree2eidentity_new_order_request: (a: number, b: number, c: number) => any;
|
26
|
-
export const ffiwiree2eidentity_new_order_response: (a: number, b:
|
198
|
+
export const ffiwiree2eidentity_new_order_response: (a: number, b: number, c: number) => any;
|
27
199
|
export const ffiwiree2eidentity_new_authz_request: (a: number, b: number, c: number, d: number, e: number) => any;
|
28
|
-
export const ffiwiree2eidentity_new_authz_response: (a: number, b:
|
200
|
+
export const ffiwiree2eidentity_new_authz_response: (a: number, b: number, c: number) => any;
|
29
201
|
export const ffiwiree2eidentity_create_dpop_token: (a: number, b: number, c: number, d: number) => any;
|
30
202
|
export const ffiwiree2eidentity_new_dpop_challenge_request: (a: number, b: number, c: number, d: number, e: number) => any;
|
31
|
-
export const ffiwiree2eidentity_new_dpop_challenge_response: (a: number, b:
|
32
|
-
export const ffiwiree2eidentity_new_oidc_challenge_request: (a: number, b: number, c: number, d: number, e: number) => any;
|
33
|
-
export const ffiwiree2eidentity_new_oidc_challenge_response: (a: number, b: any) => any;
|
203
|
+
export const ffiwiree2eidentity_new_dpop_challenge_response: (a: number, b: number, c: number) => any;
|
34
204
|
export const ffiwiree2eidentity_check_order_request: (a: number, b: number, c: number, d: number, e: number) => any;
|
35
|
-
export const ffiwiree2eidentity_check_order_response: (a: number, b:
|
205
|
+
export const ffiwiree2eidentity_check_order_response: (a: number, b: number, c: number) => any;
|
36
206
|
export const ffiwiree2eidentity_finalize_request: (a: number, b: number, c: number) => any;
|
37
|
-
export const ffiwiree2eidentity_finalize_response: (a: number, b:
|
207
|
+
export const ffiwiree2eidentity_finalize_response: (a: number, b: number, c: number) => any;
|
38
208
|
export const ffiwiree2eidentity_certificate_request: (a: number, b: number, c: number) => any;
|
39
|
-
export const
|
40
|
-
export const
|
41
|
-
export const
|
42
|
-
export const
|
43
|
-
export const
|
44
|
-
export const
|
45
|
-
export const
|
46
|
-
export const
|
47
|
-
export const corecrypto_build_metadata: () => number;
|
48
|
-
export const corecrypto__internal_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
49
|
-
export const corecrypto_deferred_init: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
50
|
-
export const corecrypto_has_outstanding_refs: (a: number) => number;
|
51
|
-
export const corecrypto_close: (a: number) => any;
|
52
|
-
export const corecrypto_set_logger: (a: number) => void;
|
53
|
-
export const corecrypto_set_max_log_level: (a: number) => void;
|
54
|
-
export const corecrypto_provide_transport: (a: number, b: number) => any;
|
55
|
-
export const corecrypto_client_public_key: (a: number, b: number, c: number) => any;
|
56
|
-
export const corecrypto_conversation_epoch: (a: number, b: number, c: number) => any;
|
57
|
-
export const corecrypto_conversation_ciphersuite: (a: number, b: number, c: number) => any;
|
58
|
-
export const corecrypto_conversation_exists: (a: number, b: number, c: number) => any;
|
59
|
-
export const corecrypto_random_bytes: (a: number, b: number) => any;
|
60
|
-
export const corecrypto_reseed_rng: (a: number, b: number, c: number) => any;
|
61
|
-
export const corecrypto_proteus_session_exists: (a: number, b: number, c: number) => any;
|
62
|
-
export const corecrypto_proteus_last_resort_prekey_id: () => [number, number, number];
|
63
|
-
export const corecrypto_proteus_fingerprint: (a: number) => any;
|
64
|
-
export const corecrypto_proteus_fingerprint_local: (a: number, b: number, c: number) => any;
|
65
|
-
export const corecrypto_proteus_fingerprint_remote: (a: number, b: number, c: number) => any;
|
66
|
-
export const corecrypto_proteus_fingerprint_prekeybundle: (a: number, b: number) => [number, number, number, number];
|
67
|
-
export const corecrypto_export_secret_key: (a: number, b: number, c: number, d: number) => any;
|
68
|
-
export const corecrypto_get_external_sender: (a: number, b: number, c: number) => any;
|
69
|
-
export const corecrypto_get_client_ids: (a: number, b: number, c: number) => any;
|
70
|
-
export const __wbg_corecrypto_free: (a: number, b: number) => void;
|
71
|
-
export const mlstransportprovider_new: (a: any, b: any, c: any) => number;
|
72
|
-
export const __wbg_mlstransportprovider_free: (a: number, b: number) => void;
|
73
|
-
export const wasmmlstransportresponse_new: (a: number, b: number, c: number) => number;
|
74
|
-
export const __wbg_wasmmlstransportresponse_free: (a: number, b: number) => void;
|
75
|
-
export const __wbg_get_wasmmlstransportresponse_variant: (a: number) => number;
|
76
|
-
export const __wbg_get_wasmmlstransportresponse_abort_reason: (a: number) => [number, number];
|
77
|
-
export const corecryptowasmlogger_new: (a: any, b: any) => number;
|
78
|
-
export const __wbg_corecryptowasmlogger_free: (a: number, b: number) => void;
|
79
|
-
export const customconfiguration_new: (a: number, b: number) => number;
|
80
|
-
export const __wbg_customconfiguration_free: (a: number, b: number) => void;
|
81
|
-
export const __wbg_get_customconfiguration_keyRotationSpan: (a: number) => number;
|
82
|
-
export const __wbg_set_customconfiguration_keyRotationSpan: (a: number, b: number) => void;
|
83
|
-
export const __wbg_get_customconfiguration_wirePolicy: (a: number) => number;
|
84
|
-
export const __wbg_set_customconfiguration_wirePolicy: (a: number, b: number) => void;
|
85
|
-
export const conversationconfiguration_new: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
86
|
-
export const conversationconfiguration_externalSenders: (a: number) => any;
|
87
|
-
export const __wbg_conversationconfiguration_free: (a: number, b: number) => void;
|
88
|
-
export const __wbg_get_conversationconfiguration_ciphersuite: (a: number) => number;
|
89
|
-
export const __wbg_get_conversationconfiguration_custom: (a: number) => number;
|
90
|
-
export const __wbg_e2eidumpedpkienv_free: (a: number, b: number) => void;
|
91
|
-
export const __wbg_get_e2eidumpedpkienv_intermediates: (a: number) => [number, number];
|
92
|
-
export const __wbg_get_e2eidumpedpkienv_crls: (a: number) => [number, number];
|
93
|
-
export const __wbg_x509identity_free: (a: number, b: number) => void;
|
94
|
-
export const __wbg_get_x509identity_handle: (a: number) => [number, number];
|
95
|
-
export const __wbg_get_x509identity_displayName: (a: number) => [number, number];
|
96
|
-
export const __wbg_get_x509identity_domain: (a: number) => [number, number];
|
97
|
-
export const __wbg_get_x509identity_certificate: (a: number) => [number, number];
|
98
|
-
export const __wbg_get_x509identity_serialNumber: (a: number) => [number, number];
|
99
|
-
export const __wbg_get_x509identity_notBefore: (a: number) => bigint;
|
100
|
-
export const __wbg_get_x509identity_notAfter: (a: number) => bigint;
|
209
|
+
export const ffiwiree2eidentity_new_oidc_challenge_request: (a: number, b: number, c: number, d: number, e: number) => any;
|
210
|
+
export const ffiwiree2eidentity_new_oidc_challenge_response: (a: number, b: number, c: number) => any;
|
211
|
+
export const __wbg_newacmeauthz_free: (a: number, b: number) => void;
|
212
|
+
export const __wbg_get_newacmeauthz_keyauth: (a: number) => [number, number];
|
213
|
+
export const __wbg_get_newacmeauthz_challenge: (a: number) => number;
|
214
|
+
export const __wbg_newacmeorder_free: (a: number, b: number) => void;
|
215
|
+
export const __wbg_get_newacmeorder_delegate: (a: number) => [number, number];
|
216
|
+
export const __wbg_get_newacmeorder_authorizations: (a: number) => [number, number];
|
101
217
|
export const __wbg_wireidentity_free: (a: number, b: number) => void;
|
102
218
|
export const __wbg_get_wireidentity_clientId: (a: number) => [number, number];
|
103
219
|
export const __wbg_get_wireidentity_status: (a: number) => number;
|
104
220
|
export const __wbg_get_wireidentity_thumbprint: (a: number) => [number, number];
|
105
221
|
export const __wbg_get_wireidentity_credentialType: (a: number) => number;
|
222
|
+
export const __wbg_set_wireidentity_credentialType: (a: number, b: number) => void;
|
106
223
|
export const __wbg_get_wireidentity_x509Identity: (a: number) => number;
|
107
|
-
export const
|
108
|
-
export const
|
109
|
-
export const
|
110
|
-
export const
|
111
|
-
export const
|
112
|
-
export const
|
113
|
-
export const
|
114
|
-
export const
|
115
|
-
export const
|
116
|
-
export const
|
117
|
-
export const
|
118
|
-
export const
|
119
|
-
export const
|
120
|
-
export const
|
121
|
-
export const
|
122
|
-
export const
|
123
|
-
export const decryptedmessage_buffered_messages: (a: number) => any;
|
124
|
-
export const decryptedmessage_crl_new_distribution_points: (a: number) => any;
|
125
|
-
export const __wbg_decryptedmessage_free: (a: number, b: number) => void;
|
126
|
-
export const welcomebundle_id: (a: number) => any;
|
127
|
-
export const welcomebundle_crlNewDistributionPoints: (a: number) => any;
|
128
|
-
export const __wbg_welcomebundle_free: (a: number, b: number) => void;
|
129
|
-
export const proposalbundle_proposal: (a: number) => any;
|
130
|
-
export const proposalbundle_proposal_ref: (a: number) => any;
|
131
|
-
export const proposalbundle_crl_new_distribution_points: (a: number) => any;
|
132
|
-
export const __wbg_proposalbundle_free: (a: number, b: number) => void;
|
133
|
-
export const groupinfobundle_encryption_type: (a: number) => number;
|
134
|
-
export const groupinfobundle_ratchet_tree_type: (a: number) => number;
|
135
|
-
export const groupinfobundle_payload: (a: number) => any;
|
136
|
-
export const __wbg_groupinfobundle_free: (a: number, b: number) => void;
|
137
|
-
export const commitbundle_commit: (a: number) => any;
|
138
|
-
export const commitbundle_welcome: (a: number) => any;
|
139
|
-
export const commitbundle_group_info: (a: number) => number;
|
140
|
-
export const __wbg_commitbundle_free: (a: number, b: number) => void;
|
141
|
-
export const __wbg_get_proteusautoprekeybundle_id: (a: number) => number;
|
142
|
-
export const __wbg_set_proteusautoprekeybundle_id: (a: number, b: number) => void;
|
143
|
-
export const __wbg_get_proteusautoprekeybundle_pkb: (a: number) => [number, number];
|
144
|
-
export const __wbg_set_proteusautoprekeybundle_pkb: (a: number, b: number, c: number) => void;
|
224
|
+
export const __wbg_x509identity_free: (a: number, b: number) => void;
|
225
|
+
export const __wbg_get_x509identity_handle: (a: number) => [number, number];
|
226
|
+
export const __wbg_set_x509identity_handle: (a: number, b: number, c: number) => void;
|
227
|
+
export const __wbg_get_x509identity_display_name: (a: number) => [number, number];
|
228
|
+
export const __wbg_set_x509identity_display_name: (a: number, b: number, c: number) => void;
|
229
|
+
export const __wbg_get_x509identity_domain: (a: number) => [number, number];
|
230
|
+
export const __wbg_set_x509identity_domain: (a: number, b: number, c: number) => void;
|
231
|
+
export const __wbg_get_x509identity_certificate: (a: number) => [number, number];
|
232
|
+
export const __wbg_set_x509identity_certificate: (a: number, b: number, c: number) => void;
|
233
|
+
export const __wbg_get_x509identity_serial_number: (a: number) => [number, number];
|
234
|
+
export const __wbg_set_x509identity_serial_number: (a: number, b: number, c: number) => void;
|
235
|
+
export const __wbg_get_x509identity_not_before: (a: number) => bigint;
|
236
|
+
export const __wbg_set_x509identity_not_before: (a: number, b: bigint) => void;
|
237
|
+
export const __wbg_get_x509identity_not_after: (a: number) => bigint;
|
238
|
+
export const __wbg_set_x509identity_not_after: (a: number, b: bigint) => void;
|
239
|
+
export const version: () => [number, number];
|
145
240
|
export const __wbg_buildmetadata_free: (a: number, b: number) => void;
|
146
241
|
export const __wbg_get_buildmetadata_timestamp: (a: number) => [number, number];
|
147
242
|
export const __wbg_get_buildmetadata_cargoDebug: (a: number) => [number, number];
|
@@ -152,76 +247,20 @@ export const __wbg_get_buildmetadata_gitBranch: (a: number) => [number, number];
|
|
152
247
|
export const __wbg_get_buildmetadata_gitDescribe: (a: number) => [number, number];
|
153
248
|
export const __wbg_get_buildmetadata_gitSha: (a: number) => [number, number];
|
154
249
|
export const __wbg_get_buildmetadata_gitDirty: (a: number) => [number, number];
|
155
|
-
export const
|
156
|
-
export const
|
157
|
-
export const
|
158
|
-
export const
|
159
|
-
export const
|
160
|
-
export const corecryptocontext_mls_init_with_client_id: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
161
|
-
export const corecryptocontext_client_public_key: (a: number, b: number, c: number) => any;
|
162
|
-
export const corecryptocontext_client_keypackages: (a: number, b: number, c: number, d: number) => any;
|
163
|
-
export const corecryptocontext_client_valid_keypackages_count: (a: number, b: number, c: number) => any;
|
164
|
-
export const corecryptocontext_delete_keypackages: (a: number, b: number, c: number) => any;
|
165
|
-
export const corecryptocontext_create_conversation: (a: number, b: number, c: number, d: number, e: number) => any;
|
166
|
-
export const corecryptocontext_conversation_epoch: (a: number, b: number, c: number) => any;
|
167
|
-
export const corecryptocontext_conversation_ciphersuite: (a: number, b: number, c: number) => any;
|
168
|
-
export const corecryptocontext_conversation_exists: (a: number, b: number, c: number) => any;
|
169
|
-
export const corecryptocontext_process_welcome_message: (a: number, b: number, c: number, d: number) => any;
|
170
|
-
export const corecryptocontext_add_clients_to_conversation: (a: number, b: number, c: number, d: number, e: number) => any;
|
171
|
-
export const corecryptocontext_remove_clients_from_conversation: (a: number, b: number, c: number, d: number, e: number) => any;
|
172
|
-
export const corecryptocontext_mark_conversation_as_child_of: (a: number, b: number, c: number, d: number, e: number) => any;
|
173
|
-
export const corecryptocontext_update_keying_material: (a: number, b: number, c: number) => any;
|
174
|
-
export const corecryptocontext_commit_pending_proposals: (a: number, b: number, c: number) => any;
|
175
|
-
export const corecryptocontext_wipe_conversation: (a: number, b: number, c: number) => any;
|
176
|
-
export const corecryptocontext_decrypt_message: (a: number, b: number, c: number, d: number, e: number) => any;
|
177
|
-
export const corecryptocontext_encrypt_message: (a: number, b: number, c: number, d: number, e: number) => any;
|
178
|
-
export const corecryptocontext_join_by_external_commit: (a: number, b: number, c: number, d: number, e: number) => any;
|
179
|
-
export const corecryptocontext_random_bytes: (a: number, b: number) => any;
|
180
|
-
export const corecryptocontext_export_secret_key: (a: number, b: number, c: number, d: number) => any;
|
181
|
-
export const corecryptocontext_get_external_sender: (a: number, b: number, c: number) => any;
|
182
|
-
export const corecryptocontext_get_client_ids: (a: number, b: number, c: number) => any;
|
183
|
-
export const corecrypto_transaction: (a: number, b: any) => any;
|
184
|
-
export const __wbg_corecryptocontext_free: (a: number, b: number) => void;
|
185
|
-
export const corecryptocontext_proteus_init: (a: number) => any;
|
186
|
-
export const corecryptocontext_proteus_session_from_prekey: (a: number, b: number, c: number, d: number, e: number) => any;
|
187
|
-
export const corecryptocontext_proteus_session_from_message: (a: number, b: number, c: number, d: number, e: number) => any;
|
188
|
-
export const corecryptocontext_proteus_session_save: (a: number, b: number, c: number) => any;
|
189
|
-
export const corecryptocontext_proteus_session_delete: (a: number, b: number, c: number) => any;
|
190
|
-
export const corecryptocontext_proteus_session_exists: (a: number, b: number, c: number) => any;
|
191
|
-
export const corecryptocontext_proteus_decrypt: (a: number, b: number, c: number, d: number, e: number) => any;
|
192
|
-
export const corecryptocontext_proteus_encrypt: (a: number, b: number, c: number, d: number, e: number) => any;
|
193
|
-
export const corecryptocontext_proteus_encrypt_batched: (a: number, b: number, c: number, d: number, e: number) => any;
|
194
|
-
export const corecryptocontext_proteus_new_prekey: (a: number, b: number) => any;
|
195
|
-
export const corecryptocontext_proteus_new_prekey_auto: (a: number) => any;
|
196
|
-
export const corecryptocontext_proteus_last_resort_prekey: (a: number) => any;
|
197
|
-
export const corecryptocontext_proteus_fingerprint: (a: number) => any;
|
198
|
-
export const corecryptocontext_proteus_fingerprint_local: (a: number, b: number, c: number) => any;
|
199
|
-
export const corecryptocontext_proteus_fingerprint_remote: (a: number, b: number, c: number) => any;
|
200
|
-
export const corecryptocontext_proteus_cryptobox_migrate: (a: number, b: number, c: number) => any;
|
201
|
-
export const corecryptocontext_e2ei_new_enrollment: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
202
|
-
export const corecryptocontext_e2ei_new_activation_enrollment: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
|
203
|
-
export const corecryptocontext_e2ei_new_rotate_enrollment: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
|
204
|
-
export const corecryptocontext_e2ei_dump_pki_env: (a: number) => any;
|
205
|
-
export const corecryptocontext_e2ei_is_pki_env_setup: (a: number) => any;
|
206
|
-
export const corecryptocontext_e2ei_register_acme_ca: (a: number, b: number, c: number) => any;
|
207
|
-
export const corecryptocontext_e2ei_register_intermediate_ca: (a: number, b: number, c: number) => any;
|
208
|
-
export const corecryptocontext_e2ei_register_crl: (a: number, b: number, c: number, d: number, e: number) => any;
|
209
|
-
export const corecryptocontext_e2ei_mls_init_only: (a: number, b: number, c: number, d: number, e: number) => any;
|
210
|
-
export const corecryptocontext_e2ei_rotate: (a: number, b: number, c: number) => any;
|
211
|
-
export const corecryptocontext_save_x509_credential: (a: number, b: number, c: number, d: number) => any;
|
212
|
-
export const corecryptocontext_delete_stale_key_packages: (a: number, b: number) => any;
|
213
|
-
export const corecryptocontext_e2ei_enrollment_stash: (a: number, b: number) => any;
|
214
|
-
export const corecryptocontext_e2ei_enrollment_stash_pop: (a: number, b: number, c: number) => any;
|
215
|
-
export const corecryptocontext_e2ei_conversation_state: (a: number, b: number, c: number) => any;
|
216
|
-
export const corecryptocontext_e2ei_is_enabled: (a: number, b: number) => any;
|
217
|
-
export const corecryptocontext_get_device_identities: (a: number, b: number, c: number, d: number, e: number) => any;
|
218
|
-
export const corecryptocontext_get_user_identities: (a: number, b: number, c: number, d: number, e: number) => any;
|
219
|
-
export const corecryptocontext_get_credential_in_use: (a: number, b: number, c: number, d: number) => any;
|
220
|
-
export const __wbg_get_newacmeauthz_identifier: (a: number) => [number, number];
|
221
|
-
export const __wbg_get_acmedirectory_new_account: (a: number) => [number, number];
|
222
|
-
export const __wbg_get_acmedirectory_new_order: (a: number) => [number, number];
|
250
|
+
export const build_metadata: () => number;
|
251
|
+
export const __wbg_set_groupinfobundle_payload: (a: number, b: number, c: number) => void;
|
252
|
+
export const __wbg_set_proposalbundle_proposal: (a: number, b: number, c: number) => void;
|
253
|
+
export const __wbg_set_welcomebundle_id: (a: number, b: number, c: number) => void;
|
254
|
+
export const __wbg_get_decryptedmessage_commitDelay: (a: number) => [number, bigint];
|
223
255
|
export const __wbg_get_e2eidumpedpkienv_root_ca: (a: number) => [number, number];
|
256
|
+
export const __wbg_get_acmedirectory_newAccount: (a: number) => [number, number];
|
257
|
+
export const __wbg_get_acmedirectory_newOrder: (a: number) => [number, number];
|
258
|
+
export const __wbg_get_newacmeauthz_identifier: (a: number) => [number, number];
|
259
|
+
export const __wbg_get_decryptedmessage_message: (a: number) => [number, number];
|
260
|
+
export const __wbg_get_decryptedmessage_senderClientId: (a: number) => number;
|
224
261
|
export const corecryptocontext_proteus_last_resort_prekey_id: () => [number, number, number];
|
262
|
+
export const __wbg_get_decryptedmessage_proposals: (a: number) => [number, number];
|
263
|
+
export const __wbg_get_decryptedmessage_identity: (a: number) => number;
|
225
264
|
export const __wbg_proteusautoprekeybundle_free: (a: number, b: number) => void;
|
226
265
|
export const corecryptocontext_proteus_fingerprint_prekeybundle: (a: number, b: number) => [number, number, number, number];
|
227
266
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
@@ -233,8 +272,8 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
233
272
|
export const __wbindgen_export_6: WebAssembly.Table;
|
234
273
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
235
274
|
export const __externref_table_dealloc: (a: number) => void;
|
236
|
-
export const
|
237
|
-
export const
|
238
|
-
export const
|
239
|
-
export const
|
275
|
+
export const closure874_externref_shim: (a: number, b: number, c: any) => void;
|
276
|
+
export const closure2570_externref_shim: (a: number, b: number, c: any) => void;
|
277
|
+
export const closure2769_externref_shim: (a: number, b: number, c: any) => void;
|
278
|
+
export const closure2870_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
240
279
|
export const __wbindgen_start: () => void;
|