From 484a1e478be3d1ed805160c057af4bd4a8236f62 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 12 Oct 2023 17:37:41 +0200 Subject: [PATCH] Ignore auto-generated files --- .gitignore | 5 +- hwb1/.gen/.gitignore | 1 - hwb1/.gen/hwb1/MyAppletStrings.java | 8 -- hwb1/apdu_scripts/digest-hwb1.txt | 12 --- hwb1/deliverables/hwb1/hwb1/javacard/hwb1.cap | Bin 5306 -> 0 bytes hwb1/deliverables/hwb1/hwb1/javacard/hwb1.exp | Bin 33 -> 0 bytes hwb1/deliverables/hwb1/hwb1/javacard/hwb1.jca | 102 ------------------ 7 files changed, 4 insertions(+), 124 deletions(-) delete mode 100644 hwb1/.gen/.gitignore delete mode 100644 hwb1/.gen/hwb1/MyAppletStrings.java delete mode 100644 hwb1/apdu_scripts/digest-hwb1.txt delete mode 100644 hwb1/deliverables/hwb1/hwb1/javacard/hwb1.cap delete mode 100644 hwb1/deliverables/hwb1/hwb1/javacard/hwb1.exp delete mode 100644 hwb1/deliverables/hwb1/hwb1/javacard/hwb1.jca diff --git a/.gitignore b/.gitignore index 4c8fd93..746ad65 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -# ---> Eclipse .metadata bin/ tmp/ @@ -60,3 +59,7 @@ local.properties # Typically, this file would be tracked if it contains build/dependency configurations: #.project +# Java Card SDK +.gen/ +deliverables/ +apdu_scripts/digest-*.txt diff --git a/hwb1/.gen/.gitignore b/hwb1/.gen/.gitignore deleted file mode 100644 index 20b9cb5..0000000 --- a/hwb1/.gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/hwb1/ diff --git a/hwb1/.gen/hwb1/MyAppletStrings.java b/hwb1/.gen/hwb1/MyAppletStrings.java deleted file mode 100644 index 59f9942..0000000 --- a/hwb1/.gen/hwb1/MyAppletStrings.java +++ /dev/null @@ -1,8 +0,0 @@ -package hwb1; - -final class MyAppletStrings { - - static final byte[] Package = new byte[] {0x68, 0x77, 0x62, 0x31, }; - static final byte[] AppletName = new byte[] {0x4d, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x74, }; - -} diff --git a/hwb1/apdu_scripts/digest-hwb1.txt b/hwb1/apdu_scripts/digest-hwb1.txt deleted file mode 100644 index ccaf5d9..0000000 --- a/hwb1/apdu_scripts/digest-hwb1.txt +++ /dev/null @@ -1,12 +0,0 @@ -Digest for hwb1/javacard/ConstantPool.cap [SHA-256: 6c5bf615cd3746d52c815e8264b910a41a94217161862a7520087799fd03098b] -Digest for hwb1/javacard/Debug.cap [SHA-256: 0247d72e4a6b685f23bc380c218522f6e8906d38158579ad5c57177ae67f18cc] -Digest for hwb1/javacard/Directory.cap [SHA-256: a38a6a20b2537681a3697a2d003fbc480d4b529618a7dfae8eeeff8fd952514e] -Digest for hwb1/javacard/RefLocation.cap [SHA-256: b2b3f5e23eee662b8c406212d5cb291959a8eeddb92e58b9a45941c0b91388be] -Digest for hwb1/javacard/Applet.cap [SHA-256: 0aefcbcd7c0a951f88b522d9a840fb851c15c1f92cf8cd2ac55ec1d188e9687b] -Digest for hwb1/javacard/Descriptor.cap [SHA-256: ae5b4ee1c0c7b98f7916a7a75e0521e7ae1450d1a13897f8f92764503edc8db9] -Digest for hwb1/javacard/Class.cap [SHA-256: af7f91359fc2e4feefa1653905001e7589a5cb1d241c960b99d749f3e828f366] -Digest for hwb1/javacard/Import.cap [SHA-256: 8cc3642a6d49023dc39aece31584cf15757e6bbcbc1e299514366eae84efce86] -Digest for hwb1/javacard/Method.cap [SHA-256: 651231359c6bb65fbcb0e3a49f52cee1a682ed7e97610365b374583638757365] -Digest for hwb1/javacard/Header.cap [SHA-256: 30bc8192745192eecda697856d62c5d7734b17897944959c6c8876caf6949e41] -Digest for hwb1/javacard/StaticField.cap [SHA-256: 983c0b9dbdc069d517cb18c91ff8d9816b50f1f949ca135f828fcaa4faca3b2e] -Verification completed with 0 warnings and 0 errors. diff --git a/hwb1/deliverables/hwb1/hwb1/javacard/hwb1.cap b/hwb1/deliverables/hwb1/hwb1/javacard/hwb1.cap deleted file mode 100644 index e7c63e20eda9cc8a63cc6df46e7f967a2187470d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5306 zcmd^DeQXow8Gr81_BoCNCgg*x8Mx+SAtOGAkO4^ubrLc{oYY|R5$HzG_K}!4w(D~U zNu~)DkWkAsV04VJigi`Dj;>QFRp}^9KwCQ4s&+`Ns!A=;siW0InS{1>A5Hc=ceXEg zChhk34DZGFe*E6&eV*U@eAwT~nM%NFwL)^AZzD|llz<7kRt3E^9o_9hm$$p4eN`an z?rI;u0@G_j&nmlpE&TuY&Oce&bAxjZx0POKKQGfqqX}=4mm2mwfpuz-hX1#mP>El?7u$x zX=tveyx~IAk8h0Z+8q4N;a5+z1fu@?*1lO-P*~CWomqlo{^9!VcVgVT=Py@&H2m`B zx5tj$8LoRQ5o8sizOFxv|=}rRd`^=Jl?BkFQ*re!2O%TUQUn zq}RM}c(1i=+-&`k`R0cwmz-F-du+v>NcpXe@`4YGS3Fev?nk3%U)b?txZ(NFUU%(# zy6@um!VA1b<(s zPqV+1x7Jnvp?ib@=;HwVXg?c(6%_kj?EUfZN3}mfc`Drt^qsT7Y2G%JV^EqAU}d1@#7iC=ml~AujlteUcI>5= zkGxLW=1YVTJrO6d3ltKWO&o8s=>^CHqiR>hlLZl&TkHu-g zAtHl>_6s51;ml34FtUjKlPN zt)&khXP(sySyk7uY!PltE#L5MQfRQ3P+-B#V`}6E0-6RK?zPQSDd6GVmTrx9K)yj4gDnUiMN?W zG3X44MBa#4X97-7ur+Tie{nfZp+*ir7p${(a_=07HLb*lbBC0Y@m8&H)w(?{rxXt- zBB=iruJyt8nq{t)&9J=7yJhj56E?*$rCk==-3R&Y}Nn0#O8)RiHd;fDNB-d1% zJKb&}_dk*d%Yq6b3(i7+ zbq8-mfJ~HOzBtSv0>v5B!IXi90b3w3m0D~{QzEax*0o&tvI`so|_dX@qPh7uLF5&x3!FQ`5ZCDkuL zsRlev0iq~EF=UYfZdWH`G$5bPU|MhwK1sfMY~+0y4S+-kj42c@%GANkLRwmh=@sow zX)FtK^nt@#c=RVXa5c3WobYAL%!Xn;L1!rhy=z=oc$yd6@hF)vo*~hsV2(6t3dfXm zB+E;Mx0J8hDeJN*nVTK8VfpVVtL8Vv$eDJG&;>aLPLVno$aD8x#DgLchgeiMF^F<+ zluGHLY=8vCiVTuyTl)C;v(_HY(HHD7IfjBgW=AO4V{z05PeGx>stk3}&@c^oX($=& z;pt&@#DYBzi$lUE??~fC_@ox zgff()V; - // 1 - .classRef MyApplet; - // 2 - staticMethodRef 0.3.0()V; // javacard/framework/Applet.()V - // 3 - virtualMethodRef 0.3.1()V; // register()V - // 4 - staticMethodRef 1.0.0()V; // java/lang/Object.()V - } - - .class public MyApplet 0 extends 0.3 { // extends javacard/framework/Applet - - .publicMethodTable 7 8 { - equals(Ljava/lang/Object;)Z 0; - register()V 1; - register([BSB)V 2; - selectingApplet()Z 3; - deselect()V 4; - getShareableInterfaceObject(Ljavacard/framework/AID;B)Ljavacard/framework/Shareable; 5; - select()Z 6; - process(Ljavacard/framework/APDU;)V 7; - } - - .packageMethodTable 0 { - } - - .method public static install([BSB)V 0 { - .stack 1; - .locals 0; - - L0: new 1; // hwb1/MyApplet - invokespecial 0; // hwb1/MyApplet.()V - return; - } - - .method protected ()V 1 { - .stack 1; - .locals 0; - - L0: aload_0; - invokespecial 2; // javacard/framework/Applet.()V - aload_0; - invokevirtual 3; // register()V - return; - } - - .method public process(Ljavacard/framework/APDU;)V 7 { - .stack 0; - .locals 0; - - .descriptor Ljavacard/framework/APDU; 0.10; - - L0: return; - } - - } - - .class final MyAppletStrings extends 1.0 { // extends java/lang/Object - - .fields { - static final byte[] Package = {104,119,98,49}; // [B - static final byte[] AppletName = {77,121,65,112,112,108,101,116}; // [B - } - - .publicMethodTable 1 1 { - equals(Ljava/lang/Object;)Z 0; - } - - .packageMethodTable 0 { - } - - .method ()V { - .stack 1; - .locals 0; - - L0: aload_0; - invokespecial 4; // java/lang/Object.()V - return; - } - - } - -}