Home
last modified time | relevance | path

Searched refs:caCert (Results 1 – 7 of 7) 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/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.java1693 String caCert = ""; in startLegacyVpnPrivileged() local
1702 caCert = (value == null) ? null : new String(value, StandardCharsets.UTF_8); in startLegacyVpnPrivileged()
1708 if (privateKey == null || userCert == null || caCert == null || serverCert == null) { in startLegacyVpnPrivileged()
1724 caCert, serverCert, "1701", in startLegacyVpnPrivileged()
1736 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
1742 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4754 final byte[] caCert = TEST_CA.getBytes(); in verifyCanGetOwnerInstalledCaCerts()
4775 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCanGetOwnerInstalledCaCerts()
4777 assertTrue(dpm.installCaCert(caller, caCert)); in verifyCanGetOwnerInstalledCaCerts()
4824 final byte[] caCert = TEST_CA.getBytes(); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
4845 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
4847 assertTrue(dpm.installCaCert(callerName, caCert)); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1896 public static void verifyCert(X509Certificate caCert) in verifyCert() argument
1902 Arrays.asList(caCert)); in verifyCert()