Home
last modified time | relevance | path

Searched refs:cert1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java85 X509Certificate cert1 = FakeKeys.CA_CERT1; in testSetGetMultipleCaCertificates() local
86 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() local
125 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() local
442 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 …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java1233 public static boolean isX509CertificateEquals(X509Certificate cert1, X509Certificate cert2) { in isX509CertificateEquals() argument
1234 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()