Replacing "FileSource" with "StringSource" works well
in all cases where the File stores exactly one string
(this is true for all? sort of keys and signatures
(that i use)).

is there a simple way to replace FileSource to handle
char arrays (including 0x00 chars)?

example:
VerifierFilter *verifierFilter = new
VerifierFilter(pub);
verifierFilter->Put(signature, pub.SignatureLength());
//FileSource f(messageFilename, true, verifierFilter);
StringSource f(messageString, true, verifierFilter);

using StringSource works with real strings, but the
messageString is MAC-encrypted (means having 0x00
chars in it).

thanks a lot for any advice 

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de

Reply via email to