0%

Windows 下快速查看 apk 文件证书

直接查看(仅限V1签名)

  1. 解压 apk 文件下的 /META-INF/CERT.RSA
  2. 重命名 CERT.RSACERT.RSA.p7b
  3. 双击打开 CERT.RSA.p7b

使用 apksigner.bat 脚本

build-tools\35.0.0\apksigner.bat verify --verbose --print-certs-pem xbrowser-release.apk

结果范例:

Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): false
Verified using v3.1 scheme (APK Signature Scheme v3.1): false
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false
Number of signers: 1
Signer #1 certificate DN: CN=chengkai, OU=xbrowser, O=xbrowser.me, L=beijing, ST=beijing, C=CN
Signer #1 certificate SHA-256 digest: 029abab5e32925cf4bb43844e8bdcf596cdd540cf139e4916523991063dc23fd
Signer #1 certificate SHA-1 digest: 37c874953126d8bb4493f80f2f65f44a8f1546dd
Signer #1 certificate MD5 digest: 60aec8d89a380cf4500620eb86f723bf
Signer #1 key algorithm: RSA
Signer #1 key size (bits): 2048
Signer #1 public key SHA-256 digest: 3de8549ed847bfc778a24d6893f5fd4db42529364c5a4234b90ba965c1801703
Signer #1 public key SHA-1 digest: cf99858aee6a0936e355159ab83d9f9f22e57b33
Signer #1 public key MD5 digest: 15c17bd00870b96fc82842d9a9375557
-----BEGIN CERTIFICATE-----
MIIDWDCCAkCgAwIBAgIEVK3vlTANBgkqhkiG9w0BAQUFADBtMQswCQYDVQQGEwJD
TjEQMA4GA1UECBMHYmVpamluZzEQMA4GA1UEBxMHYmVpamluZzEUMBIGA1UEChML
eGJyb3dzZXIubWUxETAPBgNVBAsTCHhicm93c2VyMREwDwYDVQQDEwhjaGVuZ2th
aTAgFw0xNTAxMDgwMjQ2NDVaGA8yMjg4MTAyMzAyNDY0NVowbTELMAkGA1UEBhMC
Q04xEDAOBgNVBAgTB2JlaWppbmcxEDAOBgNVBAcTB2JlaWppbmcxFDASBgNVBAoT
C3hicm93c2VyLm1lMREwDwYDVQQLEwh4YnJvd3NlcjERMA8GA1UEAxMIY2hlbmdr
YWkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCMZL8PR0XhOxLoiy15
MF0c4M5//BMyxjgHZBlV1Q9WVE/CpmYFPL+75XW27EOJTpOObefEGFhPC38I31LP
OQnmorhwUVpzOflESzF/X8A2AGnR4bfBI1BFYbvDp2qJSJQgNmvTbvwErgeS+Myl
WzD6u5QujQwXeex+32CwltdbgJbkrCbd0tbM1aq8udFdSuqknkQFtZRba6WHPXp8
RRou1p8oBhbD9RQP2henUNRC47WvPhny72xAC4rFIwMGa1W+/6SF3Axl03DCHUlD
LKm5OCf6ahLAV3ECuiIneZF93LQWTICCFnKTtER/pKN3RVpXFQbCJsOkLGKahFfH
7Q5jAgMBAAEwDQYJKoZIhvcNAQEFBQADggEBAAmLgIJNOvJDoxzJZSNtmvc/nPkt
Ac1jfLHzsGqqIUn7qwxfTOOdUDFoaQAIzj50ub7wFIniJEmwbU4/im354q2VQhdI
m7yit14x6cnMxW2Y6tI4vCZxBcwApfFBOYo2Qej7jOanygR1qK33erSsRL4p8c3v
bIJ448V3LeMhKyjQH/8T9s++k/W3oqzl5LUAywVd8o9lG49sfI/9adn/zlTgMpkW
06o9JmkSFnG93kNl+BTQLK03AuuvryJmTJaWlJupOUE5a0Kq3Xp3A86yOO1K83j3
4C7qDLf9W8TUbML2KBOppvOrQGjKEQZ+8CZ+YokyaqcvDkIquzQZr08/dtA=
-----END CERTIFICATE-----

apksigner.batAndroid SDK 下;

  • 本文作者: 6x
  • 本文链接: https://6xyun.cn/article/161
  • 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-ND 许可协议。转载请注明出处!