Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrityService.java226 public boolean verifyPkcs7DetachedSignature(String signaturePath, String filePath) in verifyPkcs7DetachedSignature() argument
228 if (Files.size(Paths.get(signaturePath)) > MAX_SIGNATURE_FILE_SIZE_BYTES) { in verifyPkcs7DetachedSignature()
230 + signaturePath); in verifyPkcs7DetachedSignature()
232 byte[] signatureBytes = Files.readAllBytes(Paths.get(signaturePath)); in verifyPkcs7DetachedSignature()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DFontManagerShellCommand.java370 String signaturePath = shell.getNextArg(); in update() local
371 if (signaturePath == null) { in update()
378 ParcelFileDescriptor sigFd = shell.openFileForSystem(signaturePath, "r")) { in update()
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
DUpdatableSystemFontTest.java375 private int updateFontFile(String fontPath, String signaturePath) throws IOException { in updateFontFile() argument
376 byte[] signature = Files.readAllBytes(Paths.get(signaturePath)); in updateFontFile()
/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java217 String signaturePath = buildSignaturePathForDigests(digestsFile.getAbsolutePath()); in findSignatureForDigests() local
218 File signatureFile = new File(signaturePath); in findSignatureForDigests()
DInstallPackageHelper.java2138 final String signaturePath = entry.getValue(); in setUpFsVerity() local
2139 if (new File(signaturePath).exists()) { in setUpFsVerity()
2144 if (!fis.verifyPkcs7DetachedSignature(signaturePath, filePath)) { in setUpFsVerity()