views:

181

answers:

1

hi guys

i am working on an app in which i have to display all the digital certificates available on my Mac laptop. should i use keychain to get access to these certificates?? where is the physical location of these certificates???

i want to list their names to a standard output. Please reply me with few links with examples(if possible) which i can take a look to understand and use it for my app. i have looked into Certificate, Key, and Trust Services Reference api but its really confusing.

Thanks

+1  A: 

If you just need to display certificates then there already is an application - Keychain Access.app

Certificates can be physically on non-filesystem devices such as smart cards.

You most probably are interested in user certificates and not CA certificates? You should look into Keychain reference and most probably the certificate listing functions.

martin