Searched refs:cert1 (Results 1 – 2 of 2) sorted by relevance
83 X509Certificate cert1 = FakeKeys.CA_CERT1; in testSetGetMultipleCaCertificates() local84 mEnterpriseConfig.setCaCertificates(new X509Certificate[] {cert0, cert1}); in testSetGetMultipleCaCertificates()87 assertTrue(result[0] == cert0 && result[1] == cert1); in testSetGetMultipleCaCertificates()122 X509Certificate cert1 = FakeKeys.CA_CERT1; in testSetClientCertificateChain() local123 X509Certificate[] clientChain = new X509Certificate[] {cert0, cert1}; in testSetClientCertificateChain()127 assertTrue(result[0] == cert0 && result[1] == cert1); in testSetClientCertificateChain()437 X509Certificate cert1 = FakeKeys.CA_CERT1; in testIsAppInstalledDeviceKeyAndCert() local438 X509Certificate[] clientChain = new X509Certificate[] {cert0, cert1}; in testIsAppInstalledDeviceKeyAndCert()442 assertTrue(result[0] == cert0 && result[1] == cert1); in testIsAppInstalledDeviceKeyAndCert()477 X509Certificate cert1 = FakeKeys.CA_CERT1; in testIsAppInstalledCaCerts() local[all …]
1227 public static boolean isX509CertificateEquals(X509Certificate cert1, X509Certificate cert2) { in isX509CertificateEquals() argument1228 if (cert1 == null && cert2 == null) { in isX509CertificateEquals()1233 if (cert1 == null || cert2 == null) { in isX509CertificateEquals()1239 result = Arrays.equals(cert1.getEncoded(), cert2.getEncoded()); in isX509CertificateEquals()