/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof X509AttributeCertificate)) { return false; } X509AttributeCertificate other = (X509AttributeCertificate) otherObject; return super.equals(other) && this.owner.equals(other.owner) && this.acIssuer.equals(other.acIssuer) && this.serialNumber.equals(other.serialNumber) && this.attrTypes.equals(other.attrTypes) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof KEAPrivateKey)) { return false; } KEAPrivateKey other = (KEAPrivateKey) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.subprime.equals(other.subprime) && this.base.equals(other.base) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof DSAPrivateKey)) { return false; } DSAPrivateKey other = (DSAPrivateKey) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.subprime.equals(other.subprime) && this.base.equals(other.base) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof DSAPublicKey)) { return false; } DSAPublicKey other = (DSAPublicKey) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.subprime.equals(other.subprime) && this.base.equals(other.base) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof KEAPublicKey)) { return false; } KEAPublicKey other = (KEAPublicKey) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.subprime.equals(other.subprime) && this.base.equals(other.base) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof X942DHPrivateKey)) { return false; } X942DHPrivateKey other = (X942DHPrivateKey) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.base.equals(other.base) && this.subprime.equals(other.subprime) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof X942DHPublicKey)) { return false; } X942DHPublicKey other = (X942DHPublicKey) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.base.equals(other.base) && this.subprime.equals(other.subprime) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof DHPublicKey)) { return false; } DHPublicKey other = (DHPublicKey) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.base.equals(other.base) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof ECPublicKey)) { return false; } ECPublicKey other = (ECPublicKey) otherObject; return super.equals(other) && this.ecdsaParams.equals(other.ecdsaParams) && this.ecPoint.equals(other.ecPoint); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof ECPrivateKey)) { return false; } ECPrivateKey other = (ECPrivateKey) otherObject; return super.equals(other) && this.ecdsaParams.equals(other.ecdsaParams) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof DHPrivateKey)) { return false; } DHPrivateKey other = (DHPrivateKey) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.base.equals(other.base) && this.value.equals(other.value) && this.valueBits.equals(other.valueBits); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof DSAParams)) { return false; } DSAParams other = (DSAParams) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.subprime.equals(other.subprime) && this.base.equals(other.base) && this.primeBits.equals(other.primeBits); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of Info and all member variables of * both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof Clock)) { return false; } Clock other = (Clock) otherObject; return super.equals(other) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof DHParams)) { return false; } DHParams other = (DHParams) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.base.equals(other.base) && this.primeBits.equals(other.primeBits); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof RSAPublicKey)) { return false; } RSAPublicKey other = (RSAPublicKey) otherObject; return super.equals(other) && this.modulus.equals(other.modulus) && this.publicExponent.equals(other.publicExponent) && this.modulusBits.equals(other.modulusBits); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof Data)) { return false; } Data other = (Data) otherObject; return super.equals(other) && this.application.equals(other.application) && this.objectID.equals(other.objectID) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof X942DHParams)) { return false; } X942DHParams other = (X942DHParams) otherObject; return super.equals(other) && this.prime.equals(other.prime) && this.base.equals(other.base) && this.subprime.equals(other.subprime) && this.primeBits.equals(other.primeBits) && this.subprimeBits.equals(other.subprimeBits); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof ValuedSecretKey)) { return false; } ValuedSecretKey other = (ValuedSecretKey) otherObject; return super.equals(other) && this.value.equals(other.value) && this.valueLen.equals(other.valueLen); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof MonotonicCounter)) { return false; } MonotonicCounter other = (MonotonicCounter) otherObject; return super.equals(other) && this.resetOnInit.equals(other.resetOnInit) && this.hasReset.equals(other.hasReset) && this.value.equals(other.value); }
/** * Compares all member variables of this object with the other object. * Returns only true, if all are equal in both objects. * * @param otherObject * The other object to compare to. * @return True, if other is an instance of this class and all member * variables of both objects are equal. False, otherwise. * @preconditions * @postconditions */ @Override public boolean equals(Object otherObject) { if (this == otherObject) { return true; } else if (!(otherObject instanceof Certificate)) { return false; } Certificate other = (Certificate) otherObject; return super.equals(other) && this.certificateType.equals(other.certificateType) && this.trusted.equals(other.trusted) && this.certificateCategory.equals(other.certificateCategory) && this.checkValue.equals(other.checkValue) && this.startDate.equals(other.startDate) && this.endDate.equals(other.endDate); }