Searched refs:ApkVerifier (Results 1 – 9 of 9) sorted by relevance
23 import com.android.apksig.ApkVerifier.Issue;24 import com.android.apksig.ApkVerifier.IssueWithParams;332 ApkVerifier.Issue error = Issue.V2_SIG_APK_DIGEST_DID_NOT_VERIFY; in testV2ContentDigestMismatchRejected()480 ApkVerifier.Result result = verify("v1-only-pkcs7-cert-bag-first-cert-not-used.apk"); in testCorrectCertUsedFromPkcs7SignedDataCertsSet()505 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der.apk"); in testV1SchemeSignatureCertNotReencoded()511 List<ApkVerifier.Result.V1SchemeSignerInfo> signers = result.getV1SchemeSigners(); in testV1SchemeSignatureCertNotReencoded()513 ApkVerifier.Result.V1SchemeSignerInfo signer = signers.get(0); in testV1SchemeSignatureCertNotReencoded()559 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der2.apk"); in testV1SchemeSignatureCertNotReencoded2()858 private ApkVerifier.Result verify(String apkFilenameInResources) in verify()863 private ApkVerifier.Result verifyForMinSdkVersion( in verifyForMinSdkVersion()[all …]
20 import com.android.apksig.ApkVerifier;207 ApkVerifier.Issue.V2_SIG_APK_DIGEST_DID_NOT_VERIFY, in verifyIntegrity()213 ApkVerifier.Issue.V3_SIG_APK_DIGEST_DID_NOT_VERIFY, in verifyIntegrity()980 private final List<ApkVerifier.IssueWithParams> mWarnings = new ArrayList<>();981 private final List<ApkVerifier.IssueWithParams> mErrors = new ArrayList<>();1001 public void addError(ApkVerifier.Issue msg, Object... parameters) { in addError()1002 mErrors.add(new ApkVerifier.IssueWithParams(msg, parameters)); in addError()1005 public void addWarning(ApkVerifier.Issue msg, Object... parameters) { in addWarning()1006 mWarnings.add(new ApkVerifier.IssueWithParams(msg, parameters)); in addWarning()1009 public List<ApkVerifier.IssueWithParams> getErrors() { in getErrors()[all …]
20 import com.android.apksig.ApkVerifier;421 ApkVerifier.Builder apkVerifierBuilder = new ApkVerifier.Builder(inputApk); in verify()428 ApkVerifier apkVerifier = apkVerifierBuilder.build(); in verify()429 ApkVerifier.Result result; in verify()517 for (ApkVerifier.IssueWithParams error : result.getErrors()) { in verify()523 for (ApkVerifier.IssueWithParams warning : result.getWarnings()) { in verify()527 for (ApkVerifier.Result.V1SchemeSignerInfo signer : result.getV1SchemeSigners()) { in verify()529 for (ApkVerifier.IssueWithParams error : signer.getErrors()) { in verify()532 for (ApkVerifier.IssueWithParams warning : signer.getWarnings()) { in verify()537 for (ApkVerifier.Result.V2SchemeSignerInfo signer : result.getV2SchemeSigners()) { in verify()[all …]
19 import com.android.apksig.ApkVerifier;196 ApkVerifier.Result result; in isCurrentSignatureAsRequested()199 new ApkVerifier.Builder(new ZFileDataSource(zFile)) in isCurrentSignatureAsRequested()
60 public class ApkVerifier { class80 private ApkVerifier( in ApkVerifier() method in ApkVerifier1877 public ApkVerifier build() { in build()1878 return new ApkVerifier( in build()
28 * `ApkVerifier` which checks whether the provided APK is expected to verify on all Android
19 import com.android.apksig.ApkVerifier.Issue;
22 import com.android.apksig.ApkVerifier.Issue;
19 import com.android.apksig.ApkVerifier.Issue;20 import com.android.apksig.ApkVerifier.IssueWithParams;