Searched refs:privateKey (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | SSLUtils.java | 350 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/ |
D | WifiConfigurationProviderTest.java | 386 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/ |
D | KeyChainTestActivity.java | 277 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/ |
D | KeyChainServiceRoboTest.java | 226 String privateKey = mKeyChain.requestPrivateKey(NON_EXISTING_ALIAS); in testRequestPrivateKeyReturnsNullForNonExistingAlias() local 227 assertThat(privateKey).isNull(); in testRequestPrivateKeyReturnsNullForNonExistingAlias()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 366 @Override public boolean installKeyPair(byte[] privateKey, byte[] userCertificate, 372 if (!mKeyStore.importKey(Credentials.USER_PRIVATE_KEY + alias, privateKey, -1,
|