Searched refs:cert2 (Results 1 – 2 of 2) sorted by relevance
730 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local734 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()737 assertTrue(cert2.getSerialNumber().equals(certs[1].getSerialNumber())); in testSettersAndGetters()
2066 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local2109 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_RSA()2130 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2164 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local2207 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_EC()2228 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()