Home
last modified time | relevance | path

Searched refs:SignerInfo (Results 1 – 12 of 12) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/
DSourceStampVerifier.java317 Result.SignerInfo signerInfo = new Result.SignerInfo(); in parseSigners()
357 Result.SignerInfo signerInfo) in parseSigner()
472 Result.SignerInfo signerInfo = new Result.SignerInfo(); in getApkContentDigestFromV1SigningScheme()
506 private final List<SignerInfo> mV1SchemeSigners = new ArrayList<>();
507 private final List<SignerInfo> mV2SchemeSigners = new ArrayList<>();
508 private final List<SignerInfo> mV3SchemeSigners = new ArrayList<>();
509 private final List<List<SignerInfo>> mAllSchemeSigners = Arrays.asList(mV1SchemeSigners,
526 private void addV1Signer(SignerInfo signerInfo) { in addV1Signer()
530 private void addV2Signer(SignerInfo signerInfo) { in addV2Signer()
534 private void addV3Signer(SignerInfo signerInfo) { in addV3Signer()
[all …]
DApkVerifier.java494 List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> digestsFromV4 = in verify()
919 for (ApkSigningBlockUtils.Result.SignerInfo signerInfo : result.signers) { in getApkContentDigests()
920 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : in getApkContentDigests()
965 List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests) { in pickBestDigestForV4()
974 for (ApkSigningBlockUtils.Result.SignerInfo signerInfo : apkSigningSchemeResult.signers) { in getApkContentDigestsFromSigningSchemeResult()
1013 List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests, in collectApkContentDigests()
1015 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : contentDigests) { in collectApkContentDigests()
1255 for (V1SchemeVerifier.Result.SignerInfo signer : source.signers) { in mergeFrom()
1258 for (V1SchemeVerifier.Result.SignerInfo signer : source.ignoredSigners) { in mergeFrom()
1282 for (ApkSigningBlockUtils.Result.SignerInfo signer : source.signers) { in mergeFrom()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeVerifier.java97 final ApkSigningBlockUtils.Result.SignerInfo signerInfo; in verify()
138 private static ApkSigningBlockUtils.Result.SignerInfo parseAndVerifySignatureBlock( in parseAndVerifySignatureBlock()
141 final ApkSigningBlockUtils.Result.SignerInfo result = in parseAndVerifySignatureBlock()
142 new ApkSigningBlockUtils.Result.SignerInfo(); in parseAndVerifySignatureBlock()
148 new ApkSigningBlockUtils.Result.SignerInfo.Signature(sigAlgorithmId, sigBytes)); in parseAndVerifySignatureBlock()
229 ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest = in parseAndVerifySignatureBlock()
230 new ApkSigningBlockUtils.Result.SignerInfo.ContentDigest( in parseAndVerifySignatureBlock()
238 ApkSigningBlockUtils.Result.SignerInfo signerInfo, byte[] expectedDigest, in verifyRootHashAndTree()
DV4SchemeSigner.java281 ApkSigningBlockUtils.Result.SignerInfo signer = result.signers.get(0); in getBestV3Digest()
286 final List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests = in getBestV3Digest()
318 ApkSigningBlockUtils.Result.SignerInfo signer = result.signers.get(0); in getBestV2Digest()
323 final List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests = in getBestV2Digest()
328 …private static byte[] pickBestDigest(List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> co… in pickBestDigest()
335 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : contentDigests) { in pickBestDigest()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java183 SortedMap<Integer, ApkSigningBlockUtils.Result.SignerInfo> sortedSigners = new TreeMap<>(); in verify()
184 for (ApkSigningBlockUtils.Result.SignerInfo signer : mResult.signers) { in verify()
196 for (ApkSigningBlockUtils.Result.SignerInfo signer : sortedSigners.values()) { in verify()
313 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners()
314 new ApkSigningBlockUtils.Result.SignerInfo(); in parseSigners()
341 ApkSigningBlockUtils.Result.SignerInfo result) in parseSigner()
370 new ApkSigningBlockUtils.Result.SignerInfo.Signature( in parseSigner()
514 new ApkSigningBlockUtils.Result.SignerInfo.ContentDigest( in parseSigner()
523 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner()
527 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest digest : result.contentDigests) { in parseSigner()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java207 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners()
208 new ApkSigningBlockUtils.Result.SignerInfo(); in parseSigners()
247 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner()
272 new ApkSigningBlockUtils.Result.SignerInfo.Signature( in parseSigner()
400 new ApkSigningBlockUtils.Result.SignerInfo.ContentDigest( in parseSigner()
409 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner()
413 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest digest : result.contentDigests) { in parseSigner()
437 new ApkSigningBlockUtils.Result.SignerInfo.AdditionalAttribute(id, value)); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java44 import com.android.apksig.internal.pkcs7.SignerInfo;
300 Result.SignerInfo signerInfo = in verify()
301 new Result.SignerInfo( in verify()
425 private final Result.SignerInfo mResult;
437 Result.SignerInfo result) { in Signer()
468 public Result.SignerInfo getResult() { in getResult()
520 SignerInfo firstVerifiedSignerInfo = null; in verifySigBlockAgainstSigFile()
525 List<SignerInfo> unverifiedSignerInfosToTry; in verifySigBlockAgainstSigFile()
533 for (SignerInfo unverifiedSignerInfo : unverifiedSignerInfosToTry) { in verifySigBlockAgainstSigFile()
602 SignerInfo signerInfo, in verifySignerInfoAgainstSigFile()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java40 import com.android.apksig.internal.pkcs7.SignerInfo;
194 for (Result.SignerInfo signerInfo : result.signers) { in verifyIntegrity()
195 for (Result.SignerInfo.ContentDigest expected : signerInfo.contentDigests) { in verifyIntegrity()
1208 SignerInfo signerInfo = new SignerInfo(); in generatePkcs7DerEncodedMessage()
1278 public final List<Result.SignerInfo> signers = new ArrayList<>();
1291 for (Result.SignerInfo signer : signers) { in containsErrors()
1305 for (Result.SignerInfo signer : signers) { in containsWarnings()
1332 public static class SignerInfo extends ApkSignerInfo { class in ApkSigningBlockUtils.Result
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV1SourceStampVerifier.java103 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in verify()
104 new ApkSigningBlockUtils.Result.SignerInfo(); in verify()
/tools/apksig/src/test/java/com/android/apksig/
DSourceStampVerifierTest.java28 import com.android.apksig.SourceStampVerifier.Result.SignerInfo;
475 List<SignerInfo> signers = null; in assertSigningCertificates()
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DSignedData.java57 public List<SignerInfo> signerInfos;
DSignerInfo.java31 public class SignerInfo { class