Searched refs:signaturePath (Results 1 – 5 of 5) sorted by relevance
226 public boolean verifyPkcs7DetachedSignature(String signaturePath, String filePath) in verifyPkcs7DetachedSignature() argument228 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()
370 String signaturePath = shell.getNextArg(); in update() local371 if (signaturePath == null) { in update()378 ParcelFileDescriptor sigFd = shell.openFileForSystem(signaturePath, "r")) { in update()
375 private int updateFontFile(String fontPath, String signaturePath) throws IOException { in updateFontFile() argument376 byte[] signature = Files.readAllBytes(Paths.get(signaturePath)); in updateFontFile()
217 String signaturePath = buildSignaturePathForDigests(digestsFile.getAbsolutePath()); in findSignatureForDigests() local218 File signatureFile = new File(signaturePath); in findSignatureForDigests()
2138 final String signaturePath = entry.getValue(); in setUpFsVerity() local2139 if (new File(signaturePath).exists()) { in setUpFsVerity()2144 if (!fis.verifyPkcs7DetachedSignature(signaturePath, filePath)) { in setUpFsVerity()