/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreProvider.java | 229 private static KeyCharacteristics getKeyCharacteristics(@NonNull KeyStore keyStore, in getKeyCharacteristics() argument 233 int errorCode = keyStore.getKeyCharacteristics( in getKeyCharacteristics() 251 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStorePublicKeyFromKeystore() 254 ExportResult exportResult = keyStore.exportKey( in loadAndroidKeyStorePublicKeyFromKeystore() 284 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePublicKeyFromKeystore() 286 return loadAndroidKeyStorePublicKeyFromKeystore(keyStore, privateKeyAlias, uid, in loadAndroidKeyStorePublicKeyFromKeystore() 287 getKeyCharacteristics(keyStore, privateKeyAlias, uid)); in loadAndroidKeyStorePublicKeyFromKeystore() 292 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStoreKeyPairFromKeystore() 296 loadAndroidKeyStorePublicKeyFromKeystore(keyStore, privateKeyAlias, uid, in loadAndroidKeyStoreKeyPairFromKeystore() 305 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStoreKeyPairFromKeystore() [all …]
|
D | KeyStoreCryptoOperationUtils.java | 46 KeyStore keyStore, AndroidKeyStoreKey key, int beginOpResultCode) { in getInvalidKeyExceptionForInit() argument 54 keyStore.getInvalidKeyException(key.getAlias(), key.getUid(), beginOpResultCode); in getInvalidKeyExceptionForInit() 75 KeyStore keyStore, AndroidKeyStoreKey key, int beginOpResultCode) { in getExceptionForCipherInit() argument 89 return getInvalidKeyExceptionForInit(keyStore, key, beginOpResultCode); in getExceptionForCipherInit()
|
D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 176 KeyStore keyStore, IBinder operationToken) { in createMainDataStreamer() argument 179 keyStore, operationToken), 0); in createMainDataStreamer() 192 KeyStore keyStore, IBinder operationToken) { in createAdditionalAuthenticationDataStreamer() argument 194 new AdditionalAuthenticationDataStream(keyStore, operationToken), 0); in createAdditionalAuthenticationDataStreamer() 408 private AdditionalAuthenticationDataStream(KeyStore keyStore, IBinder operationToken) { in AdditionalAuthenticationDataStream() argument 409 mKeyStore = keyStore; in AdditionalAuthenticationDataStream()
|
D | AndroidKeyStoreECDSASignatureSpi.java | 46 protected KeyStoreCryptoOperationStreamer createMainDataStreamer(KeyStore keyStore, in createMainDataStreamer() argument 49 super.createMainDataStreamer(keyStore, operationToken), in createMainDataStreamer()
|
D | KeyStoreCryptoOperationChunkedStreamer.java | 210 public MainDataStream(KeyStore keyStore, IBinder operationToken) { in MainDataStream() argument 211 mKeyStore = keyStore; in MainDataStream()
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 79 static KeyInfo getKeyInfo(KeyStore keyStore, String entryAlias, String keyAliasInKeystore, in getKeyInfo() argument 82 int errorCode = keyStore.getKeyCharacteristics( in getKeyInfo()
|
D | AndroidKeyStoreSignatureSpiBase.java | 242 KeyStore keyStore, IBinder operationToken) { in createMainDataStreamer() argument 245 keyStore, operationToken)); in createMainDataStreamer()
|
D | AndroidKeyStoreCipherSpiBase.java | 299 KeyStore keyStore, IBinder operationToken) { in createMainDataStreamer() argument 302 keyStore, operationToken), 0); in createMainDataStreamer() 314 @SuppressWarnings("unused") KeyStore keyStore, in createAdditionalAuthenticationDataStreamer()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 126 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in decryptBlobV1() local 127 keyStore.load(null); in decryptBlobV1() 129 SecretKey decryptionKey = (SecretKey) keyStore.getKey(keyAlias, null); in decryptBlobV1() 140 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in decryptBlob() local 141 keyStore.load(null); in decryptBlob() 143 SecretKey decryptionKey = (SecretKey) keyStore.getKey(keyAlias, null); in decryptBlob() 161 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createBlob() local 162 keyStore.load(null); in createBlob() 173 keyStore.setEntry(keyAlias, in createBlob() 189 KeyStore keyStore; in destroyBlobKey() local [all …]
|
D | LockSettingsService.java | 429 public RecoverableKeyStoreManager getRecoverableKeyStoreManager(KeyStore keyStore) { in getRecoverableKeyStoreManager() argument 430 return RecoverableKeyStoreManager.getInstance(mContext, keyStore); in getRecoverableKeyStoreManager() 846 java.security.KeyStore keyStore = in migrateOldData() local 848 keyStore.load(null); in migrateOldData() 849 if (keyStore.containsAlias(alias)) { in migrateOldData() 850 keyStore.deleteEntry(alias); in migrateOldData() 1174 java.security.KeyStore keyStore = java.security.KeyStore.getInstance("AndroidKeyStore"); in getDecryptedPasswordForTiedProfile() local 1175 keyStore.load(null); in getDecryptedPasswordForTiedProfile() 1176 SecretKey decryptionKey = (SecretKey) keyStore.getKey( in getDecryptedPasswordForTiedProfile() 1596 java.security.KeyStore keyStore = java.security.KeyStore.getInstance("AndroidKeyStore"); in tieProfileLockToParent() local [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeyStoreProxyImpl.java | 39 public KeyStoreProxyImpl(KeyStore keyStore) { in KeyStoreProxyImpl() argument 40 mKeyStore = keyStore; in KeyStoreProxyImpl() 72 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in getAndLoadAndroidKeyStore() local 74 keyStore.load(/*param=*/ null); in getAndLoadAndroidKeyStore() 79 return keyStore; in getAndLoadAndroidKeyStore()
|
D | PlatformKeyManager.java | 112 KeyStoreProxy keyStore, in PlatformKeyManager() argument 114 mKeyStore = keyStore; in PlatformKeyManager() 497 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in getAndLoadAndroidKeyStore() local 499 keyStore.load(/*param=*/ null); in getAndLoadAndroidKeyStore() 504 return keyStore; in getAndLoadAndroidKeyStore()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioningTestUtil.java | 108 KeyStore keyStore = null; in createFakeKeyStore() local 111 keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); in createFakeKeyStore() 112 keyStore.load(null, null); in createFakeKeyStore() 115 keyStore.setCertificateEntry(String.format("%d", index), cert); in createFakeKeyStore() 122 return keyStore; in createFakeKeyStore()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointObjectFactory.java | 61 WifiKeyStore keyStore, SIMAccessor simAccessor, long providerId, int creatorUid, in makePasspointProvider() argument 63 return new PasspointProvider(config, keyStore, simAccessor, providerId, creatorUid, in makePasspointProvider() 75 public PasspointConfigUserStoreData makePasspointConfigUserStoreData(WifiKeyStore keyStore, in makePasspointConfigUserStoreData() argument 77 return new PasspointConfigUserStoreData(keyStore, simAccessor, dataSource); in makePasspointConfigUserStoreData()
|
D | PasspointConfigUserStoreData.java | 100 PasspointConfigUserStoreData(WifiKeyStore keyStore, SIMAccessor simAccessor, in PasspointConfigUserStoreData() argument 102 mKeyStore = keyStore; in PasspointConfigUserStoreData()
|
D | PasspointProvider.java | 106 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() argument 108 this(config, keyStore, simAccessor, providerId, creatorUid, packageName, null, null, null, in PasspointProvider() 112 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() argument 120 mKeyStore = keyStore; in PasspointProvider()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 256 @UserIdInt int userHandle, @NonNull KeyStore keyStore) { in Vpn() argument 257 this(looper, context, netService, userHandle, keyStore, in Vpn() 263 int userHandle, @NonNull KeyStore keyStore, SystemServices systemServices, in Vpn() argument 289 loadAlwaysOnPackage(keyStore); in Vpn() 464 public boolean isAlwaysOnPackageSupported(String packageName, @NonNull KeyStore keyStore) { in isAlwaysOnPackageSupported() argument 473 if (getVpnProfilePrivileged(packageName, keyStore) != null) { in isAlwaysOnPackageSupported() 532 @NonNull KeyStore keyStore) { in setAlwaysOnPackage() argument 535 if (setAlwaysOnPackageInternal(packageName, lockdown, lockdownWhitelist, keyStore)) { in setAlwaysOnPackage() 558 @Nullable List<String> lockdownWhitelist, @NonNull KeyStore keyStore) { in setAlwaysOnPackageInternal() argument 577 profile = getVpnProfilePrivileged(packageName, keyStore); in setAlwaysOnPackageInternal() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTestable.java | 51 public MockInjector(Context context, LockSettingsStorage storage, KeyStore keyStore, in MockInjector() argument 58 mKeyStore = keyStore; in MockInjector() 128 public RecoverableKeyStoreManager getRecoverableKeyStoreManager(KeyStore keyStore) { in getRecoverableKeyStoreManager() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiConfigStoreEncryptionUtil.java | 145 KeyStore keyStore = AndroidKeyStoreProvider.getKeyStoreForUid(Process.WIFI_UID); in getOrCreateSecretKey() local 146 if (keyStore.containsAlias(keyAlias)) { // The key exists in key store. Get the key. in getOrCreateSecretKey() 147 KeyStore.SecretKeyEntry secretKeyEntry = (KeyStore.SecretKeyEntry) keyStore in getOrCreateSecretKey()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyGeneratorTest.java | 88 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in tearDown() local 89 keyStore.load(/*param=*/ null); in tearDown() 90 keyStore.deleteEntry(WRAPPING_KEY_ALIAS); in tearDown()
|
D | WrappedKeyTest.java | 62 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in tearDown() local 63 keyStore.load(/*param=*/ null); in tearDown() 64 keyStore.deleteEntry(WRAPPED_KEY_ALIAS); in tearDown()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | MacAddressUtil.java | 98 KeyStore keyStore = AndroidKeyStoreProvider.getKeyStoreForUid(uid); in obtainMacRandHashFunction() local 100 Key key = keyStore.getKey(MAC_RANDOMIZATION_ALIAS, null); in obtainMacRandHashFunction()
|
D | WifiKeyStore.java | 54 WifiKeyStore(KeyStore keyStore) { in WifiKeyStore() argument 55 mKeyStore = keyStore; in WifiKeyStore()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | ApplicationKeyStorage.java | 62 ApplicationKeyStorage(KeyStoreProxy keyStore, KeyStore keystoreService) { in ApplicationKeyStorage() argument 63 mKeyStore = keyStore; in ApplicationKeyStorage()
|
/frameworks/base/core/java/android/net/ |
D | Ikev2VpnProfile.java | 461 @NonNull VpnProfile profile, @Nullable KeyStore keyStore) in fromVpnProfile() argument 486 Objects.requireNonNull(keyStore, "Missing Keystore for aliased PrivateKey"); in fromVpnProfile() 491 keyStore, alias, Process.myUid()); in fromVpnProfile()
|