Searched refs:cert2 (Results 1 – 2 of 2) sorted by relevance
487 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local491 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()494 assertTrue(cert2.getSerialNumber().equals(certs[1].getSerialNumber())); in testSettersAndGetters()
2050 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local2094 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_RSA()2115 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2149 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local2192 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_EC()2213 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()