AbstractParty

abstract class AbstractParty(val owningKey: PublicKey) : Destination

An AbstractParty contains the common elements of Party and AnonymousParty, specifically the owning key of the party. In most cases Party or AnonymousParty should be used, depending on use-case.

Inheritors

Constructors

Link copied to clipboard
constructor(owningKey: PublicKey)

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Anonymised parties do not include any detail apart from owning key, so equality is dependent solely on the key

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
abstract fun nameOrNull(): CordaX500Name?
Link copied to clipboard
fun ref(vararg bytes: Byte): PartyAndReference
abstract 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.