Searched refs:cert1 (Results 1 – 2 of 2) sorted by relevance
721 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local725 config.setCaCertificate(cert1); in testSettersAndGetters()726 assertTrue(config.getCaCertificate().getSerialNumber().equals(cert1.getSerialNumber())); in testSettersAndGetters()727 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()729 assertTrue(cert1.getSerialNumber().equals(certs[0].getSerialNumber())); in testSettersAndGetters()749 new X509Certificate[]{clientCert, cert1}); in testSettersAndGetters()755 assertTrue(testClientCertChain[1] == cert1); in testSettersAndGetters()
2035 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local2057 new KeyStore.PrivateKeyEntry(privateKey1, new Certificate[] {cert1}), in testKeyStore_LargeNumberOfKeysSupported_RSA()2078 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()2108 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local2129 new KeyStore.PrivateKeyEntry(privateKey1, new Certificate[] {cert1}), in testKeyStore_LargeNumberOfKeysSupported_EC()2151 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()