Home
last modified time | relevance | path

Searched refs:signaturePath (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/security/
DVerityUtils.java68 public static void setUpFsverity(@NonNull String filePath, @NonNull String signaturePath) in setUpFsverity() argument
70 if (Files.size(Paths.get(signaturePath)) > MAX_SIGNATURE_FILE_SIZE_BYTES) { in setUpFsverity()
71 throw new SecurityException("Signature file is unexpectedly large: " + signaturePath); in setUpFsverity()
73 byte[] pkcs7Signature = Files.readAllBytes(Paths.get(signaturePath)); in setUpFsverity()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17498 final String signaturePath = entry.getValue();
17502 if (new File(signaturePath).exists() && !VerityUtils.hasFsverity(filePath)) {
17504 VerityUtils.setUpFsverity(filePath, signaturePath);