Yeah, I think because your DER encoding isn't in the right format. Try
generating a random RSA public key and looking at the DER encoding
when you encode it. Then compare that to the DER encoding of the
Integer. They should be totally different. They don't contain the same
data.

I think a better (simpler) way than creating the Crypto++ RSA public
key using a BER encoded file would be to use the public key's explicit
"Initialize" functions, where you can pass in the integer parameters.


--~--~---------~--~----~------------~-------~--~----~
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