Home
last modified time | relevance | path

Searched refs:CA_CERTIFICATE (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java130 ret = putCertInKeyStore(Credentials.CA_CERTIFICATE + alias, caCertificates[i]); in installKeys()
139 mKeyStore.delete(Credentials.CA_CERTIFICATE + addedAlias, Process.WIFI_UID); in installKeys()
149 mKeyStore.delete(Credentials.CA_CERTIFICATE + oldAlias, Process.WIFI_UID); in installKeys()
249 mKeyStore.delete(Credentials.CA_CERTIFICATE + ca, Process.WIFI_UID); in removeKeys()
306 Credentials.CA_CERTIFICATE + config.enterpriseConfig.getCaCertificateAlias(), in updateNetworkKeys()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiKeyStoreTest.java104 verify(mKeyStore).delete(Credentials.CA_CERTIFICATE + USER_CA_CERT_ALIAS[0], in testRemoveKeysForAppInstalledCerts()
106 verify(mKeyStore).delete(Credentials.CA_CERTIFICATE + USER_CA_CERT_ALIAS[1], in testRemoveKeysForAppInstalledCerts()
137 verify(mKeyStore).delete(Credentials.CA_CERTIFICATE + USER_CA_CERT_ALIAS[0], in testRemoveKeysForMixedInstalledCerts2()
139 verify(mKeyStore).delete(Credentials.CA_CERTIFICATE + USER_CA_CERT_ALIAS[1], in testRemoveKeysForMixedInstalledCerts2()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java47 public static final String CA_CERT_PREFIX = KEYSTORE_URI + Credentials.CA_CERTIFICATE;
177 WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias0), in testSaveMultipleCaCertificates()
178 … WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias1))); in testSaveMultipleCaCertificates()
187 WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias0), in testLoadMultipleCaCertificates()
188 … WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias1))); in testLoadMultipleCaCertificates()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java132 final byte[] caBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, in engineGetCertificateChain()
165 encodedCert = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, mUid); in engineGetCertificate()
283 return getModificationDate(Credentials.CA_CERTIFICATE + alias); in engineGetCreationDate()
569 errorCode = mKeyStore.insert(Credentials.CA_CERTIFICATE + alias, chainBytes, in setPrivateKeyEntry()
871 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded, mUid, KeyStore.FLAG_NONE)) { in engineSetCertificateEntry()
917 || mKeyStore.contains(Credentials.CA_CERTIFICATE + alias, mUid); in engineContainsAlias()
941 return mKeyStore.contains(Credentials.CA_CERTIFICATE + alias, mUid); in isCertificateEntry()
996 final String[] caAliases = mKeyStore.list(Credentials.CA_CERTIFICATE, mUid); in engineGetCertificateAlias()
1003 final byte[] certBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, mUid); in engineGetCertificateAlias()
DAndroidKeyStoreKeyPairGeneratorSpi.java574 storeCertificate(Credentials.CA_CERTIFICATE, certificateConcatenationStream.toByteArray(), in storeCertificateChain()
/frameworks/base/keystore/java/android/security/
DCredentials.java51 public static final String CA_CERTIFICATE = "CACERT_"; field in Credentials
210 & keystore.delete(Credentials.CA_CERTIFICATE + alias, uid); in deleteCertificateTypesForAlias()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java92 public static final String CA_CERT_PREFIX = KEYSTORE_URI + Credentials.CA_CERTIFICATE;
607 sb.append(encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + aliases[i])); in setCaCertificateAliases()
639 if (aliases[i].startsWith(Credentials.CA_CERTIFICATE)) { in getCaCertificateAliases()
640 aliases[i] = aliases[i].substring(Credentials.CA_CERTIFICATE.length()); in getCaCertificateAliases()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java219 if (!mKeyStore.putCertInKeyStore(Credentials.CA_CERTIFICATE + alias, in installCertsAndKeys()
270 String certName = Credentials.CA_CERTIFICATE + mRemediationCaCertificateAlias; in installCertsAndKeys()
296 Credentials.CA_CERTIFICATE + certificateAlias)) { in uninstallCertsAndKeys()
319 Credentials.CA_CERTIFICATE + mRemediationCaCertificateAlias)) { in uninstallCertsAndKeys()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1756 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert); in startLegacyVpnPrivileged()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt65465 Landroid/security/Credentials;->CA_CERTIFICATE:Ljava/lang/String;