getNodeByLegalName

Return a NodeInfo which has the given legal name for one of its identities, or null if no such node is found.

Throws

If more than one matching node is found, in the case of a distributed service identity (such as with a notary cluster). For such a scenerio use getNodesByLegalName instead.