Store and retrieve from iOS keychain

Is there a way to get/set items in the iOS keychain from cocos2d-x c++? Has anyone done this?

The Security.framework is a C API, so yes.