Searched refs:cert2 (Results 1 – 2 of 2) sorted by relevance
736 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local740 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()743 assertTrue(cert2.getSerialNumber().equals(certs[1].getSerialNumber())); in testSettersAndGetters()
2029 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local2072 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_RSA()2093 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2127 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local2170 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_EC()2191 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()