1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-08 11:33:31 +00:00

rename CryptoKey to SymmetricCryptoKey

This commit is contained in:
Kyle Spearrin
2017-04-22 14:36:31 -04:00
parent b26c3d050c
commit 27e0c7421b
9 changed files with 50 additions and 49 deletions

View File

@@ -391,7 +391,7 @@ namespace Bit.App.Services
private void SyncOrgKeys(ProfileResponse profile)
{
var orgKeysDict = new Dictionary<string, CryptoKey>();
var orgKeysDict = new Dictionary<string, SymmetricCryptoKey>();
if(profile.Organizations != null)
{
@@ -400,7 +400,7 @@ namespace Bit.App.Services
try
{
var decBytes = _cryptoService.RsaDecryptToBytes(new CipherString(org.Key), null);
orgKeysDict.Add(org.Id, new CryptoKey(decBytes));
orgKeysDict.Add(org.Id, new SymmetricCryptoKey(decBytes));
}
catch
{