signInitialTransaction

Helper method to construct an initial partially signed transaction from a TransactionBuilder using keys stored inside the node. Signature metadata is added automatically.

Return

Returns a SignedTransaction with the new node signature attached.

Parameters

builder

The TransactionBuilder to seal with the node's signature. Any existing signatures on the builder will be preserved.

publicKey

The PublicKey matched to the internal java.security.PrivateKey to use in signing this transaction. If the passed in key is actually a CompositeKey the code searches for the first child key hosted within this node to sign with.


Helper method to construct an initial partially signed transaction from a TransactionBuilder using the default identity key contained in the node. The legal identity key is used to sign.

Return

Returns a SignedTransaction with the new node signature attached.

Parameters

builder

The TransactionBuilder to seal with the node's signature. Any existing signatures on the builder will be preserved.


Helper method to construct an initial partially signed transaction from a TransactionBuilder using a set of keys all held in this node.

Return

Returns a SignedTransaction with the new node signature attached.

Parameters

builder

The TransactionBuilder to seal with the node's signature. Any existing signatures on the builder will be preserved.

signingPubKeys

A list of PublicKeys used to lookup the matching java.security.PrivateKey and sign.

Throws

is thrown if any keys are unavailable locally.