Refactor to use SigningDetails instead of Singature[].

A preparation for adding sha256 digest to SigningDetails.
This is almost a no-op. There is a minor change in V1 parsing.

Bug: 297916136
Test: presubmit
Change-Id: I105457da082572830eae650af7aacbcd41541966
13 files changed