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

getPeerCertificateByLegalName

abstract fun getPeerCertificateByLegalName(name: CordaX500Name): PartyAndCertificate?

Look up a well known identity (including certificate path) 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.