Home
last modified time | relevance | path

Searched refs:signerInfo (Results 1 – 9 of 9) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeVerifier.java99 ApkSigningBlockUtils.Result.SignerInfo signerInfo = parseAndVerifySignatureBlock( in verify() local
101 result.signers.add(signerInfo); in verify()
107 verifyRootHashAndTree(apk, signerInfo, hashingInfo.rawRootHash, tree); in verify()
221 ApkSigningBlockUtils.Result.SignerInfo signerInfo, byte[] expectedDigest, in verifyRootHashAndTree() argument
231 signerInfo.addError( in verifyRootHashAndTree()
240 signerInfo.addError( in verifyRootHashAndTree()
248 signerInfo.verifiedContentDigests.put(algorithm, actualDigest); in verifyRootHashAndTree()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV1SourceStampVerifier.java103 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in verify() local
105 result.signers.add(signerInfo); in verify()
116 signerInfo, in verify()
125 signerInfo.addWarning(ApkVerifier.Issue.SOURCE_STAMP_MALFORMED_SIGNATURE); in verify()
DV2SourceStampVerifier.java105 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in verify() local
107 result.signers.add(signerInfo); in verify()
115 signerInfo, in verify()
124 signerInfo.addWarning(ApkVerifier.Issue.SOURCE_STAMP_MALFORMED_SIGNATURE); in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java208 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners() local
210 signerInfo.index = signerIndex; in parseSigners()
211 result.signers.add(signerInfo); in parseSigners()
217 signerInfo, in parseSigners()
224 signerInfo.addError(Issue.V2_SIG_MALFORMED_SIGNER); in parseSigners()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java240 for (Result.SignerInfo signerInfo : result.signers) { in verifyIntegrity()
241 for (Result.SignerInfo.ContentDigest expected : signerInfo.contentDigests) { in verifyIntegrity()
259 signerInfo.addError( in verifyIntegrity()
265 signerInfo.addError( in verifyIntegrity()
273 signerInfo.verifiedContentDigests.put(contentDigestAlgorithm, actualDigest); in verifyIntegrity()
1321 SignerInfo signerInfo = new SignerInfo(); in generatePkcs7DerEncodedMessage() local
1322 signerInfo.version = 1; in generatePkcs7DerEncodedMessage()
1325 signerInfo.sid = in generatePkcs7DerEncodedMessage()
1331 signerInfo.digestAlgorithm = digestAlgorithmId; in generatePkcs7DerEncodedMessage()
1332 signerInfo.signatureAlgorithm = signatureAlgorithmId; in generatePkcs7DerEncodedMessage()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java258 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners() local
260 signerInfo.index = signerIndex; in parseSigners()
261 result.signers.add(signerInfo); in parseSigners()
264 parseSigner(signer, certFactory, signerInfo, contentDigestsToVerify); in parseSigners()
266 signerInfo.addError(Issue.V3_SIG_MALFORMED_SIGNER); in parseSigners()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java296 Result.SignerInfo signerInfo = in verify() local
299 Signer signer = new Signer(signerName, sigBlockEntry, sigFileEntry, signerInfo); in verify()
593 SignerInfo signerInfo, in verifySignerInfoAgainstSigFile() argument
599 String digestAlgorithmOid = signerInfo.digestAlgorithm.algorithm; in verifySignerInfoAgainstSigFile()
600 String signatureAlgorithmOid = signerInfo.signatureAlgorithm.algorithm; in verifySignerInfoAgainstSigFile()
649 findCertificate(signedDataCertificates, signerInfo.sid); in verifySignerInfoAgainstSigFile()
683 if (signerInfo.signedAttrs != null) { in verifySignerInfoAgainstSigFile()
708 signerInfo.signedAttrs.getEncoded(), Attribute.class); in verifySignerInfoAgainstSigFile()
751 ByteBuffer signedAttrsOriginalEncoding = signerInfo.signedAttrs.getEncoded(); in verifySignerInfoAgainstSigFile()
760 byte[] sigBytes = ByteBufferUtils.toByteArray(signerInfo.signature.slice()); in verifySignerInfoAgainstSigFile()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java569 for (Result.V2SchemeSignerInfo signerInfo : result.getV2SchemeSigners()) { in verify()
570 result.addSignerCertificate(signerInfo.getCertificate()); in verify()
573 for (Result.V1SchemeSignerInfo signerInfo : result.getV1SchemeSigners()) { in verify()
574 result.addSignerCertificate(signerInfo.getCertificate()); in verify()
605 for (ApkSigningBlockUtils.Result.SignerInfo signerInfo : apkSigningSchemeResult.signers) { in getApkContentDigestsFromSigningSchemeResult()
606 collectApkContentDigests(signerInfo.contentDigests, apkContentDigests); in getApkContentDigestsFromSigningSchemeResult()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...