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

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: 8624

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: 12600

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