Searched refs:signatureAlgorithm (Results 1 – 9 of 9) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 269 SignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.findById(sigAlgorithmId); in parseSigner() local 270 if (signatureAlgorithm == null) { in parseSigner() 275 new ApkSigningBlockUtils.SupportedSignature(signatureAlgorithm, sigBytes)); in parseSigner() 297 SignatureAlgorithm signatureAlgorithm = signature.algorithm; in parseSigner() local 299 signatureAlgorithm.getJcaSignatureAlgorithmAndParams().getFirst(); in parseSigner() 301 signatureAlgorithm.getJcaSignatureAlgorithmAndParams().getSecond(); in parseSigner() 302 String keyAlgorithm = signatureAlgorithm.getJcaKeyAlgorithm(); in parseSigner() 322 result.addError(Issue.V2_SIG_DID_NOT_VERIFY, signatureAlgorithm); in parseSigner() 325 result.verifiedSignatures.put(signatureAlgorithm, sigBytes); in parseSigner() 326 contentDigestsToVerify.add(signatureAlgorithm.getContentDigestAlgorithm()); in parseSigner() [all …]
|
D | V2SchemeSigner.java | 207 for (SignatureAlgorithm signatureAlgorithm : signerConfig.signatureAlgorithms) { in generateSignerBlock() 209 signatureAlgorithm.getContentDigestAlgorithm(); in generateSignerBlock() 213 contentDigestAlgorithm + " content digest for " + signatureAlgorithm in generateSignerBlock() 216 digests.add(Pair.of(signatureAlgorithm.getId(), contentDigest)); in generateSignerBlock()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 315 SignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.findById(sigAlgorithmId); in parseSigner() local 316 if (signatureAlgorithm == null) { in parseSigner() 323 new ApkSigningBlockUtils.SupportedSignature(signatureAlgorithm, sigBytes)); in parseSigner() 345 SignatureAlgorithm signatureAlgorithm = signature.algorithm; in parseSigner() local 347 signatureAlgorithm.getJcaSignatureAlgorithmAndParams().getFirst(); in parseSigner() 349 signatureAlgorithm.getJcaSignatureAlgorithmAndParams().getSecond(); in parseSigner() 350 String keyAlgorithm = signatureAlgorithm.getJcaKeyAlgorithm(); in parseSigner() 370 result.addError(Issue.V3_SIG_DID_NOT_VERIFY, signatureAlgorithm); in parseSigner() 373 result.verifiedSignatures.put(signatureAlgorithm, sigBytes); in parseSigner() 374 contentDigestsToVerify.add(signatureAlgorithm.getContentDigestAlgorithm()); in parseSigner() [all …]
|
D | V3SchemeSigner.java | 192 for (SignatureAlgorithm signatureAlgorithm : signerConfig.signatureAlgorithms) { in generateSignerBlock() 194 signatureAlgorithm.getContentDigestAlgorithm(); in generateSignerBlock() 198 contentDigestAlgorithm + " content digest for " + signatureAlgorithm in generateSignerBlock() 201 digests.add(Pair.of(signatureAlgorithm.getId(), contentDigest)); in generateSignerBlock()
|
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
D | SignerInfo.java | 50 public AlgorithmIdentifier signatureAlgorithm; field in SignerInfo
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 195 SignatureAlgorithm signatureAlgorithm = in verifyIntegrity() local 197 if (signatureAlgorithm == null) { in verifyIntegrity() 201 signatureAlgorithm.getContentDigestAlgorithm(); in verifyIntegrity() 789 for (SignatureAlgorithm signatureAlgorithm : signerConfig.signatureAlgorithms) { in computeContentDigests() 790 contentDigestAlgorithms.add(signatureAlgorithm.getContentDigestAlgorithm()); in computeContentDigests() 902 for (SignatureAlgorithm signatureAlgorithm : signerConfig.signatureAlgorithms) { in generateSignaturesOverData() 904 signatureAlgorithm.getJcaSignatureAlgorithmAndParams(); in generateSignaturesOverData() 944 signatures.add(Pair.of(signatureAlgorithm.getId(), signatureBytes)); in generateSignaturesOverData()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 233 SignatureAlgorithm signatureAlgorithm = getSignatureAlgorithm(parent); in spawnDescendant() local 236 child.getCertificate(), signatureAlgorithm.getId())); in spawnDescendant() 249 newSignerConfig.signatureAlgorithms = Collections.singletonList(signatureAlgorithm); in spawnDescendant()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 569 signerInfo.signatureAlgorithm = signatureAlgorithmId; in generateSignatureBlock()
|
D | V1SchemeVerifier.java | 574 String signatureAlgorithmOid = signerInfo.signatureAlgorithm.algorithm; in verifySignerInfoAgainstSigFile()
|