[Owasp-esapi-c++] Specifying Codec Type
Daniel Amodio
dan.amodio at aspectsecurity.com
Fri Aug 26 14:20:56 EDT 2011
For encoding... the way java handles some specific cases requires
passing the name of the class.
E.G.
encodeForOS(UnixCodec,"asdfasd");
I'm not sold that this is the best approach for C++
I think we should either split the methods up
encodeForWindowsOS("asdf"); and encodeForUnixOS("asdf");
Or have the parameter be an enum or a string.
Enum{ UNIXCODEC,WINDOWSCODEC, etc}
encodeForOS(esapi::Encoder::UNIXCODEC, "asdf");
Any comments on this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-esapi-c++/attachments/20110826/c45bc2c9/attachment.html
More information about the Owasp-esapi-c++
mailing list