com.r3corda.core.node / ServiceHub / legalIdentityKey

legalIdentityKey

open val legalIdentityKey: KeyPair

Helper property to shorten code for fetching the Nodes KeyPair associated with the public legalIdentity Party from the key management service. Typical use is during signing in protocols and for unit test signing.