With Android Studio installed, the default is a one-year signature and cannot be posted to the full version of the APK.
When using third-party modules or services, it is often required to provide signatures and their SHA1 or MD5 information.
In fact, the signature and its information are not related to Android studio, and are generated and viewed by the JDK. Of course it's easier to generate signatures with the help of Android studio's interface, but it's not his job.
If you have a JKS signature, you can see the information below.
Open command Line
Drag the Keytool from the JDK to the command line.
Space-list Space-V space-keystore space
Drag the JKs file to the command line
Enter
(or save the information in the text) >d:\info.txt enter
After entering the carriage, you will be prompted for the password.
The information obtained is as follows:
KeyStore Type: JKS
KeyStore provider: SUN
Your KeyStore contains 1 entries
Alias: Htsky
Date Created: 2016-12-1
Entry Type: Privatekeyentry
Certificate Chain Length: 1
Certificate [1]:
Owner: Cn=htsky, Ou=htsky, O=htsky, L=weihai, St=shandong, c=86
Posted by: Cn=htsky, Ou=htsky, O=htsky, L=weihai, St=shandong, c=86
Serial Number: 6b056fe6
Validity start Date: Thu Dec 14:39:47 CST 2016, due date: Tue Nov 14:39:47 CST 2021
Certificate thumbprint:
md5:c1:f6:0a:a2:ae:9c:79:3e:38:f0:b4:c1:fd:5f:84:5a
Sha1:71:12:9c:56:9a:25:83:0a:35:d4:93:8a:76:2d:23:f1:20:47:53:33
Sha256:67:00:8c:10:a9:cc:e2:89:87:d9:3f:b7:aa:da:e5:e7:07:2a:22:c6:70:f0:c2:1c:61:14:f2:f4:e2:7b:69:d7
Signature Algorithm Name: Sha256withrsa
Version: 3
Extended:
#1: objectid:2.5.29.14 criticality=false
Subjectkeyidentifier [
KeyIdentifier [
0000:33 B7 B9-FE 6E PNS D4-EC-[email protected]!. N7vd....u
0010:a5 C9 DA 13 ....
]
]
*******************************************
*******************************************
Android's signature