package backend;

public class ConstantValues {

	public int RSAPUBLICKEYLENGTH = 162;
	public int PUBMODULUS = 128; // after you strip off the first byte (which = 0)
	public int PUBEXPONENT = 3;
	public int PRIVMODULUS = 128; // after you strip off the first byte (which = 0)
	public int PRIVEXPONENT = 128; // after you strip off the first byte (which = 0)
	public int EXP_LENGTH = 8;
	public int PK_EXP_LENGTH = 170; //162+8
	public int SIG_LENGTH = 128;
	
	public int EXPIRATIONSTARTPOS = 129;
	
	public int CARDCERT_LENGTH = 265;
	public int TERMINALCERT_LENGTH = 257;


}

@@ -13,16 +13,48 @@
 end;%0D%0A%0D%0A
+import java.math.BigInteger;%0D%0A%0D%0A
 public c
@@ -302,32 +302,107 @@
 te (which = 0)%0D%0A
+%09public BigInteger PUBEXPONENT_BYTE = new BigInteger(%2265537%22.getBytes());%0D%0A
 %09public int PRIV
@@ -651,16 +651,16 @@
 = 265;%0D%0A
-
 %09public 
@@ -691,15 +691,18 @@
 = 257;%0D%0A
+%09%0D%0A
 %0D%0A%0D%0A%7D%0D%0A

Add pubexponent bigint