corda / net.corda.core.node.services / NetworkMapCacheBase / getPeerByLegalName

getPeerByLegalName

open fun getPeerByLegalName(name: CordaX500Name): Party?

Look up the well known identity of a legal name. This should be used in preference to well known identity lookup in the identity service where possible, as the network map is the authoritative source of well known identities.