Ed, Been there and this is the only way I could get it to work (compiling a servlet).
Here is the source code: http://www.phillipholmes.com/?cat=17 You'll need a java compiler (1.4.x) Good luck. Warmest Regards, Phillip B. Holmes http://www.phillipholmes.com ----> -----Original Message----- From: Edgar Correa [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 4:15 PM To: Java Subject: Help with encryption from key in Java Keystore Hello, I'm trying to encrypt some data to send to another party. We already exchanged keys and imported them into a Java keystore. I need some help to be able to get the key out of the keystore and use it to encrypt data. I would like to do it using cfscript. Basically read the keystore, get the key by alias and use it to encrypt the data all with in cfscript if possible. Thanks, Ed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/Java/message.cfm/messageid:3836 Subscription: http://www.houseoffusion.com/groups/Java/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.40