corda / net.corda.core.context / InvocationContext / peer

peer

@JvmStatic fun peer(party: CordaX500Name, trace: Trace = Trace.newInstance(), externalTrace: Trace? = null, impersonatedActor: Actor? = null): InvocationContext

Creates an InvocationContext with InvocationOrigin.Peer origin.