示例#1
0
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj instanceof MockX509Certificate)
     return subject.equals(((MockX509Certificate) obj).subject)
         && issuer.equals(((MockX509Certificate) obj).issuer);
   return false;
 }
示例#2
0
 public String toString() {
   return subject.toString();
 }
示例#3
0
 public int hashCode() {
   return subject.hashCode() + issuer.hashCode();
 }