Searched refs:VerityUtils (Results 1 – 17 of 17) sorted by relevance
16 "file_patterns": ["VerityUtils\\.java"]20 "file_patterns": ["VerityUtils\\.java"]26 "file_patterns": ["VerityUtils\\.java"]
3 per-file VerityUtils.java = file:platform/system/security:/fsverity/OWNERS
53 public abstract class VerityUtils { class
25 import com.android.internal.security.VerityUtils;66 VerityUtils.setUpFsverity(parcelFileDescriptor.getFd()); in setUpFsVerity()
42 import com.android.internal.security.VerityUtils;91 return VerityUtils.isFsVeritySupported(); in isApkVeritySupported()107 if (!VerityUtils.isFsVeritySupported()) { in isAppSourceCertificateTrusted()233 byte[] digest = VerityUtils.getFsverityDigest(filePath); in verifyPkcs7DetachedSignature()238 if (VerityUtils.verifyPkcs7DetachedSignature(signatureBytes, digest, in verifyPkcs7DetachedSignature()
32 import com.android.internal.security.VerityUtils;152 return VerityUtils.getFsverityDigest(file.getPath()); in getFsVerityDigest()
45 import com.android.internal.security.VerityUtils;190 final byte[] digest = VerityUtils.getFsverityDigest(fontPath); in isFromTrustedProvider()197 if (VerityUtils.verifyPkcs7DetachedSignature(pkcs7Signature, digest, is)) { in isFromTrustedProvider()209 VerityUtils.setUpFsverity(filePath); in setUpFsverity()285 if (!VerityUtils.isFsVeritySupported()) return null; in createUpdatableFontDir()
30 import com.android.internal.security.VerityUtils;118 final byte[] actualDigest = VerityUtils.getFsverityDigest(apk.getAbsolutePath()); in extractSignature()123 VerityUtils.generateFsVerityDigest(apk.length(), hashingInfo); in extractSignature()
33 import com.android.internal.security.VerityUtils;81 return VerityUtils.isFsVeritySupported() in isFsVerityRequired()
249 return VerityUtils.verifyPkcs7DetachedSignature( in verifySignature()254 return VerityUtils.toFormattedDigest(digest); in toFormattedDigest()
63 import com.android.internal.security.VerityUtils;652 if (VerityUtils.hasFsverity(filePath)) { in extractHashFromFS()653 byte[] verityHash = VerityUtils.getFsverityDigest(filePath); in extractHashFromFS()
180 import com.android.internal.security.VerityUtils;852 if (VerityUtils.isFsveritySignatureFile(file)) return false;1594 VerityUtils.setUpFsverity(file.getPath()); in enableFsVerityToAddedApksWithIdsig()3443 && VerityUtils.hasFsverity(pkgInfo.applicationInfo.getBaseCodePath())3444 && (new File(VerityUtils.getFsveritySignatureFilePath(3851 VerityUtils.getFsveritySignatureFilePath(origFile.getPath()));3854 VerityUtils.getFsveritySignatureFilePath(targetFile.getPath()));3969 VerityUtils.getFsveritySignatureFilePath(origFile.getPath()));4001 && VerityUtils.isFsVeritySupported()) {4014 VerityUtils.getFsveritySignatureFilePath(origFile.getPath()));
170 import com.android.internal.security.VerityUtils;2112 VerityUtils.getFsveritySignatureFilePath(pkg.getBaseApkPath())); in setUpFsVerity()2117 fsverityCandidates.put(dmPath, VerityUtils.getFsveritySignatureFilePath(dmPath)); in setUpFsVerity()2121 fsverityCandidates.put(path, VerityUtils.getFsveritySignatureFilePath(path)); in setUpFsVerity()2126 VerityUtils.getFsveritySignatureFilePath(splitDmPath)); in setUpFsVerity()2134 if (VerityUtils.hasFsverity(filePath)) { in setUpFsVerity()2142 VerityUtils.setUpFsverity(filePath); in setUpFsVerity()
11527 com.android.internal.security.VerityUtils
33963 Lcom/android/internal/security/VerityUtils;
11558 com.android.internal.security.VerityUtils
44124 Lcom/android/internal/security/VerityUtils;