DecryptResult class
Capture structured response for decrypt.
Contains the decrypted data as a UTF-8 string. Works with both RSA and EC (ECIES) encrypted payloads. The decryption algorithm is automatically selected based on the key type stored on the device.
Constructors
- DecryptResult({required String decryptedData})
-
DecryptResult.fromChannel(Map<
String, dynamic> raw) -
factory
Properties
- decryptedData → String
-
The decrypted plaintext string (UTF-8 encoded).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited