EMKeychain is a Cocoa wrapper class for Keychain, which has unfortunately been frozen in carbonite. It's much cleaner than interfacing with keychain yourself, is actively used in commercial-grade products, and is completely documented.
This software was checked for viruses and was found to be clean. Click here to see antivirus report.