Home
last modified time | relevance | path

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

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java120 Integer phase2, String identity, String anonymousIdentity, String caCert, in createEapConfig() argument
132 if (caCert == null) caCert = ""; in createEapConfig()
140 config.enterpriseConfig.setCaCertificateAliases(new String[] {caCert}); in createEapConfig()
229 String caCert = null; in getWifiConfiguration() local
231 caCert = (jsonConfig.getString("ca_cert")); in getWifiConfiguration()
238 anonymousIdentity, caCert, clientCert); in getWifiConfiguration()
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DIkeSessionParamsUtils.java424 X509Certificate caCert = config.getRemoteCaCert(); in toPersistableBundle() local
425 if (caCert != null) { in toPersistableBundle()
428 PersistableBundleUtils.fromByteArray(caCert.getEncoded())); in toPersistableBundle()
472 X509Certificate caCert = null; in setBuilderByReadingPersistableBundle() local
475 caCert = CertUtils.certificateFromByteArray(encodedCaCert); in setBuilderByReadingPersistableBundle()
478 builder.setAuthDigitalSignature(caCert, endCert, certList, privateKey); in setBuilderByReadingPersistableBundle()
DEapSessionConfigUtils.java260 X509Certificate caCert = null; in setBuilderByReadingPersistableBundle() local
262 caCert = in setBuilderByReadingPersistableBundle()
273 builder.setEapTtlsConfig(caCert, eapSessionConfig); in setBuilderByReadingPersistableBundle()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java2500 String caCert = ""; in startLegacyVpnPrivileged() local
2513 caCert = getCaCertificateFromKeystoreAsPem(keystore, profile.ipsecCaCert); in startLegacyVpnPrivileged()
2524 if (userCert == null || caCert == null || serverCert == null) { in startLegacyVpnPrivileged()
2537 profile.ipsecCaCert = caCert; in startLegacyVpnPrivileged()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java6451 final byte[] caCert = TEST_CA.getBytes(); in verifyCanGetOwnerInstalledCaCerts()
6472 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCanGetOwnerInstalledCaCerts()
6474 assertThat(dpm.installCaCert(caller, caCert)).isTrue(); in verifyCanGetOwnerInstalledCaCerts()
6524 final byte[] caCert = TEST_CA.getBytes(); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
6545 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
6547 assertThat(dpm.installCaCert(callerName, caCert)).isTrue(); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()