Searched refs:DigestAlgorithm (Results 1 – 5 of 5) sorted by relevance
24 public enum DigestAlgorithm { enum33 private DigestAlgorithm(String jcaMessageDigestAlgoritm) { in DigestAlgorithm() method in DigestAlgorithm45 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()
91 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 …]
24 public enum DigestAlgorithm { enum79 DigestAlgorithm(@Nonnull String attributeName, @Nonnull String messageDigestName) { in DigestAlgorithm() method in DigestAlgorithm
100 public String signatureAlgorithmName(@Nonnull DigestAlgorithm digestAlgorithm) { in signatureAlgorithmName()
29 import com.android.apksig.internal.apk.v1.DigestAlgorithm;65 DigestAlgorithm digestAlgorithm) { in getSignerInfoDigestAlgorithmOid()80 PublicKey publicKey, DigestAlgorithm digestAlgorithm, boolean deterministicDsaSigning) in getSignerInfoSignatureAlgorithm()