public class AbstractParty
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.
Constructor and Description |
---|
AbstractParty(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. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Anonymised parties do not include any detail apart from owning key, so equality is dependent solely on the key
|
java.security.PublicKey |
getOwningKey() |
int |
hashCode() |
org.bouncycastle.asn1.x500.X500Name |
nameOrNull() |
PartyAndReference |
ref(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.
|
PartyAndReference |
ref(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.
|
public AbstractParty(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(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()
public org.bouncycastle.asn1.x500.X500Name nameOrNull()
public PartyAndReference ref(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.
public PartyAndReference ref(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.
public java.security.PublicKey getOwningKey()