Hi John,

Geoff is correct. Perhaps you can run Guttman's dumpasn1 over the key
to verify you did not make a transcription mistake. See
http://www.cs.auckland.ac.nz/~pgut001/.

Jeff

On 2/25/09, john <[email protected]> wrote:
>
> i am trying to encrypt using rsa and a string based
> DEREncodePublicKey.  When i run the code below i get the following
> error on the encryptor: CryptoPP::BERDecodeErr at memory location.
>
> string pb("93880B9999427FFFBD189F66CD1D0E165B75…");
> CryptoPP::StringSource pubStr(pb, true, new CryptoPP::HexDecoder);
> CryptoPP::RSAES_OAEP_SHA_Encryptor pub(pubStr);
>
> thanks in advance,
>
> john
>

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