Signs proofs with provided private key(s) if required.
An array of proofs to sign.
A single private key or array of private keys (hex string or Uint8Array).
Optional logger (default: NULL_LOGGER)
Optional
Optional. The message to sign (for SIG_ALL)
Signed proofs.
NB: Will only sign if the proof requires a signature from the key.
On general errors.
Signs proofs with provided private key(s) if required.