- 23 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
addTrustedInstallerSigner
- Mis à jour le 23 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
This option allows adding the signing certificate of a trusted app store to an allowlist when checkUntrustedInstaller is enabled.
Multiple addTrustedInstallerSigner options can be added to include multiple app stores in the allowlist.
Type: fingerprint
Default Value: N/A
Multiple allowed: Yes
Required: No
Depends on: checkUntrustedInstaller
The value to add for a given app store can be obtained with a tool called PubkeyHash that can be found under tools/PubkeyHash.jar provided that the APK file of the application is available.
The tool can be run like this:
java -jar PubkeyHash.jar file.apk
The output of this command is the value that should be used for this option.