Searched refs:signaturePath (Results 1 – 5 of 5) sorted by relevance
162 public boolean verifyPkcs7DetachedSignature(String signaturePath, String filePath) in verifyPkcs7DetachedSignature() argument164 if (Files.size(Paths.get(signaturePath)) > MAX_SIGNATURE_FILE_SIZE_BYTES) { in verifyPkcs7DetachedSignature()166 + signaturePath); in verifyPkcs7DetachedSignature()168 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()
394 private int updateFontFile(String fontPath, String signaturePath) throws IOException { in updateFontFile() argument395 byte[] signature = Files.readAllBytes(Paths.get(signaturePath)); in updateFontFile()
214 String signaturePath = buildSignaturePathForDigests(digestsFile.getAbsolutePath()); in findSignatureForDigests() local215 File signatureFile = new File(signaturePath); in findSignatureForDigests()
2014 final String signaturePath = entry.getValue(); in setUpFsVerity() local2015 if (new File(signaturePath).exists()) { in setUpFsVerity()2020 if (!fis.verifyPkcs7DetachedSignature(signaturePath, filePath)) { in setUpFsVerity()