getEncryptedKeys static method

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

Implementation

static Future<Map<String, String>> getEncryptedKeys(String atsign) async {
  Map<String, String> result;
  try {
    result = await KeychainUtil.getEncryptedKeys(atsign);
    result[atsign] = await _getAESKey(atsign) ?? '';
  } catch (e) {
    result = {};
  }
  return result;
}