简体   繁体   中英

How to sign a string with .p12?

I am implementing an SDK and I cant understand the following:

A copy of the ID that is digitally signed with your private key.

I have the .p12 file and the ID(String) that needs to be signed.

Can anyone help me how would i achieve this in Android/Java?

I've never worked with Encryption and Decryption, So I am little clueless.

Please let me know, If I'm missing something.

Thank you.

Here is a good example of signing a message, with private key. You'll need to know the signature Algorithms (see list of available algo's here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM