You could just use StringSink rather than FileSink.

On Jan 25, 5:03 pm, Andrew Leung <[EMAIL PROTECTED]> wrote:
> Thanks for the quick reply.
>
> So, I have an ESIGN public key and I want to turn it into a StringSink
> since my current message encoding/decoding methods right now work on the
> String class. I don't quite see how to do it...
>
> The examples show how to sink a signed message to a file but what if I
> want to sink a public key to a string? Thanks again.
>
> Andrew
>
> Jeffrey Walton wrote:
> > Hi Andrew,
>
> > Sources:http://www.cryptopp.com/wiki/Source
> > Sinks:http://www.cryptopp.com/wiki/Sink
>
> > Symmetric Ciphers:http://www.cryptopp.com/wiki/Symmetric_Cipher
>
> > Key Exchange (presuming the network endpoints do not share a common
> > secret):http://www.cryptopp.com/wiki/Diffie-Hellman_Key_Exchange
>
> > Jeff
>
> > On 1/25/07, Andrew Leung <[EMAIL PROTECTED]> wrote:
>
> >> I need to serialize Crypto++ symmetric and asymmetric keys for passing
> >> over a network. Does Crypto++ have any support this or any tips on how
> >> to do it? My current network encoding/decoding only works on structs and
> >> classes with basic member types. Thanks in advance.
> 
> >> Andrew


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