I'm trying to get to my CAC through the Keystore services API with
little success. Certs/Keys from my card aren't included in the
default (login) keychain, and I don't see any way to open my smart
card keychain with the SecKeychainOpen() function.
If everything works as it should, your CAC card should appear (in your
keychain list) as a new, separate keychain. Open Keychain Access, extend
the keychain drawer (the "show keychains" button at the bottom), and insert
your card. You should see a new keychain appear in the list, named
something like "smartcard #2".
If that doesn't work, something is wrong somewhere. :-)
There is no (official) way to "open a smartcard keychain" in Tiger, since
there are no canonical names for them. You can however scan the keychain
search list and match the SecKeychainRefs against the CSSM MDS if you need
to isolate a particular one. We usually discourage that, because your
application should work with the union set of all items in all keychains
whenever practical. Less confusing for the user, that way. But you can if
you must.
Cheers
-- perry
---------------------------------------------------------------------------
Perry The Cynic email@hidden
To a blind optimist, an optimistic realist must seem like an Accursed Cynic.
---------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden