A keystore is a storage mechanism for security certificates and is used to sign an APK before deployment similar to apple certificates which is necessary to release an app to Google Playstore.
A keystore contains information necessary for mobile push notifications, uploading app to Huawei platform, and other 3rd party services.
If you run in to a situation where you need to extract information from your android keystore such as Alias, SHA-1 or SHA-256, this is how you can extract the data.
1. Just go to the folder where your keystore is located.
2. Just run the command below
keytool -list -v -keystore <keystore-file>
and replace <keystore-file> with your keystore file (i.e mykeystore.keystore).
keytool -list -v -keystore mykeystore.keystore
or you can specify the path like
keytool -list -v -keystore ~/path/to/my/keystore/mykeystore.keystore

