Home
last modified time | relevance | path

Searched refs:bestSigAlgorithm (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java235 int bestSigAlgorithm = -1; in verifySigner() local
250 if ((bestSigAlgorithm == -1) in verifySigner()
251 || (compareSignatureAlgorithm(sigAlgorithm, bestSigAlgorithm) > 0)) { in verifySigner()
252 bestSigAlgorithm = sigAlgorithm; in verifySigner()
261 if (bestSigAlgorithm == -1) { in verifySigner()
269 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner()
271 getSignatureAlgorithmJcaSignatureAlgorithm(bestSigAlgorithm); in verifySigner()
311 if (sigAlgorithm == bestSigAlgorithm) { in verifySigner()
323 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner()
DApkSignatureSchemeV3Verifier.java248 int bestSigAlgorithm = -1; in verifySigner() local
263 if ((bestSigAlgorithm == -1) in verifySigner()
264 || (compareSignatureAlgorithm(sigAlgorithm, bestSigAlgorithm) > 0)) { in verifySigner()
265 bestSigAlgorithm = sigAlgorithm; in verifySigner()
274 if (bestSigAlgorithm == -1) { in verifySigner()
282 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner()
284 getSignatureAlgorithmJcaSignatureAlgorithm(bestSigAlgorithm); in verifySigner()
324 if (sigAlgorithm == bestSigAlgorithm) { in verifySigner()
336 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner()