In most cases, both parents are involved in the legal process of establishing paternity. The court may review documentation, voluntary declarations of parentage, or DNA testing when necessary to determine legal parentage.