Home
last modified time | relevance | path

Searched refs:generatePrivateKey (Results 1 – 2 of 2) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DKeyManagementTest.java82 generatePrivateKey(FakeKeys.FAKE_RSA_1.privateKey, RSA);
119 private static PrivateKey generatePrivateKey(final byte[] key, String type) { in generatePrivateKey() method in KeyManagementTest
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java765 private PrivateKey generatePrivateKey(String keyType, byte[] fakeKey1) throws Exception { in generatePrivateKey() method in AndroidKeyStoreTest
776 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()