public class AnonymousParty extends AbstractParty
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.
class AnonymousParty
,
class Party
Constructor and Description |
---|
AnonymousParty(CompositeKey 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. |
AnonymousParty(java.security.PublicKey owningKey)
A helper constructor that converts the given PublicKey in to a
class CompositeKey with a single node |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
nameOrNull() |
PartyAndReference |
ref(OpaqueBytes bytes) |
AnonymousParty |
toAnonymous() |
java.lang.String |
toString() |
equals, getOwningKey, hashCode, nameOrNull, ref, ref, toAnonymous
public AnonymousParty(CompositeKey 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.
class AnonymousParty
,
class Party
public AnonymousParty(java.security.PublicKey owningKey)
A helper constructor that converts the given PublicKey in to a class CompositeKey
with a single node
class CompositeKey
public java.lang.String toString()
public java.lang.String nameOrNull()
public PartyAndReference ref(OpaqueBytes bytes)
public AnonymousParty toAnonymous()