Android Security-Signature

Source: Internet
Author: User
Android uses self-signed so it can only make integrity judgments.
The role of Android signature:
1.Signature Protection level Permission
For privileged permission only a specific signature apk is authorized (different from the manufacturer's APK or a third-party apk)
2.Share Process UID android:shareduserid= "xxxx"
The purpose of share UID between processes is to share resources, etc. (process, knowledge of file uid)
Android two apk share the same UID must be the same as the private key used for its signature. (The same developer's private key, a few different apk will be able to share data)
3. The identifier for upgrading Android apps is package Name:
Package name is different, does not affect each other, allows simultaneous presence (installation)
Package name, only one exists, allowing for upgrade processing
Certificates that must be signed are consistent (anti-counterfeit, intrusion-proof privacy)
If not, the user either abandons the new app or uninstalls the old before installing the new.
Normal upgrade will not erase the application's working directory data to ensure the continuity of historical data.
Use Keytool (for generating digital certificates) and Jarsigner (for signing with digital certificates) in Android to sign the APK package.

Android Security-Signature

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.