@DoNotImplement public class AbstractParty implements Destination
An class AbstractParty contains the common elements of class Party and class AnonymousParty, specifically the owning key of
the party. In most cases class Party or class AnonymousParty should be used, depending on use-case.
public AbstractParty(@NotNull
java.security.PublicKey owningKey)
An class AbstractParty contains the common elements of class Party and class AnonymousParty, specifically the owning key of
the party. In most cases class Party or class AnonymousParty should be used, depending on use-case.
public boolean equals(@Nullable
java.lang.Object other)
Anonymised parties do not include any detail apart from owning key, so equality is dependent solely on the key
public int hashCode()
@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 PartyAndReference ref(@NotNull byte... 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.security.PublicKey getOwningKey()