Home
last modified time | relevance | path

Searched refs:Issue (Results 1 – 6 of 6) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java23 import com.android.apksig.ApkVerifier.Issue;
250 "v2-stripped.apk", Issue.JAR_SIG_MISSING_APK_SIG_REFERENCED); in testV2StrippedRejected()
257 Issue.JAR_SIG_MISSING_APK_SIG_REFERENCED); in testV2StrippedRejected()
300 Issue.V2_SIG_DID_NOT_VERIFY); in testV2SignatureDoesNotMatchSignedDataRejected()
306 Issue.V2_SIG_VERIFY_EXCEPTION); in testV2SignatureDoesNotMatchSignedDataRejected()
311 Issue.V2_SIG_DID_NOT_VERIFY); in testV2SignatureDoesNotMatchSignedDataRejected()
325 Issue.V2_SIG_DID_NOT_VERIFY); in testV2RsaPssSignatureDoesNotMatchSignedDataRejected()
332 ApkVerifier.Issue error = Issue.V2_SIG_APK_DIGEST_DID_NOT_VERIFY; in testV2ContentDigestMismatchRejected()
354 Issue.JAR_SIG_NO_MANIFEST); in testNoApkSignatureSchemeBlockRejected()
361 Issue.JAR_SIG_NO_MANIFEST); in testNoApkSignatureSchemeBlockRejected()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java22 import com.android.apksig.ApkVerifier.Issue;
182 result.addError(Issue.V3_INCONSISTENT_SDK_VERSIONS); in verify()
192 result.addError(Issue.V3_INCONSISTENT_LINEAGES); in verify()
202 result.addError(Issue.V3_MISSING_SDK_VERSIONS, firstMin, lastMax); in verify()
209 result.addError(Issue.V3_INCONSISTENT_LINEAGES); in verify()
236 result.addError(Issue.V3_SIG_MALFORMED_SIGNERS); in parseSigners()
240 result.addError(Issue.V3_SIG_NO_SIGNERS); in parseSigners()
262 signerInfo.addError(Issue.V3_SIG_MALFORMED_SIGNER); in parseSigners()
298 Issue.V3_SIG_INVALID_SDK_VERSIONS, parsedMinSdkVersion, parsedMaxSdkVersion); in parseSigner()
317 result.addWarning(Issue.V3_SIG_UNKNOWN_SIG_ALGORITHM, sigAlgorithmId); in parseSigner()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java19 import com.android.apksig.ApkVerifier.Issue;
186 result.addError(Issue.V2_SIG_MALFORMED_SIGNERS); in parseSigners()
190 result.addError(Issue.V2_SIG_NO_SIGNERS); in parseSigners()
220 signerInfo.addError(Issue.V2_SIG_MALFORMED_SIGNER); in parseSigners()
271 result.addWarning(Issue.V2_SIG_UNKNOWN_SIG_ALGORITHM, sigAlgorithmId); in parseSigner()
277 result.addError(Issue.V2_SIG_MALFORMED_SIGNATURE, signatureCount); in parseSigner()
282 result.addError(Issue.V2_SIG_NO_SIGNATURES); in parseSigner()
293 result.addError(Issue.V2_SIG_NO_SUPPORTED_SIGNATURES); in parseSigner()
309 result.addError(Issue.V2_SIG_MALFORMED_PUBLIC_KEY, e); in parseSigner()
322 result.addError(Issue.V2_SIG_DID_NOT_VERIFY, signatureAlgorithm); in parseSigner()
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java249 Issue.NO_SIG_FOR_TARGET_SANDBOX_VERSION, in verify()
306 v1Signer.addError(Issue.V2_SIG_MISSING); in verify()
314 v2Signer.addError(Issue.JAR_SIG_MISSING); in verify()
332 result.addError(Issue.V3_SIG_MULTIPLE_PAST_SIGNERS); in verify()
340 result.addError(Issue.V3_SIG_MULTIPLE_PAST_SIGNERS); in verify()
351 result.addError(Issue.V3_SIG_MULTIPLE_SIGNERS); in verify()
356 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
370 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
374 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
592 void addError(Issue msg, Object... parameters) { in addError()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java19 import com.android.apksig.ApkVerifier.Issue;
157 result.addError(Issue.JAR_SIG_DUPLICATE_ZIP_ENTRY, entryName); in checkForDuplicateEntries()
210 result.addError(Issue.JAR_SIG_NO_MANIFEST); in verify()
232 result.addError(Issue.JAR_SIG_UNNNAMED_MANIFEST_SECTION, manifestSectionNumber); in verify()
236 result.addError(Issue.JAR_SIG_DUPLICATE_MANIFEST_SECTION, entryName); in verify()
241 Issue.JAR_SIG_MISSING_ZIP_ENTRY_REFERENCED_IN_MANIFEST, entryName); in verify()
266 Issue.JAR_SIG_MISSING_FILE, sigBlockEntryName, sigFileEntryName); in verify()
277 result.addError(Issue.JAR_SIG_NO_SIGNATURES); in verify()
324 result.addError(Issue.JAR_SIG_NO_SIGNATURES); in verify()
371 result.addWarning(Issue.JAR_SIG_UNPROTECTED_ZIP_ENTRY, entryName); in verify()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java207 ApkVerifier.Issue.V2_SIG_APK_DIGEST_DID_NOT_VERIFY, in verifyIntegrity()
213 ApkVerifier.Issue.V3_SIG_APK_DIGEST_DID_NOT_VERIFY, in verifyIntegrity()
1001 public void addError(ApkVerifier.Issue msg, Object... parameters) { in addError()
1005 public void addWarning(ApkVerifier.Issue msg, Object... parameters) { in addWarning()
1033 public void addError(ApkVerifier.Issue msg, Object... parameters) { in addError()
1037 public void addWarning(ApkVerifier.Issue msg, Object... parameters) { in addWarning()