Home
last modified time | relevance | path

Searched refs:importKey (Results 1 – 12 of 12) 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
/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.java215 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, keyMaterial); in importKey_storesTheKey()
225 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, keyMaterial); in importKey_throwsIfInvalidLength()
235 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/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGenerator.java142 public void importKey( in importKey() method in RecoverableKeyGenerator
DRecoverableKeyStoreManager.java753 public @Nullable String importKey(@NonNull String alias, @NonNull byte[] keyBytes) in importKey() method in RecoverableKeyStoreManager
798 mRecoverableKeyGenerator.importKey(encryptionKey, userId, uid, alias, keyBytes, in importKeyWithMetadata()
/frameworks/base/keystore/java/android/security/
DKeyStore.java647 int error = mBinder.importKey(promise, alias, args, format, keyData, uid, flags); in importKeyInternal()
664 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, in importKey() method in KeyStore
684 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, in importKey() method in KeyStore
686 return importKey(alias, args, format, keyData, UID_SELF, flags, outCharacteristics); in importKey()
731 public boolean importKey(String alias, byte[] keyData, int uid, int flags) { in importKey() method in KeyStore
736 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.java2467 public @Nullable String importKey(@NonNull String alias, @NonNull byte[] keyBytes) in importKey() method in LockSettingsService
2469 return mRecoverableKeyStoreManager.importKey(alias, keyBytes); in importKey()
/frameworks/base/non-updatable-api/
Dsystem-current.txt8319 …(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String,…
8320 …(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String,…
/frameworks/base/api/
Dsystem-current.txt9437 …(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String,…
9438 …(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String,…