Home
last modified time | relevance | path

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

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java119 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DCertificateVerifier.java44 public void verifyCaCert(X509Certificate caCert) in verifyCaCert() argument
50 Arrays.asList(caCert)); in verifyCaCert()
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/
DPlatformAdapter.java143 for (X509Certificate caCert : diskCerts) { in loadKeyStore()
145 String.format("%s%d", CERT_WFA_ALIAS, index), caCert); in loadKeyStore()
162 for (X509Certificate caCert : diskCerts) { in loadKeyStore()
164 String.format("%s%d", CERT_WFA_ALIAS, index), caCert); in loadKeyStore()
356 X509Certificate caCert = null; in remediationComplete() local
360 caCert = certList != null && !certList.isEmpty() ? certList.iterator().next() : null; in remediationComplete()
367 updateNetwork(altSP, caCert, clientCerts, privateKey); in remediationComplete()
476 private void updateNetwork(HomeSP homeSP, X509Certificate caCert, in updateNetwork() argument
488 caCert != null ? caCert : enterpriseConfig.getCaCertificate(), in updateNetwork()
/frameworks/base/packages/Osu/src/com/android/configparse/
DConfigBuilder.java34 public static WifiConfiguration buildConfig(HomeSP homeSP, X509Certificate caCert, in buildConfig() argument
56 if (key != null || clientChain != null || caCert != null) { in buildConfig()
68 enterpriseConfig.setCaCertificate(caCert); in buildConfig()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java145 X509Certificate caCert = FakeKeys.CA_CERT1; in testSetInvalidClientCertificateChain() local
147 isClientCertificateChainInvalid(new X509Certificate[] {caCert, caCert})); in testSetInvalidClientCertificateChain()
151 isClientCertificateChainInvalid(new X509Certificate[] {caCert, clientCert})); in testSetInvalidClientCertificateChain()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java55 X509Certificate caCert, in createCredential() argument
66 cred.setCaCertificate(caCert); in createCredential()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1562 String caCert = ""; in startLegacyVpnPrivileged() local
1571 caCert = (value == null) ? null : new String(value, StandardCharsets.UTF_8); in startLegacyVpnPrivileged()
1577 if (privateKey == null || userCert == null || caCert == null || serverCert == null) { in startLegacyVpnPrivileged()
1593 caCert, serverCert, "1701", in startLegacyVpnPrivileged()
1605 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
1611 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4147 final byte[] caCert = TEST_CA.getBytes(); in verifyCanGetOwnerInstalledCaCerts()
4168 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCanGetOwnerInstalledCaCerts()
4170 assertTrue(dpm.installCaCert(caller, caCert)); in verifyCanGetOwnerInstalledCaCerts()
4217 final byte[] caCert = TEST_CA.getBytes(); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
4238 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
4240 assertTrue(dpm.installCaCert(callerName, caCert)); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1663 public static void verifyCert(X509Certificate caCert) in verifyCert() argument
1669 Arrays.asList(caCert)); in verifyCert()