Searched refs:ContentDigestAlgorithm (Results 1 – 9 of 9) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 94 ContentDigestAlgorithm digestAlg1 = alg1.getContentDigestAlgorithm(); in compareSignatureAlgorithm() 95 ContentDigestAlgorithm digestAlg2 = alg2.getContentDigestAlgorithm(); in compareSignatureAlgorithm() 104 ContentDigestAlgorithm alg1, in compareContentDigestAlgorithm() 105 ContentDigestAlgorithm alg2) { in compareContentDigestAlgorithm() 164 Set<ContentDigestAlgorithm> contentDigestAlgorithms, in verifyIntegrity() 184 Map<ContentDigestAlgorithm, byte[]> actualContentDigests; in verifyIntegrity() 194 if (actualContentDigests.containsKey(ContentDigestAlgorithm.VERITY_CHUNKED_SHA256)) { in verifyIntegrity() 228 ContentDigestAlgorithm contentDigestAlgorithm = in verifyIntegrity() 414 public static Map<ContentDigestAlgorithm, byte[]> computeContentDigests( in computeContentDigests() 416 Set<ContentDigestAlgorithm> digestAlgorithms, in computeContentDigests() [all …]
|
D | SignatureAlgorithm.java | 36 ContentDigestAlgorithm.CHUNKED_SHA256, 49 ContentDigestAlgorithm.CHUNKED_SHA512, 60 ContentDigestAlgorithm.CHUNKED_SHA256, 68 ContentDigestAlgorithm.CHUNKED_SHA512, 76 ContentDigestAlgorithm.CHUNKED_SHA256, 84 ContentDigestAlgorithm.CHUNKED_SHA512, 92 ContentDigestAlgorithm.CHUNKED_SHA256, 104 ContentDigestAlgorithm.VERITY_CHUNKED_SHA256, 116 ContentDigestAlgorithm.VERITY_CHUNKED_SHA256, 128 ContentDigestAlgorithm.VERITY_CHUNKED_SHA256, [all …]
|
D | ContentDigestAlgorithm.java | 22 public enum ContentDigestAlgorithm { enum 35 private ContentDigestAlgorithm( in ContentDigestAlgorithm() method in ContentDigestAlgorithm
|
/tools/apksig/src/test/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtilsTest.java | 38 final Set<ContentDigestAlgorithm> algos = EnumSet.of(ContentDigestAlgorithm.CHUNKED_SHA512); 71 Map<ContentDigestAlgorithm, byte[]> outputContentDigestsOld = in testNewVersionMatchesOld() 72 new EnumMap<>(ContentDigestAlgorithm.class); in testNewVersionMatchesOld() 73 Map<ContentDigestAlgorithm, byte[]> outputContentDigestsNew = in testNewVersionMatchesOld() 74 new EnumMap<>(ContentDigestAlgorithm.class); in testNewVersionMatchesOld() 88 Map<ContentDigestAlgorithm, byte[]> outputContentDigests = in testMultithreadedVersionMatchesSinglethreaded() 89 new EnumMap<>(ContentDigestAlgorithm.class); in testMultithreadedVersionMatchesSinglethreaded() 90 Map<ContentDigestAlgorithm, byte[]> outputContentDigestsMultithreaded = in testMultithreadedVersionMatchesSinglethreaded() 91 new EnumMap<>(ContentDigestAlgorithm.class); in testMultithreadedVersionMatchesSinglethreaded() 124 Map<ContentDigestAlgorithm, byte[]> d1, Map<ContentDigestAlgorithm, byte[]> d2) { in assertEqualDigests() argument [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeSigner.java | 26 import com.android.apksig.internal.apk.ContentDigestAlgorithm; 151 Map<ContentDigestAlgorithm, byte[]>> digestInfo = in generateApkSignatureSchemeV2Block() 160 Map<ContentDigestAlgorithm, byte[]> contentDigests, in generateApkSignatureSchemeV2Block() argument 189 Map<ContentDigestAlgorithm, byte[]> contentDigests, in generateSignerBlock() argument 209 ContentDigestAlgorithm contentDigestAlgorithm = in generateSignerBlock()
|
D | V2SchemeVerifier.java | 23 import com.android.apksig.internal.apk.ContentDigestAlgorithm; 147 Set<ContentDigestAlgorithm> contentDigestsToVerify = new HashSet<>(1); in verify() 180 Set<ContentDigestAlgorithm> contentDigestsToVerify, in parseSigners() 246 Set<ContentDigestAlgorithm> contentDigestsToVerify, in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 28 import com.android.apksig.internal.apk.ContentDigestAlgorithm; 139 Map<ContentDigestAlgorithm, byte[]>> digestInfo = in generateApkSignatureSchemeV3Block() 147 Map<ContentDigestAlgorithm, byte[]> contentDigests) in generateApkSignatureSchemeV3Block() argument 175 Map<ContentDigestAlgorithm, byte[]> contentDigests) in generateSignerBlock() argument 194 ContentDigestAlgorithm contentDigestAlgorithm = in generateSignerBlock()
|
D | V3SchemeVerifier.java | 28 import com.android.apksig.internal.apk.ContentDigestAlgorithm; 152 Set<ContentDigestAlgorithm> contentDigestsToVerify = new HashSet<>(1); in verify() 233 Set<ContentDigestAlgorithm> contentDigestsToVerify, in parseSigners() 287 Set<ContentDigestAlgorithm> contentDigestsToVerify) in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 24 import com.android.apksig.internal.apk.ContentDigestAlgorithm;
|