Home
last modified time | relevance | path

Searched refs:algorithms (Results 1 – 4 of 4) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeSigner.java101 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms() local
102 algorithms.add(SignatureAlgorithm.RSA_PKCS1_V1_5_WITH_SHA256); in getSuggestedSignatureAlgorithms()
104 algorithms.add(SignatureAlgorithm.VERITY_RSA_PKCS1_V1_5_WITH_SHA256); in getSuggestedSignatureAlgorithms()
106 return algorithms; in getSuggestedSignatureAlgorithms()
114 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms() local
115 algorithms.add(SignatureAlgorithm.DSA_WITH_SHA256); in getSuggestedSignatureAlgorithms()
117 algorithms.add(SignatureAlgorithm.VERITY_DSA_WITH_SHA256); in getSuggestedSignatureAlgorithms()
119 return algorithms; in getSuggestedSignatureAlgorithms()
125 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms() local
126 algorithms.add(SignatureAlgorithm.ECDSA_WITH_SHA256); in getSuggestedSignatureAlgorithms()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java90 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms() local
91 algorithms.add(SignatureAlgorithm.RSA_PKCS1_V1_5_WITH_SHA256); in getSuggestedSignatureAlgorithms()
93 algorithms.add(SignatureAlgorithm.VERITY_RSA_PKCS1_V1_5_WITH_SHA256); in getSuggestedSignatureAlgorithms()
95 return algorithms; in getSuggestedSignatureAlgorithms()
103 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms() local
104 algorithms.add(SignatureAlgorithm.DSA_WITH_SHA256); in getSuggestedSignatureAlgorithms()
106 algorithms.add(SignatureAlgorithm.VERITY_DSA_WITH_SHA256); in getSuggestedSignatureAlgorithms()
108 return algorithms; in getSuggestedSignatureAlgorithms()
114 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms() local
115 algorithms.add(SignatureAlgorithm.ECDSA_WITH_SHA256); in getSuggestedSignatureAlgorithms()
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java282 List<SignatureAlgorithm> algorithms = V3SchemeSigner.getSuggestedSignatureAlgorithms( in getSignatureAlgorithm() local
284 return algorithms.get(0); in getSignatureAlgorithm()
/tools/apksig/
DREADME.md13 an APK, apksig chooses the most appropriate cryptographic algorithms based on the Android platform