/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreProvider.java | 227 private static KeyCharacteristics getKeyCharacteristics(@NonNull KeyStore keyStore, in getKeyCharacteristics() argument 231 int errorCode = keyStore.getKeyCharacteristics( in getKeyCharacteristics() 243 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStorePublicKeyFromKeystore() 246 ExportResult exportResult = keyStore.exportKey( in loadAndroidKeyStorePublicKeyFromKeystore() 276 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePublicKeyFromKeystore() 278 return loadAndroidKeyStorePublicKeyFromKeystore(keyStore, privateKeyAlias, uid, in loadAndroidKeyStorePublicKeyFromKeystore() 279 getKeyCharacteristics(keyStore, privateKeyAlias, uid)); in loadAndroidKeyStorePublicKeyFromKeystore() 284 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStoreKeyPairFromKeystore() 288 loadAndroidKeyStorePublicKeyFromKeystore(keyStore, privateKeyAlias, uid, in loadAndroidKeyStoreKeyPairFromKeystore() 297 @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)); in createMainDataStreamer() 192 KeyStore keyStore, IBinder operationToken) { in createAdditionalAuthenticationDataStreamer() argument 194 new AdditionalAuthenticationDataStream(keyStore, operationToken)); 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 | 326 public MainDataStream(KeyStore keyStore, IBinder operationToken) { in MainDataStream() argument 327 mKeyStore = keyStore; in MainDataStream()
|
D | AndroidKeyStoreSignatureSpiBase.java | 242 KeyStore keyStore, IBinder operationToken) { in createMainDataStreamer() argument 245 keyStore, operationToken)); in createMainDataStreamer()
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 79 static KeyInfo getKeyInfo(KeyStore keyStore, String entryAlias, String keyAliasInKeystore, in getKeyInfo() argument 82 int errorCode = keyStore.getKeyCharacteristics( in getKeyInfo()
|
D | AndroidKeyStoreCipherSpiBase.java | 299 KeyStore keyStore, IBinder operationToken) { in createMainDataStreamer() argument 302 keyStore, operationToken)); in createMainDataStreamer() 314 @SuppressWarnings("unused") KeyStore keyStore, in createAdditionalAuthenticationDataStreamer()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 117 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in decryptBlobV1() local 118 keyStore.load(null); in decryptBlobV1() 120 SecretKey decryptionKey = (SecretKey) keyStore.getKey(keyAlias, null); in decryptBlobV1() 131 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in decryptBlob() local 132 keyStore.load(null); in decryptBlob() 134 SecretKey decryptionKey = (SecretKey) keyStore.getKey(keyAlias, null); in decryptBlob() 152 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createBlob() local 153 keyStore.load(null); in createBlob() 164 keyStore.setEntry(keyAlias, in createBlob() 179 KeyStore keyStore; in destroyBlobKey() local [all …]
|
D | LockSettingsService.java | 389 public RecoverableKeyStoreManager getRecoverableKeyStoreManager(KeyStore keyStore) { in getRecoverableKeyStoreManager() argument 390 return RecoverableKeyStoreManager.getInstance(mContext, keyStore); in getRecoverableKeyStoreManager() 803 java.security.KeyStore keyStore = in migrateOldData() local 805 keyStore.load(null); in migrateOldData() 806 if (keyStore.containsAlias(alias)) { in migrateOldData() 807 keyStore.deleteEntry(alias); in migrateOldData() 1120 java.security.KeyStore keyStore = java.security.KeyStore.getInstance("AndroidKeyStore"); in getDecryptedPasswordForTiedProfile() local 1121 keyStore.load(null); in getDecryptedPasswordForTiedProfile() 1122 SecretKey decryptionKey = (SecretKey) keyStore.getKey( in getDecryptedPasswordForTiedProfile() 1415 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 | 99 KeyStoreProxy keyStore, in PlatformKeyManager() argument 101 mKeyStore = keyStore; in PlatformKeyManager() 435 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in getAndLoadAndroidKeyStore() local 437 keyStore.load(/*param=*/ null); in getAndLoadAndroidKeyStore() 442 return keyStore; in getAndLoadAndroidKeyStore()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioningTestUtil.java | 87 KeyStore keyStore = null; in createFakeKeyStore() local 90 keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); in createFakeKeyStore() 91 keyStore.load(null, null); in createFakeKeyStore() 94 keyStore.setCertificateEntry(String.format("%d", index), cert); in createFakeKeyStore() 101 return keyStore; in createFakeKeyStore()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointObjectFactory.java | 59 WifiKeyStore keyStore, SIMAccessor simAccessor, long providerId, int creatorUid) { in makePasspointProvider() argument 60 return new PasspointProvider(config, keyStore, simAccessor, providerId, creatorUid); in makePasspointProvider() 71 public PasspointConfigStoreData makePasspointConfigStoreData(WifiKeyStore keyStore, in makePasspointConfigStoreData() argument 73 return new PasspointConfigStoreData(keyStore, simAccessor, dataSource); in makePasspointConfigStoreData()
|
D | PasspointProvider.java | 94 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() argument 96 this(config, keyStore, simAccessor, providerId, creatorUid, null, null, null, false, false); in PasspointProvider() 99 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() argument 105 mKeyStore = keyStore; in PasspointProvider()
|
D | PasspointConfigStoreData.java | 108 PasspointConfigStoreData(WifiKeyStore keyStore, SIMAccessor simAccessor, in PasspointConfigStoreData() argument 110 mKeyStore = keyStore; in PasspointConfigStoreData()
|
D | PasspointManager.java | 200 public PasspointManager(Context context, WifiNative wifiNative, WifiKeyStore keyStore, in PasspointManager() argument 206 mKeyStore = keyStore; in PasspointManager()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyGeneratorTest.java | 83 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in tearDown() local 84 keyStore.load(/*param=*/ null); in tearDown() 85 keyStore.deleteEntry(WRAPPING_KEY_ALIAS); in tearDown()
|
D | WrappedKeyTest.java | 57 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in tearDown() local 58 keyStore.load(/*param=*/ null); in tearDown() 59 keyStore.deleteEntry(WRAPPING_KEY_ALIAS); in tearDown()
|
/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/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTestable.java | 48 public MockInjector(Context context, LockSettingsStorage storage, KeyStore keyStore, in MockInjector() argument 54 mKeyStore = keyStore; in MockInjector()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 51 WifiKeyStore(KeyStore keyStore) { in WifiKeyStore() argument 52 mKeyStore = keyStore; in WifiKeyStore()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1661 public void startLegacyVpn(VpnProfile profile, KeyStore keyStore, LinkProperties egress) { in startLegacyVpn() argument 1665 startLegacyVpnPrivileged(profile, keyStore, egress); in startLegacyVpn() 1677 public void startLegacyVpnPrivileged(VpnProfile profile, KeyStore keyStore, in startLegacyVpnPrivileged() argument 1697 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert); in startLegacyVpnPrivileged() 1701 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert); in startLegacyVpnPrivileged() 1705 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert); in startLegacyVpnPrivileged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 19437 final KeyStore keyStore = KeyStore.getInstance(); 19438 if (keyStore != null) { 19441 keyStore.clearUid(UserHandle.getUid(individual, appId)); 19444 keyStore.clearUid(UserHandle.getUid(userId, appId));
|