Chipcard::CTAPI

Chipcard::CTAPI is a Perl module for communication with chipcard terminals.
Download

Chipcard::CTAPI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Wolfgang Hommel
  • Publisher web site:
  • http://search.cpan.org/~whom/Tk-MatchEntry-0.4/MatchEntry.pm

Chipcard::CTAPI Tags


Chipcard::CTAPI Description

Chipcard::CTAPI is a Perl module for communication with chipcard terminals. Chipcard::CTAPI is a Perl module for communication with chipcard terminals.SYNOPSIS use Chipcard::CTAPI; my $ct = new Chipcard::CTAPI('interface' => &Chipcard::CTAPI::PORT_COM1) or die "Can't communicate with card terminal"; my $memory_size = $ct->getMemorySize(); $ct->read(0, $memory_size) or die "Can't read data from card.n"; $ct->dumpCommunication("Content: ", $ct->getData, $ct->getDataLength); my $content = "Hello, world!n"; $ct->setData($content); $ct->write(0, $ct->getDataLength) or die "Can't write new content to card.n"; $ct->close;ABSTRACTChipcard::CTAPI enables Perl programs to communicate with chipcard terminals based on the low-level CTAPI driver.Using the CTAPI (card terminal application programming interface) is a simple yet powerful way to communicate with chipcard terminals. There are more advanced APIs available, like PC/SC, but in general they are not as easy and fast to set up as CTAPI. Especially when an application is not all about chipcards but just includes some features which can make use of them, CTAPI is often the best way to go as it implies less overhead for the end user.Chipcard::CTAPI is a Perl module which provides direct access to the low-level CTAPI functions (which are, in fact, only three), but focusses on a couple of convenience methods for reading and writing memory cards. Requirements: · Perl


Chipcard::CTAPI Related Software