<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>&nbsp; &nbsp; Thanks for the reply. In my situation, I have a reader using only USB HID(Human Interface Device) protocol to communicate with MacOS, It is &nbsp;not a CCID reader, but I can write a PCSC driver for the reader under Windows and then use PCSC API to communicate with it, can I also write a PCSC driver to do that under MacOSX? If I can, What should I do to achieve that?&nbsp;</div><div>&nbsp; &nbsp; Is that only CCID reader can initiate the loading of TokenD? I would like to know how securityd, pcscd and tokend interact, and what happened from when a USB reader plugin into the system to when the corresponding Tokend is loaded.</div><div><blockquote type="cite" class="" style="font-family: Helvetica, 'Microsoft Yahei', verdana; "><div class="" style="line-height: 1.7; "><div class=""><br></div></div></blockquote></div><div><br></div><div><br></div><div><br></div><div><br></div><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><div><br></div><pre><br>At 2015-08-11 03:00:01, tokend-dev-request@lists.macosforge.org wrote:
&gt;Send Tokend-Dev mailing list submissions to
&gt;        tokend-dev@lists.macosforge.org
&gt;
&gt;To subscribe or unsubscribe via the World Wide Web, visit
&gt;        https://lists.macosforge.org/mailman/listinfo/tokend-dev
&gt;or, via email, send a message with subject or body 'help' to
&gt;        tokend-dev-request@lists.macosforge.org
&gt;
&gt;You can reach the person managing the list at
&gt;        tokend-dev-owner@lists.macosforge.org
&gt;
&gt;When replying, please edit your Subject line so it is more specific
&gt;than "Re: Contents of Tokend-Dev digest..."
&gt;
&gt;
&gt;Today's Topics:
&gt;
&gt;   1. Re: Tokend-Dev post from liudy75@163.com requires        approval
&gt;      (Shawn A. Geddis)
&gt;
&gt;
&gt;----------------------------------------------------------------------
&gt;
&gt;Message: 1
&gt;Date: Sun, 09 Aug 2015 14:32:07 -0700
&gt;From: "Shawn A. Geddis" &lt;geddis@apple.com&gt;
&gt;To: liuddd &lt;liudy75@163.com&gt;
&gt;Cc: Tokend-Dev &lt;tokend-dev@lists.macosforge.org&gt;
&gt;Subject: Re: [Tokend-Dev] Tokend-Dev post from liudy75@163.com
&gt;        requires        approval
&gt;Message-ID: &lt;1216EAFC-0357-411E-AB3F-2FF2F7995A53@apple.com&gt;
&gt;Content-Type: text/plain; charset="utf-8"
&gt;
&gt;&gt; From: liuddd &lt;liudy75@163.com&gt;
&gt;&gt; Date: August 6, 2015 at 2:34:38 AM PDT
&gt;&gt; To: tokend-dev@lists.macosforge.org
&gt;&gt; Subject: get tokend loaded for USB HID device
&gt;&gt; 
&gt;&gt; Hi !
&gt;&gt; I wan't to get my own tokend get loaded, but my device is a USB HID device. Is there any way to do it? Can I just send some message to securityd to accomplish it? Thanks for some advices.
&gt;
&gt;You have provided very little information for anyone to be able to help.  You will need to provide much more for us to know exactly what you need for direction.
&gt;
&gt;A Tokend is for communication usually to an Applet on the card and not to the device ? USB devices actually play the role of both reader and token in one.  Devices are required to be supported first by a reader driver ? default driver included in OS X is a CCID driver which supports hundreds of readers ? may or may not supports yours - can?t tell since we do not know what reader and token type you are using.
&gt;
&gt;When you insert a token (ie. provisioned Smart Card into a reader  or a USB Composite Token), all of the installed Tokend modules will be launched by the OS with each performing their own probing of the card to determine what it is (ie. BELPIC, CAC, CACNG, JPKI, PIV, etc?) and determining whether it knows and can communicate with that card type.  Scoring takes place and the Tokend with the highest score remains live and associated with that card for this session.  You can execute the command ?top? in Terminal prior to inserting your token.  If you do not see the tokend names  I listed above appear or remain after probing (or one that may correspond to a tokend you installed) then there is no currently supported tokend for the token you have inserted.
&gt;
&gt;If you can provide more, we can give more/better guidance.
&gt;
&gt;- Shawn
&gt;_____________________________________________________________________
&gt;Shawn Geddis                                                                  geddis@{Mac | Me | iCloud}.com
&gt;Security and Certifications Engineer, Apple                geddis@apple.com
&gt;
&gt;Smart Card Services  Project/Dev Lead:                                                                                 
&gt;                                Project Wiki:                          [SmartCardServices.MacOSFforge.Org &lt;http://smartcardservices.macosfforge.org/&gt;]
&gt;                                Mailing Lists:                         [Lists.MacOSForge.Org/mailman/listinfo &lt;http://lists.macosforge.org/mailman/listinfo&gt;]
&gt;                                SCS Contact:                                         [scs-contact@macosforge.org &lt;mailto:scs-cotact@macosforge.org&gt;]
&gt;                                SCS Admin:                                           [scs-admin@macosforge.org &lt;mailto:scs-admin@macosforge.org&gt;]
&gt;_____________________________________________________________________
&gt;-------------- next part --------------
&gt;An HTML attachment was scrubbed...
&gt;URL: &lt;https://lists.macosforge.org/pipermail/tokend-dev/attachments/20150809/cf300f92/attachment-0001.html&gt;
&gt;-------------- next part --------------
&gt;A non-text attachment was scrubbed...
&gt;Name: smime.p7s
&gt;Type: application/pkcs7-signature
&gt;Size: 4455 bytes
&gt;Desc: not available
&gt;URL: &lt;https://lists.macosforge.org/pipermail/tokend-dev/attachments/20150809/cf300f92/attachment-0001.p7s&gt;
&gt;
&gt;------------------------------
&gt;
&gt;_______________________________________________
&gt;Tokend-Dev mailing list
&gt;Tokend-Dev@lists.macosforge.org
&gt;https://lists.macosforge.org/mailman/listinfo/tokend-dev
&gt;
&gt;
&gt;End of Tokend-Dev Digest, Vol 31, Issue 1
&gt;*****************************************
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>