getEncryptedKeys method

Future<Map<String, String?>> getEncryptedKeys(
  1. String atsign
)

Fetches encryption keys for atsign from device keychain.

Implementation

Future<Map<String, String?>> getEncryptedKeys(String atsign) async {
  Map<String, String?> result = await KeychainUtil.getEncryptedKeys(atsign);
  result[atsign] = await getAESKey(atsign);
  return result;
}