Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / November 2003

Tip: Looking for answers? Try searching our database.

How to sign a file using a browser

Thread view: 
JL [echMotor#060] - 26 Nov 2003 08:02 GMT
Hi,

i need to sign a file using mi IE browser and its certificate store. I think
i can use an applet but there is a problem with the java virtual machine
version (Microsoft or Sun). Do you know another method to sign a file? I
thought to use Capicom, but i cannot find something regarding "file
signing".

Does anybody know something about this?

Thanking you in advance,
regards,
Juan Luis
Michel Gallant - 26 Nov 2003 15:46 GMT
(First off, apologies to all pure Java folks, and non Windows platforms :-)

The following page shows using a combination of scripted (vbs) CAPICOM
and a utility Java applet (for MS JVM) to access the local file system.
It demonstrates CMS/PKCS#7 signing web-page form fields, entire web-page html content,
or any local file:
  http://pages.istar.ca/~neutron/clientsign

It requires IE5+, MS JVM, and CAPICOM COM component install (free MS tiny install).
It is possible, of course, to use Java 2 and some COM bridging components to access
CAPICOM  (CAPICOM has excellent hooks into Windows CryptoAPI certificate stores,
PKCS#7 messages etc..). Since MS JVM (has/had) excellent support for COM Variant
classes, this was the easiest approach to deploy web-based file and page signing capability
to a large number of Win users (Win5 - XP).

Just in case folks here didn't see the other Java/.NET article,  it discusses the more
basic PKCS#1 signature and compared Java and .NET capability:
  http://pages.istar.ca/~neutron/feature/RSAEncrypt.html

- Michel Gallant
  MVP Security
  http://pages.istar.ca/~neutron

> Hi,
>
[quoted text clipped - 9 lines]
> regards,
> Juan Luis
JL [echMotor#060] - 28 Nov 2003 13:47 GMT
Thanx.

JL

> (First off, apologies to all pure Java folks, and non Windows platforms
:-)
[quoted text clipped - 33 lines]
> > regards,
> > Juan Luis


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.