abstract fun getNodeByLegalName(name: CordaX500Name): NodeInfo?
Return a NodeInfo which has the given legal name for one of its identities, or null if no such node is found.
IllegalArgumentException
- 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.