Searched refs:caCert (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 119 Integer phase2, String identity, String anonymousIdentity, String caCert, in createEapConfig() argument 131 if (caCert == null) caCert = ""; in createEapConfig() 139 config.enterpriseConfig.setCaCertificateAlias(caCert); in createEapConfig() 224 String caCert = null; in getWifiConfiguration() local 226 caCert = (jsonConfig.getString("ca_cert")); in getWifiConfiguration() 233 anonymousIdentity, caCert, clientCert); in getWifiConfiguration()
|
/frameworks/base/keystore/tests/src/android/security/ |
D | AndroidKeyStoreTest.java | 2049 … final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetEntry_CAEntry_Overwrites_PrivateKeyEntry_Encrypted_Success() local 2051 TrustedCertificateEntry expectedCertEntry = new TrustedCertificateEntry(caCert); in testKeyStore_SetEntry_CAEntry_Overwrites_PrivateKeyEntry_Encrypted_Success() 2094 final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_CAEntry_Encrypted_Success() local 2102 expectedChain[1] = caCert; in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_CAEntry_Encrypted_Success() 2120 TrustedCertificateEntry expectedCertEntry = new TrustedCertificateEntry(caCert); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_CAEntry_Encrypted_Success() 2143 final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_ShortPrivateKeyEntry_Encrypted_Success() local 2151 expectedChain[1] = caCert; in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_ShortPrivateKeyEntry_Encrypted_Success() 2198 … final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetEntry_CAEntry_Overwrites_CAEntry_Encrypted_Success() local 2200 TrustedCertificateEntry expectedCertEntry = new TrustedCertificateEntry(caCert); in testKeyStore_SetEntry_CAEntry_Overwrites_CAEntry_Encrypted_Success() 2238 final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure() local [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 855 String caCert = ""; in startLegacyVpn() local 864 caCert = (value == null) ? null : new String(value, StandardCharsets.UTF_8); in startLegacyVpn() 870 if (privateKey == null || userCert == null || caCert == null || serverCert == null) { in startLegacyVpn() 886 caCert, serverCert, "1701", in startLegacyVpn() 898 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpn() 904 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpn()
|