Bangladesh's prime minister insisted Monday that her re-election in polls boycotted by the opposition was legitimate and said her rivals must shun "terrorist activities" before she would talk to them.