Home
last modified time | relevance | path

Searched refs:getPrivateKey (Results 1 – 7 of 7) sorted by relevance

/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java160 TestKeyStore.getClientCertificate().getPrivateKey("RSA", "RSA"); in testInstallAndRemoveKeyPair()
161 assertThat(mTestSupportService.installKeyPair(privateKeyEntry.getPrivateKey().getEncoded(), in testInstallAndRemoveKeyPair()
186 TestKeyStore.getClientCertificate().getPrivateKey("RSA", "RSA"); in testUserSelectability()
187 assertThat(mTestSupportService.installKeyPair(privateKeyEntry.getPrivateKey().getEncoded(), in testUserSelectability()
326 TestKeyStore.getClientCertificate().getPrivateKey("RSA", "RSA"); in testInstallKeyPairErrorOnAliasSelectionDeniedKey()
329 privateKeyEntry.getPrivateKey().getEncoded(), in testInstallKeyPairErrorOnAliasSelectionDeniedKey()
442 TestKeyStore.getClientCertificate().getPrivateKey("RSA", "RSA"); in installTestRsaKey()
443 mTestSupportService.installKeyPair(privateKeyEntry.getPrivateKey().getEncoded(), in installTestRsaKey()
DKeyChainTestActivity.java107 KeyChain.getPrivateKey(null, null); in testKeyChainImproperUse()
118 KeyChain.getPrivateKey(this, null); in testKeyChainImproperUse()
129 KeyChain.getPrivateKey(null, ""); in testKeyChainImproperUse()
140 KeyChain.getPrivateKey(this, ""); in testKeyChainImproperUse()
274 @Override public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in KeyChainTestActivity.KeyChainKeyManager
277 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this, in getPrivateKey()
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/
DSystemInterfaceTest.java107 Utils.encodeEd25519PubKey(kp.getPublicKey()), kp.getPrivateKey())) in generateEekChain()
109 Utils.encodeX25519PubKey(eek), kp.getPrivateKey())) in generateEekChain()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionParamsTest.java442 assertEquals(mClientPrivateKey, localSignConfig.getPrivateKey()); in testBuildWithDigitalSignature()
468 assertEquals(mClientPrivateKey, localSignConfig.getPrivateKey()); in testBuildWithDigitalSignatureAndIntermediateCerts()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java434 mUserKey = entry.getPrivateKey(); in installFrom()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java1071 public PrivateKey getPrivateKey() { in getPrivateKey() method in IkeSessionParams.IkeAuthDigitalSignLocalConfig
/packages/modules/IPsec/api/
Dcurrent.txt240 method @NonNull public java.security.PrivateKey getPrivateKey();