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/internal/apk/v4/
DV4SchemeVerifier.java99 ApkSigningBlockUtils.Result.SignerInfo signerInfo = parseAndVerifySignatureBlock( in verify()
121 private static ApkSigningBlockUtils.Result.SignerInfo parseAndVerifySignatureBlock( in parseAndVerifySignatureBlock()
124 final ApkSigningBlockUtils.Result.SignerInfo result = in parseAndVerifySignatureBlock()
125 new ApkSigningBlockUtils.Result.SignerInfo(); in parseAndVerifySignatureBlock()
131 new ApkSigningBlockUtils.Result.SignerInfo.Signature(sigAlgorithmId, sigBytes)); in parseAndVerifySignatureBlock()
212 ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest = in parseAndVerifySignatureBlock()
213 new ApkSigningBlockUtils.Result.SignerInfo.ContentDigest( in parseAndVerifySignatureBlock()
221 ApkSigningBlockUtils.Result.SignerInfo signerInfo, byte[] expectedDigest, in verifyRootHashAndTree()
DV4SchemeSigner.java243 ApkSigningBlockUtils.Result.SignerInfo signer = result.signers.get(0); in getBestV3Digest()
248 final List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests = in getBestV3Digest()
280 ApkSigningBlockUtils.Result.SignerInfo signer = result.signers.get(0); in getBestV2Digest()
285 final List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> contentDigests = in getBestV2Digest()
290 …private static byte[] pickBestDigest(List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> co… in pickBestDigest()
297 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : contentDigests) { in pickBestDigest()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java165 SortedMap<Integer, ApkSigningBlockUtils.Result.SignerInfo> sortedSigners = new TreeMap<>(); in verify()
166 for (ApkSigningBlockUtils.Result.SignerInfo signer : result.signers) { in verify()
178 for (ApkSigningBlockUtils.Result.SignerInfo signer : sortedSigners.values()) { in verify()
258 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners()
259 new ApkSigningBlockUtils.Result.SignerInfo(); in parseSigners()
287 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner()
317 new ApkSigningBlockUtils.Result.SignerInfo.Signature( in parseSigner()
461 new ApkSigningBlockUtils.Result.SignerInfo.ContentDigest( in parseSigner()
470 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner()
474 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest digest : result.contentDigests) { in parseSigner()
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java489 List<ApkSigningBlockUtils.Result.SignerInfo.ContentDigest> digestsFromV4 = in verify()
596 …private static byte[] pickBestDigestForV4(List<ApkSigningBlockUtils.Result.SignerInfo.ContentDiges… in pickBestDigestForV4()
605 for (ApkSigningBlockUtils.Result.SignerInfo signerInfo : apkSigningSchemeResult.signers) { in getApkContentDigestsFromSigningSchemeResult()
642 …private static void collectApkContentDigests(List<ApkSigningBlockUtils.Result.SignerInfo.ContentDi… in collectApkContentDigests()
643 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : contentDigests) { in collectApkContentDigests()
957 for (V1SchemeVerifier.Result.SignerInfo signer : source.signers) { in mergeFrom()
960 for (V1SchemeVerifier.Result.SignerInfo signer : source.ignoredSigners) { in mergeFrom()
969 for (ApkSigningBlockUtils.Result.SignerInfo signer : source.signers) { in mergeFrom()
975 for (ApkSigningBlockUtils.Result.SignerInfo signer : source.signers) { in mergeFrom()
982 for (ApkSigningBlockUtils.Result.SignerInfo signer : source.signers) { in mergeFrom()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java208 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners()
209 new ApkSigningBlockUtils.Result.SignerInfo(); in parseSigners()
245 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner()
271 new ApkSigningBlockUtils.Result.SignerInfo.Signature( in parseSigner()
399 new ApkSigningBlockUtils.Result.SignerInfo.ContentDigest( in parseSigner()
408 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner()
412 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest digest : result.contentDigests) { in parseSigner()
436 new ApkSigningBlockUtils.Result.SignerInfo.AdditionalAttribute(id, value)); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java70 ApkSigningBlockUtils.Result.SignerInfo result, in verifyV1SourceStamp()
104 ApkSigningBlockUtils.Result.SignerInfo result, in verifyV2SourceStamp()
151 ApkSigningBlockUtils.Result.SignerInfo result) in verifySourceStampCertificate()
195 ApkSigningBlockUtils.Result.SignerInfo result) in verifySourceStampSignature()
DV1SourceStampVerifier.java103 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in verify()
104 new ApkSigningBlockUtils.Result.SignerInfo(); in verify()
DV2SourceStampVerifier.java105 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in verify()
106 new ApkSigningBlockUtils.Result.SignerInfo(); in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java42 import com.android.apksig.internal.pkcs7.SignerInfo;
296 Result.SignerInfo signerInfo = in verify()
297 new Result.SignerInfo( in verify()
416 private final Result.SignerInfo mResult;
428 Result.SignerInfo result) { in Signer()
459 public Result.SignerInfo getResult() { in getResult()
511 SignerInfo firstVerifiedSignerInfo = null; in verifySigBlockAgainstSigFile()
516 List<SignerInfo> unverifiedSignerInfosToTry; in verifySigBlockAgainstSigFile()
524 for (SignerInfo unverifiedSignerInfo : unverifiedSignerInfosToTry) { in verifySigBlockAgainstSigFile()
593 SignerInfo signerInfo, in verifySignerInfoAgainstSigFile()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DSignedData.java57 public List<SignerInfo> signerInfos;
DSignerInfo.java31 public class SignerInfo { class
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java40 import com.android.apksig.internal.pkcs7.SignerInfo;
240 for (Result.SignerInfo signerInfo : result.signers) { in verifyIntegrity()
241 for (Result.SignerInfo.ContentDigest expected : signerInfo.contentDigests) { in verifyIntegrity()
1321 SignerInfo signerInfo = new SignerInfo(); in generatePkcs7DerEncodedMessage()
1395 public final List<Result.SignerInfo> signers = new ArrayList<>();
1409 for (Result.SignerInfo signer : signers) { in containsErrors()
1423 for (Result.SignerInfo signer : signers) { in containsWarnings()
1448 public static class SignerInfo { class in ApkSigningBlockUtils.Result