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.java83 X509Certificate cert1 = FakeKeys.CA_CERT1; in testSetGetMultipleCaCertificates() local
84 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() local
123 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() local
438 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 …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java1227 public static boolean isX509CertificateEquals(X509Certificate cert1, X509Certificate cert2) { in isX509CertificateEquals() argument
1228 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()