获得证书的详细信息,从APK [英] Getting certificate details from an apk

查看:347
本文介绍了获得证书的详细信息,从APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何去获得的APK与签署证书的详细信息。我有一大堆不同的证书签名的apk的,我试图将它们分组根据其证书。

How do i go about getting the details of the certificate an apk was signed with. I have a bunch of apks signed with different certificate and I am trying to group them based on their certificate.

我可以使用的jarsigner拿到证书到期的详细信息,并完成我的任务,但我很好奇,如果我能得到任何更多详情或提取公钥(我相信它储存在META-INF / cert.RSA,但它不是可读)

I can get the certificate expiry details using the jarsigner and complete my task but I was curious if I can get any more details or extract the public key ( I believe it stored in META-INF/cert.RSA but its not readable )

推荐答案

请尝试以下操作:

openssl pkcs7 -inform DER -in CERT.RSA -noout -print_certs -text

这篇关于获得证书的详细信息,从APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆