-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 15a3460
Showing
508 changed files
with
61,858 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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,44 @@ | ||
name: Android CI | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Build with Gradle | ||
run: ./gradlew build -x test -x lint | ||
|
||
- name: Archive APK | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ModLPA | ||
path: app/build/outputs/apk/release/app-release.apk | ||
|
||
- name: Archive APK | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ModLPA-debug | ||
path: app/build/outputs/apk/debug/app-debug.apk | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
continue-on-error: true | ||
with: | ||
files: app/build/outputs/apk/release/app-release.apk |
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,33 @@ | ||
# Gradle files | ||
.gradle/ | ||
build/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Log/OS Files | ||
*.log | ||
|
||
# Android Studio generated files and folders | ||
captures/ | ||
.externalNativeBuild/ | ||
.cxx/ | ||
*.apk | ||
output.json | ||
|
||
# IntelliJ | ||
*.iml | ||
.idea/ | ||
misc.xml | ||
deploymentTargetDropDown.xml | ||
render.experimental.xml | ||
|
||
# Keystore files | ||
*.jks | ||
*.keystore | ||
|
||
# Google Services (e.g. APIs or Firebase) | ||
google-services.json | ||
|
||
# Android Profiling | ||
*.hprof |
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,22 @@ | ||
## 4.0.3 (2023-04-06) | ||
|
||
Maintenance: | ||
- Update to latest dependency versions | ||
- Minor housekeeping | ||
|
||
## 4.0.2 (2022-08-23) | ||
|
||
Bugfix: | ||
- Fixed ProGuard rules for release build variant | ||
|
||
## 4.0.1 (2022-08-10) | ||
|
||
Features: | ||
- Added support for two new Identiv USB readers | ||
- Identive CLOUD 4700 F Dual Interface Reader | ||
- Identiv uTrust 4701 F Dual Interface Reader | ||
- Added error message for unknown USB readers | ||
|
||
## 4.0.0 (2022-06-24) | ||
|
||
Initial release for distribution. |
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,32 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 Infineon Technologies AG | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOURCE CODE AND ITS RELATED DOCUMENTATION IS PROVIDED "AS IS". INFINEON | ||
TECHNOLOGIES MAKES NO OTHER WARRANTY OF ANY KIND,WHETHER EXPRESS,IMPLIED OR, | ||
STATUTORY AND DISCLAIMS ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY, | ||
SATISFACTORY QUALITY, NON INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. | ||
|
||
THE SOURCE CODE AND DOCUMENTATION MAY INCLUDE ERRORS. INFINEON TECHNOLOGIES | ||
RESERVES THE RIGHT TO INCORPORATE MODIFICATIONS TO THE SOURCE CODE IN LATER | ||
REVISIONS OF IT, AND TO MAKE IMPROVEMENTS OR CHANGES IN THE DOCUMENTATION OR | ||
THE PRODUCTS OR TECHNOLOGIES DESCRIBED THEREIN AT ANY TIME. | ||
|
||
INFINEON TECHNOLOGIES SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT OR | ||
CONSEQUENTIAL DAMAGE OR LIABILITY ARISING FROM YOUR USE OF THE SOURCE CODE OR | ||
ANY DOCUMENTATION, INCLUDING BUT NOT LIMITED TO, LOST REVENUES, DATA OR | ||
PROFITS, DAMAGES OF ANY SPECIAL, INCIDENTAL OR CONSEQUENTIAL NATURE, PUNITIVE | ||
DAMAGES, LOSS OF PROPERTY OR LOSS OF PROFITS ARISING OUT OF OR IN CONNECTION | ||
WITH THIS AGREEMENT, OR BEING UNUSABLE, EVEN IF ADVISED OF THE POSSIBILITY OR | ||
PROBABILITY OF SUCH DAMAGES AND WHETHER A CLAIM FOR SUCH DAMAGE IS BASED UPON | ||
WARRANTY, CONTRACT, TORT, NEGLIGENCE OR OTHERWISE. |
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,17 @@ | ||
Extracted from UserManual V2.0 Chapter 2.0 | ||
=========================================== | ||
This license applies to "IdentiveReader.java" | ||
|
||
2.0 Licenses | ||
|
||
If the document contains source code examples, they are provided for illustrative purposes only and subject to the following restrictions: | ||
|
||
• You MAY at your own risk use or modify the source code provided in the document in | ||
applications you may develop. You MAY distribute those applications ONLY in form of | ||
compiled applications. | ||
|
||
• You MAY NOT copy or distribute parts of or the entire source code without prior | ||
written consent from Identive. | ||
|
||
• You MAY NOT combine or distribute the source code provided with Open Source | ||
Software or with software developed using Open Source Software in a manner that subjects the source code or any portion thereof to any license obligations of such Open Source Software. |
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,64 @@ | ||
# Infineon Android LPA (Local Profile Assistant) | ||
|
||
The Infineon Android LPA is an example implementation of an LPA according to GSMA SGP.22 v2.4.0 for | ||
the Android platform. It shall demonstrate the user experience of an eSIM and serve as example for | ||
OEM integration. | ||
|
||
This software is developed for and tested with the following eUICC: | ||
* [Infineon OPTIGA™ Connect Consumer (OC1120)](https://www.infineon.com/cms/en/product/security-smart-card-solutions/optiga-embedded-security-solutions/optiga-connect/optiga-connect-consumer/) | ||
|
||
To test this LPA, please feel free to download a profile from the Infineon Test SM-DP+ profile server: | ||
* [Infineon Test SM-DP+ profile server](https://softwaretools.infineon.com/projects/create/esim) | ||
|
||
## Features | ||
This software supports the following features: | ||
* LPA according to GSMA SGP.22 v2.4.0 | ||
* Listing of installed profiles | ||
* Profile download via GSMA Live or GSMA SGP.26 SM-DP+ profile servers | ||
* Confirmation code handling | ||
* Switching/Enabling/Disabling of profiles | ||
* Deleting of profiles | ||
* Support for two reader types: | ||
* Secure Element Reader: Reads an internal (soldered) or SIM slot inserted eSIM | ||
* Identiv USB Reader: Reads from an external Identiv USB reader (e.g. Identiv SCR3500) | ||
* Display of eUICC information | ||
* EID of the eUICC | ||
* PKI IDs available in the eUICC | ||
* GSMA SGP.22 version supported by the eUICC | ||
* TCA eUICC Profile Package version supported by the eUICC | ||
|
||
## Implementation information | ||
### Development environment | ||
* Android Studio Chipmunk 2021.2.1 | ||
|
||
### Project structure | ||
* com.infineon.esim.lpa | ||
* Android implementation with LPA user interface | ||
* com.infineon.esim.lpa.core | ||
* Core LPA logic | ||
* com.gsma.sgp.messages | ||
* Java classes of GSMA SGP.22 messages (ASN1 schema) | ||
* com.infineon.esim.util | ||
* Utility classes | ||
|
||
### Software Dependencies | ||
The Infineon Android LPA is based on the following dependencies: | ||
* Android CCID Library v1.2 for Identiv USB smartcard readers | ||
* This library serves as an interface between Android platform with USB host support and | ||
Identiv CCID compliant USB smartcard readers. Android application developers will | ||
integrate this library as part of their Android application to communicate with Identiv’s | ||
CCID readers. | ||
* Automatically downloaded via Gradle task before build | ||
* Other dependencies see in app/build.gradle | ||
|
||
## Authors | ||
|
||
Michael Spähn (IFAG CSS M CS AE)\ | ||
Application Engineering\ | ||
[email protected] | ||
|
||
Tan Siow Kiat (IFAP CSS SMD AP TM SAE ITS)\ | ||
Systems Application Engineering IoT Systems\ | ||
[email protected] | ||
|
||
Infineon Technologies AG |
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,2 @@ | ||
/build | ||
/libs |
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 @@ | ||
-keep class com.infineon.esim.lpa.euicc.AraInhibitor { *; } |
Oops, something went wrong.