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
michael
[ ObDisclaimer: I am now a Qualcomm employee, but I didn't work on this. ]
--
-- Marshall
Marshall Clow Idio Software <mailto:mars...@idio.com>
Hey! Who messed with my anti-paranoia shot?
4. The software is not embedded in a device intended for a specific
application, for example but not limited to communication devices
(including mobile telephones), smart cards, cash registers, teller
machines, network routers.
So I guess it'll have to wait until I have time to reimplement the cipher.