aboutsummaryrefslogtreecommitdiff
path: root/src/applets/EC_Consts.java
diff options
context:
space:
mode:
authorpetrs2016-11-18 21:18:22 +0100
committerpetrs2016-11-18 21:18:22 +0100
commitb1b21aae218bec813a853938563234ad4e2d8668 (patch)
tree3836cf491fffe170a9578f693c82f1a158b3dff0 /src/applets/EC_Consts.java
parent7cf4a9d7272c1abd97a160c92ec1534d5ff82373 (diff)
downloadECTester-b1b21aae218bec813a853938563234ad4e2d8668.tar.gz
ECTester-b1b21aae218bec813a853938563234ad4e2d8668.tar.zst
ECTester-b1b21aae218bec813a853938563234ad4e2d8668.zip
Added support for multiple readers
Added support for mass gathering of ECC keys (refactoring needed)
Diffstat (limited to 'src/applets/EC_Consts.java')
-rw-r--r--src/applets/EC_Consts.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/applets/EC_Consts.java b/src/applets/EC_Consts.java
index b7128dc..b607921 100644
--- a/src/applets/EC_Consts.java
+++ b/src/applets/EC_Consts.java
@@ -9,6 +9,9 @@ import javacard.security.KeyPair;
import javacard.security.RandomData;
public class EC_Consts {
+ public static final byte TAG_ECPUBKEY = (byte) 0x41;
+ public static final byte TAG_ECPRIVKEY = (byte) 0x42;
+
public static byte[] EC_FP_P = null;
public static byte[] EC_FP_A = null;
public static byte[] EC_FP_B = null;