> I've generated public/private keys using .NET's > RSACryptoServiceProvider. Can I use these keys with Crypto++? No. You need to save them in PKCS #8 format.
> <RSAKeyValue><Modulus>1P0s5dpoDz5m8ew7+ndyJEtxP7Ohf/ > 0H2FJ25PlSLW8xH6vP4ztUnC1heT8aGTUZIpRLpg5M6+kVfsuaWhfA8Q==</ > Modulus><Exponent>AQAB</Exponent><P>6d76ywBYnLaHAQy5Fvt0Hz/ > Z3CisOk29OSuTYKpQEz0=</P><Q>6SRfigFlwnJVbBMW8dkY4/JOWmPLhGJkQqyaY8a/ > 78U=</Q><DP>bQPgmcH2jE5VDfs1R+48idiEoChhZ+gW3VBfqX6aRu0=</ > DP><DQ>ebaZggy0uUzDN8bHhb8W9Xm8WggbaaOMQBqoB0rtTRk=</ > DQ><InverseQ>A4FLkHnTd9ROgyBbl8sG36ubCmIPCIx/1ywjZgsbOFo=</ > InverseQ><D>leiIJFOf8DK8pEPgRz6w8MjEsdBNuFawodoQ4sJ0y5Jxrb7PnUulOn/dK > +FXpxojLu/zvenQvFSVWcc3muefEQ==</D></RSAKeyValue> Oops... Posting of private keys is frowned upon :) Jeff On 5/27/09, Christo <[email protected]> wrote: > > Hi > > I've generated public/private keys using .NET's > RSACryptoServiceProvider. Can I use these keys with Crypto++? > > The format of the file I get is: > > <RSAKeyValue><Modulus>1P0s5dpoDz5m8ew7+ndyJEtxP7Ohf/ > 0H2FJ25PlSLW8xH6vP4ztUnC1heT8aGTUZIpRLpg5M6+kVfsuaWhfA8Q==</ > Modulus><Exponent>AQAB</Exponent><P>6d76ywBYnLaHAQy5Fvt0Hz/ > Z3CisOk29OSuTYKpQEz0=</P><Q>6SRfigFlwnJVbBMW8dkY4/JOWmPLhGJkQqyaY8a/ > 78U=</Q><DP>bQPgmcH2jE5VDfs1R+48idiEoChhZ+gW3VBfqX6aRu0=</ > DP><DQ>ebaZggy0uUzDN8bHhb8W9Xm8WggbaaOMQBqoB0rtTRk=</ > DQ><InverseQ>A4FLkHnTd9ROgyBbl8sG36ubCmIPCIx/1ywjZgsbOFo=</ > InverseQ><D>leiIJFOf8DK8pEPgRz6w8MjEsdBNuFawodoQ4sJ0y5Jxrb7PnUulOn/dK > +FXpxojLu/zvenQvFSVWcc3muefEQ==</D></RSAKeyValue> > > Any ideas? > Christo > --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
