writeDecryptedForCaller

fun writeDecryptedForCaller(intent: Intent, sourcePath: String, plaintext: ByteArray): File

Writes plaintext to the derived output location, optionally deleting the encrypted source, and returns the written file.