OlmLibrary

actual object OlmLibrary
actual object OlmLibrary
expect object OlmLibrary

Functions

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_identity_keys(account: OlmAccountPointer, identityKeys: ByteArray): ULong
actual fun account_identity_keys(account: OlmAccountPointer, identityKeys: ByteArray): ULong
expect fun account_identity_keys(account: OlmAccountPointer, identityKeys: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun account_one_time_keys(account: OlmAccountPointer, oneTimeKeys: ByteArray): ULong
actual fun account_one_time_keys(account: OlmAccountPointer, oneTimeKeys: ByteArray): ULong
expect fun account_one_time_keys(account: OlmAccountPointer, oneTimeKeys: ByteArray): ULong
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
Link copied to clipboard
actual fun clear_account(account: OlmAccountPointer): ULong
actual fun clear_account(account: OlmAccountPointer): ULong
expect fun clear_account(account: OlmAccountPointer): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun clear_sas(sas: OlmSASPointer): ULong
actual fun clear_sas(sas: OlmSASPointer): ULong
expect fun clear_sas(sas: OlmSASPointer): ULong
Link copied to clipboard
actual fun clear_session(session: OlmSessionPointer): ULong
actual fun clear_session(session: OlmSessionPointer): ULong
expect fun clear_session(session: OlmSessionPointer): ULong
Link copied to clipboard
actual fun clear_utility(utility: OlmUtilityPointer): ULong
actual fun clear_utility(utility: OlmUtilityPointer): ULong
expect fun clear_utility(utility: OlmUtilityPointer): ULong
Link copied to clipboard
actual fun create_account(account: OlmAccountPointer, random: ByteArray?): ULong
actual fun create_account(account: OlmAccountPointer, random: ByteArray?): ULong
expect fun create_account(account: OlmAccountPointer, random: ByteArray?): ULong
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
actual fun create_sas(sas: OlmSASPointer, random: ByteArray?): ULong
actual fun create_sas(sas: OlmSASPointer, random: ByteArray?): ULong
expect fun create_sas(sas: OlmSASPointer, random: ByteArray?): ULong
Link copied to clipboard
Link copied to clipboard
actual fun decrypt(session: OlmSessionPointer, messageType: ULong, message: ByteArray, plainText: ByteArray): ULong
actual fun decrypt(session: OlmSessionPointer, messageType: ULong, message: ByteArray, plainText: ByteArray): ULong
expect fun decrypt(session: OlmSessionPointer, messageType: ULong, message: ByteArray, plainText: ByteArray): ULong
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
actual fun encrypt(session: OlmSessionPointer, plainText: ByteArray, random: ByteArray?, message: ByteArray): ULong
actual fun encrypt(session: OlmSessionPointer, plainText: ByteArray, random: ByteArray?, message: ByteArray): ULong
expect fun encrypt(session: OlmSessionPointer, plainText: ByteArray, random: ByteArray?, message: ByteArray): ULong
Link copied to clipboard
actual fun encrypt_message_length(session: OlmSessionPointer, plainTextLength: ULong): ULong
actual fun encrypt_message_length(session: OlmSessionPointer, plainTextLength: ULong): ULong
expect fun encrypt_message_length(session: OlmSessionPointer, plainTextLength: ULong): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun error(): ULong
actual fun error(): ULong
expect fun error(): ULong
Link copied to clipboard
Link copied to clipboard
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_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
Link copied to clipboard
Link copied to clipboard
actual fun matches_inbound_session(session: OlmSessionPointer, oneTimeKeyMessage: ByteArray): ULong
actual fun matches_inbound_session(session: OlmSessionPointer, oneTimeKeyMessage: ByteArray): ULong
expect fun matches_inbound_session(session: OlmSessionPointer, oneTimeKeyMessage: ByteArray): ULong
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 pickle_account(account: OlmAccountPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun pickle_account(account: OlmAccountPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun pickle_account(account: OlmAccountPointer, 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
actual fun pickle_session(session: OlmSessionPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun pickle_session(session: OlmSessionPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun pickle_session(session: OlmSessionPointer, key: ByteArray, pickled: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
actual fun pk_ciphertext_length(encryption: OlmPkEncryptionPointer, plainTextLength: ULong): ULong
actual fun pk_ciphertext_length(encryption: OlmPkEncryptionPointer, plainTextLength: ULong): ULong
expect fun pk_ciphertext_length(encryption: OlmPkEncryptionPointer, plainTextLength: ULong): ULong
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
Link copied to clipboard
actual fun pk_get_private_key(decryption: OlmPkDecryptionPointer, privateKey: ByteArray): ULong
actual fun pk_get_private_key(decryption: OlmPkDecryptionPointer, privateKey: ByteArray): ULong
expect fun pk_get_private_key(decryption: OlmPkDecryptionPointer, privateKey: ByteArray): ULong
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
actual fun pk_key_length(): ULong
actual fun pk_key_length(): ULong
expect fun pk_key_length(): ULong
Link copied to clipboard
actual fun pk_mac_length(encryption: OlmPkEncryptionPointer): ULong
actual fun pk_mac_length(encryption: OlmPkEncryptionPointer): ULong
expect fun pk_mac_length(encryption: OlmPkEncryptionPointer): ULong
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
actual fun pk_sign(sign: OlmPkSigningPointer, message: ByteArray, signature: ByteArray): ULong
actual fun pk_sign(sign: OlmPkSigningPointer, message: ByteArray, signature: ByteArray): ULong
expect fun pk_sign(sign: OlmPkSigningPointer, 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun sas(): OlmSASPointer
actual fun sas(): OlmSASPointer
expect fun sas(): OlmSASPointer
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
Link copied to clipboard
Link copied to clipboard
actual fun sas_generate_bytes(sas: OlmSASPointer, info: ByteArray, output: ByteArray): ULong
actual fun sas_generate_bytes(sas: OlmSASPointer, info: ByteArray, output: ByteArray): ULong
expect fun sas_generate_bytes(sas: OlmSASPointer, info: ByteArray, output: ByteArray): ULong
Link copied to clipboard
actual fun sas_get_pubkey(sas: OlmSASPointer, pubkey: ByteArray): ULong
actual fun sas_get_pubkey(sas: OlmSASPointer, pubkey: ByteArray): ULong
expect fun sas_get_pubkey(sas: OlmSASPointer, pubkey: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun sas_set_their_key(sas: OlmSASPointer, theirKey: ByteArray): ULong
actual fun sas_set_their_key(sas: OlmSASPointer, theirKey: ByteArray): ULong
expect fun sas_set_their_key(sas: OlmSASPointer, theirKey: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
actual fun session_describe(session: OlmSessionPointer, description: ByteArray)
actual fun session_describe(session: OlmSessionPointer, description: ByteArray)
expect fun session_describe(session: OlmSessionPointer, description: ByteArray)
Link copied to clipboard
Link copied to clipboard
actual fun session_id(session: OlmSessionPointer, id: ByteArray): ULong
actual fun session_id(session: OlmSessionPointer, id: ByteArray): ULong
expect fun session_id(session: OlmSessionPointer, id: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun sha256(utility: OlmUtilityPointer, input: ByteArray, output: ByteArray): ULong
actual fun sha256(utility: OlmUtilityPointer, input: ByteArray, output: ByteArray): ULong
expect fun sha256(utility: OlmUtilityPointer, input: ByteArray, output: ByteArray): ULong
Link copied to clipboard
actual fun sha256_length(utility: OlmUtilityPointer): ULong
actual fun sha256_length(utility: OlmUtilityPointer): ULong
expect fun sha256_length(utility: OlmUtilityPointer): ULong
Link copied to clipboard
actual fun unpickle_account(account: OlmAccountPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun unpickle_account(account: OlmAccountPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun unpickle_account(account: OlmAccountPointer, 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
actual fun unpickle_session(session: OlmSessionPointer, key: ByteArray, pickled: ByteArray): ULong
actual fun unpickle_session(session: OlmSessionPointer, key: ByteArray, pickled: ByteArray): ULong
expect fun unpickle_session(session: OlmSessionPointer, key: ByteArray, pickled: ByteArray): ULong
Link copied to clipboard
Link copied to clipboard