Searched refs:cert1 (Results 1 – 2 of 2) sorted by relevance
85 X509Certificate cert1 = FakeKeys.CA_CERT1; in testSetGetMultipleCaCertificates() local86 mEnterpriseConfig.setCaCertificates(new X509Certificate[] {cert0, cert1}); in testSetGetMultipleCaCertificates()89 assertTrue(result[0] == cert0 && result[1] == cert1); in testSetGetMultipleCaCertificates()124 X509Certificate cert1 = FakeKeys.CA_CERT1; in testSetClientCertificateChain() local125 X509Certificate[] clientChain = new X509Certificate[] {cert0, cert1}; in testSetClientCertificateChain()129 assertTrue(result[0] == cert0 && result[1] == cert1); in testSetClientCertificateChain()441 X509Certificate cert1 = FakeKeys.CA_CERT1; in testIsAppInstalledDeviceKeyAndCert() local442 X509Certificate[] clientChain = new X509Certificate[] {cert0, cert1}; in testIsAppInstalledDeviceKeyAndCert()446 assertTrue(result[0] == cert0 && result[1] == cert1); in testIsAppInstalledDeviceKeyAndCert()481 X509Certificate cert1 = FakeKeys.CA_CERT1; in testIsAppInstalledCaCerts() local[all …]
1233 public static boolean isX509CertificateEquals(X509Certificate cert1, X509Certificate cert2) { in isX509CertificateEquals() argument1234 if (cert1 == null && cert2 == null) { in isX509CertificateEquals()1239 if (cert1 == null || cert2 == null) { in isX509CertificateEquals()1245 result = Arrays.equals(cert1.getEncoded(), cert2.getEncoded()); in isX509CertificateEquals()