Searched refs:USER_PRIVATE_KEY (Results 1 – 11 of 11) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCertManagerTest.java | 78 String prefix = Credentials.USER_PRIVATE_KEY; in listClientCertsForAllUsers() 105 Credentials.USER_PRIVATE_KEY, UserHandle.myUserId()); in testEmptyConfigFile() 113 String prefix = Credentials.USER_PRIVATE_KEY; in testOperations()
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
D | AndroidKeyStoreTest.java | 768 assertTrue(mAndroidKeyStore.generate(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_Aliases_Encrypted_Success() 797 assertTrue(mAndroidKeyStore.generate(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_ContainsAliases_PrivateAndCA_Encrypted_Success() 837 assertTrue(mAndroidKeyStore.importKey(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_DeleteEntry_Encrypted_Success() 882 assertTrue(mAndroidKeyStore.importKey(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_DeleteEntry_NonExistent_Encrypted_Success() 946 assertTrue(mAndroidKeyStore.importKey(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_GetCertificateAlias_PrivateKeyEntry_Encrypted_Success() 971 assertTrue(mAndroidKeyStore.importKey(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_GetCertificateAlias_CAEntry_WithPrivateKeyUsingCA_Encrypted_Success() 1018 assertTrue(mAndroidKeyStore.importKey(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success() 1057 assertTrue(mAndroidKeyStore.importKey(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_GetCreationDate_PrivateKeyEntry_Encrypted_Success() 1077 assertTrue(mAndroidKeyStore.importKey(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() 1118 assertTrue(mAndroidKeyStore.importKey(Credentials.USER_PRIVATE_KEY + TEST_ALIAS_1, in testKeyStore_GetEntry_NullParams_Encrypted_Success() [all …]
|
D | AndroidKeyPairGeneratorTest.java | 386 Credentials.USER_PRIVATE_KEY + alias, in assertKeyPairCorrect() 415 Credentials.USER_PRIVATE_KEY + alias, KeymasterDefs.KM_KEY_FORMAT_X509, null, null); in assertKeyPairCorrect()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKeyFactorySpi.java | 68 if (keyAliasInKeystore.startsWith(Credentials.USER_PRIVATE_KEY)) { in engineGetKeySpec() 69 entryAlias = keyAliasInKeystore.substring(Credentials.USER_PRIVATE_KEY.length()); in engineGetKeySpec()
|
D | AndroidKeyStoreSpi.java | 93 String privateKeyAlias = Credentials.USER_PRIVATE_KEY + alias; in engineGetKey() 186 String privateKeyAlias = Credentials.USER_PRIVATE_KEY + alias; in getCertificateForPrivateKeyEntry() 253 Date d = getModificationDate(Credentials.USER_PRIVATE_KEY + alias); in engineGetCreationDate() 437 if (pkeyAlias != null && pkeyAlias.startsWith(Credentials.USER_PRIVATE_KEY)) { in setPrivateKeyEntry() 438 final String keySubalias = pkeyAlias.substring(Credentials.USER_PRIVATE_KEY.length()); in setPrivateKeyEntry() 525 Credentials.USER_PRIVATE_KEY + alias, in setPrivateKeyEntry() 804 return mKeyStore.contains(Credentials.USER_PRIVATE_KEY + alias, mUid) in engineContainsAlias() 829 return mKeyStore.contains(Credentials.USER_PRIVATE_KEY + alias, mUid); in isPrivateKeyEntry()
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 465 final String privateKeyAlias = Credentials.USER_PRIVATE_KEY + mEntryAlias; in generateKeyPair()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiCertManager.java | 84 if (mAffiliatedUserOnlyCerts.add(Credentials.USER_PRIVATE_KEY + key)) { in hideCertFromUnaffiliatedUsers() 142 return KeyStore.getInstance().list(Credentials.USER_PRIVATE_KEY, UserHandle.myUserId()); in listClientCertsForAllUsers()
|
D | WifiConfigStore.java | 471 String privKeyName = Credentials.USER_PRIVATE_KEY + name; in installKeys() 569 mKeyStore.delete(Credentials.USER_PRIVATE_KEY + client, Process.WIFI_UID); in removeKeys()
|
/frameworks/base/keystore/java/android/security/ |
D | Credentials.java | 64 public static final String USER_PRIVATE_KEY = "USRPKEY_"; field in Credentials 279 return keystore.delete(Credentials.USER_PRIVATE_KEY + alias, uid); in deletePrivateKeyTypeForAlias()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 782 setFieldValue(PRIVATE_KEY_ID_KEY, alias, Credentials.USER_PRIVATE_KEY); in setClientCertificateAlias()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1315 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; in startLegacyVpnPrivileged()
|