Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java229 int bestSigAlgorithm = -1; in verifySigner() local
244 if ((bestSigAlgorithm == -1) in verifySigner()
245 || (compareSignatureAlgorithm(sigAlgorithm, bestSigAlgorithm) > 0)) { in verifySigner()
246 bestSigAlgorithm = sigAlgorithm; in verifySigner()
255 if (bestSigAlgorithm == -1) { in verifySigner()
263 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner()
265 getSignatureAlgorithmJcaSignatureAlgorithm(bestSigAlgorithm); in verifySigner()
305 if (sigAlgorithm == bestSigAlgorithm) { in verifySigner()
317 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner()
DApkSignatureSchemeV3Verifier.java243 int bestSigAlgorithm = -1; in verifySigner() local
258 if ((bestSigAlgorithm == -1) in verifySigner()
259 || (compareSignatureAlgorithm(sigAlgorithm, bestSigAlgorithm) > 0)) { in verifySigner()
260 bestSigAlgorithm = sigAlgorithm; in verifySigner()
269 if (bestSigAlgorithm == -1) { in verifySigner()
277 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner()
279 getSignatureAlgorithmJcaSignatureAlgorithm(bestSigAlgorithm); in verifySigner()
319 if (sigAlgorithm == bestSigAlgorithm) { in verifySigner()
331 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner()
DSourceStampVerifier.java276 int bestSigAlgorithm = -1; in verifySourceStampSignature() local
289 if ((bestSigAlgorithm == -1) in verifySourceStampSignature()
290 || (compareSignatureAlgorithm(sigAlgorithm, bestSigAlgorithm) > 0)) { in verifySourceStampSignature()
291 bestSigAlgorithm = sigAlgorithm; in verifySourceStampSignature()
299 if (bestSigAlgorithm == -1) { in verifySourceStampSignature()
309 getSignatureAlgorithmJcaSignatureAlgorithm(bestSigAlgorithm); in verifySourceStampSignature()