Home
last modified time | relevance | path

Searched refs:importKey (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockKeyStore.java50 when(mock.importKey(anyString(), Matchers.any(byte[].class), anyInt(), anyInt())) in createMock()
56 return importKey((String) args[0], (byte[]) args[1], (Integer) args[2], in createMock()
109 private boolean importKey(String keyName, byte[] key, int uid, int flags) { in importKey() method in MockKeyStore
DWifiKeyStoreTest.java73 when(mKeyStore.importKey(anyString(), any(), anyInt(), anyInt())).thenReturn(true); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGeneratorTest.java139 mRecoverableKeyGenerator.importKey( in importKey_storesNullMetadata()
148 mRecoverableKeyGenerator.importKey( in importKey_storesNonNullMetadata()
159 mRecoverableKeyGenerator.importKey( in importKey_storesTheWrappedVersionOfTheRawMaterial()
DRecoverableKeyStoreManagerTest.java214 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, keyMaterial); in importKey_storesTheKey()
224 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, keyMaterial); in importKey_throwsIfInvalidLength()
234 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, /*keyBytes=*/ null); in importKey_throwsIfNullKey()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoveryController.java617 public @NonNull Key importKey(@NonNull String alias, @NonNull byte[] keyBytes) in importKey() method in RecoveryController
620 String grantAlias = mBinder.importKey(alias, keyBytes); in importKey()
659 public @NonNull Key importKey(@NonNull String alias, @NonNull byte[] keyBytes, in importKey() method in RecoveryController
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java101 ret = mKeyStore.importKey(privKeyName, privKeyData, Process.WIFI_UID, in installKeys()
207 return mKeyStore.importKey(name, privKeyData, Process.WIFI_UID, KeyStore.FLAG_NONE); in putKeyInKeyStore()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGenerator.java142 public void importKey( in importKey() method in RecoverableKeyGenerator
DRecoverableKeyStoreManager.java754 public @Nullable String importKey(@NonNull String alias, @NonNull byte[] keyBytes) in importKey() method in RecoverableKeyStoreManager
801 mRecoverableKeyGenerator.importKey(encryptionKey, userId, uid, alias, keyBytes, in importKeyWithMetadata()
/frameworks/base/keystore/java/android/security/
DKeyStore.java660 int error = mBinder.importKey(promise, alias, args, format, keyData, uid, flags); in importKeyInternal()
677 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, in importKey() method in KeyStore
697 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, in importKey() method in KeyStore
699 return importKey(alias, args, format, keyData, UID_SELF, flags, outCharacteristics); in importKey()
744 public boolean importKey(String alias, byte[] keyData, int uid, int flags) { in importKey() method in KeyStore
749 int result = importKey(alias, args, KeymasterDefs.KM_KEY_FORMAT_PKCS8, keyData, uid, in importKey()
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl75 String importKey(String alias, in byte[] keyBytes); in importKey() method
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java542 int errorCode = mKeyStore.importKey( in setPrivateKeyEntry()
749 int errorCode = mKeyStore.importKey( in setSecretKeyEntry()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java2238 public @Nullable String importKey(@NonNull String alias, @NonNull byte[] keyBytes) in importKey() method in LockSettingsService
2240 return mRecoverableKeyStoreManager.importKey(alias, keyBytes); in importKey()
/frameworks/base/api/
Dsystem-current.txt6186 …(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String,…
6187 …Manifest.permission.RECOVER_KEYSTORE) @NonNull public java.security.Key importKey(@NonNull String,…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt65620 Landroid/security/IKeystoreService$Stub$Proxy;->importKey(Ljava/lang/String;Landroid/security/keyma…
65702 Landroid/security/IKeystoreService;->importKey(Ljava/lang/String;Landroid/security/keymaster/Keymas…
66711 Landroid/security/KeyStore;->importKey(Ljava/lang/String;Landroid/security/keymaster/KeymasterArgum…
66712 Landroid/security/KeyStore;->importKey(Ljava/lang/String;Landroid/security/keymaster/KeymasterArgum…
66713 Landroid/security/KeyStore;->importKey(Ljava/lang/String;[BII)Z
107594 Lcom/android/internal/widget/ILockSettings$Stub$Proxy;->importKey(Ljava/lang/String;[B)Ljava/lang/S…
107670 Lcom/android/internal/widget/ILockSettings;->importKey(Ljava/lang/String;[B)Ljava/lang/String;