If encrypt is true, this should hold the public key in a RSA KPI encryption of data.
String? publicKey;