Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java104 public final String userCertificate; field in WifiInfo
149 bundle.putString(EXTRA_PROVISIONING_WIFI_USER_CERTIFICATE, userCertificate); in toPersistableBundle()
192 userCertificate = builder.userCertificate; in WifiInfo()
223 private String userCertificate; field in WifiInfo.Builder
267 public Builder setUserCertificate(String userCertificate) { in setUserCertificate() argument
268 this.userCertificate = userCertificate; in setUserCertificate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java160 maybeUpdateClientKeyForEAPConfiguration(wifiEnterpriseConfig, wifiInfo.userCertificate); in maybeUpdateForEAPConfigurationOrThrow()
184 String userCertificate) in maybeUpdateClientKeyForEAPConfiguration() argument
187 if (TextUtils.isEmpty(userCertificate)) { in maybeUpdateClientKeyForEAPConfiguration()
190 KeyStore keyStore = loadKeystoreFromCertificate(userCertificate); in maybeUpdateClientKeyForEAPConfiguration()
282 private static KeyStore loadKeystoreFromCertificate(String userCertificate) in loadKeystoreFromCertificate() argument
286 Base64.getDecoder().decode(userCertificate in loadKeystoreFromCertificate()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java364 String caCertificate, String userCertificate) { in buildTestWifiInfoForEAPWithCertificates() argument
373 .setUserCertificate(userCertificate) 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
412 assertEquals(userCertificate, buildEncodedCertificateChain( in assertCertificateInformation()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java278 @Override public boolean setKeyPairCertificate(String alias, byte[] userCertificate,
281 if (!mKeyStore.put(Credentials.USER_CERTIFICATE + alias, userCertificate,
283 Log.e(TAG, "Failed to import user certificate " + userCertificate);
366 @Override public boolean installKeyPair(byte[] privateKey, byte[] userCertificate,
377 if (!mKeyStore.put(Credentials.USER_CERTIFICATE + alias, userCertificate, -1,
379 Log.e(TAG, "Failed to import user certificate " + userCertificate);
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java71 assertEquals(TEST_USER_CERT, wifiInfo.userCertificate); in testBuilderWriteAndReadBack()