diff --git a/src/Android/Android.csproj b/src/Android/Android.csproj index 7327dc961..274b13d80 100644 --- a/src/Android/Android.csproj +++ b/src/Android/Android.csproj @@ -314,7 +314,7 @@ - + diff --git a/src/Android/MainApplication.cs b/src/Android/MainApplication.cs index 9909b72e6..f0fefbf95 100644 --- a/src/Android/MainApplication.cs +++ b/src/Android/MainApplication.cs @@ -211,7 +211,7 @@ namespace Bit.Android ISecureStorageService secureStorage; try { - secureStorage = new KeyStoreBackedStorageService(CrossSettings.Current); + secureStorage = new AndroidKeyStoreStorageService(CrossSettings.Current); } catch { diff --git a/src/Android/Services/KeyStoreBackedStorageService.cs b/src/Android/Services/AndroidKeyStoreStorageService.cs similarity index 98% rename from src/Android/Services/KeyStoreBackedStorageService.cs rename to src/Android/Services/AndroidKeyStoreStorageService.cs index e884d0b23..6a6e18d83 100644 --- a/src/Android/Services/KeyStoreBackedStorageService.cs +++ b/src/Android/Services/AndroidKeyStoreStorageService.cs @@ -15,7 +15,7 @@ using Javax.Crypto.Spec; namespace Bit.Android.Services { - public class KeyStoreBackedStorageService : ISecureStorageService + public class AndroidKeyStoreStorageService : ISecureStorageService { private const string AndroidKeyStore = "AndroidKeyStore"; private const string KeyAlias = "bitwardenKey"; @@ -28,7 +28,7 @@ namespace Bit.Android.Services private readonly KeyStore _keyStore; private readonly ISecureStorageService _oldKeyStorageService; - public KeyStoreBackedStorageService(ISettings settings) + public AndroidKeyStoreStorageService(ISettings settings) { _oldAndroid = Build.VERSION.SdkInt < BuildVersionCodes.M; _rsaMode = _oldAndroid ? "RSA/ECB/PKCS1Padding" : "RSA/ECB/OAEPWithSHA-1AndMGF1Padding";