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.
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>
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.
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! :)
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!
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.
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,