Searched refs:contentDigests (Results 1 – 8 of 8) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4SchemeSigner.java | 248 final List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests = in getBestV3Digest() local 249 result.signers.get(0).contentDigests; in getBestV3Digest() 250 return pickBestDigest(contentDigests); in getBestV3Digest() 285 final List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests = in getBestV2Digest() local 286 signer.contentDigests; in getBestV2Digest() 287 return pickBestDigest(contentDigests); in getBestV2Digest() 290 …estDigest(List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests) throws Signat… in pickBestDigest() argument 291 if (contentDigests == null || contentDigests.isEmpty()) { in pickBestDigest() 297 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : contentDigests) { in pickBestDigest()
|
D | V4SchemeVerifier.java | 215 result.contentDigests.add(contentDigest); in parseAndVerifySignatureBlock()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeSigner.java | 160 Map<ContentDigestAlgorithm, byte[]> contentDigests, in generateApkSignatureSchemeV2Block() argument 172 signerBlock = generateSignerBlock(signerConfig, contentDigests, v3SigningEnabled); in generateApkSignatureSchemeV2Block() 191 Map<ContentDigestAlgorithm, byte[]> contentDigests, in generateSignerBlock() argument 213 byte[] contentDigest = contentDigests.get(contentDigestAlgorithm); in generateSignerBlock()
|
D | V2SchemeVerifier.java | 398 result.contentDigests.add( in parseSigner() 411 List<Integer> sigAlgsFromDigestsRecord = new ArrayList<>(result.contentDigests.size()); in parseSigner() 412 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest digest : result.contentDigests) { in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 145 List<SignerConfig> signerConfigs, Map<ContentDigestAlgorithm, byte[]> contentDigests) in generateApkSignatureSchemeV3Block() argument 155 signerBlock = generateSignerBlock(signerConfig, contentDigests); in generateApkSignatureSchemeV3Block() 173 SignerConfig signerConfig, Map<ContentDigestAlgorithm, byte[]> contentDigests) in generateSignerBlock() argument 194 byte[] contentDigest = contentDigests.get(contentDigestAlgorithm); in generateSignerBlock()
|
D | V3SchemeVerifier.java | 460 result.contentDigests.add( in parseSigner() 473 List<Integer> sigAlgsFromDigestsRecord = new ArrayList<>(result.contentDigests.size()); in parseSigner() 474 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest digest : result.contentDigests) { in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 241 for (Result.SignerInfo.ContentDigest expected : signerInfo.contentDigests) { in verifyIntegrity() 439 Map<ContentDigestAlgorithm, byte[]> contentDigests = new HashMap<>(); in computeContentDigests() local 451 contentDigests); in computeContentDigests() 454 computeApkVerityDigest(beforeCentralDir, centralDir, eocd, contentDigests); in computeContentDigests() 456 return contentDigests; in computeContentDigests() 1145 Map<ContentDigestAlgorithm, byte[]> contentDigests; // digest algorithm ID -> digest in computeContentDigests() local 1147 contentDigests = in computeContentDigests() 1161 return Pair.of(signerConfigs, contentDigests); in computeContentDigests() 1357 public static byte[] pickBestDigestForV4(Map<ContentDigestAlgorithm, byte[]> contentDigests) { in pickBestDigestForV4() argument 1359 if (contentDigests.containsKey(algo)) { in pickBestDigestForV4() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 596 …[] pickBestDigestForV4(List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests) { in pickBestDigestForV4() argument 598 collectApkContentDigests(contentDigests, apkContentDigests); in pickBestDigestForV4() 606 collectApkContentDigests(signerInfo.contentDigests, apkContentDigests); in getApkContentDigestsFromSigningSchemeResult() 642 …ntDigests(List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests, Map<ContentDi… in collectApkContentDigests() argument 643 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : contentDigests) { in collectApkContentDigests() 1144 mContentDigests = result.contentDigests; in V2SchemeSignerInfo() 1213 mContentDigests = result.contentDigests; in V3SchemeSignerInfo() 1279 mContentDigests = result.contentDigests; in V4SchemeSignerInfo()
|