473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Digital Signature in JavaScript

Hi,
I have an HTML input <form> with several input fields.
When the user enters appropriate data in the input fields, and clicks "Submit", the input field data must be digitally signed with one of his digital certificates, installed in his Internet Explorer.
The signing must be done from JavaScript/JScript (if possible), by calling standard functions from the standard MS Windows installation (no additional ActiveX, if possible).
The user certificate with his/her Public key must be included in the signature, everything base64 encoded.

CAPICOM may not be used, as it is deprecated by Microsoft (latest version back in 1997).

And if possible, the best way to verify the digital signature, again by standard Windows DLL(s), called, maybe, from command prompt?
Jul 15 '11 #1
3 2649
Dormilich
8,658 Expert Mod 8TB
The signing must be done from JavaScript/JScript (if possible), by calling standard functions from the standard MS Windows installation (no additional ActiveX, if possible).
that won’t be possible without ActiveX, as JavaScript (resp. the part of JScript that doesn’t use ActiveX) is not allowed to work outside its sandbox (i.e. restricting JavaScript only to the document in the browser). Anything like using the OS’ functions is out of the scope of JS (though not necessarily out of the scope of ActiveX)
Jul 15 '11 #2
Thank You, Dormilich,

Is there a standard ActiveX that can be used for the purpose?
Or do I have to write something specially for the purpose in Java/VB/C# .NET... ?
Jul 15 '11 #3
Dormilich
8,658 Expert Mod 8TB
since I don’t have an IE and I consider ActiveX as harmful, thus I never bothered to learn about that.
Jul 15 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kim H Madsen | last post by:
I have created a .Net Service that is sending mails using SMTP Server/Exchange Server how do i put in a Digital Signature so the reciver is 100% sure that the mail i from the owner of Server where...
1
by: Arkady Frenkel | last post by:
Hi! I try to make digital signature of the blob and check it , but on check ( signature created and seems OK ) I catch exception : "An XmlDocument context is required to resolve the Reference Uri...
0
by: CLarkou | last post by:
I bought a digital signature for my MSaccess application in Office 2003. I select TOOLS\Digital Signatures in Visual Basic Editor and I am not able to see my digital signature in the available...
1
by: Marco Moioli | last post by:
Hi, I have a problem with a X509 digital signature. I want to sign a Word 2003 document saved in .xml format. the problem is that after the signature, Word 2003 don't want to open the document. ...
3
by: ray well | last post by:
hi, when my client tested an app i'm developing for him he got a security warning msg that the publisher could not be verified, etc. i never had this happen, what is a valid digital signature,...
0
by: Geagleeye | last post by:
Hi everyone. I have some vba code to generate a pdf document through word, and add also digital signature. My problem is : how can i change the way the signature layout, it always show the...
0
by: amolom | last post by:
Hi members I am new to xml digital signature methodology. I want to know how we can verify the xml digital signature with the public key certificate. Does .Net provide any inbuild class to...
2
by: antonyliu2002 | last post by:
Hi, My web application does user authentication through X.509 digital certificates in combination with user name and password. When the user applies for a digital certificate from my...
3
by: itcoll | last post by:
i have wriiten java code for client server communication - the client sends a digital signature and the server verifies it using the public key .I have sent the signature as a string from the client...
3
by: tmoloy | last post by:
I am using RFID tags to store some data which will then be read by a 3rd party. I need to include a digital signature (or some variation) along with the data so that the 3rd party can verify the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.