Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
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()
DV1SchemeSigner.java105 public DigestAlgorithm signatureDigestAlgorithm;
125 public static DigestAlgorithm getSuggestedSignatureDigestAlgorithm( in getSuggestedSignatureDigestAlgorithm()
131 return DigestAlgorithm.SHA1; in getSuggestedSignatureDigestAlgorithm()
133 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
137 return DigestAlgorithm.SHA1; in getSuggestedSignatureDigestAlgorithm()
139 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
146 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
181 private static MessageDigest getMessageDigestInstance(DigestAlgorithm digestAlgorithm) in getMessageDigestInstance()
191 public static String getJcaMessageDigestAlgorithm(DigestAlgorithm digestAlgorithm) { in getJcaMessageDigestAlgorithm()
253 DigestAlgorithm jarEntryDigestAlgorithm, in sign()
[all …]
/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()
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DAlgorithmIdentifier.java30 import com.android.apksig.internal.apk.v1.DigestAlgorithm;
66 DigestAlgorithm digestAlgorithm) { in getSignerInfoDigestAlgorithmOid()
81 PublicKey publicKey, DigestAlgorithm digestAlgorithm, boolean deterministicDsaSigning) in getSignerInfoSignatureAlgorithm()
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java34 import com.android.apksig.internal.apk.v1.DigestAlgorithm;
118 private DigestAlgorithm mV1ContentDigestAlgorithm;
258 DigestAlgorithm v1ContentDigestAlgorithm = null; in createV1SignerConfigs()
278 DigestAlgorithm v1SignatureDigestAlgorithm = in createV1SignerConfigs()
294 if (DigestAlgorithm.BY_STRENGTH_COMPARATOR.compare( in createV1SignerConfigs()