Oh wait, duh... An RSA public key has 2 parts: modulus and exponent. When you decode the public key object, it expects both of these, but the file only contains one integer, right? Is that the problem?
On Sep 5, 3:01 pm, Parch <[EMAIL PROTECTED]> wrote: > I also note a compile error with confused publicFilename and > pubFilename... > > On Sep 3, 11:03 pm, Parch <[EMAIL PROTECTED]> wrote: > > > I think (not 100% sure) when you create your RSAES encryptor from a > > buffered transform, it might be expecting BER encoding, rather than > > DER? > > > Is it throwing in key validation? You might want to try a separate key > > validation step, to get decent error messages in your app. Should be > > able to use this function via the encryptor object somehow, I think: > > > bool RSAFunction::Validate(RandomNumberGenerator &rng, unsigned int > > level) const --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
