ExternalPartyClient

class ExternalPartyClient(channel: Channel)

Onboards external parties: parties whose signing keys are held outside the participant node (device enclave, custody provider), so the node cannot act for them unilaterally.

Flow (all heavy lifting is server-side):

  1. GenerateExternalPartyTopology — the participant builds the topology transactions and returns the multi-hash to sign plus the canonical fingerprint of the supplied public key.

  2. The SigningDriver signs the multi-hash.

  3. AllocateExternalParty — submits the transactions with the multi-hash signature; the participant waits for allocation on the synchronizer.

Constructors

Link copied to clipboard
constructor(channel: Channel)

Functions

Link copied to clipboard
suspend fun allocate(driver: SigningDriver, synchronizerId: String, partyHint: String, userId: String? = null): AllocatedExternalParty

Onboards a new external party whose signing key is driver's, running the three steps in the class doc. partyHint is the readable prefix of the resulting party id; userId, when given, is passed through as the allocation request's user_id.

Link copied to clipboard

Synchronizers this participant is connected to (for allocate's synchronizerId).