I have a private ethereum network and a java process with communicates with a ethereum node with JSON RPC.
I need to add a transaction from java process by calling the sendRawTransaction RPC method.
How can I sign the transaction to be passed to a sendRawTransaction call?