public static boolean viaEquals(final X500Name p1,final X500Name p2){
  return p1.equals(p2);
}

public static boolean viaEquals ( final X500Name p1 , final X500Name p2 ) { return p1 . equals ( p2 ) ; }
checks if the two names are equal via the equals - method
