The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

Search found 2 matches

by Peterson
Tue Jun 23, 2015 6:06 am
Forum: Algorithm School
Topic: reconstruct an ECPublicKey from JavaCard to Java
Replies: 1
Views: 1062

reconstruct an ECPublicKey from JavaCard to Java

I need to implement ECDH between a terminal side and a java card side. ECPublicKey pubKey = (ECPublicKey) KeyBuilder.buildKey( KeyBuilder.TYPE_EC_FP_PUBLIC, (short) 0x0100, false); pubKey.setFieldFP(p, (short) 0x0001, (short) 0x0020); pubKey.setA(a, (short) 0x0001, (short) 0x0020); pubKey.setB(b, (s...
by Peterson
Thu May 28, 2015 1:27 am
Forum: Questions & Answers
Topic: What is the difference between Util.arrayCopy and Util.arrayCopyNonAtomic?
Replies: 1
Views: 2485

What is the difference between Util.arrayCopy and Util.arrayCopyNonAtomic?

I am a javacard beginner. And I'm trying to develop javacard applet, but I do not know which function to use when copying arrays, Util.arrayCopy or Util.arrayCopyNonAtomic ? What's the difference between them?

Can anyone give me some brief idea? thanks
JavaCard OS : Disclaimer