Searched refs:cert1 (Results 1 – 2 of 2) sorted by relevance
734 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local738 config.setCaCertificate(cert1); in testSettersAndGetters()739 assertTrue(config.getCaCertificate().getSerialNumber().equals(cert1.getSerialNumber())); in testSettersAndGetters()740 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()742 assertTrue(cert1.getSerialNumber().equals(certs[0].getSerialNumber())); in testSettersAndGetters()762 new X509Certificate[]{clientCert, cert1}); in testSettersAndGetters()768 assertTrue(testClientCertChain[1] == cert1); in testSettersAndGetters()
2025 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local2044 new KeyStore.PrivateKeyEntry(privateKey1, new Certificate[] {cert1}), in testKeyStore_LargeNumberOfKeysSupported_RSA()2084 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2123 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local2141 new KeyStore.PrivateKeyEntry(privateKey1, new Certificate[] {cert1}), in testKeyStore_LargeNumberOfKeysSupported_EC()2182 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()