Hello,

I have some questions about the meaning of some fields of the
MSCTokenConnection struct.

        MSCUChar8 pMac[MSC_MAXSIZE_MAC];  //!< MAC code
        MSCULong32 macSize;           //!< Size of the MAC code
        MSCUChar8 loggedIDs;    //!< Verification bit mask
        LPRWEventCallback rwCallback;   //!< Registered callback

What is a MAC here?  What about the callback and the loggedIDs? For what
can I use it?

typedef struct
{
        SCARDCONTEXT hContext;        //!< Handle to resource manager
        SCARDHANDLE hCard;            //!< Handle to the connection
        LPSCARD_IO_REQUEST ioType;    //!< Type of protocol
        MSCUChar8 pMac[MSC_MAXSIZE_MAC];  //!< MAC code
        MSCULong32 macSize;           //!< Size of the MAC code
        MSCPVoid32 tokenLibHandle;    //!< Handle to token library
        CFDyLibPointers libPointers;  //!< Function pointers
        MSCTokenInfo tokenInfo; //!< Token information
        MSCUChar8 loggedIDs;    //!< Verification bit mask
        MSCULong32 shareMode;   //!< Sharing mode for this
        LPRWEventCallback rwCallback;   //!< Registered callback
}
MSCTokenConnection, *MSCLPTokenConnection;

By the way. Are there any plans to support the concept of PC/SC 2.0
Service Providers? At the moment a card is only identified by its ATR
and a fixed application is associated with this ATR. PC/SC 2.0 would
allow to retrieve a list of application which are on the card and the
appropriate SP can be selected.

Karsten
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to