CryptoResultParcel

data class CryptoResultParcel(val success: Boolean, val output: ByteArray? = null, val errorMessage: String? = null, val requiresUserInteraction: Boolean = false) : Parcelable

Unified success/failure result for encrypt, decrypt, and sign operations.

Constructors

Link copied to clipboard
constructor(success: Boolean, output: ByteArray? = null, errorMessage: String? = null, requiresUserInteraction: Boolean = false)

Properties

Link copied to clipboard

Human-readable error when success is false.

Link copied to clipboard

Result bytes (ciphertext, plaintext, or signature) when success is true.

Link copied to clipboard

True when the host must prompt (e.g. passphrase).

Link copied to clipboard

Whether the operation completed without error.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)