public function equals(Certificate $cert): bool
    {
        return $this->_hasEqualSerialNumber($cert) &&
             $this->_hasEqualPublicKey($cert) && $this->_hasEqualSubject($cert);
    }
public function equals(Certificate $cert): bool
    {
        return $this->_hasEqualSerialNumber($cert) &&
             $this->_hasEqualPublicKey($cert) && $this->_hasEqualSubject($cert);
    }
public function equals ( Certificate $ cert ) : bool { return $ this -> _hasEqualSerialNumber ( $ cert ) && $ this -> _hasEqualPublicKey ( $ cert ) && $ this -> _hasEqualSubject ( $ cert ) ; }
Check whether certificate is semantically equal to another.

@param Certificate $cert Certificate to compare to
@return bool
Check whether certificate is semantically equal to another .