
Prepare for new signing backend implementations which reuse the existing functionality. This abstracts most of the current signing function, so that the signature generation itself can be replaced. Change-Id: I99a28f4bcb08f010f397faf49e23276672977bc1