Brook, It should work with the jce factory. Though you may have to specify the bce provider. Here is a starter example
See also http://download.oracle.com/javase/6/docs/api/java/security/spec/X509EncodedKeySpec.html#getEncoded%28%29 http://download.oracle.com/javase/6/docs/api/java/security/spec/PKCS8EncodedKeySpec.html#getEncoded%28%29 ... <cfset pubKeySpec = createObject("java", "java.security.spec.X509EncodedKeySpec").init(publicKeyBytes) /> <!--- add the provider if needed ---> <cfset factory = createObject("java", "java.security.KeyFactory").getInstance("RSA") /> <cfset publicKey = factory.generatePublic(pubKeySpec) /> ... <cfset privKeySpec = createObject("java", "java.security.spec.PKCS8EncodedKeySpec").init(privateKeyBytes) /> <!--- add the provider if needed ---> <cfset factory = createObject("java", "java.security.KeyFactory").getInstance("RSA") /> <cfset privateKey = factory.generatePrivate(privKeySpec) /> -Leigh ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://gam ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342138 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

