Why does the keystore contain the signature of the signed app

256
July 02, 2017, at 9:31 PM

When i execute this command on my apk:

keytool -printcert -file CERT.RSA

If i understand correctly, i can see the SHA1 fingerprint hash (encrypted by the private key):

SHA1: 16:59:E7:E3:0C:AA:7A:0D:F2:0D:05:20:12:A8:85:0B:32:C5:4F:68

But when i do this:

keytool -list -keystore my-signing-key.keystore

the same SHA1 key will be shown:

android_key, Jan 23, 2010, PrivateKeyEntry,
Certificate fingerprint (MD5): B3:4F:BE:07:AA:78:24:DC:CA:92:36:FF:AE:8C:17:DB

I want to know why this encrypted hash is in my keystore. I thought that it only stores the private key, i read this here (https://developer.android.com/studio/publish/app-signing.html). Can someone enlighten me on this please?

Rent Charter Buses Company
READ ALSO
how to share my to do list app data between 2 android devices

how to share my to do list app data between 2 android devices

" i am working on to do list app and i saved data in SQLITE and i want to share app data to my friend who install my app but he away from me with along distance so i can't use Bluetooth and socket"

300
Creating an sdk for android applications

Creating an sdk for android applications

I want to develope an SDK for other apps to use ,

245
What is the best practice of MVP if I need an activity context to initialize my service? Where should I initialize the service?

What is the best practice of MVP if I need an activity context to initialize my service? Where should I initialize the service?

My app is connecting to google play billing servicesAs you know, billing services need an application context and also activity context to launch the billing flow

237
Android emulator Nougat API 24 ask a password when booting

Android emulator Nougat API 24 ask a password when booting

When I run the android emulator It ask the password so I've entered the "0000" (I thought It is a default password)but I failed running the emulator

334