@Suspendable class CollectSignatureFlow : FlowLogic<List<TransactionSignature>>
Get and check the required signature.
partiallySignedTx
- the transaction to sign.
session
- the FlowSession to connect to to get the signature.
signingKeys
- the list of keys the party should use to sign the transaction.
<init> |
CollectSignatureFlow(partiallySignedTx: SignedTransaction, session: FlowSession, vararg signingKeys: PublicKey)
Get and check the required signature. CollectSignatureFlow(partiallySignedTx: SignedTransaction, session: FlowSession, signingKeys: List<PublicKey>) |
partiallySignedTx |
the transaction to sign. val partiallySignedTx: SignedTransaction |
session |
the FlowSession to connect to to get the signature. val session: FlowSession |
signingKeys |
the list of keys the party should use to sign the transaction. val signingKeys: List<PublicKey> |
call |
This is where you fill out your business logic. fun call(): List<TransactionSignature> |
receiveAll |
Suspends until a message has been received for each session in the specified sessions. fun FlowLogic<*>.receiveAll(session: Pair<FlowSession, Class<out Any>>, vararg sessions: Pair<FlowSession, Class<out Any>>): Map<FlowSession, UntrustworthyData<Any>> fun <R : Any> FlowLogic<*>.receiveAll(receiveType: Class<R>, session: FlowSession, vararg sessions: FlowSession): List<UntrustworthyData<R>> fun <R : Any> FlowLogic<*>.receiveAll(session: FlowSession, vararg sessions: FlowSession): List<UntrustworthyData<R>> |