The name `` John Doe '' is used as a name in a legal action , case or discussion for a male person , whose true identity is unknown or must be withheld for legal reasons . The name `` John Doe '' is used as a placeholder name in a legal action , case or discussion for a male party , whose true identity is unknown or must be withheld for legal reasons .