Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLUtils.java350 PrivateKey privateKey; in fromAlias() local
352 privateKey = KeyChain.getPrivateKey(context, alias); in fromAlias()
361 if (certificateChain == null || privateKey == null) { in fromAlias()
365 return new KeyChainKeyManager(alias, certificateChain, privateKey); in fromAlias()
378 String clientAlias, X509Certificate[] certificateChain, PrivateKey privateKey) { in KeyChainKeyManager() argument
381 mPrivateKey = privateKey; in KeyChainKeyManager()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java386 String caCertificate, String userCertificate, String privateKey) { in assertEnterpriseConfig() argument
388 assertCertificateInformation(wifiConf, caCertificate, userCertificate, privateKey); in assertEnterpriseConfig()
408 String privateKey) { in assertCertificateInformation() argument
414 assertEquals(privateKey, Base64.getEncoder() in assertCertificateInformation()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java277 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this, in getPrivateKey() local
279 log("privateKey=" + privateKey); in getPrivateKey()
280 return privateKey; in getPrivateKey()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DKeyChainServiceRoboTest.java226 String privateKey = mKeyChain.requestPrivateKey(NON_EXISTING_ALIAS); in testRequestPrivateKeyReturnsNullForNonExistingAlias() local
227 assertThat(privateKey).isNull(); in testRequestPrivateKeyReturnsNullForNonExistingAlias()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java366 @Override public boolean installKeyPair(byte[] privateKey, byte[] userCertificate,
372 if (!mKeyStore.importKey(Credentials.USER_PRIVATE_KEY + alias, privateKey, -1,