Home
last modified time | relevance | path

Searched refs:getRawResPrivateKey (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2166 PrivateKey privateKey1 = TestUtils.getRawResPrivateKey(getContext(), R.raw.rsa_key1_pkcs8); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2170 PrivateKey privateKey2 = TestUtils.getRawResPrivateKey(getContext(), R.raw.rsa_key2_pkcs8); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2244 PrivateKey privateKey1 = TestUtils.getRawResPrivateKey(getContext(), R.raw.ec_key1_pkcs8); in testKeyStore_LargeNumberOfKeysSupported_EC()
2248 PrivateKey privateKey2 = TestUtils.getRawResPrivateKey(getContext(), R.raw.ec_key2_pkcs8); in testKeyStore_LargeNumberOfKeysSupported_EC()
DKeyFactoryTest.java440 PrivateKey key = TestUtils.getRawResPrivateKey(getContext(), resId); in testGeneratePrivateRejectsTransparentKeySpec()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java600 public static PrivateKey getRawResPrivateKey(Context context, int resId) throws Exception { in getRawResPrivateKey() method in TestUtils
657 PrivateKey originalPrivateKey = TestUtils.getRawResPrivateKey(context, privateResId); in importIntoAndroidKeyStore()