Hello,

if you would use shared instead of exclusive, other PC/SC applications may
access the card in parallel with OCF applications. As smart cards usually
support only one session, other PC/SC applications could disturb the OCF
applications, e.g. by selectoing other directories, invalidating security
contexts, etc.

Best regards,

Thomas

Thomas Schaeck
Pervasive Computing Division - Extended e-business Solutions, EMEA
Phone: +49-(0)7031-16-3479   Mobile: +49-(0)171-6928407   e-mail:
[EMAIL PROTECTED]   Fax: +49-(0)7031-16-4888
Address: IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032
Boeblingen, Germany


"Tom McKearney" <[EMAIL PROTECTED]> on 29.02.2000
17:41:21

Please respond to "Tom McKearney" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Thomas Schaeck/Germany/IBM)
Subject:  [OCF]  Re: What does this comment mean?




I'd like to rephrase this with the question that I actually want answered.

What would happen if I changed the PCSC Card terminal to use SHARED rather
than EXCLUSIVE?

TM

"Tom McKearney" <[EMAIL PROTECTED]> wrote in message
89eeu7$oa2$[EMAIL PROTECTED]">news:89eeu7$oa2$[EMAIL PROTECTED]...
> This is from Pcsc10CardTerminal....
>
>
>   /** connect to the card */
>   private void cardConnect() throws CardTerminalException {
>
>     // we use the EXCLUSIVE mode of PCSC, so we cannot connect to the
reader
> without a card inserted
>
>    Integer returnedProtocol = new Integer(0);
>     try {
>       itracer.debug("cardConnect", "connect to smartcard");
>       cardHandle = pcsc.SCardConnect(context,
>                                      getName(),
>                    Pcsc10Constants.SCARD_SHARE_EXCLUSIVE,
>                    Pcsc10Constants.SCARD_PROTOCOL_T0 |
> Pcsc10Constants.SCARD_PROTOCOL_T1,
>                    returnedProtocol);
>       itracer.debug("cardConnect", "got card handle: " + cardHandle);
>     } catch(PcscException e) {
>       throw translatePcscException(e);
>     }
> }
>
> What does this mean?  What does EXCLUSIVE have to do with cards being
> inserted?
>
>




---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe
! in the body.






---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to