hi all, I got some problem with my code,when I wanna use the JSR177 of J2ME to do something about Decryptionhere is some of my code as following:KeyFactory kf = KeyFactory.getInstance("RSA"); byte[] publickeyEncode x509EncodedKeySpec keyspec = new X509EncodedKeySpec(publickeyEncode) PublicKey ...
I am currently looking at the JCOP tools plugin for eclipse. I have the plugin and it's registered. I have created a very simple applet which allows me to send and receive information. It works fine using the simulator provided. I now wish to write a an application which communicates with the ...
Hi everyone,I have a jcop30 smart card ,and I wrote an oncard applet and installed it on the card,I created a pair of RSAkey(publickey ,privatekey) in the card .I passed a data to the card for signing ,I can do it and I can verify it successfuly .but when I want to verify the sign on host side ...
I am looking for a way to read and write from/to a smart card with a browser(prefferably mozilla).Is there a way to do that?I mean, can mozilla communicate directly with a smart card?The only solution is with a java applet?The problem:The only thing that I want to read and write from/to the ...
1050 byte By
mgawsona at 2007-10-3 11:44:39
Hi,im getting an error in loading a background. the error occurs on reserving device. it seem that the resources is own by a previous application. how can i determine if the previous device has been release?below are my codeHBackgroundDevice backDevice = ...
780 byte By
samarma at 2007-10-3 11:46:30
We are developing an applet and testing it in a JCOP2.0 card (P8WE5033, has a coprocessor for DES). We made a simple applet that takes 16 bytes, uses a internal constant for DES key (128bits) and then answers the APDU. We also measured almost the same time if we use the 16bytes as a constant ...
Hi anyone know how to write APDU coding in JAVA? And how do i write the coding? I'm currently working on a project that need me to transfer APDU data and read APDU data. What are the basic things i need to know? I'm new in java. So what do i need to start with?
hello,i'm new to java card n know a bit of core java.. my superior of company asked me to get complete knowledge on java card.. iworked for 1 month on native cards..n know a bit of gsm 11.14. I want a favour.my queries:-a) how and from where should i startb) wat all basics i need to know ...
291 byte By
arjita at 2007-10-3 11:57:59
hi i am learning java card technology for nearly 2 months and learnt about APIs and developed some STKs in it . if possible anyone can tell me about it is enough for me to provide training in it about Java Card and also suggest me some practical books so that i could practice.
I am new to JCOP and I am trying to get execution times. How do you in JCOP shell capture how long it takes to get a APDU response? Is there a time shell command? I want to write a JCOP script to capture execution times and send them to a file.If JCOP shell is not the way to go, then please ...
hi all, i m very much new in this field f witeless technology...i have creater a client-server application using JSR 82 (for Serial Port Profile)where i am willing to send a String from client to server & vice versa... the client program is running on NOKIA N70 & server on NOKIA ...
When I using JCOP-debug mode in eclipse, I want to view the variable in the Variable window. I can see the "this" instance in the window. But when I click the "+" beside "this" to view the member variables of the instance. Debug process is terminated, following lines displayed in console ...
In my Applet I need to use the class OwnerPIN. When I call OwnerPIN's method boolean check(byte[] pin, short offset, byte length)the console window shows:ASSERTION FAILED! Constant exceeds range: 0x0/0 <= 0xFFFFFFFF/-1 < 0x100/256File: vm.cLine: 965 In my mind, whatever I wrote, an JAVA ...
38680 byte By
Black007a at 2007-11-26 13:02:50
Hi.I have a problem with PointBase Micro with ma midlet.I Wrote a small DB to hadle a phone numbers, and the problem is, that the DB entries are only updated when I restart the midlet. Here is the code of the midlet (based on pointbase samples):/* * HelloMidlet.java * * Created on 18 ...
Hi, Can anyone help me with a list of all the AIDs for all sun librbary packages which are normally used in java cards? Thanks ! Sucheta
140 byte By
denga at 2007-11-26 13:16:24
Hi all,I have had the JCOP Tool,but didn't how to get the JCOP Activation code ,if you know, please tell to me.Regards
hi friends i am working on EMV application development ,i am fixed up with a problem during pre-perso .Where i need to store the KMC and how can it be accessed commonly by both IC card and Perso Device .Is it allowed to store KMC in the IC card ?if not then on what basis we can retrieve the KMC ...
hello, i have in my pc , J2SE development kit & runtime Environment 5.0 Update 6, and i was warking in a desktop applecation but it is my first time with the smart card and i need to creat a program for smartcard, so..what i need to download and what packeges i need to use? please help ...
Hi to all!I code for 6 years, but currently I am new to the smart cards. I have one dev kit for smart cards with ACOS2 cards and one ACOS5 card, but in the specs there is nothing about Java Card or writing a program and inserting it into the card. Are these cards compatible with Java ...
hi,i need to read and write at the same time to a file. i know about the RandomAccessFile class and the Serialization but as i look at the API documentation i can see the i will need an ObjectOUtputStream to write objects to a file which, as far as i know, i can only use FileOutputStream. i ...
440 byte By
PSDCDa at 2007-11-26 13:27:55
I'm doing test development of HAVi package of MHP.About getVideoDevice() of HVideoComponent class, for testing this method, i must generate a HVideoComponent instance first.My question is, how can I generate a HVideoComponent instance?MHP specification says, "In platforms based on the Java ...
I want to access Mifare memory in a SmartMX card with JCOP JetZ API, but unfortunately JetZ API is missing from my JCOP (version 3.1.2) distribution as written in: http://forum.java.sun.com/thread.jspa?threadID=729778How can I get JetZ API or a JCOP API distribution which contains ...
Hi! everyone. I am a beginner of OCAP Application. I am in a trounble with SI gathering. ex) pat, pmt, private section. There is no sample code in the world. -,- Please show me simple xlet code in basis of OCAP. Thanks a lot!
205 byte By
bluedota at 2007-11-26 13:43:06
hi friends, now i developed a rmi applet with eclipse jcop toolkit,and i puzzled that how can make a signature with x509,the os(java card) provide like this service?how can i use its service?
Hello,I'm newbie with Javacard and JCOP.I just got the activation code for JCOP plugin and I would like to do an Hello World applet.JCOP is not easy to use the first time.Is there any JCOP step by step manual? Or any other kind of information?Thanks in ...
300 byte By
hbkIPSa at 2007-11-26 13:44:37
Hi,I'm trying to make interaction between my mobile phone and pc via bluetooth usb dongle.that is my pc should answer or reply for the data received from the mobile phone. i'm a final year b.tech student. can anybody help me out in this and this is regarding my final year ...
Is there any software to implement the java coding into a smart card.. can any body help us in this issue..we are doing a project in smart card so we need to embedd our java code in to a Card Acceptance Device.
Hi all,I'm a newbie in SIMs and javacards. I need an applet that wakes up after a profile_download. I know that the terminal profile is just sent after switching on the mobile, but don't know whether the terminal profile signal keeps being sent periodically after it.I don't know whether it ...
Hi,I want to encrypt a 96 bytes long buffer X with a RSA key.This key has a 1 byte public exponent, and a 96 bytes long secret modulus.here's my code :Key k = KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PRIVATE,KeyBuilder.LENGTH_RSA_768, false);((RSAPrivateKey) k).setExponent(expo, (short) 0, ...
I'm able to communicate with a JavaCard and Applet (authenticating to card, selecting applet, sending apdu to applet) but I don't know what to do after this?May I deselect the applet or "logout" from the card?Now, after completed operations I send an "ATR" to the card by ...
84 byte By
mtandona at 2007-11-26 14:22:29
Can JavaCard be used to execute a ringtone saved on Nokia phone's harddrive?
I am writing a report about using the SATSA API (JSR-177) in order to provide J2ME midlets the capability of using the smartcard as a basis for their security requirements. However I lack information about which mobile terminals nowadays fully support these API, which of them, and/or if this ...
if i use XML in my JSP project then how i gain performancen other thing that which data to be send or recieve as xml i want to use xml n parsers i my project so plz help
Is Java TV also for IPTV services? I mean Java TV API can also work with IPTV enabled set top box?
50 byte By
ba12yua at 2007-11-26 14:46:25
how connecting to smart cards reader please
How to enable integer support in JCOP tools?
Hi, I am setting up a performance test environment. Can someone tell me if JCShell and the off-card API will work with non-JCOP cards? I hate to write all the code (JCShell scripts and Java application using JCOP off-card API ) for benchmarking and then find out I can't use it for non-JCOP ...
Hi, Is there anyway to capture milliseconds response time in JCShell?I'ved looked at the "time" variable, but it does not seem to have a milliseconds format.Thank you for any help.
555 byte By
rbstara at 2007-11-26 14:54:33
Hii everybody,I have modified java.io.FileInputStream.java file for debugging purpose,I have created a jar file and i included it using -Xbootclasspath.i am typing the actual command i have been using to run my test application..../home/basis/build/linux-x86-suse/bin/cvm ...
205 byte By
APDUa at 2007-11-26 14:55:43
Hi , Are there anybody that has tested elliptic curve cryptography on javacard ?I'am looking for implementation and I've got performance issues. Is it sutable algorithm for javacard?
Hi,I am very new to the OCAP and Xlets. We are doing a project developing the OCAP stack. Thus i would like to please let me know what are the tools that we need to start up the same and can i get any detailed specification on the OCAP?
Hi Folks,i'm new to java card.i've installed java_card_kit-2_2_2 and javac 1.5.0_09 under xp home.Compiling a HelloWorld works fine, but converting to CAP produces an error as follows:Java Card 2.2.2 Class File Converter, Version 1.3Copyright 2005 Sun Microsystems, Inc. All rights reserved. ...
Hello everyone,I work on JCOP30 smart card and I would like to create a signature with this card ,JCOP 30 can supports RSA algorithm,I use Eclipse tool for programming an Applet.I can create signature successfully but when I repeat the creation of signature for more than 20 times(after 21 and ...
163 byte By
pashkina at 2007-11-26 15:07:51
Hello!How to start Xlet application as a new service from another Xlet? Is it possible to create a new service from Xlet?
II am currently experimenting with the biometric API provided with the JCOP tools. Each time I try to instantiate this class:OwnerBioTemplate.(Full definitions:private OwnerBioTemplate fullBio;private byte TRY_LIMIT=(byte)3;)The offending line in the constructor is ...
Hi ,I am using "offcard" api, and calling "cardManager.initializeUpdate(0x01,0x01,0x0)", for few cards this works fine, but for few cards it throws an error...Saying "Card cryptogram invalid"Here is the trace, (working card)Select Card Manager00 A4 04 00 07 A0 00 00 00 18 43 4D 00Response6F 18 ...
323 byte By
sara_ba at 2007-11-26 15:14:18
Hi ,I want to implement MHP on our IP set-top box(with jvm already up on our box).Can anyone please tell where to start with,i mean what are the issues involved and what are the requirements as the MHP documentation no where says about IP Set-top box(but satellite,terrestrial and ...
Hi,I am badly stuck with the problem of loading a SIM toolkit applet, same error comes repeatedly, i need your help.I have got IBM Jcop software , sim.toolkit and sim.access libraries (43019) with jcop30 and jcop20 cards. I am mostly using ToolkitAppletExample from simalliance.org. Both in ...
is it possible to load applets if ki imsi iccid are known for a sim? if the sim is given by a mobile operator. how to connect to such a card using jcop/javacard.
I can't get the apdutool to work with the -pcsc option on a Windows platform. This is what I get:java.util.MissingResourceException: Can't find bundle for base name jpcsclite, locale en_USI see the jpscslite.dll in the bin directory with apdutool.bat and I can use the pcsc reader in other ...