Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java105 public final String userCertificate; field in WifiInfo
150 bundle.putString(EXTRA_PROVISIONING_WIFI_USER_CERTIFICATE, userCertificate); in toPersistableBundle()
193 userCertificate = builder.userCertificate; in WifiInfo()
224 private String userCertificate; field in WifiInfo.Builder
274 public Builder setUserCertificate(String userCertificate) { in setUserCertificate() argument
275 this.userCertificate = userCertificate; in setUserCertificate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java164 maybeUpdateClientKeyForEAPConfiguration(wifiEnterpriseConfig, wifiInfo.userCertificate); in maybeUpdateForEAPConfigurationOrThrow()
188 String userCertificate) in maybeUpdateClientKeyForEAPConfiguration() argument
191 if (TextUtils.isEmpty(userCertificate)) { in maybeUpdateClientKeyForEAPConfiguration()
194 KeyStore keyStore = loadKeystoreFromCertificate(userCertificate); in maybeUpdateClientKeyForEAPConfiguration()
286 private static KeyStore loadKeystoreFromCertificate(String userCertificate) in loadKeystoreFromCertificate() argument
290 Base64.getDecoder().decode(userCertificate in loadKeystoreFromCertificate()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java371 String caCertificate, String userCertificate) { in buildTestWifiInfoForEAPWithCertificates() argument
380 .setUserCertificate(userCertificate) in buildTestWifiInfoForEAPWithCertificates()
392 String caCertificate, String userCertificate, String privateKey) { in assertEnterpriseConfig() argument
394 assertCertificateInformation(wifiConf, caCertificate, userCertificate, privateKey); in assertEnterpriseConfig()
413 WifiConfiguration wifiConf, String caCertificate, String userCertificate, in assertCertificateInformation() argument
418 assertEquals(userCertificate, buildEncodedCertificateChain( in assertCertificateInformation()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java369 @Override public boolean setKeyPairCertificate(String alias, byte[] userCertificate,
387 if (userCertificate != null) {
388 certs.add(parseCertificate(userCertificate));
412 alias, emptyOrBase64Encoded(userCertificate),
516 @Nullable byte[] userCertificate, @Nullable byte[] userCertificateChain,
531 if (privateKey == null && userCertificate == null && userCertificateChain == null) {
547 emptyOrBase64Encoded(userCertificate),
553 if (userCertificate != null) {
554 certs.add(parseCertificate(userCertificate));
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java80 @Override public boolean setKeyPairCertificate(String alias, byte[] userCertificate,
83 return keyChainService.setKeyPairCertificate(alias, userCertificate,
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java72 assertEquals(TEST_USER_CERT, wifiInfo.userCertificate); in testBuilderWriteAndReadBack()