Secure Coding mailing list archives

RE: Java -> .NET RSA Encryption


From: "john bart" <sysadmin256 () hotmail com>
Date: Thu, 31 Mar 2005 09:33:11 +0100

What are the main steps to generate a key pair, put the private in the .NET 
environment and the public in java keystore?



A tip regarding the exchange of keys:
Traditional Java keystores does not allow you to import or export a private 
key. Only to generate it >in the keystore.

However, you can load a PKCS12 (pfx) file as a keystore instead.
So by generating the keys using OpenSSL and packaging them as a 
PKCS12-package you can >make them available for both platforms without 
installing additional providers.


Regards
Fredr!k


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





Current thread: