Searched refs:DigestAlgorithm (Results 1 – 6 of 6) 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()
105 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 …]
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()
30 import com.android.apksig.internal.apk.v1.DigestAlgorithm;66 DigestAlgorithm digestAlgorithm) { in getSignerInfoDigestAlgorithmOid()81 PublicKey publicKey, DigestAlgorithm digestAlgorithm, boolean deterministicDsaSigning) in getSignerInfoSignatureAlgorithm()
34 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()