How to verify that app was signed by my certificate?

后端 未结 4 1957
一整个雨季
一整个雨季 2021-02-03 16:11

How do I check if the signature of my app matches the signature of the certificate that I used to sign it?

This is how I should be able to get the certificates fingerpri

4条回答
  •  情书的邮戳
    2021-02-03 16:44

    the code below:

     c.getPublicKey().getEncoded()
    

    it should be like this

     c.getEncoded()
    

    i think md5 check by keytool is check the certfile,not the publickey

提交回复
热议问题