IntentIoHelper
object IntentIoHelper
Off-main-thread helpers that back the Intent activities.
Functions
Link copied to clipboard
suspend fun loadDecryptSecretKey(keyRepository: KeyRepository, settingsRepository: SettingsRepository): ByteArray
Resolves the secret key used for decryption (default sign key or the first available secret key).
Link copied to clipboard
suspend fun loadEncryptPublicKey(keyRepository: KeyRepository, settingsRepository: SettingsRepository): ByteArray
Resolves the recipient public key to encrypt to (default encrypt key or the first available key).
Link copied to clipboard
Reads binary payload bytes from the intent on Dispatchers.IO.
Link copied to clipboard
Reads text from the intent on Dispatchers.IO; see IntentPayloadReader.readText.
Link copied to clipboard
Reads all bytes from uri (size-limited).
Link copied to clipboard
Link copied to clipboard