Mailing Lists: Apple Mailing Lists

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

Re: opening smart card keychains



--On May 9, 2006 3:24:54 PM -0500 Cole Barnes <email@hidden> wrote:

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

This email sent to email@hidden
References: 
 >opening smart card keychains (From: "Cole Barnes" <email@hidden>)



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.