[OCF] Using reader in browser

2001-02-01 Thread Cedric -
Hi, Is there any way I can port my card application into an Internet browser like IE? I am using the Gemplus GemXpresso RAD 211 international sample. Thanks very much. Regards.Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. --- > Visit the OpenCard web site at http://ww

Re: [OCF] Using reader in browser

2001-02-01 Thread Gunnar Osterode
Hi, as you can see in the mailing-list archive there are many problems running OCF in Browsers. In my opinion the best way is to use the Java2 Plugin. Just follow the description in Chapter 6 of the OCF Programmer's Guide! Kind regards Gunnar >Hi, > >Is there any way I can port my card appli

[OCF] How to sum int?

2001-02-01 Thread Jorge Lanza
I'm developing a JavaCard aplication in which I need numbers bigger than shorts. So the solution I've found is, storing the number as an array of bytes. However I've come up with the problem of how to add them. Has anybody had that kind of problem? Any help is welcome. --- > Visit the OpenCar

Re: [OCF] How to sum int?

2001-02-01 Thread Martin Ellis
>From JavaCard Technology for smartcards, p209 :- In a function add(byte[] A, byte AOff, byte[] B, byte BOff, byte[] C, byte COff, byte len) where C= A + B: -- short result = 0; for (len = (byte)(len - 1); len >= 0; len--) { result= (short)(getUnsignedByte(A,AOff, len)

[OCF] A proposal

2001-02-01 Thread Marc Palmer
Hi, I'm by no means an OCF expert but I think I have identified something that would be really useful, and I may even be implementing some of it myself anyway, so here's the rough outline of the idea. If people think there is mileage in this, please let me know. Perhaps I can turn it into an

[OCF] how to implement T=0 protocol............

2001-02-01 Thread student 98
Hi, Can anyone tell me how I can implement protocol T=0 for communication between the card and the reader. OCF implements only T=1 protocol for the APDU's. Please help if anybody knows. --- opencard student. _ Get your FREE

RE: [OCF] PKCS #11: Mechanism for C_DigestInit and C_VerifyInit

2001-02-01 Thread Mohammed SADIQ
Please note that for a PKCS#11 based application to use 'a' mechanism, both the module(dll or equivalent) AND the card need to support that mechanism. You better get the document of the module, and it will be clear. Regarding your question on verification, yeah! I will not be surprised if the m

RE: [OCF] PKCS #11: Mechanism for C_DigestInit and C_VerifyInit

2001-02-01 Thread Mohammed SADIQ
>The card do not support mechanism CKM_SHA_1, with which I am trying to >generate hash. In this case how can I generate the hash of the data? Simple! Do it outside the card ;-) --- > Visit the OpenCard web site at http://www.opencard.org/ for more > information on OpenCard---binaries, source co