corda / / IdentityService / partyFromKey


abstract fun partyFromKey(key: PublicKey): Party?

Converts an owning PublicKey to the X500Name extended Party object if the Party has been previously registered with the IdentityService either as a well known network map identity, or as a part of flows creating and exchanging the identity.


key - The owning PublicKey of the Party.

Returns a Party with a matching owningKey if known, else returns null.