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

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 ,it is not verified.(as I said before I created the sign by card)

for verify signing in host side I got the public key from the card whit

getexponent and getmodulus command ,but it is not verified.

I'll appreciate for any help.

sincerely yours,

Orchid

[599 byte] By [NewOrchida] at [2007-10-3 11:38:47]
# 1

Didi you use the correct way for exporting the public key and reassembling the offcard RSAPublicKey?

The thread "how to export RSA public key from card?"

http://forum.java.sun.com/thread.jspa?forumID=23&threadID=491161

includes some really essential code parts which you need for this reconstruction.

Jan

JPJavaa at 2007-7-15 14:07:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...