JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

how to include derivation class

JavaCard Applet Development Related Questions and Answers.
verena3721
Posts: 5
Joined: Tue Mar 17, 2020 3:56 am
Points :132
Contact:

how to include derivation class

Post by verena3721 » Wed Jun 17, 2020 11:50 am

Hello,
I am trying to include the dertivation package into my project https://docs.oracle.com/en/java/javacar ... mmary.html
I've downloaded the JavaCardKit which is supposed to have it included (from Oracle) but i can only find a derivation.exp file. I was hoping for a .jar file .

I have no idea how to include this file into my project.

Thank you

kuafu
Posts: 317
Joined: Thu Jun 25, 2015 2:09 am
Points :4559
Contact:

Re: how to include derivation class

Post by kuafu » Thu Jun 18, 2020 8:23 am

class of package javacardx.security.derivation is in api_classic-3.1.0.jar
well

verena3721
Posts: 5
Joined: Tue Mar 17, 2020 3:56 am
Points :132
Contact:

Re: how to include derivation class

Post by verena3721 » Tue Jun 23, 2020 3:24 am

Thanks for your reply.
Yes I found it and included the api_classic-3.1.0.jar but now I have problems with the export files.

error: export file framework.exp of package javacard.framework not found

I tried making the export files of 3.1.0 to a jar and included it but it still does not work. I am thinking it has something to do with the exportpath maybe?
I am using JCIDE version 5 and I don't know where I could edit this path.

verena3721
Posts: 5
Joined: Tue Mar 17, 2020 3:56 am
Points :132
Contact:

Re: how to include derivation class

Post by verena3721 » Tue Jun 23, 2020 3:24 am

Okay I figured out I was trying to make a jar file with cf instead of cvf, so the pathes where not the correct ones.

Now I have both added the api_classic and the export files to my project, and now I get following error:

Unsupported export file version number 2.3

Now I dont know what to try next..
Last edited by verena3721 on Tue Jun 23, 2020 3:48 am, edited 1 time in total.

kuafu
Posts: 317
Joined: Thu Jun 25, 2015 2:09 am
Points :4559
Contact:

Re: how to include derivation class

Post by kuafu » Tue Jun 23, 2020 3:48 am

JCKit didn't support java card kit 3.1xx. Please wait next version .
well

verena3721
Posts: 5
Joined: Tue Mar 17, 2020 3:56 am
Points :132
Contact:

Re: how to include derivation class

Post by verena3721 » Tue Jun 23, 2020 3:53 am

Alright thank you for your fast reply.

I am trying to code a HKDF, would this be possible without the Derivation package?

kuafu
Posts: 317
Joined: Thu Jun 25, 2015 2:09 am
Points :4559
Contact:

Re: how to include derivation class

Post by kuafu » Tue Jun 23, 2020 3:59 am

You can build your applet with this build tool .
ant-javacardhttps://github.com/martinpaljak/ant-javacard.
But you can't debug.Because there is no simulator support javacard 3.1.xx.
well

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 32 guests

JavaCard OS : Disclaimer