Searched refs:userCertificate (Results 1 – 6 of 6) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | WifiInfo.java | 104 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/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 277 @Override public boolean setKeyPairCertificate(String alias, byte[] userCertificate, 280 if (!mKeyStore.put(Credentials.USER_CERTIFICATE + alias, userCertificate, 282 Log.e(TAG, "Failed to import user certificate " + userCertificate); 304 alias, emptyOrBase64Encoded(userCertificate), 389 @Nullable byte[] userCertificate, @Nullable byte[] userCertificateChain, 402 if (privateKey == null && userCertificate == null && userCertificateChain == null) { 418 emptyOrBase64Encoded(userCertificate), 430 if (userCertificate != null && 431 !mKeyStore.put(Credentials.USER_CERTIFICATE + alias, userCertificate, 433 Log.e(TAG, "Failed to import user certificate " + userCertificate);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 162 maybeUpdateClientKeyForEAPConfiguration(wifiEnterpriseConfig, wifiInfo.userCertificate); in maybeUpdateForEAPConfigurationOrThrow() 186 String userCertificate) in maybeUpdateClientKeyForEAPConfiguration() argument 189 if (TextUtils.isEmpty(userCertificate)) { in maybeUpdateClientKeyForEAPConfiguration() 192 KeyStore keyStore = loadKeystoreFromCertificate(userCertificate); in maybeUpdateClientKeyForEAPConfiguration() 284 private static KeyStore loadKeystoreFromCertificate(String userCertificate) in loadKeystoreFromCertificate() argument 288 Base64.getDecoder().decode(userCertificate in loadKeystoreFromCertificate()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProviderTest.java | 371 String caCertificate, String userCertificate) { in buildTestWifiInfoForEAPWithCertificates() argument 380 .setUserCertificate(userCertificate) in buildTestWifiInfoForEAPWithCertificates() 393 String caCertificate, String userCertificate, String privateKey) { in assertEnterpriseConfig() argument 395 assertCertificateInformation(wifiConf, caCertificate, userCertificate, privateKey); in assertEnterpriseConfig() 414 WifiConfiguration wifiConf, String caCertificate, String userCertificate, in assertCertificateInformation() argument 419 assertEquals(userCertificate, buildEncodedCertificateChain( in assertCertificateInformation()
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
D | KeyChainServiceTestSupport.java | 115 @Override public boolean setKeyPairCertificate(String alias, byte[] userCertificate, 118 return keyChainService.setKeyPairCertificate(alias, userCertificate,
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | WifiInfoTest.java | 71 assertEquals(TEST_USER_CERT, wifiInfo.userCertificate); in testBuilderWriteAndReadBack()
|