Home
last modified time | relevance | path

Searched refs:caCert (Results 1 – 6 of 6) 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/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/services/core/java/com/android/server/connectivity/
DVpn.java1748 String caCert = ""; in startLegacyVpnPrivileged() local
1757 caCert = (value == null) ? null : new String(value, StandardCharsets.UTF_8); in startLegacyVpnPrivileged()
1763 if (privateKey == null || userCert == null || caCert == null || serverCert == null) { in startLegacyVpnPrivileged()
1779 caCert, serverCert, "1701", in startLegacyVpnPrivileged()
1791 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
1797 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4792 final byte[] caCert = TEST_CA.getBytes(); in verifyCanGetOwnerInstalledCaCerts()
4813 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCanGetOwnerInstalledCaCerts()
4815 assertTrue(dpm.installCaCert(caller, caCert)); in verifyCanGetOwnerInstalledCaCerts()
4862 final byte[] caCert = TEST_CA.getBytes(); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
4883 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
4885 assertTrue(dpm.installCaCert(callerName, caCert)); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2079 public static void verifyCert(X509Certificate caCert) in verifyCert() argument
2085 Arrays.asList(caCert)); in verifyCert()