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;
	


}

@@ -9,17 +9,19 @@
 backend;
-%0A
+%0D%0A%0D
 %0Apublic 
@@ -42,17 +42,19 @@
 Values %7B
-%0A
+%0D%0A%0D
 %0A%09public
@@ -83,16 +83,17 @@
 H = 162;
+%0D
 %0A%09public
@@ -156,32 +156,33 @@
 byte (which = 0)
+%0D
 %0A%09public int PUB
@@ -194,16 +194,17 @@
 ENT = 3;
+%0D
 %0A%09public
@@ -268,32 +268,33 @@
 byte (which = 0)
+%0D
 %0A%09public int PRI
@@ -359,16 +359,17 @@
 ich = 0)
+%0D
 %0A%09public
@@ -388,16 +388,17 @@
 GTH = 8;
+%0D
 %0A%09public
@@ -430,16 +430,17 @@
  //162+8
+%0D
 %0A%09public
@@ -465,11 +465,55 @@
 128;
+%0D
 %0A%09
-%0A%0A
+%0D%0A%09public int EXPIRATIONSTARTPOS = 129;%0D%0A%0D%0A%0D
 %0A%7D
+%0D
 %0A

add position byte for expiration date in certificate