Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use Certificates in the Keychain?!?!



Does anybody have a really good example on how to Add, Get, Modify and Delete Certificates in the Keychain?

I have a application that uses SSL connections (via openssl) and I thought about adding the unverifiable Certificates (self signed) to the Keychain. The problem is I have not found a way to add, get modify or delete certificates in the key chain.

I have one already in the keychain that was added by another program (Eudora) and I can see it by looping over all keychain items, but I can't get important data out. I can get most things defined by KCAttrType, but I need other data that is not defined by KCAttrType like the public key and signature.

Any help would be appreciated.

Thanks,

Brian

BTW, the SSLSample and CryptoSample are no help.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.