/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | CertificateVerifier.java | 44 public void verifyCaCert(X509Certificate caCert) in verifyCaCert() argument 50 Arrays.asList(caCert)); in verifyCaCert()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/ |
D | PlatformAdapter.java | 143 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/ |
D | ConfigBuilder.java | 34 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/keystore/tests/src/android/security/keystore/ |
D | AndroidKeyStoreTest.java | 1629 … final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetEntry_CAEntry_Overwrites_PrivateKeyEntry_Encrypted_Success() local 1631 TrustedCertificateEntry expectedCertEntry = new TrustedCertificateEntry(caCert); in testKeyStore_SetEntry_CAEntry_Overwrites_PrivateKeyEntry_Encrypted_Success() 1674 final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_CAEntry_Encrypted_Success() local 1682 expectedChain[1] = caCert; in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_CAEntry_Encrypted_Success() 1700 TrustedCertificateEntry expectedCertEntry = new TrustedCertificateEntry(caCert); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_CAEntry_Encrypted_Success() 1723 final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_ShortPrivateKeyEntry_Encrypted_Success() local 1731 expectedChain[1] = caCert; in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_ShortPrivateKeyEntry_Encrypted_Success() 1778 … final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetEntry_CAEntry_Overwrites_CAEntry_Encrypted_Success() local 1780 TrustedCertificateEntry expectedCertEntry = new TrustedCertificateEntry(caCert); in testKeyStore_SetEntry_CAEntry_Overwrites_CAEntry_Encrypted_Success() 1818 final Certificate caCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure() local [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiEnterpriseConfigTest.java | 145 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/ |
D | CredentialTest.java | 55 X509Certificate caCert, in createCredential() argument 66 cred.setCaCertificate(caCert); in createCredential()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1374 String caCert = ""; in startLegacyVpnPrivileged() local 1383 caCert = (value == null) ? null : new String(value, StandardCharsets.UTF_8); in startLegacyVpnPrivileged() 1389 if (privateKey == null || userCert == null || caCert == null || serverCert == null) { in startLegacyVpnPrivileged() 1405 caCert, serverCert, "1701", in startLegacyVpnPrivileged() 1417 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged() 1423 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 4243 final byte[] caCert = TEST_CA.getBytes(); in verifyCanGetOwnerInstalledCaCerts() 4268 when(mContext.keyChainConnection.getService().installCaCertificate(caCert)) in verifyCanGetOwnerInstalledCaCerts() 4270 assertTrue(dpm.installCaCert(caller, caCert)); in verifyCanGetOwnerInstalledCaCerts() 4317 final byte[] caCert = TEST_CA.getBytes(); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval() 4342 when(mContext.keyChainConnection.getService().installCaCertificate(caCert)) in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval() 4344 assertTrue(dpm.installCaCert(callerName, caCert)); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1594 public static void verifyCert(X509Certificate caCert) in verifyCert() argument 1600 Arrays.asList(caCert)); in verifyCert()
|