IntentResultWriter
object IntentResultWriter
Helper for naming, writing and finalizing Intent-based crypto results.
Functions
Link copied to clipboard
Strips a known .gpg/.pgp/.asc suffix to derive the decrypted name.
Link copied to clipboard
Sets RESULT_CANCELED and finishes activity.
Link copied to clipboard
Returns the .gpg output name for an encrypted sourceFileName.
Link copied to clipboard
Returns true when the intent carries integration source paths (e.g. SFM).
Link copied to clipboard
Link copied to clipboard
Writes ciphertext next to (or into the caller's output path for) the source file, optionally deleting the plaintext source, and returns the file.