1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-28 14:13:25 +00:00

rename to AndroidKeyStoreStorageService

This commit is contained in:
Kyle Spearrin
2017-06-10 10:52:13 -04:00
parent 82d93d2602
commit 6a88524f8e
3 changed files with 4 additions and 4 deletions

View File

@@ -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";