Initial set of signature verification failure tests.

In these tests, we test either the v4 signature or the v2/v3 APK digest
being malformed in the various signing combinations of v4-signed APKs.

The modifications to apksigner to malform the signatures are shown in
http://ag/11300716.

More context at go/apk-v4-signature-testplan.

Test: atest android.appsecurity.cts.PkgInstallSignatureVerificationTest#testInstallV4WithV2SignerDoesNotVerify; atest android.appsecurity.cts.PkgInstallSignatureVerificationTest#testInstallV4WithV3SignerDoesNotVerify; atest android.appsecurity.cts.PkgInstallSignatureVerificationTest#testInstallV4WithV2V3SignerDoesNotVerify

Bug: 155356577

Change-Id: Ifd838c61492bf3d853b3e0875a8da1241a7329d5
15 files changed