I can't decrypt a text encrypted(useing RSA) with publickey on mobile

1202 byte By JK_taiwana at 2007-10-3 11:33:09
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 ...

offcard apis

727 byte By Porto_Deva at 2007-10-3 11:33:43
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 ...

how can I verify a sign that is created by card in the host side?

599 byte By NewOrchida at 2007-10-3 11:38:47
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 ...

Java,browser and smart cards

611 byte By lazarocka at 2007-10-3 11:38:50
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 ...

loading background

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 = ...

Is DES (128bits) of only 16bytes in 200 miliseconds too slow?

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 ...

APDU

270 byte By Wayne86Awa at 2007-10-3 11:50:13
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?

how to start with java card

415 byte By shekhar-scla at 2007-10-3 11:50:49
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 ...

urgent

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.

How do you time APDU comands?

407 byte By mag-guara at 2007-11-26 12:41:07
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 ...

can't access services from server using JSR 82

17871 byte By anindita_sarkara at 2007-11-26 12:47:21
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 ...

How can I view the member variable while debugging

472 byte By Realsomea at 2007-11-26 12:53:00
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 ...

Faint for JCOP error message T_T

554 byte By Realsomea at 2007-11-26 12:58:59
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 ...

PointBase 5.5 evaluate

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 ...

List of AIDs for sun library packages

164 byte By SuchetaSonia at 2007-11-26 13:16:17
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

how to get the JCOP Activation code?

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

KMC During Pre- Personalization and Perso

488 byte By chipconsultanta at 2007-11-26 13:16:32
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 ...

i'm just new in useing this

351 byte By touta_dadaa at 2007-11-26 13:20:47
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 ...

Is ACOS2 or ACOS5 compatible with Java Card?

304 byte By vendor.neta at 2007-11-26 13:25:00
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 ...

Read and Write Serialized Object to Random Access File

499 byte By dhenjhidza at 2007-11-26 13:27:00
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 ...

question of MHP test

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 ...

How can I get JetZ API?

305 byte By viktor.tamasa at 2007-11-26 13:38:49
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 ...

[request]ocap si retrieve example code

271 byte By Initial_Da at 2007-11-26 13:43:04
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!

about x509 in applet

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?

Where can I find a manual of JCOP

317 byte By Philipinaa at 2007-11-26 13:44:24
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 ...

bluetooth interaction

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 ...

how to program in smart card using java

224 byte By bharath@sonaa at 2007-11-26 13:53:32
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.

When is terminal profile sent?

648 byte By Gueversona at 2007-11-26 13:59:54
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 ...

problem with security features

1411 byte By jillemasha at 2007-11-26 14:05:43
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, ...

JCOP: How to close javacard applet operations?

656 byte By viktor.tamasa at 2007-11-26 14:13:14
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 ...

Can JavaCard be used to execute a ringtone saved on Nokia phone's harddrive

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?

SATSA API and supported mobile terminals

452 byte By ivalladta at 2007-11-26 14:40:05
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 ...

XML Parsing

190 byte By JWarriora at 2007-11-26 14:40:57
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

Java TV and IPTV

105 byte By Sajal.Mahajana at 2007-11-26 14:41:01
Is Java TV also for IPTV services? I mean Java TV API can also work with IPTV enabled set top box?

help me about smart cards

50 byte By ba12yua at 2007-11-26 14:46:25
how connecting to smart cards reader please

integer support in JCOP tools?

51 byte By zhurihin@bgs.rua at 2007-11-26 14:48:58
How to enable integer support in JCOP tools?

JCOP environment working with non-JCOP cards?

471 byte By mag-guara at 2007-11-26 14:54:04
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 ...

JCShell command response time in miliseconds

209 byte By mag-guara at 2007-11-26 14:54:06
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.

modifications to FileInputStream.java file

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 ...

Elliptic curve cryptography (ECC)

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?

Help regarding OCAP

250 byte By bhat_vasua at 2007-11-26 14:56:57
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?

converter: unsupported class file format of version 50.0.

641 byte By pyr-o-mana at 2007-11-26 14:58:46
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. ...

"Signing with JCOP30 "

1706 byte By NewOrchida at 2007-11-26 15:04:38
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 ...

Start Xlet in a new service

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?

Biometric Api

535 byte By Porto_Deva at 2007-11-26 15:09:22
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 ...

Invalid Card Cryptogram

2284 byte By Raaghuamateura at 2007-11-26 15:13:35
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 ...

MHP on IP Set-top box

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 ...

I am badly stuck with SIM toolkit applet loading and need help.

927 byte By tania-rahata at 2007-11-26 15:20:54
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?

168 byte By bilal116a at 2007-11-26 15:29:13
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.

apdutool and PCSC problems

465 byte By fastercata at 2007-11-26 15:29:40
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 ...