Home
last modified time | relevance | path

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

/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.java217 for (SignatureAlgorithm alg : SignatureAlgorithm.values()) { in findById()
218 if (alg.getId() == id) { in findById()
219 return alg; in findById()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1128 String alg = tokens.nextToken(); in getDigestsToVerify() local
1129 String attrName = alg + digestAttrSuffix; in getDigestsToVerify()
1135 alg = getCanonicalJcaMessageDigestAlgorithm(alg); in getDigestsToVerify()
1136 if ((alg == null) in getDigestsToVerify()
1137 || (getMinSdkVersionFromWhichSupportedInManifestOrSignatureFile(alg) in getDigestsToVerify()
1143 result.add(new NamedDigest(alg, base64Decoder.decode(digestBase64))); in getDigestsToVerify()
1155 for (String alg : JB_MR2_AND_NEWER_DIGEST_ALGS) { in getDigestsToVerify()
1156 String attrName = getJarDigestAttributeName(alg, digestAttrSuffix); in getDigestsToVerify()
1163 byte[] digestInResult = getDigest(result, alg); in getDigestsToVerify()
1165 result.add(new NamedDigest(alg, digest)); in getDigestsToVerify()
/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()