commit | 0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Nov 04 16:11:21 2014 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Nov 04 17:08:48 2014 -0800 |
tree | 6154fa9ba7d62e948696f0a1ade83ca73ea5ca51 | |
parent | 773c665755e7040b13e68c73041df95fa713ecef [diff] |
Preserve original encoded certificate bytes. Sadly, the publicly visible android.content.pm.Signature object needs to return the untouched bytes from the parsed APK certificate. Since some CertificateFactory implementations may try re-encoding the certificate, we defensively keep around the original encoded bytes and return them when asked. Bug: 18206852, 18228011 Change-Id: I6016eaea23a7f43cf9249ec43cfde1f8ed4ff841