Mailing Lists: Apple Mailing Lists

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

Mapping USB port to PKCS-11 slot



Hello,

My application needs to know when a smart card is inserted. The type of smart cards we are working with don't support Apple's token standards. They use PCSC driver.

I don't know if this is the right way in doing what I am trying to do. I have a callback set in IOServiceAddMatchingNotification. This does work and I get called every time a USB device is inserted.

I now need the slot number so I can access the PKCS-11 functions such as C_GetSlotInfo.

Is there a way to map one to the other? Or is there a better way to do what I am trying to do?

Thanks,

Haider
_______________________________________________
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


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.