> I'm not sure what your question is. Are you trying to retrieve the RSA
> Parameters from Crypo++?

Hello Jeffrey, thanks for looking at this topic. The answer is "yes"
with some sort of background ,-)

After doing lots of building and linking experiements (see some other
mails on this list) it seems to be [almost?] impossible to get a
combined managed & unmanaged DLL getting to work with either the
static or dynamic version of Crypto++ using .NET 1.1 & MSVC 2003. I'm
working on this for almost a week now and consumed almost every mail
on this mailing list regarding this, but now way.
So I need to use some other approach:

- Some license information using public/private RSA keys are generated
using Crypto++. The public key is used for signing the license, the
license itself is generated using a standalone application so no
problem here of using Crypto++.

- The license will be read on different OS'es, all the unix stuff
seems to be fine with using Crypto++. On the other hand doing this on
the windows side I'm fixed to creating a DLL for my own code. As using
Crypto++ currently is a no-go I decided to use the .NET
cryptogragraphy API. While the verification is quite easy my main
problem is simply getting the public key out of Crypto++ and putting
it into the .NET API.

The public key is exported as shown in the code in my first mail. On
the other hand .NET has a less "nicer" API: The class
"RSACryptoServiceProvider" needs to be initialized with a struct
"RSAParameters". And this class has all the nice members D, DP, DQ and
more available that need to be set directly.
I'm not very firm with cryptography in details (just trying to get
some license stuff working) but the Crypto++ exported file seems to
contain all the RSA parameters in one single file...is it possible to
get the individual RSA parameters of the public key extracted so I
could use the for initializing the "RSAParameters" object from .NET?


Thanks & regards,
Soeren


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to