├── .gitignore ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── reveny │ │ └── nativekeyattestation │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── ic_launcher-playstore.png │ ├── java │ │ └── com │ │ │ └── reveny │ │ │ └── nativekeyattestation │ │ │ └── MainActivity.java │ ├── jni │ │ ├── Build │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ ├── Include │ │ │ ├── Logger.hpp │ │ │ └── SafeJNI.hpp │ │ ├── KeyAttestation │ │ │ ├── Asn1Utils.hpp │ │ │ ├── KeyAttestation.cpp │ │ │ ├── KeyAttestation.hpp │ │ │ └── RootOfTrust.hpp │ │ └── Main.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── ic_launcher_background.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ └── test │ └── java │ └── com │ └── reveny │ └── nativekeyattestation │ └── ExampleUnitTest.java ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── images └── preview.png └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/reveny/nativekeyattestation/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/androidTest/java/com/reveny/nativekeyattestation/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/ic_launcher-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/ic_launcher-playstore.png -------------------------------------------------------------------------------- /app/src/main/java/com/reveny/nativekeyattestation/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/java/com/reveny/nativekeyattestation/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/jni/Build/Android.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/Build/Android.mk -------------------------------------------------------------------------------- /app/src/main/jni/Build/Application.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/Build/Application.mk -------------------------------------------------------------------------------- /app/src/main/jni/Include/Logger.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/Include/Logger.hpp -------------------------------------------------------------------------------- /app/src/main/jni/Include/SafeJNI.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/Include/SafeJNI.hpp -------------------------------------------------------------------------------- /app/src/main/jni/KeyAttestation/Asn1Utils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/KeyAttestation/Asn1Utils.hpp -------------------------------------------------------------------------------- /app/src/main/jni/KeyAttestation/KeyAttestation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/KeyAttestation/KeyAttestation.cpp -------------------------------------------------------------------------------- /app/src/main/jni/KeyAttestation/KeyAttestation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/KeyAttestation/KeyAttestation.hpp -------------------------------------------------------------------------------- /app/src/main/jni/KeyAttestation/RootOfTrust.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/KeyAttestation/RootOfTrust.hpp -------------------------------------------------------------------------------- /app/src/main/jni/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/jni/Main.cpp -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/values/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/xml/backup_rules.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/main/res/xml/data_extraction_rules.xml -------------------------------------------------------------------------------- /app/src/test/java/com/reveny/nativekeyattestation/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/app/src/test/java/com/reveny/nativekeyattestation/ExampleUnitTest.java -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/gradlew.bat -------------------------------------------------------------------------------- /images/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/images/preview.png -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reveny/Android-Native-KeyAttestation/HEAD/settings.gradle --------------------------------------------------------------------------------