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/
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.java91 public DigestAlgorithm signatureDigestAlgorithm;
111 public static DigestAlgorithm getSuggestedSignatureDigestAlgorithm( in getSuggestedSignatureDigestAlgorithm()
117 return DigestAlgorithm.SHA1; in getSuggestedSignatureDigestAlgorithm()
119 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
123 return DigestAlgorithm.SHA1; in getSuggestedSignatureDigestAlgorithm()
125 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
132 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
167 private static MessageDigest getMessageDigestInstance(DigestAlgorithm digestAlgorithm) in getMessageDigestInstance()
177 public static String getJcaMessageDigestAlgorithm(DigestAlgorithm digestAlgorithm) { in getJcaMessageDigestAlgorithm()
239 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.java29 import com.android.apksig.internal.apk.v1.DigestAlgorithm;
65 DigestAlgorithm digestAlgorithm) { in getSignerInfoDigestAlgorithmOid()
80 PublicKey publicKey, DigestAlgorithm digestAlgorithm, boolean deterministicDsaSigning) in getSignerInfoSignatureAlgorithm()