Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java250 int sigAlgorithm = signature.getInt(); in verifySigner() local
251 signaturesSigAlgorithms.add(sigAlgorithm); in verifySigner()
252 if (!isSupportedSignatureAlgorithm(sigAlgorithm)) { in verifySigner()
256 || (compareSignatureAlgorithm(sigAlgorithm, bestSigAlgorithm) > 0)) { in verifySigner()
257 bestSigAlgorithm = sigAlgorithm; in verifySigner()
314 int sigAlgorithm = digest.getInt(); in verifySigner() local
315 digestsSigAlgorithms.add(sigAlgorithm); in verifySigner()
316 if (sigAlgorithm == bestSigAlgorithm) { in verifySigner()
DApkSigningBlockUtils.java138 static boolean isSupportedSignatureAlgorithm(int sigAlgorithm) { in isSupportedSignatureAlgorithm() argument
139 switch (sigAlgorithm) { in isSupportedSignatureAlgorithm()
491 static int getSignatureAlgorithmContentDigestAlgorithm(int sigAlgorithm) { in getSignatureAlgorithmContentDigestAlgorithm() argument
492 switch (sigAlgorithm) { in getSignatureAlgorithmContentDigestAlgorithm()
509 + Long.toHexString(sigAlgorithm & 0xffffffff)); in getSignatureAlgorithmContentDigestAlgorithm()
539 static String getSignatureAlgorithmJcaKeyAlgorithm(int sigAlgorithm) { in getSignatureAlgorithmJcaKeyAlgorithm() argument
540 switch (sigAlgorithm) { in getSignatureAlgorithmJcaKeyAlgorithm()
557 + Long.toHexString(sigAlgorithm & 0xffffffff)); in getSignatureAlgorithmJcaKeyAlgorithm()
562 getSignatureAlgorithmJcaSignatureAlgorithm(int sigAlgorithm) { in getSignatureAlgorithmJcaSignatureAlgorithm() argument
563 switch (sigAlgorithm) { in getSignatureAlgorithmJcaSignatureAlgorithm()
[all …]
DApkSignatureSchemeV3Verifier.java308 int sigAlgorithm = signature.getInt(); in verifySigner() local
309 signaturesSigAlgorithms.add(sigAlgorithm); in verifySigner()
310 if (!isSupportedSignatureAlgorithm(sigAlgorithm)) { in verifySigner()
314 || (compareSignatureAlgorithm(sigAlgorithm, bestSigAlgorithm) > 0)) { in verifySigner()
315 bestSigAlgorithm = sigAlgorithm; in verifySigner()
372 int sigAlgorithm = digest.getInt(); in verifySigner() local
373 digestsSigAlgorithms.add(sigAlgorithm); in verifySigner()
374 if (sigAlgorithm == bestSigAlgorithm) { in verifySigner()
DSourceStampVerifier.java290 int sigAlgorithm = signature.getInt(); in verifySourceStampSignature() local
291 if (!isSupportedSignatureAlgorithm(sigAlgorithm)) { in verifySourceStampSignature()
295 || (compareSignatureAlgorithm(sigAlgorithm, bestSigAlgorithm) > 0)) { in verifySourceStampSignature()
296 bestSigAlgorithm = sigAlgorithm; in verifySourceStampSignature()
387 int sigAlgorithm = digest.getInt(); in getApkContentDigestsFromSignatureBlock() local
389 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(sigAlgorithm); in getApkContentDigestsFromSignatureBlock()