OlmLibrary
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun account_generate_one_time_keys(account: OlmAccountPointer, numberOfKeys: ULong, random: ByteArray?): ULong
actual fun account_generate_one_time_keys(account: OlmAccountPointer, numberOfKeys: ULong, random: ByteArray?): ULong
expect fun account_generate_one_time_keys(account: OlmAccountPointer, numberOfKeys: ULong, random: ByteArray?): ULong
Link copied to clipboard
actual fun account_generate_one_time_keys_random_length(account: OlmAccountPointer, numberOfKeys: ULong): ULong
actual fun account_generate_one_time_keys_random_length(account: OlmAccountPointer, numberOfKeys: ULong): ULong
expect fun account_generate_one_time_keys_random_length(account: OlmAccountPointer, numberOfKeys: ULong): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun account_sign(account: OlmAccountPointer, message: ByteArray, signature: ByteArray): ULong
actual fun account_sign(account: OlmAccountPointer, message: ByteArray, signature: ByteArray): ULong
expect fun account_sign(account: OlmAccountPointer, message: ByteArray, signature: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
actual fun account_unpublished_fallback_key(account: OlmAccountPointer, fallbackKey: ByteArray): ULong
actual fun account_unpublished_fallback_key(account: OlmAccountPointer, fallbackKey: ByteArray): ULong
expect fun account_unpublished_fallback_key(account: OlmAccountPointer, fallbackKey: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun create_inbound_session(session: OlmSessionPointer, account: OlmAccountPointer, oneTimeKeyMessage: ByteArray): ULong
actual fun create_inbound_session(session: OlmSessionPointer, account: OlmAccountPointer, oneTimeKeyMessage: ByteArray): ULong
expect fun create_inbound_session(session: OlmSessionPointer, account: OlmAccountPointer, oneTimeKeyMessage: ByteArray): ULong
Link copied to clipboard
actual fun create_inbound_session_from(session: OlmSessionPointer, account: OlmAccountPointer, theirIdentityKey: ByteArray, oneTimeKeyMessage: ByteArray): ULong
actual fun create_inbound_session_from(session: OlmSessionPointer, account: OlmAccountPointer, theirIdentityKey: ByteArray, oneTimeKeyMessage: ByteArray): ULong
expect fun create_inbound_session_from(session: OlmSessionPointer, account: OlmAccountPointer, theirIdentityKey: ByteArray, oneTimeKeyMessage: ByteArray): ULong
Link copied to clipboard
actual fun create_outbound_session(session: OlmSessionPointer, account: OlmAccountPointer, theirIdentityKey: ByteArray, theirOneTimeKey: ByteArray, random: ByteArray?): ULong
actual fun create_outbound_session(session: OlmSessionPointer, account: OlmAccountPointer, theirIdentityKey: ByteArray, theirOneTimeKey: ByteArray, random: ByteArray?): ULong
expect fun create_outbound_session(session: OlmSessionPointer, account: OlmAccountPointer, theirIdentityKey: ByteArray, theirOneTimeKey: ByteArray, random: ByteArray?): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun decrypt_max_plaintext_length(session: OlmSessionPointer, messageType: ULong, message: ByteArray): ULong
actual fun decrypt_max_plaintext_length(session: OlmSessionPointer, messageType: ULong, message: ByteArray): ULong
expect fun decrypt_max_plaintext_length(session: OlmSessionPointer, messageType: ULong, message: ByteArray): ULong
Link copied to clipboard
actual fun ed25519_verify(utility: OlmUtilityPointer, key: ByteArray, message: ByteArray, signature: ByteArray): ULong
actual fun ed25519_verify(utility: OlmUtilityPointer, key: ByteArray, message: ByteArray, signature: ByteArray): ULong
expect fun ed25519_verify(utility: OlmUtilityPointer, key: ByteArray, message: ByteArray, signature: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun export_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, messageIndex: UInt): ULong
actual fun export_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, messageIndex: UInt): ULong
expect fun export_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, messageIndex: UInt): ULong
Link copied to clipboard
Link copied to clipboard
actual fun get_library_version(major: MutableWrapper<UInt>, minor: MutableWrapper<UInt>, patch: MutableWrapper<UInt>)
actual fun get_library_version(major: MutableWrapper<UInt>, minor: MutableWrapper<UInt>, patch: MutableWrapper<UInt>)
expect fun get_library_version(major: MutableWrapper<UInt>, minor: MutableWrapper<UInt>, patch: MutableWrapper<UInt>)
Link copied to clipboard
actual fun group_decrypt(session: OlmInboundGroupSessionPointer, message: ByteArray, plainText: ByteArray, messageIndex: MutableWrapper<UInt>): ULong
actual fun group_decrypt(session: OlmInboundGroupSessionPointer, message: ByteArray, plainText: ByteArray, messageIndex: MutableWrapper<UInt>): ULong
expect fun group_decrypt(session: OlmInboundGroupSessionPointer, message: ByteArray, plainText: ByteArray, messageIndex: MutableWrapper<UInt>): ULong
Link copied to clipboard
actual fun group_decrypt_max_plaintext_length(session: OlmInboundGroupSessionPointer, message: ByteArray): ULong
actual fun group_decrypt_max_plaintext_length(session: OlmInboundGroupSessionPointer, message: ByteArray): ULong
expect fun group_decrypt_max_plaintext_length(session: OlmInboundGroupSessionPointer, message: ByteArray): ULong
Link copied to clipboard
actual fun group_encrypt(session: OlmOutboundGroupSessionPointer, plainText: ByteArray, message: ByteArray): ULong
actual fun group_encrypt(session: OlmOutboundGroupSessionPointer, plainText: ByteArray, message: ByteArray): ULong
expect fun group_encrypt(session: OlmOutboundGroupSessionPointer, plainText: ByteArray, message: ByteArray): ULong
Link copied to clipboard
actual fun group_encrypt_message_length(session: OlmOutboundGroupSessionPointer, plainTextLength: ULong): ULong
actual fun group_encrypt_message_length(session: OlmOutboundGroupSessionPointer, plainTextLength: ULong): ULong
expect fun group_encrypt_message_length(session: OlmOutboundGroupSessionPointer, plainTextLength: ULong): ULong
Link copied to clipboard
actual fun import_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray): ULong
actual fun import_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray): ULong
expect fun import_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun inbound_group_session_id(session: OlmInboundGroupSessionPointer, sessionId: ByteArray): ULong
actual fun inbound_group_session_id(session: OlmInboundGroupSessionPointer, sessionId: ByteArray): ULong
expect fun inbound_group_session_id(session: OlmInboundGroupSessionPointer, sessionId: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun init_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray): ULong
actual fun init_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray): ULong
expect fun init_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray): ULong
Link copied to clipboard
actual fun init_outbound_group_session(session: OlmOutboundGroupSessionPointer, random: ByteArray?): ULong
actual fun init_outbound_group_session(session: OlmOutboundGroupSessionPointer, random: ByteArray?): ULong
expect fun init_outbound_group_session(session: OlmOutboundGroupSessionPointer, random: ByteArray?): ULong
Link copied to clipboard
actual fun init_outbound_group_session_random_length(session: OlmOutboundGroupSessionPointer): ULong
actual fun init_outbound_group_session_random_length(session: OlmOutboundGroupSessionPointer): ULong
expect fun init_outbound_group_session_random_length(session: OlmOutboundGroupSessionPointer): ULong
Link copied to clipboard
Link copied to clipboard
actual fun matches_inbound_session_from(session: OlmSessionPointer, theirIdentityKey: ByteArray, oneTimeKeyMessage: ByteArray): ULong
actual fun matches_inbound_session_from(session: OlmSessionPointer, theirIdentityKey: ByteArray, oneTimeKeyMessage: ByteArray): ULong
expect fun matches_inbound_session_from(session: OlmSessionPointer, theirIdentityKey: ByteArray, oneTimeKeyMessage: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
actual fun outbound_group_session_id(session: OlmOutboundGroupSessionPointer, sessionId: ByteArray): ULong
actual fun outbound_group_session_id(session: OlmOutboundGroupSessionPointer, sessionId: ByteArray): ULong
expect fun outbound_group_session_id(session: OlmOutboundGroupSessionPointer, sessionId: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
actual fun outbound_group_session_key(session: OlmOutboundGroupSessionPointer, key: ByteArray): ULong
actual fun outbound_group_session_key(session: OlmOutboundGroupSessionPointer, key: ByteArray): ULong
expect fun outbound_group_session_key(session: OlmOutboundGroupSessionPointer, key: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun pickle_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun pickle_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun pickle_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
actual fun pickle_outbound_group_session(session: OlmOutboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun pickle_outbound_group_session(session: OlmOutboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun pickle_outbound_group_session(session: OlmOutboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
actual fun pickle_pk_decryption(decryption: OlmPkDecryptionPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun pickle_pk_decryption(decryption: OlmPkDecryptionPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun pickle_pk_decryption(decryption: OlmPkDecryptionPointer, key: ByteArray, pickled: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun pk_decrypt(decryption: OlmPkDecryptionPointer, ephemeralKey: ByteArray, mac: ByteArray, cipherText: ByteArray, plainText: ByteArray): ULong
actual fun pk_decrypt(decryption: OlmPkDecryptionPointer, ephemeralKey: ByteArray, mac: ByteArray, cipherText: ByteArray, plainText: ByteArray): ULong
expect fun pk_decrypt(decryption: OlmPkDecryptionPointer, ephemeralKey: ByteArray, mac: ByteArray, cipherText: ByteArray, plainText: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun pk_encrypt(encryption: OlmPkEncryptionPointer, plainText: ByteArray, cipherText: ByteArray, mac: ByteArray, ephemeralKey: ByteArray, random: ByteArray?): ULong
actual fun pk_encrypt(encryption: OlmPkEncryptionPointer, plainText: ByteArray, cipherText: ByteArray, mac: ByteArray, ephemeralKey: ByteArray, random: ByteArray?): ULong
expect fun pk_encrypt(encryption: OlmPkEncryptionPointer, plainText: ByteArray, cipherText: ByteArray, mac: ByteArray, ephemeralKey: ByteArray, random: ByteArray?): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun pk_encryption_set_recipient_key(encryption: OlmPkEncryptionPointer, publicKey: ByteArray): ULong
actual fun pk_encryption_set_recipient_key(encryption: OlmPkEncryptionPointer, publicKey: ByteArray): ULong
expect fun pk_encryption_set_recipient_key(encryption: OlmPkEncryptionPointer, publicKey: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
actual fun pk_key_from_private(decryption: OlmPkDecryptionPointer, pubkey: ByteArray, privkey: ByteArray): ULong
actual fun pk_key_from_private(decryption: OlmPkDecryptionPointer, pubkey: ByteArray, privkey: ByteArray): ULong
expect fun pk_key_from_private(decryption: OlmPkDecryptionPointer, pubkey: ByteArray, privkey: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun pk_max_plaintext_length(decryption: OlmPkDecryptionPointer, cipherTextLength: ULong): ULong
actual fun pk_max_plaintext_length(decryption: OlmPkDecryptionPointer, cipherTextLength: ULong): ULong
expect fun pk_max_plaintext_length(decryption: OlmPkDecryptionPointer, cipherTextLength: ULong): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun pk_signing_key_from_seed(sign: OlmPkSigningPointer, pubkey: ByteArray, seed: ByteArray): ULong
actual fun pk_signing_key_from_seed(sign: OlmPkSigningPointer, pubkey: ByteArray, seed: ByteArray): ULong
expect fun pk_signing_key_from_seed(sign: OlmPkSigningPointer, pubkey: ByteArray, seed: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun sas_calculate_mac(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
actual fun sas_calculate_mac(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
expect fun sas_calculate_mac(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
Link copied to clipboard
actual fun sas_calculate_mac_fixed_base64(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
actual fun sas_calculate_mac_fixed_base64(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
expect fun sas_calculate_mac_fixed_base64(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
Link copied to clipboard
actual fun sas_calculate_mac_ULong_kdf(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
actual fun sas_calculate_mac_ULong_kdf(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
expect fun sas_calculate_mac_ULong_kdf(sas: OlmSASPointer, input: ByteArray, info: ByteArray, mac: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun unpickle_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun unpickle_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun unpickle_inbound_group_session(session: OlmInboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
Link copied to clipboard
actual fun unpickle_outbound_group_session(session: OlmOutboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun unpickle_outbound_group_session(session: OlmOutboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun unpickle_outbound_group_session(session: OlmOutboundGroupSessionPointer, key: ByteArray, pickled: ByteArray): ULong
Link copied to clipboard
actual fun unpickle_pk_decryption(decryption: OlmPkDecryptionPointer, key: ByteArray, pickled: ByteArray, pubkey: ByteArray): ULong
actual fun unpickle_pk_decryption(decryption: OlmPkDecryptionPointer, key: ByteArray, pickled: ByteArray, pubkey: ByteArray): ULong
expect fun unpickle_pk_decryption(decryption: OlmPkDecryptionPointer, key: ByteArray, pickled: ByteArray, pubkey: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard