/// <summary> /// Deletes key from Key Store for the specified user id. /// </summary> /// <param name="userID">String containing the user id.</param> /// <returns>True if delete successful; otherwise false.</returns> public bool DeleteKey(string userID) { bool isDeleted = false; isDeleted = _keyStore.DeleteKeyPair(userID); GetKeyList(); return(isDeleted); }