Assert that certs are not re-encoded during APK verification.

This adds CTS tests which assert that PackageManager does not
re-encode APKs' signing certs into DER form.

Bug: 30148997
Change-Id: Ie8c578b9fc4a6d83aeecfccd857498ada28d4e08
4 files changed