Answer:
1.
conformity to the law or to rules.
(with reference to a child) the quality of being legitimate.
"disputes over the legitimacy of heirs"
2.
ability to be defended with logic or justification; validity.
"it is difficult to judge the legitimacy of the rumor"