IdentityService.certificateFromKey - corda

corda / net.corda.core.node.services / IdentityService / certificateFromKey

# certificateFromKey

`abstract fun certificateFromKey(owningKey: PublicKey): PartyAndCertificate?`

Resolves a public key to the well known identity PartyAndCertificate instance which is owned by the key.

### Parameters

`owningKey` - The PublicKey to determine well known identity for.

Return
the party and certificate, or null if unknown.