the fact that something is allowed by the law合法,合法性
Six journalists sought to challenge in court the legality of the ban on broadcasting.6名记者在法庭上试图对禁播令的合法性提出质疑。
legalities [ plural ] the things that are demanded by law法律要求,法律规定
I'm not sure about the legalities, but I suggest we go ahead with the plan and see what happens.我不太了解法律要求,但我建议我们先按计划行事,然后再看看会有什么后果。