Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java82 @Nullable SignatureInfo signatureInfo, @NonNull ByteBufferFactory bufferFactory) in generateApkVerityTree() argument
84 return generateVerityTreeInternal(apk, bufferFactory, signatureInfo); in generateApkVerityTree()
89 @NonNull ByteBufferFactory bufferFactory, @Nullable SignatureInfo signatureInfo) in generateVerityTreeInternal() argument
92 signatureInfo.centralDirOffset - signatureInfo.apkSigningBlockOffset; in generateVerityTreeInternal()
102 byte[] apkRootHash = generateVerityTreeInternal(apk, signatureInfo, DEFAULT_SALT, in generateVerityTreeInternal()
108 @NonNull SignatureInfo signatureInfo, @NonNull ByteBuffer footerOutput) in generateApkVerityFooter() argument
113 signatureInfo.centralDirOffset - signatureInfo.apkSigningBlockOffset; in generateApkVerityFooter()
114 generateApkVerityExtensions(footerOutput, signatureInfo.apkSigningBlockOffset, in generateApkVerityFooter()
115 signingBlockSize, signatureInfo.eocdOffset); in generateApkVerityFooter()
158 @NonNull ByteBufferFactory bufferFactory, @NonNull SignatureInfo signatureInfo) in generateApkVerity() argument
[all …]
DApkSigningBlockUtils.java101 SignatureInfo signatureInfo) throws SecurityException { in verifyIntegrity() argument
120 signatureInfo); in verifyIntegrity()
129 expectedDigests.get(CONTENT_DIGEST_VERITY_CHUNKED_SHA256), apk, signatureInfo); in verifyIntegrity() local
159 SignatureInfo signatureInfo) throws SecurityException { in verifyIntegrityFor1MbChunkBasedAlgorithm() argument
169 signatureInfo); in verifyIntegrityFor1MbChunkBasedAlgorithm()
190 FileDescriptor apkFileDescriptor, SignatureInfo signatureInfo) throws DigestException { in computeContentDigestsPer1MbChunk() argument
203 DataSource.create(apkFileDescriptor, 0, signatureInfo.apkSigningBlockOffset); in computeContentDigestsPer1MbChunk()
206 apkFileDescriptor, signatureInfo.centralDirOffset, in computeContentDigestsPer1MbChunk()
207 signatureInfo.eocdOffset - signatureInfo.centralDirOffset); in computeContentDigestsPer1MbChunk()
211 ByteBuffer eocdBuf = signatureInfo.eocd.duplicate(); in computeContentDigestsPer1MbChunk()
[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()
216 ApkSigningBlockUtils.verifyIntegrity(contentDigests, apk, signatureInfo); in verify()
223 verityDigest, apk.getChannel().size(), signatureInfo); in verify()
405 SignatureInfo signatureInfo = findSignature(apk); in getVerityRootHash() local
415 SignatureInfo signatureInfo = findSignature(apk); in generateApkVerity() local
416 return VerityBuilder.generateApkVerity(apkPath, bufferFactory, signatureInfo); in generateApkVerity()
DApkSignatureSchemeV3Verifier.java141 SignatureInfo signatureInfo = findSignature(apk, APK_SIGNATURE_SCHEME_V31_BLOCK_ID); in verify() local
142 return verifier.verify(signatureInfo, APK_SIGNATURE_SCHEME_V31_BLOCK_ID); in verify()
150 SignatureInfo signatureInfo = findSignature(apk, APK_SIGNATURE_SCHEME_V3_BLOCK_ID); in verify() local
151 return verifier.verify(signatureInfo, APK_SIGNATURE_SCHEME_V3_BLOCK_ID); in verify()
200 private VerifiedSigner verify(SignatureInfo signatureInfo, int blockId) in verify() argument
214 signers = getLengthPrefixedSlice(signatureInfo.signatureBlock); in verify()
253 ApkSigningBlockUtils.verifyIntegrity(contentDigests, mApk, signatureInfo); in verify()
260 verityDigest, mApk.getChannel().size(), signatureInfo); in verify()
533 SignatureInfo signatureInfo = findSignature(apk); in getVerityRootHash() local
543 SignatureInfo signatureInfo = findSignature(apk); in generateApkVerity() local
[all …]
DSourceStampVerifier.java145 SignatureInfo signatureInfo; in verify() local
147 signatureInfo = in verify()
156 signatureInfo, in verify()
165 SignatureInfo signatureInfo, in verify() argument
169 ByteBuffer sourceStampBlock = signatureInfo.signatureBlock; in verify()
/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java836 SignatureInfo signatureInfo = null; in calculatePartialChecksumsIfRequested() local
838 signatureInfo = ApkSignatureSchemeV3Verifier.findSignature(raf); in calculatePartialChecksumsIfRequested()
841 signatureInfo = ApkSignatureSchemeV2Verifier.findSignature(raf); in calculatePartialChecksumsIfRequested()
845 if (signatureInfo == null) { in calculatePartialChecksumsIfRequested()
853 raf.getFD(), signatureInfo); in calculatePartialChecksumsIfRequested()
/frameworks/base/config/
Ddirty-image-objects1323 Ljava/security/Signature;.signatureInfo:Ljava/util/Map;.table:[Ljava/util/concurrent/ConcurrentHash…
1406 Ljava/security/Signature;.signatureInfo:Ljava/util/Map;.table:[Ljava/util/concurrent/ConcurrentHash…
1407 Ljava/security/Signature;.signatureInfo:Ljava/util/Map; 358