SuReSh PaTi
SuReSh PaTi

Reputation: 1361

How to prepare digital encrypted signature in android?

I am preparing one application.My application has one form . After filling all the fields in form need user signature.For signature i am planing use digital encrypted signature.I have no idea about digital encrypted signature.Please guide me and provide some tutorials .....

Upvotes: 1

Views: 349

Answers (2)

James Black
James Black

Reputation: 41858

You can use the bouncy castle library on the Android for the signing.

For a brief discussion on this you can look at this:

How do I RSA encrypt a string with a plaintext key using Java BouncyCastle API on Android

But, the bigger problem is to securely do the key exchange, as the RSA keypair is generated on the client or server and then sent securely to the other side (the private key stays on the device, so it should generate the keypair).

But, here is an example that shows signing with bouncy castle.

http://www.mobilefish.com/download/bouncycastle/DigitalSignature1Example.java

Upvotes: 1

Robert Estivill
Robert Estivill

Reputation: 12477

Should take a look at the Signing your Application documentation. You will be guided through the process of generating your encryption key, java keystore, and signing your application for Google Play submission

Upvotes: 0

Related Questions