androidpdfdigital-signatureelectronic-signaturehandwriting

How to sign a PDF in Android


I have to implement in an Android application a function that allow me to sign a PDF, when i say "sign" I mean the digital signature (First and second name) affixed to the end of the document from the user.

I have access to a Samsung Note 4 (with stylus) then it would not be a problem, "write" on the display.

The question is: there is the possibility to sign a document using some library like itext or I must write a custom function ?


Solution

  • I guess you want to apply an electronic signature on a document using a user's handwriting with a pen. As has said @mkl, 'digital signature' concept is usually applied when using digital certificates and cryptography.

    Handwritten electronic signature requirements

    People tend to think that the handwritten signature consists of embedding an image, but so that your system has a minimum legal value in case of litigation you will need:

    More or less these are the characteristics of digital signatures.

    Handwritten signature on Android

    The process on android should be like this:

    If you do not need legal value, then apply only the drawing part. The quality of your signature will be determined by the devices characteristics. For example a specific signature tablet can provide also the orientation of the pen

    Android links

    You will find similar links for itext. Select the most suitable for your use case and whether you want to execute on Android or in the server side