java: Overhaul detection of attestation properties
- Reuse and extend the attestation we perform for detection of functional TEE. - Extract properties like boot hash, os version, attest version, keymaster version from the generated certificate. - Use previous methods as fallback for devices without functional TEE. - Set ro.boot.vbmeta.digest during initialization with the boot hash value. Signed-off-by: Dakkshesh <beakthoven@gmail.com>
This commit is contained in:
@@ -9,4 +9,8 @@ public class SystemProperties {
|
||||
public static String get(String key, String def) {
|
||||
throw new RuntimeException("");
|
||||
}
|
||||
|
||||
public static void set(String key, String val) {
|
||||
throw new RuntimeException("");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user