cargo-ndk builds libcertgen.so for arm64-v8a during prepareModuleFiles. AGP mergeJniLibFolders picks up jniLibs/ and routes through stripped_native_libs into the module ZIP. customize.sh extracts the .so on device install. ProGuard keeps NativeCertGen JNI class and CertGenConfig fields for runtime JNI field access.
16 lines
481 B
Prolog
16 lines
481 B
Prolog
-keep class org.matrix.TEESimulator.interception.keystore.** { *; }
|
|
|
|
-keep class org.bouncycastle.jcajce.provider.** { *; }
|
|
-keep class org.bouncycastle.jce.provider.** { *; }
|
|
-dontwarn javax.naming.**
|
|
|
|
-keepclasseswithmembers class org.matrix.TEESimulator.App {
|
|
public static void main(java.lang.String[]);
|
|
}
|
|
|
|
-keepclasseswithmembers class org.matrix.TEESimulator.pki.NativeCertGen {
|
|
native <methods>;
|
|
*;
|
|
}
|
|
-keep class org.matrix.TEESimulator.pki.CertGenConfig { *; }
|