corda / net.corda.core.node / NodeInfo / identityFromX500Name

identityFromX500Name

fun identityFromX500Name(name: CordaX500Name): Party

Get a legal identity of this node from the X.500 name. This is intended for use in cases where the node is expected to have a matching identity, and will throw an exception if no match is found.

Exceptions

IllegalArgumentException - if the node has no matching identity.