Rich Megginson wrote:
Has anyone used SWIG to create an NSS wrapper for perl, python, or other
languages? I would really, really, really like to use NSS for crypto
in my scripts, but invariably the only supported crypto is openssl. SWIG
could even be used to create a Java wrapper, possibly making JSS support
easier.
For those not familiar with SWIG:
http://www.swig.org/
Simplified Wrapper and Interface Generator
It scans your .c and .h files and generates glue code for whatever
scripting language you tell it to. For example, for perl, it will
generate .xs (or xs-like) code based on what it thinks your public
interface is based on scanning your .h and .c files.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto