Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1652 String alg = tokens.nextToken(); in getDigestsToVerify() local
1653 String attrName = alg + digestAttrSuffix; in getDigestsToVerify()
1659 alg = getCanonicalJcaMessageDigestAlgorithm(alg); in getDigestsToVerify()
1660 if ((alg == null) in getDigestsToVerify()
1661 || (getMinSdkVersionFromWhichSupportedInManifestOrSignatureFile(alg) in getDigestsToVerify()
1667 result.add(new NamedDigest(alg, base64Decoder.decode(digestBase64))); in getDigestsToVerify()
1679 for (String alg : JB_MR2_AND_NEWER_DIGEST_ALGS) { in getDigestsToVerify()
1680 String attrName = getJarDigestAttributeName(alg, digestAttrSuffix); in getDigestsToVerify()
1687 byte[] digestInResult = getDigest(result, alg); in getDigestsToVerify()
1689 result.add(new NamedDigest(alg, digest)); in getDigestsToVerify()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DSignatureAlgorithm.java76 for (SignatureAlgorithm alg : values()) { in fromKeyAlgorithm()
77 if (alg.keyAlgorithm.equalsIgnoreCase(keyAlgorithm)) { in fromKeyAlgorithm()
78 if (alg.minSdkVersion > minSdkVersion) { in fromKeyAlgorithm()
82 + alg.minSdkVersion); in fromKeyAlgorithm()
85 return alg; in fromKeyAlgorithm()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DSignatureAlgorithm.java185 for (SignatureAlgorithm alg : SignatureAlgorithm.values()) { in findById()
186 if (alg.getId() == id) { in findById()
187 return alg; in findById()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DFileUseMap.java384 long locateFree(long size, long alignOffset, long align, @Nonnull PositionAlgorithm alg) { in locateFree() argument
390 switch (alg) { in locateFree()
468 if (alg == PositionAlgorithm.FIRST_FIT) { in locateFree()
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java433 String alg = V1SchemeSigner.getJcaMessageDigestAlgorithm(mV1ContentDigestAlgorithm); in initWith() local
443 .filter(d -> d.jcaDigestAlgorithm == alg) in initWith()