Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java98 @Nullable SignatureInfo signatureInfo, @NonNull ByteBufferFactory bufferFactory) in generateApkVerityTree() argument
100 return generateVerityTreeInternal(apk, bufferFactory, signatureInfo, in generateApkVerityTree()
106 @NonNull ByteBufferFactory bufferFactory, @Nullable SignatureInfo signatureInfo, in generateVerityTreeInternal() argument
112 signatureInfo.centralDirOffset - signatureInfo.apkSigningBlockOffset; in generateVerityTreeInternal()
125 byte[] apkRootHash = generateVerityTreeInternal(apk, signatureInfo, salt, levelOffset, in generateVerityTreeInternal()
131 @NonNull SignatureInfo signatureInfo, @NonNull ByteBuffer footerOutput) in generateApkVerityFooter() argument
136 signatureInfo.centralDirOffset - signatureInfo.apkSigningBlockOffset; in generateApkVerityFooter()
137 generateApkVerityExtensions(footerOutput, signatureInfo.apkSigningBlockOffset, in generateApkVerityFooter()
138 signingBlockSize, signatureInfo.eocdOffset); in generateApkVerityFooter()
147 @NonNull ByteBuffer apkDigest, @NonNull SignatureInfo signatureInfo) in generateApkVerityRootHash() argument
[all …]
DApkSigningBlockUtils.java90 SignatureInfo signatureInfo) throws SecurityException { in verifyIntegrity() argument
109 signatureInfo); in verifyIntegrity()
118 expectedDigests.get(CONTENT_DIGEST_VERITY_CHUNKED_SHA256), apk, signatureInfo); in verifyIntegrity() local
130 SignatureInfo signatureInfo) throws SecurityException { in verifyIntegrityFor1MbChunkBasedAlgorithm() argument
143 signatureInfo.apkSigningBlockOffset); in verifyIntegrityFor1MbChunkBasedAlgorithm()
146 apkFileDescriptor, signatureInfo.centralDirOffset, in verifyIntegrityFor1MbChunkBasedAlgorithm()
147 signatureInfo.eocdOffset - signatureInfo.centralDirOffset); in verifyIntegrityFor1MbChunkBasedAlgorithm()
151 ByteBuffer eocdBuf = signatureInfo.eocd.duplicate(); in verifyIntegrityFor1MbChunkBasedAlgorithm()
153 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, signatureInfo.apkSigningBlockOffset); in verifyIntegrityFor1MbChunkBasedAlgorithm()
304 byte[] data, long fileSize, SignatureInfo signatureInfo) throws SecurityException { in parseVerityDigestAndVerifySourceLength() argument
[all …]
DApkSignatureSchemeV2Verifier.java147 SignatureInfo signatureInfo = findSignature(apk); in verify() local
148 return verify(apk, signatureInfo, verifyIntegrity); in verify()
172 SignatureInfo signatureInfo, in verify() argument
185 signers = getLengthPrefixedSlice(signatureInfo.signatureBlock); in verify()
211 ApkSigningBlockUtils.verifyIntegrity(contentDigests, apk, signatureInfo); in verify()
218 verityDigest, apk.length(), signatureInfo); in verify()
402 SignatureInfo signatureInfo = findSignature(apk); in getVerityRootHash() local
412 SignatureInfo signatureInfo = findSignature(apk); in generateApkVerity() local
413 return VerityBuilder.generateApkVerity(apkPath, bufferFactory, signatureInfo); in generateApkVerity()
421 SignatureInfo signatureInfo = findSignature(apk); in generateApkVerityRootHash() local
[all …]
DApkSignatureSchemeV3Verifier.java143 SignatureInfo signatureInfo = findSignature(apk); in verify() local
144 return verify(apk, signatureInfo, verifyIntegrity); in verify()
168 SignatureInfo signatureInfo, in verify() argument
181 signers = getLengthPrefixedSlice(signatureInfo.signatureBlock); in verify()
214 ApkSigningBlockUtils.verifyIntegrity(contentDigests, apk, signatureInfo); in verify()
220 verityDigest, apk.length(), signatureInfo); in verify()
526 SignatureInfo signatureInfo = findSignature(apk); in getVerityRootHash() local
536 SignatureInfo signatureInfo = findSignature(apk); in generateApkVerity() local
537 return VerityBuilder.generateApkVerity(apkPath, bufferFactory, signatureInfo); in generateApkVerity()
545 SignatureInfo signatureInfo = findSignature(apk); in generateApkVerityRootHash() local
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt106186 Ljava/security/Signature;->signatureInfo:Ljava/util/Map;