Searched refs:getRawResX509Certificate (Results 1 – 3 of 3) sorted by relevance
2165 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA()2169 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA()2243 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_EC()2247 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_EC()
470 PublicKey key = TestUtils.getRawResX509Certificate(getContext(), resId).getPublicKey(); in testGeneratePublicRejectsTransparentKeySpec()
618 …public static X509Certificate getRawResX509Certificate(Context context, int resId) throws Exceptio… in getRawResX509Certificate() method in TestUtils655 Certificate originalCert = TestUtils.getRawResX509Certificate(context, certResId); in importIntoAndroidKeyStore()