Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeSigner.java99 public DigestAlgorithm signatureDigestAlgorithm;
114 public static DigestAlgorithm getSuggestedSignatureDigestAlgorithm( in getSuggestedSignatureDigestAlgorithm()
120 return DigestAlgorithm.SHA1; in getSuggestedSignatureDigestAlgorithm()
122 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
126 return DigestAlgorithm.SHA1; in getSuggestedSignatureDigestAlgorithm()
128 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
135 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
170 private static MessageDigest getMessageDigestInstance(DigestAlgorithm digestAlgorithm) in getMessageDigestInstance()
180 public static String getJcaMessageDigestAlgorithm(DigestAlgorithm digestAlgorithm) { in getJcaMessageDigestAlgorithm()
242 DigestAlgorithm jarEntryDigestAlgorithm, in sign()
[all …]
DDigestAlgorithm.java24 public enum DigestAlgorithm { enum
33 private DigestAlgorithm(String jcaMessageDigestAlgoritm) { in DigestAlgorithm() method in DigestAlgorithm
45 public static Comparator<DigestAlgorithm> BY_STRENGTH_COMPARATOR = new StrengthComparator();
47 private static class StrengthComparator implements Comparator<DigestAlgorithm> {
49 public int compare(DigestAlgorithm a1, DigestAlgorithm a2) { in compare()
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java23 import com.android.apksig.internal.apk.v1.DigestAlgorithm;
90 private DigestAlgorithm mV1ContentDigestAlgorithm;
211 DigestAlgorithm v1ContentDigestAlgorithm = null; in createV1SignerConfigs()
229 DigestAlgorithm v1SignatureDigestAlgorithm = in createV1SignerConfigs()
245 if (DigestAlgorithm.BY_STRENGTH_COMPARATOR.compare( in createV1SignerConfigs()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DDigestAlgorithm.java24 public enum DigestAlgorithm { enum
79 DigestAlgorithm(@Nonnull String attributeName, @Nonnull String messageDigestName) { in DigestAlgorithm() method in DigestAlgorithm
DSignatureAlgorithm.java100 public String signatureAlgorithmName(@Nonnull DigestAlgorithm digestAlgorithm) { in signatureAlgorithmName()