/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)); 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 | 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 | 406 public RecoverableKeyStoreManager getRecoverableKeyStoreManager(KeyStore keyStore) { in getRecoverableKeyStoreManager() argument 407 return RecoverableKeyStoreManager.getInstance(mContext, keyStore); in getRecoverableKeyStoreManager() 822 java.security.KeyStore keyStore = in migrateOldData() local 824 keyStore.load(null); in migrateOldData() 825 if (keyStore.containsAlias(alias)) { in migrateOldData() 826 keyStore.deleteEntry(alias); in migrateOldData() 1150 java.security.KeyStore keyStore = java.security.KeyStore.getInstance("AndroidKeyStore"); in getDecryptedPasswordForTiedProfile() local 1151 keyStore.load(null); in getDecryptedPasswordForTiedProfile() 1152 SecretKey decryptionKey = (SecretKey) keyStore.getKey( in getDecryptedPasswordForTiedProfile() 1544 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 | 111 KeyStoreProxy keyStore, in PlatformKeyManager() argument 113 mKeyStore = keyStore; in PlatformKeyManager() 490 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in getAndLoadAndroidKeyStore() local 492 keyStore.load(/*param=*/ null); in getAndLoadAndroidKeyStore() 497 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 | 98 PasspointConfigUserStoreData(WifiKeyStore keyStore, SIMAccessor simAccessor, in PasspointConfigUserStoreData() argument 100 mKeyStore = keyStore; in PasspointConfigUserStoreData()
|
D | PasspointProvider.java | 105 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() argument 107 this(config, keyStore, simAccessor, providerId, creatorUid, packageName, null, null, null, in PasspointProvider() 111 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() argument 119 mKeyStore = keyStore; in PasspointProvider()
|
/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 | DataIntegrityChecker.java | 228 KeyStore keyStore = KeyStore.getInstance(KEY_STORE); in getOrCreateSecretKey() local 229 keyStore.load(null); in getOrCreateSecretKey() 230 if (keyStore.containsAlias(keyAlias)) { // The key exists in key store. Get the key. in getOrCreateSecretKey() 231 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/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 54 WifiKeyStore(KeyStore keyStore) { in WifiKeyStore() argument 55 mKeyStore = keyStore; in WifiKeyStore()
|
D | WifiConfigurationUtil.java | 295 KeyStore keyStore = AndroidKeyStoreProvider.getKeyStoreForUid(uid); in obtainMacRandHashFunction() local 297 Key key = keyStore.getKey(MAC_RANDOMIZATION_ALIAS, null); in obtainMacRandHashFunction()
|
D | WifiNetworkSuggestionsManager.java | 387 WifiKeyStore keyStore) { in WifiNetworkSuggestionsManager() argument 400 mWifiKeyStore = keyStore; in WifiNetworkSuggestionsManager()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1716 public void startLegacyVpn(VpnProfile profile, KeyStore keyStore, LinkProperties egress) { in startLegacyVpn() argument 1720 startLegacyVpnPrivileged(profile, keyStore, egress); in startLegacyVpn() 1732 public void startLegacyVpnPrivileged(VpnProfile profile, KeyStore keyStore, in startLegacyVpnPrivileged() argument 1752 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert); in startLegacyVpnPrivileged() 1756 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert); in startLegacyVpnPrivileged() 1760 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert); in startLegacyVpnPrivileged()
|