Searched refs:generatePrivateKey (Results 1 – 2 of 2) sorted by relevance
82 generatePrivateKey(FakeKeys.FAKE_RSA_1.privateKey, RSA);119 private static PrivateKey generatePrivateKey(final byte[] key, String type) { in generatePrivateKey() method in KeyManagementTest
765 private PrivateKey generatePrivateKey(String keyType, byte[] fakeKey1) throws Exception { in generatePrivateKey() method in AndroidKeyStoreTest776 return new KeyStore.PrivateKeyEntry(generatePrivateKey("EC", FAKE_EC_KEY_1), in makeUserEcKey1()783 return new KeyStore.PrivateKeyEntry(generatePrivateKey("RSA", FAKE_RSA_KEY_1), in makeUserRsaKey1()2084 PrivateKey privateKey3 = generatePrivateKey("RSA", FAKE_RSA_KEY_1); in testKeyStore_LargeNumberOfKeysSupported_RSA()2157 PrivateKey privateKey3 = generatePrivateKey("EC", FAKE_EC_KEY_1); in testKeyStore_LargeNumberOfKeysSupported_EC()