gamelan
Search EarthWeb
CodeGuru | Gamelan | Jars | Wireless | Discussions
Navigate developer.com
Architecture & Design  
Database  
Java
Languages & Tools
Microsoft & .NET
Open Source  
Project Management  
Security  
Techniques  
Voice  
Web Services  
Wireless/Mobile
XML  
New
 
Technology Jobs  

   Developer.com Webcasts:
  The Impact of Coding Standards and Code Reviews

  Project Management for the Developer

  Defining Your Own Software Development Methodology

  more Webcasts...




Vote for the Developer.com Product of the Year Winners!




Developer Jobs

Be a Commerce Partner














 


Developer News -
Google Chrome Playing Catch-Up on Extensions    December 2, 2008
Open Solutions Alliance Gets New Leadership    December 2, 2008
Red Hat Spacewalk Expands Linux Management    December 2, 2008
The Key to Rapid App Dev? Process.    December 1, 2008
Free Tech Newsletter -

Java Applet for Signing with a Smart Card
By Svetlin Nakov

Go to page: Prev  1  2  3  4  5  6  7  8  

Listing 4: TestSmartCardSignerApplet.html

<html> 
 
<head> 
    <title>Test Smart Card Signer Applet</title> 
</head> 
 
<body> 
    <form name="mainForm" method="post" action="FileUploadServlet"> 
        Choose file to upload and sign: 
        <input type="file" name="fileToBeSigned"> 
        <br> 
        Certification chain: 
        <input type="text" name="certificationChain"> 
        <br> 
        Signature: 
        <input type="text" name="signature"> 
    </form> 
 
    <object 
        classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" 
        codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,5" 
        width="130" height="25" name="SmartCardSignerApplet"> 
        <param name="code" value="SmartCardSignerApplet"> 
        <param name="archive" value="SmartCardSignerApplet.jar"> 
        <param name="mayscript" value="true"> 
        <param name="type" value="application/x-java-applet;version=1.5"> 
        <param name="scriptable" value="false"> 
        <param name="fileNameField" value="fileToBeSigned"> 
        <param name="certificationChainField" value="certificationChain"> 
        <param name="signatureField" value="signature"> 
        <param name="signButtonCaption" value="Sign selected file"> 
 
        <comment> 
            <embed 
                type="application/x-java-applet;version=1.5" 
                code="SmartCardSignerApplet" archive="SmartCardSignerApplet.jar" 
                width="130" height="25" scriptable="true" 
                pluginspage="http://java.sun.com/products/plugin/index.html#download" 
                fileNameField="fileToBeSigned" 
                certificationChainField="certificationChain" 
                signatureField="signature" 
                signButtonCaption="Sign selected file"> 
            </embed> 
            <noembed> 
                Smart card signing applet can not be started because 
                Java Plugin 1.5 or newer is not installed. 
            </noembed> 
        </comment> 
    </object> 
</body> 
 
</html>

Go to page: Prev  1  2  3  4  5  6  7  8  

Previous article: NakovDocumentSigner: A System for Digitally Signing Documents in Web Applications


Tools:
Add www.developer.com to your favorites
Add www.developer.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed


Other Java Archives






internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers