Ugandan authorities have charged a man with aggravated homosexuality, which carries a possible death sentence.