> If I can get in touch with them, what should I
> ask? Just how
> they are encoding the keys I guess?

Yes. From the previous description it sounds like they are just base64 encoding 
the bytes of the public key parts (exponent and modulus). Then concatenating 
the results. In cf/java it would be something like

<!--- keyInstance is a java.security.spec.RSAPublicKeySpec object --->
<cfset exp = binaryEncode(keyInstance.getModulus().toByteArray(), "base64")> 
<cfset md  = binaryEncode(keyInstance.getModulus().toByteArray(), "base64")> 
<cfset finalString = exp &":"& md />

-Leigh


      

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:343078
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to