Signing data with smart cards on Mac in C ++
Is there support in Mac OS X for signing data with smart cards? I looked through the system headers and only found links to smart card support (in SecKeychain.h) which I haven't actually seen anywhere.
If there is no built-in support, which are my options (i.e. what free / non-free libraries are out there that might help me)?
source to share
I answer my own question here for your reference. The OpenSC libraries provide everything you need to work with smart cards, and it is cross-platform (Windows, Linux and Mac) and its license is good for commercial projects.
source to share
The Apple-CDSA mailing list is probably the best place to ask about this; CDSA is a generic data security architecture that includes all of the security / keychain / signature infrastructure in Mac OS X, including any support for smart card security.
A lot of people who use and work for CDSA will be there. It's probably worth checking the archives as well; someone may have already done what you are trying to do.
source to share