UNPKG

@wireapp/core-crypto

Version:
279 lines (278 loc) 23.1 kB
/* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; export const __wbg_acmechallenge_free: (a: number, b: number) => void; export const __wbg_acmedirectory_free: (a: number, b: number) => void; export const __wbg_buffereddecryptedmessage_free: (a: number, b: number) => void; export const __wbg_buildmetadata_free: (a: number, b: number) => void; export const __wbg_clientid_free: (a: number, b: number) => void; export const __wbg_commitbundle_free: (a: number, b: number) => void; export const __wbg_conversationconfiguration_free: (a: number, b: number) => void; export const __wbg_corecrypto_free: (a: number, b: number) => void; export const __wbg_corecryptocontext_free: (a: number, b: number) => void; export const __wbg_corecryptologger_free: (a: number, b: number) => void; export const __wbg_crlregistration_free: (a: number, b: number) => void; export const __wbg_customconfiguration_free: (a: number, b: number) => void; export const __wbg_database_free: (a: number, b: number) => void; export const __wbg_databasekey_free: (a: number, b: number) => void; export const __wbg_decryptedmessage_free: (a: number, b: number) => void; export const __wbg_epochobserver_free: (a: number, b: number) => void; export const __wbg_ffiwiree2eidentity_free: (a: number, b: number) => void; export const __wbg_get_acmechallenge_delegate: (a: number) => [number, number]; export const __wbg_get_acmechallenge_target: (a: number) => [number, number]; export const __wbg_get_acmechallenge_url: (a: number) => [number, number]; export const __wbg_get_acmedirectory_newNonce: (a: number) => [number, number]; export const __wbg_get_acmedirectory_revokeCert: (a: number) => [number, number]; export const __wbg_get_buffereddecryptedmessage_commitDelay: (a: number) => [number, bigint]; export const __wbg_get_buffereddecryptedmessage_crlNewDistributionPoints: (a: number) => [number, number]; export const __wbg_get_buffereddecryptedmessage_hasEpochChanged: (a: number) => number; export const __wbg_get_buffereddecryptedmessage_identity: (a: number) => number; export const __wbg_get_buffereddecryptedmessage_isActive: (a: number) => number; export const __wbg_get_buffereddecryptedmessage_message: (a: number) => [number, number]; export const __wbg_get_buffereddecryptedmessage_senderClientId: (a: number) => number; export const __wbg_get_buildmetadata_cargoDebug: (a: number) => [number, number]; export const __wbg_get_buildmetadata_cargoFeatures: (a: number) => [number, number]; export const __wbg_get_buildmetadata_gitBranch: (a: number) => [number, number]; export const __wbg_get_buildmetadata_gitDescribe: (a: number) => [number, number]; export const __wbg_get_buildmetadata_gitDirty: (a: number) => [number, number]; export const __wbg_get_buildmetadata_gitSha: (a: number) => [number, number]; export const __wbg_get_buildmetadata_optLevel: (a: number) => [number, number]; export const __wbg_get_buildmetadata_targetTriple: (a: number) => [number, number]; export const __wbg_get_buildmetadata_timestamp: (a: number) => [number, number]; export const __wbg_get_commitbundle_encryptedMessage: (a: number) => [number, number]; export const __wbg_get_commitbundle_group_info: (a: number) => number; export const __wbg_get_commitbundle_welcome: (a: number) => number; export const __wbg_get_conversationconfiguration_ciphersuite: (a: number) => number; export const __wbg_get_conversationconfiguration_custom: (a: number) => number; export const __wbg_get_conversationconfiguration_externalSenders: (a: number) => [number, number]; export const __wbg_get_crlregistration_dirty: (a: number) => number; export const __wbg_get_crlregistration_expiration: (a: number) => [number, bigint]; export const __wbg_get_customconfiguration_keyRotationSpan: (a: number) => number; export const __wbg_get_customconfiguration_wirePolicy: (a: number) => number; export const __wbg_get_decryptedmessage_bufferedMessages: (a: number) => [number, number]; export const __wbg_get_decryptedmessage_crlNewDistributionPoints: (a: number) => [number, number]; export const __wbg_get_decryptedmessage_hasEpochChanged: (a: number) => number; export const __wbg_get_decryptedmessage_isActive: (a: number) => number; export const __wbg_get_groupinfobundle_encryption_type: (a: number) => number; export const __wbg_get_groupinfobundle_payload: (a: number) => number; export const __wbg_get_groupinfobundle_ratchet_tree_type: (a: number) => number; export const __wbg_get_historysecret_data: (a: number) => [number, number]; export const __wbg_get_mlstransportresponse_abort_reason: (a: number) => [number, number]; export const __wbg_get_mlstransportresponse_variant: (a: number) => number; export const __wbg_get_newacmeauthz_challenge: (a: number) => number; export const __wbg_get_newacmeauthz_keyauth: (a: number) => [number, number]; export const __wbg_get_newacmeorder_authorizations: (a: number) => [number, number]; export const __wbg_get_proteusautoprekeybundle_id: (a: number) => number; export const __wbg_get_welcomebundle_crlNewDistributionPoints: (a: number) => [number, number]; export const __wbg_get_wireidentity_clientId: (a: number) => [number, number]; export const __wbg_get_wireidentity_credentialType: (a: number) => number; export const __wbg_get_wireidentity_status: (a: number) => number; export const __wbg_get_wireidentity_thumbprint: (a: number) => [number, number]; export const __wbg_get_wireidentity_x509Identity: (a: number) => number; export const __wbg_get_x509identity_certificate: (a: number) => [number, number]; export const __wbg_get_x509identity_displayName: (a: number) => [number, number]; export const __wbg_get_x509identity_domain: (a: number) => [number, number]; export const __wbg_get_x509identity_handle: (a: number) => [number, number]; export const __wbg_get_x509identity_notAfter: (a: number) => bigint; export const __wbg_get_x509identity_notBefore: (a: number) => bigint; export const __wbg_get_x509identity_serialNumber: (a: number) => [number, number]; export const __wbg_groupinfobundle_free: (a: number, b: number) => void; export const __wbg_historysecret_free: (a: number, b: number) => void; export const __wbg_mlstransport_free: (a: number, b: number) => void; export const __wbg_mlstransportresponse_free: (a: number, b: number) => void; export const __wbg_newacmeauthz_free: (a: number, b: number) => void; export const __wbg_newacmeorder_free: (a: number, b: number) => void; export const __wbg_set_commitbundle_commit: (a: number, b: number, c: number) => void; export const __wbg_set_commitbundle_group_info: (a: number, b: number) => void; export const __wbg_set_commitbundle_welcome: (a: number, b: number) => void; export const __wbg_set_crlregistration_dirty: (a: number, b: number) => void; export const __wbg_set_crlregistration_expiration: (a: number, b: number, c: bigint) => void; export const __wbg_set_customconfiguration_keyRotationSpan: (a: number, b: number) => void; export const __wbg_set_customconfiguration_wirePolicy: (a: number, b: number) => void; export const __wbg_set_groupinfobundle_encryption_type: (a: number, b: number) => void; export const __wbg_set_groupinfobundle_payload: (a: number, b: number) => void; export const __wbg_set_groupinfobundle_ratchet_tree_type: (a: number, b: number) => void; export const __wbg_set_mlstransportresponse_abort_reason: (a: number, b: number, c: number) => void; export const __wbg_set_mlstransportresponse_variant: (a: number, b: number) => void; export const __wbg_set_wireidentity_credentialType: (a: number, b: number) => void; export const __wbg_welcomebundle_free: (a: number, b: number) => void; export const __wbg_wireidentity_free: (a: number, b: number) => void; export const __wbg_x509identity_free: (a: number, b: number) => void; export const build_metadata: () => number; export const ciphersuiteDefault: () => number; export const ciphersuiteFromU16: (a: number) => [number, number, number]; export const clientid_copyBytes: (a: number) => [number, number]; export const clientid_new: (a: number, b: number) => number; export const conversationconfiguration_new: (a: number, b: number, c: number, d: number, e: number) => [number, number, number]; export const conversationid_copyBytes: (a: number) => [number, number]; export const corecrypto_async_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any; export const corecrypto_client_public_key: (a: number, b: number, c: number) => any; export const corecrypto_close: (a: number) => any; export const corecrypto_conversation_ciphersuite: (a: number, b: number) => any; export const corecrypto_conversation_epoch: (a: number, b: number) => any; export const corecrypto_conversation_exists: (a: number, b: number) => any; export const corecrypto_deferred_init: (a: number, b: number, c: number, d: number, e: number) => any; export const corecrypto_e2ei_conversation_state: (a: number, b: number) => any; export const corecrypto_e2ei_is_enabled: (a: number, b: number) => any; export const corecrypto_e2ei_is_pki_env_setup: (a: number) => any; export const corecrypto_export_secret_key: (a: number, b: number, c: number) => any; export const corecrypto_get_client_ids: (a: number, b: number) => any; export const corecrypto_get_device_identities: (a: number, b: number, c: number, d: number) => any; export const corecrypto_get_external_sender: (a: number, b: number) => any; export const corecrypto_get_user_identities: (a: number, b: number, c: number, d: number) => any; export const corecrypto_history_client: (a: number) => any; export const corecrypto_is_history_sharing_enabled: (a: number, b: number) => any; export const corecrypto_proteus_fingerprint: (a: number) => any; export const corecrypto_proteus_fingerprint_local: (a: number, b: number, c: number) => any; export const corecrypto_proteus_fingerprint_prekeybundle: (a: number, b: number) => [number, number, number, number]; export const corecrypto_proteus_fingerprint_remote: (a: number, b: number, c: number) => any; export const corecrypto_proteus_last_resort_prekey_id: () => [number, number, number]; export const corecrypto_proteus_session_exists: (a: number, b: number, c: number) => any; export const corecrypto_provide_transport: (a: number, b: number) => any; export const corecrypto_random_bytes: (a: number, b: number) => any; export const corecrypto_register_epoch_observer: (a: number, b: number) => any; export const corecrypto_register_history_observer: (a: number, b: number) => any; export const corecrypto_reseed_rng: (a: number, b: number, c: number) => any; export const corecrypto_set_logger: (a: number) => void; export const corecrypto_set_max_log_level: (a: number) => void; export const corecrypto_transaction: (a: number, b: any) => any; export const corecryptocontext_add_clients_to_conversation: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_client_keypackages: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_client_public_key: (a: number, b: number, c: number) => any; export const corecryptocontext_client_valid_keypackages_count: (a: number, b: number, c: number) => any; export const corecryptocontext_commit_pending_proposals: (a: number, b: number) => any; export const corecryptocontext_conversation_ciphersuite: (a: number, b: number) => any; export const corecryptocontext_conversation_epoch: (a: number, b: number) => any; export const corecryptocontext_conversation_exists: (a: number, b: number) => any; export const corecryptocontext_create_conversation: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_decrypt_message: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_delete_stale_key_packages: (a: number, b: number) => any; export const corecryptocontext_disable_history_sharing: (a: number, b: number) => any; export const corecryptocontext_e2ei_conversation_state: (a: number, b: number) => any; export const corecryptocontext_e2ei_enrollment_stash: (a: number, b: number) => any; export const corecryptocontext_e2ei_enrollment_stash_pop: (a: number, b: number, c: number) => any; export const corecryptocontext_e2ei_is_enabled: (a: number, b: number) => any; export const corecryptocontext_e2ei_is_pki_env_setup: (a: number) => any; export const corecryptocontext_e2ei_mls_init_only: (a: number, b: number, c: number, d: number, e: number) => any; 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; 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; 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; export const corecryptocontext_e2ei_register_acme_ca: (a: number, b: number, c: number) => any; export const corecryptocontext_e2ei_register_crl: (a: number, b: number, c: number, d: number, e: number) => any; export const corecryptocontext_e2ei_register_intermediate_ca: (a: number, b: number, c: number) => any; export const corecryptocontext_e2ei_rotate: (a: number, b: number) => any; export const corecryptocontext_enable_history_sharing: (a: number, b: number) => any; export const corecryptocontext_encrypt_message: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_export_secret_key: (a: number, b: number, c: number) => any; export const corecryptocontext_get_client_ids: (a: number, b: number) => any; export const corecryptocontext_get_data: (a: number) => any; export const corecryptocontext_get_device_identities: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_get_external_sender: (a: number, b: number) => any; export const corecryptocontext_get_user_identities: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_join_by_external_commit: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_mark_conversation_as_child_of: (a: number, b: number, c: number) => any; export const corecryptocontext_mls_init: (a: number, b: number, c: number, d: number, e: number) => any; export const corecryptocontext_process_welcome_message: (a: number, b: number, c: number) => any; export const corecryptocontext_proteus_decrypt: (a: number, b: number, c: number, d: number, e: number) => any; export const corecryptocontext_proteus_decrypt_safe: (a: number, b: number, c: number, d: number, e: number) => any; export const corecryptocontext_proteus_encrypt: (a: number, b: number, c: number, d: number, e: number) => any; export const corecryptocontext_proteus_encrypt_batched: (a: number, b: number, c: number, d: number, e: number) => any; export const corecryptocontext_proteus_fingerprint: (a: number) => any; export const corecryptocontext_proteus_fingerprint_local: (a: number, b: number, c: number) => any; export const corecryptocontext_proteus_fingerprint_remote: (a: number, b: number, c: number) => any; export const corecryptocontext_proteus_init: (a: number) => any; export const corecryptocontext_proteus_last_resort_prekey: (a: number) => any; export const corecryptocontext_proteus_new_prekey: (a: number, b: number) => any; export const corecryptocontext_proteus_new_prekey_auto: (a: number) => any; export const corecryptocontext_proteus_reload_sessions: (a: number) => any; export const corecryptocontext_proteus_session_delete: (a: number, b: number, c: number) => any; export const corecryptocontext_proteus_session_exists: (a: number, b: number, c: number) => any; export const corecryptocontext_proteus_session_from_message: (a: number, b: number, c: number, d: number, e: number) => any; export const corecryptocontext_proteus_session_from_prekey: (a: number, b: number, c: number, d: number, e: number) => any; export const corecryptocontext_proteus_session_save: (a: number, b: number, c: number) => any; export const corecryptocontext_random_bytes: (a: number, b: number) => any; export const corecryptocontext_remove_clients_from_conversation: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_save_x509_credential: (a: number, b: number, c: number, d: number) => any; export const corecryptocontext_set_data: (a: number, b: number, c: number) => any; export const corecryptocontext_update_keying_material: (a: number, b: number) => any; export const corecryptocontext_wipe_conversation: (a: number, b: number) => any; export const corecryptologger_new: (a: any, b: any) => [number, number, number]; export const crlregistration_new: (a: number, b: number, c: bigint) => number; export const customconfiguration_new: (a: number, b: number) => number; export const databasekey_new: (a: number, b: number) => [number, number, number]; export const epochobserver_new: (a: any, b: any) => [number, number, number]; export const externalsenderkey_copyBytes: (a: number) => [number, number]; export const ffiwiree2eidentity_certificate_request: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_check_order_request: (a: number, b: number, c: number, d: number, e: number) => any; export const ffiwiree2eidentity_check_order_response: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_create_dpop_token: (a: number, b: number, c: number, d: number) => any; export const ffiwiree2eidentity_directory_response: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_finalize_request: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_finalize_response: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_new_account_request: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_new_account_response: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_new_authz_request: (a: number, b: number, c: number, d: number, e: number) => any; export const ffiwiree2eidentity_new_authz_response: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_new_dpop_challenge_request: (a: number, b: number, c: number, d: number, e: number) => any; export const ffiwiree2eidentity_new_dpop_challenge_response: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_new_oidc_challenge_request: (a: number, b: number, c: number, d: number, e: number) => any; export const ffiwiree2eidentity_new_oidc_challenge_response: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_new_order_request: (a: number, b: number, c: number) => any; export const ffiwiree2eidentity_new_order_response: (a: number, b: number, c: number) => any; export const historyobserver_new: (a: any, b: any) => [number, number, number]; export const historysecret_new: (a: number, b: number, c: number) => [number, number, number]; export const migrateDatabaseKeyTypeToBytes: (a: number, b: number, c: number, d: number, e: number) => any; export const mlstransport_new: (a: any, b: any, c: any, d: any) => [number, number, number]; export const mlstransportdata_new: (a: number, b: number) => number; export const mlstransportresponse_new: (a: number, b: number, c: number) => number; export const openDatabase: (a: number, b: number, c: number) => any; export const updateDatabaseKey: (a: number, b: number, c: number, d: number) => any; export const version: () => [number, number]; export const corecryptocontext_proteus_last_resort_prekey_id: () => [number, number, number]; export const __wbg_get_decryptedmessage_senderClientId: (a: number) => number; export const __wbg_get_decryptedmessage_identity: (a: number) => number; export const __wbg_get_decryptedmessage_commitDelay: (a: number) => [number, bigint]; export const __wbg_get_commitbundle_commit: (a: number) => [number, number]; export const __wbg_get_mlstransportdata_data: (a: number) => [number, number]; export const __wbg_get_newacmeorder_delegate: (a: number) => [number, number]; export const __wbg_get_proteusautoprekeybundle_pkb: (a: number) => [number, number]; export const __wbg_get_decryptedmessage_message: (a: number) => [number, number]; export const __wbg_get_acmedirectory_newAccount: (a: number) => [number, number]; export const __wbg_get_acmedirectory_newOrder: (a: number) => [number, number]; export const __wbg_get_newacmeauthz_identifier: (a: number) => [number, number]; export const welcome_new: (a: number, b: number) => number; export const keypackage_new: (a: number, b: number) => number; export const externalsenderkey_new: (a: number, b: number) => number; export const conversationid_new: (a: number, b: number) => number; export const __wbg_get_welcomebundle_id: (a: number) => number; export const secretkey_new: (a: number, b: number) => number; export const groupinfo_new: (a: number, b: number) => number; export const __wbg_get_historysecret_clientId: (a: number) => number; export const keypackage_copyBytes: (a: number) => [number, number]; export const groupinfo_copyBytes: (a: number) => [number, number]; export const welcome_copyBytes: (a: number) => [number, number]; export const secretkey_copyBytes: (a: number) => [number, number]; export const __wbg_welcome_free: (a: number, b: number) => void; export const __wbg_secretkey_free: (a: number, b: number) => void; export const __wbg_keypackage_free: (a: number, b: number) => void; export const __wbg_groupinfo_free: (a: number, b: number) => void; export const __wbg_externalsenderkey_free: (a: number, b: number) => void; export const __wbg_mlstransportdata_free: (a: number, b: number) => void; export const __wbg_proteusautoprekeybundle_free: (a: number, b: number) => void; export const __wbg_conversationid_free: (a: number, b: number) => void; export const corecryptocontext_proteus_fingerprint_prekeybundle: (a: number, b: number) => [number, number, number, number]; export const __wbg_historyobserver_free: (a: number, b: number) => void; export const __wbindgen_malloc: (a: number, b: number) => number; export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; export const __wbindgen_exn_store: (a: number) => void; export const __externref_table_alloc: () => number; export const __wbindgen_export_4: WebAssembly.Table; export const __wbindgen_free: (a: number, b: number, c: number) => void; export const __externref_drop_slice: (a: number, b: number) => void; export const __wbindgen_export_7: WebAssembly.Table; export const __externref_table_dealloc: (a: number) => void; export const closure2505_externref_shim: (a: number, b: number, c: any) => void; export const closure2882_externref_shim: (a: number, b: number, c: any) => void; export const closure942_externref_shim: (a: number, b: number, c: any) => void; export const closure2985_externref_shim: (a: number, b: number, c: any, d: any) => void; export const __wbindgen_start: () => void;