Signs a single proof with the provided private key if required NB: Will only sign if the proof requires a signature from the key.
A proof to sign.
A single private key.
Error if signature is not required or proof is already signed.
Signs a single proof with the provided private key if required NB: Will only sign if the proof requires a signature from the key.