Searched refs:cert2 (Results 1 – 1 of 1) sorted by relevance
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()