Hi Jeffrey,

Thanks for your reply.  Based on the URL given, I have used the
following code to export the key to string data:

RSAES_OAEP_SHA_Decryptor key;
string privKey;  // Store the exported string data of the key
key.AccessKey().Save(HexEncoder(new StringSink(privKey)));

Is this correct?  In addition can I do the following to create a key
object using an exported string data?

string pubKey;  // Exported string data
StringSource pubKeySrc(pubKey, TRUE, new HexDecoder());
RSAES_OAEP_SHA_Encryptor key;
key.AccessKey().Save(pubKeySrc);

Really appreciate your help on this and thanks.


Regards

cleohm


On Feb 14, 9:42 pm, "Jeffrey Walton" <[EMAIL PROTECTED]> wrote:
> http://www.cryptopp.com/wiki/RSA
>
> On 2/14/07, cleohm <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi all,
>
> > Does anyone know how I can export RSAES_OAEP_SHA_Encryptor or
> > RSAES_OAEP_SHA_Decryptor to string data?
>
> > Regards
>
> > cleohm- Hide quoted text -
>
> - Show quoted text -


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