Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.
pyGlobalPlatform is a open source python library of globalplatform client library.
- Posts: 273
- Joined: Thu Apr 30, 2015 12:00 pm
- Points :2391
This demo shows how to use pyGlobalPlatform to establish secure channel.
Code: Select all
# Import the module
import globalplatformlib as gp
# Establish Context
context = gp.establishContext()
# Select the smartcard reader you want to connect
readernames = gp.listReaders(context)
cardInfo = gp.connectCard(context, readerName, gp.SCARD_PROTOCOL_Tx)
# Get SCP details
scp, scpi = gp.getSCPDetails(context, cardInfo)
# Mutual Authentication
securityInfo = gp.mutualAuthentication(context, cardInfo, gp.DEFAULT_KEY, gp.DEFAULT_KEY, gp.DEFAULT_KEY, gp.DEFAULT_KEY, 0, 0, scp, scpi, 0, 0)
# Release context
- Posts: 40
- Joined: Wed May 20, 2015 2:41 am
- Points :254
It is necessary to explain the type of each parameters of API function in pyGloablPlatform.
Otherwise, just look at this demo, it is difficult to understand the meaning of these API.
- Posts: 1
- Joined: Thu May 27, 2021 10:06 am
- Points :12
I like video tutorials, whether recorded or live, are important as they add another dimension to learning that makes a student's educational experience more effective.
Users browsing this forum: No registered users and 1 guest