-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
649 additions
and
804 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<parent> | ||
<groupId>com.github.martinpaljak</groupId> | ||
<artifactId>metacard</artifactId> | ||
<version>20.01.14</version> | ||
<version>20.02.19</version> | ||
</parent> | ||
<version>20.01.23</version> | ||
<artifactId>gppro</artifactId> | ||
|
@@ -25,11 +25,16 @@ | |
<url>https://github.com/martinpaljak/GlobalPlatformPro</url> | ||
<developerConnection>scm:git:[email protected]:martinpaljak/globalplatformpro.git</developerConnection> | ||
</scm> | ||
<repositories> | ||
<repository> | ||
<id>javacard-pro</id> | ||
<url>https://javacard.pro/maven/</url> | ||
</repository> | ||
</repositories> | ||
<modules> | ||
<module>tool</module> | ||
<module>library</module> | ||
</modules> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* GlobalPlatformPro - GlobalPlatform tool | ||
* | ||
* Copyright (C) 2015-2020 Martin Paljak, [email protected] | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 3.0 of the License, or (at your option) any later version. | ||
* | ||
* This library is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this library; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
package pro.javacard.gp; | ||
|
||
import apdu4j.BIBO; | ||
import apdu4j.i.SmartCardApp; | ||
import com.google.auto.service.AutoService; | ||
|
||
/** | ||
* Provides an apdu4j compatible SmartCardApp interface | ||
*/ | ||
@AutoService(SmartCardApp.class) | ||
public final class GP implements SmartCardApp { | ||
|
||
// Public constructor for service initialization | ||
public GP() { | ||
} | ||
|
||
@Override | ||
public int run(BIBO bibo, String[] args) { | ||
return new GPTool().run(bibo, args); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.