Hi Soeren, > Probably someone has run already into this problem and may be able to > provide some lines of code for this? I'm not sure what your question is. Are you trying to retrieve the RSA Parameters from Crypo++?
Jeff On 7/31/07, soeren <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm in progress of doing some .NET integration testing with Crypto++. > Currently I'm trying to setup a RSACryptoServiceProvider from .NET > with a public/private key generated from Crypto++. They keys are DER- > encoded and generated using RSAES_OAEP_SHA_Decryptor, i.e. > > ============================================= > // [...] "priv" and "pub" do contain private and public key after > creation > > RSAES_OAEP_SHA_Decryptor priv(randPool, keyLength); > Base64Encoder privFile(new FileSink(privFilename.c_str())); > priv.DEREncode(privFile); > RSAES_OAEP_SHA_Encryptor pub(priv); > Base64Encoder pubFile(new FileSink(pubFilename.c_str())); > pub.DEREncode(pubFile); > > ============================================= > > .NET has a class "RSAParameters" to set key parmeters but this is sort > of "plain vanilla" key where one has to set DP, exponent, modules > etc... > Probably someone has run already into this problem and may be able to > provide some lines of code for this? > > > Thanks a lot, > Soeren Gerlach > --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
