HCE has introduced a new and powerful way to create, issue and manage virtual cards stored in the cloud. The value of HCE is clear but with that recognition comes a great deal of other questions. One of the most common questions is that surrounding virtual card life cycle management. This blog post will discuss one tools made available by SimplyTapp to manage your virtual card in the cloud in the SimplyTapp system.
SimplyTapp offers STBridge as tool to manage card life cycle. STBridge allows an issuer to connect to a virtual card instance in the SimplyTapp cloud.
Activate card
The complete STBridge tutorial can be found at: http://wiki.simplytapp.com/utilities-resources/stbridge/stbridge-guide
SimplyTapp offers STBridge as tool to manage card life cycle. STBridge allows an issuer to connect to a virtual card instance in the SimplyTapp cloud.
STBridge is used to communicate APDUs, and other GP commands, to a specific virtual card residing in the cloud platform. STBridge supports standard GPJ shell commands.
STBridge packaged as an executable jar (STBridge) and can be executed in the following format:
java -jar STBridge.jar -ck consumer_key -cs consumer_secret -at access_token_to_card -ts access_token_secret [-s jcsh_script_to_run
STBridge Paramater list:
-ck the issuer consumer key
-cs the issuer consumer secret
-at the card access token
-ts the card access token secret
There are various ways for obtaining the parameters from a virtual card in cloud needed to execute STBridge.
This example we are we are working with a previously create virtual card.
This example we are we are working with a previously create virtual card.
Managing An Active Card
Appending scripts to the STBridge.jar executable file allows one to manage card life cycle. The following are examples of how to manage card life cycle.
Card is personalized by running a personalization (perso) script.
After perso script is executed, the card is in activated state.
Post card personalization, you can connect to card and run any various card management scripts. Activating an activated card does nothing and deactivating a deactivated card does not change the state of the card, but scripts will execute.
The following are examples of executing card management scripts on a active virtual card in the cloud.
Deactivate Card.
vcbp_deactivate_card.jcsh is script to deactivate the card.
After running the script, the card agent is disabled from performing contact-less transactions.
Activate card
vcbp_activate_card.jcsh is script to activate the card again.
After running the script, the card agent is enabled to perform contact-less transactions.
Terminate card
vcbp_terminate_card.jcsh is script to terminate the card.
After running the script, the card agent is disabled from performing contact-less transaction. The card agent does not load anymore after refreshing/restarting the wallet. This is like a kill switch, the state cannot be changed from terminated.
Running vcbp_terminate_card script updates the card state in the database to "dead".
Once a card is terminated it is marked as dead and can not be recovered to active state from the data base.
Hi Tom, thanks for the blog on HCE. I am using SimpllyTapp sdk as given in http://blog.simplytapp.com/2014/10/the-absolute-simplest-hce-application.html . But am facing 2 issues, one is a crash whose stacktrace is given below
ReplyDeleteW/dalvikvm( 9324): threadid=17: thread exiting with uncaught exception (group=0x41efec08)
D/MainActivity( 9324): Account is Disabled cardId=6164 code=24
D/MainActivity( 9324): Account is Disabled cardId=6164 code=24
E/AndroidRuntime( 9324): FATAL EXCEPTION: Thread-2714
E/AndroidRuntime( 9324): Process: com.example.sampletapp, PID: 9324
E/AndroidRuntime( 9324): java.lang.NullPointerException
E/AndroidRuntime( 9324): at com.simplytapp.cardagent.c.run(SourceFile:1794)
E/AndroidRuntime( 9324): at java.lang.Thread.run(Thread.java:841)
W/ActivityManager( 3042): Force finishing activity com.example.sampletapp/.MainActivity
I/CardAgent( 9324): activated, tGetAccountParams is still accessing remote card applet, waiting...
I/ServiceKeeper( 3042): In getseinfo pid = 3042 uid = 1000 seinfo= system
D/CrashAnrDetector( 3042): processName: com.example.sampletapp
D/CrashAnrDetector( 3042): broadcastEvent : com.example.sampletapp data_app_crash
W/ApplicationPackageManager( 3042): getCSCPackageItemText()
V/SmartFaceService - 3rd party pause( 3042): onReceive [android.intent.action.ACTIVITY_STATE/com.example.sampletapp/pause]
D/SSRMv2:CustomFrequencyManagerService( 3042): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1200000 uid : 1000 pid : 3042 pkgName : ACTIVITY_RESUME_BOOSTER@4
W/ActivityManager( 3042): mDVFSHelper.acquire()
In another issue, am trying you read card data using SoftPcd as below but transceiveWithCard() function is returning same value 6F00 in all the cases. Your help would be greatly appreciated.
SoftPcd softPcd = new SoftPcd((short)5000);
try {
virtualCard.transactWithSoftPcd(softPcd);
} catch (IOException e) {
e.printStackTrace();
}
try {
softPcd.connect();
byte[] apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xA4,0x04,0x00,0x05,(byte)0x32,0x50,0x41,0x59,(byte)0x2E});
apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xA4,0x04,0x00,0x07,(byte)0xA0,0x00,0x00,0x02,0x77,0x10,0x10,0x00});
apdu = softPcd.transceiveWithCard(new byte[]{(byte)0x80,(byte)0xA8,0x00,0x00,0x15,(byte)0x83,0x13,(byte)0xD0,(byte)0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x01,0x24,0x01,0x24,0x02,0x66,0x33,(byte)0x82,0x01,0x00});
apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x01,0x0C,0x00});
apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x01,0x14,0x00});
apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x02,0x14,0x00});
apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x03,0x14,0x00});
apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x04,0x14,0x00});
apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x01,0x1C,0x00});
apdu = softPcd.transceiveWithCard(new byte[]{(byte)0x80,(byte)0xAE,(byte)0x80,0x00,0x2A,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x24,
0x00,(byte)0x80,0x00,(byte)0x80,0x00,0x01,0x24,0x13,0x06,0x27,0x00,0x02,0x66,0x33,(byte)0x82,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x00,0x00,0x00});
softPcd.disconnect();
} catch (IOException e) {
e.printStackTrace();
}
Thanks,
Pradeep.
Great Article
Deleteblockchain projects for students
IEEE Projects for Engineering Students
JavaScript Training in Chennai
Networking Projects
JavaScript Training in Chennai
Comment as:
ReplyDelete
ReplyDeleteAFC Championship
AFC Championship 2017
AFC Championship Game 2017
NFC Championship
NFC Championship 2017
NFC Championship Game 2017
Comment as:
ReplyDeleteWe've all had a puncture at some time while we've been cycling along enjoying the chosen cycle route. You may also gain some knowledge of your local area as you pick up information on places of interest when you're out on your cycle ride. bicycle reviews
ReplyDeletenice
ReplyDeleteCIITN is located in Prime location in Noida having best connectivity via all modes of public transport. CIITN offer both weekend and weekdays courses to facilitate Hadoop aspirants. Among all Hadoop Training Institute in Noida , CIITN's Big Data and Hadoop Certification course is designed to prepare you to match all required knowledge for real time job assignment in the Big Data world with top level companies. CIITN puts more focus in project based training and facilitated with Hadoop 2.7 with Cloud Lab—a cloud-based Hadoop environment lab setup for hands-on experience.
ReplyDeleteCIITNOIDA is the good choice for Big Data Hadoop Training in NOIDA in the final year. I have also completed my summer training from here. It provides high quality Hadoop training with Live projects. The best thing about CIITNOIDA is its experienced trainers and updated course content. They even provide you placement guidance and have their own development cell. You can attend their free demo class and then decide.
Hadoop Training in Noida
Big Data Hadoop Training in Noida
تعد شركة تركيب اثاث ايكيا بالرياض هي الشركة الرائده والاولي في كافة الاثاث من تركيب وفك ونقل وتخزين وكافة الاعمال المتعلقة بالاثاث في الرياض وكافة المناطق والمحافظات بالمملكة العربية السعودية، وقد تصدرت شركة خبراء المملكة لتكون الأولى في مجال فك ونقل وتركيب الأثاث المنزلي وايضا فك وتركيب الستائر بالرياض وهي تتميز عن باقي شركات الرياض نظرا لما تقدمة من خدمات بشكل احترافي كما انها تتميز عن غيرها بكفاءة الفنيين والامتخصصين في مجال تركيب الاثاث فلا داعي لكثرة البحث فلديك خبراء المملكة فهم فعلا خبراء ومتميزون في جميع خدماتهم المقدمة
ReplyDeleteشركة تركيب اثاث ايكيا بالرياض
فني تركيب اثاث ايكيا بالرياض
شركة تركيب ستائر بالرياض
عامل تركيب ستائر بالرياض
شركة تركيب غرف نوم بالرياض
فني تركيب غرف نوم بالرياض
شركة تركيب باركية بالرياض
شركة تركيب عفش بالرياض
ما يميز شركة تركيب نقل وتركيب اثاث بالرياض
- تعد شركة تركيب اثاث ايكيا من الشركات المفضلة لكثير من العملاء فهم من منحوها الصدارة والتميز لتميز الخدمات المقدمة لهم وهي الاولي في تركيب الاثاث لزيادة خبراتها الكبيرة لسنوات.
تتميز ايضا شركة خبراء المملكة بكبر فرق العمل المتخصصة والمدربة بمهاره وتقنية عالية كما اننا ندعم صفوفنا بصفة مستمرة من العمال والموظفين والفنيين الأكفاء والمهرة كما انها Jستقبل العمالة الفليبنية
real racing 3 mod apk ppsspp gold apk hungry shark world mod apk
ReplyDeletevery interesting post.this is my first time visit here.i found so mmany interesting stuff in your blog especially its discussion..thanks for the post!
ReplyDeleteTime management
I'm shakshi.I am working in India top most Escort service Mumbai Call girls.If u want to join the all facility of escorts Puri call girls
ReplyDeletepls call me & whatssap Cuttack call girls
visit the sites. Bhubaneswar call girls
Escort Service in Gurgaon
ReplyDeleteBangalore escorts
Escort Service in Mumbai
Call girls in Gurgaon
==========================
Gurgaon escorts
Bangalore escorts
Mumbai escorts
Gurgaon escorts
============================
Bangalore call girls
Gurgaon call girls
Gurgaon call girls
Mumbai call girls
==============================
Escort service in Gurgaon
Escort service in Gurgaon
Escort service in Mumbai
Escorts in Bangalore
Call girl in Gurgaon
call girls in lucknow
lucknow escorts service
ReplyDeleteI have seen article reading. I am very satisfied. The website opening speed is fast and its texture is good.Thank you so much for sharing.
Click Here : 2006 Cat 140H (616) w/10365 Hrs For Sale at $98k
TreasureBox is operated by a group of young, passionate, and ambitious people that are working diligently towards the same goal - make your every dollar count, as we believe you deserve something better.
ReplyDeleteCheck out the best
outdoor furniture covers nz
body pillow nz
playpen nz
Great Article. As I read the blog I felt a tug on the heartstrings. it exhibits how much effort has been put into this.
ReplyDeleteIEEE Projects for CSE in Big Data
Spring Framework Corporate TRaining
Final Year Project Centers in Chennai
JavaScript Training in Chennai
It is a very helpful data. It will help to improve my knowledge about this topic. Thank you for this awesome post.
ReplyDeleteCorporate Training in Chennai
Corporate Training Companies in Chennai
Soft Skills Training in Chennai
JMeter Training in Chennai
Pega Training in Chennai
Appium Training in Chennai
Advanced Excel Training in Chennai
Oracle Training in Chennai
Social Media Marketing Courses in Chennai
Tableau Training in Chennai
Power BI Training in Chennai
Welcome to Gurgaon Escorts Agency, we give you complete discount of receiving Russian and erotic call girls in Gurgaon, you can contact us on our website to get them. Call Girls In Gurgaon With Whatsapp Number
ReplyDeleteWhen it comes to dating professional Call Girls In Delhi With Photo and Mobile Number, there are many aspects which you should consider as escort dating is not as simple as it seems. Needless to mention, it is more about having erotic fun with the Cheap Girls.Female Escort in Delhi With Photo
ReplyDeleteطراحی سایت بدون کدنویسی
ReplyDeleteآژانس احمدزاده
ReplyDeleteآکادمی مومنی
ReplyDeleteکاهش رتبه الکسا
ReplyDeleteطراحی سایت بدون کد نویسی
ReplyDeleteشبکه اجتماعی اینستاگرام
ReplyDeleteHi…this is Abhinav here, from few months I am visiting and following you. What I really like about you is that your writing style. Please keep making such as information for us.
ReplyDeleteTop CA firms in India, Top CA in India.