Sign the user input form using certificate [Solved/Closed]

Registration date
Thursday May 29, 2014
Last seen
May 29, 2014
 thandar -
I write a small program that get user input and then want that input form to sign with certificate.
I want to know some sample java code that can help my program.
I use eclipse Indigo and Mysql server 5.1.

Please reply soon !
Best Regards

6 replies

By "sign with certificate", do you mean a signature box? Or do you mean a security certificate token verifed by a third party?

I have found this based n the touch event:
<canvas id="drawSurface" width="500px" height="500px" style="border:1px solid black;"></canvas>

<script type='text/javascript'>
window.addEventListener('load', function() {
var canvas = document.getElementById("drawSurface"),
context = canvas.getContext("2d");
if (window.navigator.pointerEnabled) {
canvas.addEventListener("pointermove", paint, false);
alert("Your user agent and hardware support multi-touch!");
else {
//Provide fallback for user agents that do not support Pointer Events
canvas.addEventListener("mousemove", paint, false);
function paint(event) {
context.fillRect(event.clientX, event.clientY, 5, 5);

It is a cut and paste from here:

As In HTML5 there is a standard for touchevents.

All the script does is trap a touch event, and "draws" a blip at the clients x and y coords as long as the screen is being touched with the "canvas" element.

I hope this helps.

So is is a third party certificate or what?

I see that you asked this question again.

Didn't I give you good enough direction. It is either a touch event on a canvas in HTML 5 or a third party security certificate that YOU MUST PURCHASE FROM A THIRD PARTY.

Let me know if I am missing another certificate it could be! :)
Dear ,

Thank for your reply .
Yes I mean a security certificate token verified by a third party.
I hope you give me some direction to learn or sample code.
Please reply soon if you can .
Best Regard!
Blocked Profile
That is then provided by the third party. You must pay for that service.

Go here and take a look:

Have fun!

Thank for your reply.
Yes! I will use SSL certificate and want to sign it's public key using the CA's private key in the user input form.
Please forgive me if my question have needs or something wrong.
I hope you will reply again.
Best Regard.

OK, so what is the question. YOu already know what you want. Go to your SSL vendor for support. That is what you are paying for.
Thanks ,
I'm trying to program the signing application.Our company provide a security certificate token verifed by a third party.So we have already provided by third party.I want to sign whatever the user input is.
Please reply me again if you confuse my question.
Best regards,

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!