Lionel Victor > pcsc-perl-1.0.8 > PCSC::Card

Download:
pcsc-perl-1.0.8.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.0.8   Source  

NAME ^

PCSC::Card - Smarcard communication library

SYNOPSIS ^

 $hCard = new PCSC::Card ($hContext,
                        "GemPC430 0 0",
                        $PCSC::SCARD_SHARE_EXCLUSIVE);

 $RecvData = $hCard->Transmit([0xBC,0xB0,0x09,0xC8, 2]);

 $hCard->Disconnect($PCSC::SCARD_LEAVE_CARD);

DESCRIPTION ^

The PCSC::Card module implements the PCSC::Card class. Object from this class are used to communicate with a given reader. They are constructed out of a reference to a PCSC object that drives the reader.

For more information about PCSC please read the PCSC(3pm) man page.

A PCSC::Card object uses the following propoerty: $pcsccard_object->{hContext} the reference to the underlying pcsc object $pcsccard_object->{hCard} the current pcsc connection handle $pcsccard_object->{dwProtocol} the protocol being used

CONSTRUCTORS ^

The following methods construct a PCSC::Card object:

CONSTRUCTION FAILURE ^

PCSC::Card constructors return an undef value when the object can not be created. $PCSC::errno can be used to get more information about the error. (See section "ERROR HANDLING" in PCSC(3pm) man page for more information)

PCSC::Card METHODS ^

Here is a list of all the methods that can be used with a PCSC::Card object.

SEE ALSO ^

PCSClite manpage has useful informations about PCSClite. PCSC(3pm) manpage holds all the necessary information to create the PCSC object which will be the basis of PCSC::Card.

COPYRIGHT ^

Please see the copyright file included with your distribution

AUTHORS / ACKNOWLEDGEMENT ^

 Lionel VICTOR <lionel.victor@unforgettable.com>
               <lionel.victor@free.fr>
syntax highlighting: