Home
last modified time | relevance | path

Searched refs:USER_CERTIFICATE (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyStoreTest.java839 … assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, FAKE_RSA_USER_1, in testKeyStore_DeleteEntry_Encrypted_Success()
884 … assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, FAKE_RSA_USER_1, in testKeyStore_DeleteEntry_NonExistent_Encrypted_Success()
948 … assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, FAKE_RSA_USER_1, in testKeyStore_GetCertificateAlias_PrivateKeyEntry_Encrypted_Success()
973 … assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, FAKE_RSA_USER_1, in testKeyStore_GetCertificateAlias_CAEntry_WithPrivateKeyUsingCA_Encrypted_Success()
1020 … assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, FAKE_RSA_USER_1, in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success()
1059 … assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, FAKE_RSA_USER_1, in testKeyStore_GetCreationDate_PrivateKeyEntry_Encrypted_Success()
1079 … assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, FAKE_RSA_USER_1, in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success()
1120 … assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, FAKE_RSA_USER_1, in testKeyStore_GetEntry_NullParams_Encrypted_Success()
1141 assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, in testKeyStore_GetEntry_EC_NullParams_Unencrypted_Success()
1161 assertTrue(mAndroidKeyStore.put(Credentials.USER_CERTIFICATE + TEST_ALIAS_1, in testKeyStore_GetEntry_RSA_NullParams_Unencrypted_Success()
[all …]
DAndroidKeyPairGeneratorTest.java368 final byte[] userCertBytes = mAndroidKeyStore.get(Credentials.USER_CERTIFICATE + alias); in assertKeyPairCorrect()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java145 byte[] encodedCert = mKeyStore.get(Credentials.USER_CERTIFICATE + alias, mUid); in engineGetCertificate()
263 d = getModificationDate(Credentials.USER_CERTIFICATE + alias); in engineGetCreationDate()
543 int errorCode = mKeyStore.insert(Credentials.USER_CERTIFICATE + alias, userCertBytes, in setPrivateKeyEntry()
806 || mKeyStore.contains(Credentials.USER_CERTIFICATE + alias, mUid) in engineContainsAlias()
880 final String[] certAliases = mKeyStore.list(Credentials.USER_CERTIFICATE, mUid); in engineGetCertificateAlias()
883 final byte[] certBytes = mKeyStore.get(Credentials.USER_CERTIFICATE + alias, mUid); in engineGetCertificateAlias()
DAndroidKeyStoreKeyPairGeneratorSpi.java554 Credentials.USER_CERTIFICATE, iter.next(), flags, "Failed to store certificate"); in storeCertificateChain()
/frameworks/base/keystore/java/android/security/
DCredentials.java61 public static final String USER_CERTIFICATE = "USRCERT_"; field in Credentials
262 return keystore.delete(Credentials.USER_CERTIFICATE + alias, uid) in deleteCertificateTypesForAlias()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DCredential.java155 byte[] octets = keyStore.get(Credentials.USER_CERTIFICATE + alias); in Credential()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java468 String userCertName = Credentials.USER_CERTIFICATE + name; in installKeys()
566 mKeyStore.delete(Credentials.USER_CERTIFICATE + client, Process.WIFI_UID); in removeKeys()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java99 public static final String CLIENT_CERT_PREFIX = KEYSTORE_URI + Credentials.USER_CERTIFICATE;
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1316 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert); in startLegacyVpnPrivileged()
1324 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert); in startLegacyVpnPrivileged()