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/
DV1SchemeSigner.java93 public DigestAlgorithm signatureDigestAlgorithm;
113 public static DigestAlgorithm getSuggestedSignatureDigestAlgorithm( in getSuggestedSignatureDigestAlgorithm()
119 return DigestAlgorithm.SHA1; in getSuggestedSignatureDigestAlgorithm()
121 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
125 return DigestAlgorithm.SHA1; in getSuggestedSignatureDigestAlgorithm()
127 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
134 return DigestAlgorithm.SHA256; in getSuggestedSignatureDigestAlgorithm()
169 private static MessageDigest getMessageDigestInstance(DigestAlgorithm digestAlgorithm) in getMessageDigestInstance()
179 public static String getJcaMessageDigestAlgorithm(DigestAlgorithm digestAlgorithm) { in getJcaMessageDigestAlgorithm()
241 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/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/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/
DDefaultApkSignerEngine.java34 import com.android.apksig.internal.apk.v1.DigestAlgorithm;
118 private DigestAlgorithm mV1ContentDigestAlgorithm;
257 DigestAlgorithm v1ContentDigestAlgorithm = null; in createV1SignerConfigs()
277 DigestAlgorithm v1SignatureDigestAlgorithm = in createV1SignerConfigs()
293 if (DigestAlgorithm.BY_STRENGTH_COMPARATOR.compare( in createV1SignerConfigs()