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)?

+1


source to share


3 answers


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.



0


source


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.

+3


source


MUSCLE also contains API, PKCS # 11 module, etc. and works on OS X.

MUSCLE Framework and OpenSC may support different maps, so it depends on which type you are using.

+1


source







All Articles