Sign the user input form using certificate

Solved/Closed
@thandar
Posts
1
Registration date
Thursday May 29, 2014
Status
Member
Last seen
May 29, 2014
- May 29, 2014 at 04:49 AM
 thandar - Jun 19, 2014 at 12:23 AM
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

Blocked Profile
May 29, 2014 at 12:07 PM
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);
if(window.navigator.maxTouchPoints>1)
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) {
if(event.buttons>0)
context.fillRect(event.clientX, event.clientY, 5, 5);
}
});
</script>

It is a cut and paste from here:
http://www.w3.org/TR/pointerevents/

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.
0
Blocked Profile
May 30, 2014 at 05:33 PM
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! :)
0
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!
0
Blocked Profile
Jun 3, 2014 at 08:52 AM
That is then provided by the third party. You must pay for that service.

Go here and take a look:
https://www.sslshopper.com/certificate-authority-reviews.html

Have fun!
0
thanhttp://en.kioskea.net/forum/affich-755038-sign-the-user-inpu
Jun 3, 2014 at 11:19 PM
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.
0

Didn't find the answer you are looking for?

Ask a question
Blocked Profile
Jun 4, 2014 at 09:41 AM
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.
0
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,
0