AnonymousParty

The AnonymousParty class contains enough information to uniquely identify a Party while excluding private information such as name. It is intended to represent a party on the distributed ledger.

Flow sessions

Anonymous parties can be used to communicate using the FlowLogic.initiateFlow method. Message routing is simply routing to the well-known Party the anonymous party belongs to. This mechanism assumes the party initiating the communication knows who the anonymous party is.

Constructors

Link copied to clipboard
constructor(owningKey: PublicKey)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun nameOrNull(): CordaX500Name?
Link copied to clipboard
fun ref(vararg bytes: Byte): PartyAndReference
open override fun ref(bytes: OpaqueBytes): PartyAndReference

Build a reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal ledger.

Link copied to clipboard
open override fun toString(): String