@Suspendable public class CollectSignatureFlow extends FlowLogic<T>
Get and check the required signature.
public CollectSignatureFlow(@NotNull SignedTransaction partiallySignedTx, @NotNull FlowSession session, @NotNull java.util.List<? extends java.security.PublicKey> signingKeys)
Get and check the required signature.
partiallySignedTx
- the transaction to sign.session
- the class FlowSession
to connect to to get the signature.signingKeys
- the list of keys the party should use to sign the transaction.public CollectSignatureFlow(@NotNull SignedTransaction partiallySignedTx, @NotNull FlowSession session, @NotNull java.security.PublicKey... signingKeys)
@Suspendable @NotNull public java.util.List<net.corda.core.crypto.TransactionSignature> call()
This is where you fill out your business logic.
@NotNull public SignedTransaction getPartiallySignedTx()
the transaction to sign.
@NotNull public FlowSession getSession()
the
class FlowSession
to connect to to get the signature.
class FlowSession
@NotNull public java.util.List<java.security.PublicKey> getSigningKeys()
the list of keys the party should use to sign the transaction.