public class AnonymousParty extends AbstractParty implements Destination
The class AnonymousParty
class contains enough information to uniquely identify a class Party
while excluding private
information such as name. It is intended to represent a party on the distributed ledger.
Anonymous parties can be used to communicate using the FlowLogic.initiateFlow
method. Message routing is simply routing to the well-known
class Party
the anonymous party belongs to. This mechanism assumes the party initiating the communication knows who the anonymous party is.
class AnonymousParty
,
class Party
,
FlowLogic.initiateFlow
,
class Party
public AnonymousParty(@NotNull java.security.PublicKey owningKey)
The class AnonymousParty
class contains enough information to uniquely identify a class Party
while excluding private
information such as name. It is intended to represent a party on the distributed ledger.
Anonymous parties can be used to communicate using the FlowLogic.initiateFlow
method. Message routing is simply routing to the well-known
class Party
the anonymous party belongs to. This mechanism assumes the party initiating the communication knows who the anonymous party is.
class AnonymousParty
,
class Party
,
FlowLogic.initiateFlow
,
class Party
@Nullable public CordaX500Name nameOrNull()
@NotNull public PartyAndReference ref(@NotNull OpaqueBytes bytes)
Build a reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal ledger.
@NotNull public java.lang.String toString()