Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java96 public final String caCertificate; field in WifiInfo
148 bundle.putString(EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE, caCertificate); in toPersistableBundle()
191 caCertificate = builder.caCertificate; in WifiInfo()
222 private String caCertificate; field in WifiInfo.Builder
262 public Builder setCaCertificate(String caCertificate) { in setCaCertificate() argument
263 this.caCertificate = caCertificate; in setCaCertificate()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java364 String caCertificate, String userCertificate) { in buildTestWifiInfoForEAPWithCertificates() argument
372 .setCaCertificate(caCertificate) in buildTestWifiInfoForEAPWithCertificates()
386 String caCertificate, String userCertificate, String privateKey) { in assertEnterpriseConfig() argument
388 assertCertificateInformation(wifiConf, caCertificate, userCertificate, privateKey); in assertEnterpriseConfig()
407 WifiConfiguration wifiConf, String caCertificate, String userCertificate, in assertCertificateInformation() argument
410 assertEquals(caCertificate, Base64.getEncoder() in assertCertificateInformation()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java173 if (!TextUtils.isEmpty(wifiInfo.caCertificate)) { in updateWifiEnterpriseConfigFromWifiInfo()
174 wifiEnterpriseConfig.setCaCertificate(buildCACertificate(wifiInfo.caCertificate)); in updateWifiEnterpriseConfigFromWifiInfo()
307 private X509Certificate buildCACertificate(String caCertificate) in buildCACertificate() argument
311 .decode(caCertificate.getBytes(StandardCharsets.UTF_8)))) { in buildCACertificate()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java327 @Override public String installCaCertificate(byte[] caCertificate) {
332 final X509Certificate cert = parseCertificate(caCertificate);
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java70 assertEquals(TEST_CA_CERT, wifiInfo.caCertificate); in testBuilderWriteAndReadBack()