Searched refs:digestAlgorithm (Results 1 – 6 of 6) sorted by relevance
65 DigestAlgorithm digestAlgorithm) { in getSignerInfoDigestAlgorithmOid() argument66 switch (digestAlgorithm) { in getSignerInfoDigestAlgorithmOid()72 throw new IllegalArgumentException("Unsupported digest algorithm: " + digestAlgorithm); in getSignerInfoDigestAlgorithmOid()80 PublicKey publicKey, DigestAlgorithm digestAlgorithm) throws InvalidKeyException { in getSignerInfoSignatureAlgorithm() argument83 switch (digestAlgorithm) { in getSignerInfoSignatureAlgorithm()92 "Unexpected digest algorithm: " + digestAlgorithm); in getSignerInfoSignatureAlgorithm()100 switch (digestAlgorithm) { in getSignerInfoSignatureAlgorithm()116 "Unexpected digest algorithm: " + digestAlgorithm); in getSignerInfoSignatureAlgorithm()
40 public AlgorithmIdentifier digestAlgorithm; field in SignerInfo
164 private static MessageDigest getMessageDigestInstance(DigestAlgorithm digestAlgorithm) in getMessageDigestInstance() argument166 String jcaAlgorithm = digestAlgorithm.getJcaMessageDigestAlgorithm(); in getMessageDigestInstance()174 public static String getJcaMessageDigestAlgorithm(DigestAlgorithm digestAlgorithm) { in getJcaMessageDigestAlgorithm() argument175 return digestAlgorithm.getJcaMessageDigestAlgorithm(); in getJcaMessageDigestAlgorithm()268 DigestAlgorithm digestAlgorithm, in signManifest() argument282 generateSignatureFile(apkSigningSchemeIds, digestAlgorithm, createdBy, manifest); in signManifest()498 DigestAlgorithm digestAlgorithm = signerConfig.signatureDigestAlgorithm; in generateSignatureBlock() local500 getSignerInfoSignatureAlgorithm(publicKey, digestAlgorithm); in generateSignatureBlock()537 getSignerInfoDigestAlgorithmOid(digestAlgorithm); in generateSignatureBlock()552 private static String getEntryDigestAttributeName(DigestAlgorithm digestAlgorithm) { in getEntryDigestAttributeName() argument[all …]
599 String digestAlgorithmOid = signerInfo.digestAlgorithm.algorithm; in verifySignerInfoAgainstSigFile()
100 public String signatureAlgorithmName(@Nonnull DigestAlgorithm digestAlgorithm) { in signatureAlgorithmName() argument101 return digestAlgorithm.messageDigestName.replace("-", "") + signatureAlgorithmSuffix; in signatureAlgorithmName()
441 for (ContentDigestAlgorithm digestAlgorithm : digestAlgorithms) { in computeContentDigests()442 if (digestAlgorithm == ContentDigestAlgorithm.CHUNKED_SHA256 in computeContentDigests()443 || digestAlgorithm == ContentDigestAlgorithm.CHUNKED_SHA512) { in computeContentDigests()444 oneMbChunkBasedAlgorithm.add(digestAlgorithm); in computeContentDigests()490 ContentDigestAlgorithm digestAlgorithm = digestAlgorithmsArray[i]; in computeOneMbChunkContentDigests() local491 int digestOutputSizeBytes = digestAlgorithm.getChunkDigestOutputSizeBytes(); in computeOneMbChunkContentDigests()499 String jcaAlgorithm = digestAlgorithm.getJcaMessageDigestAlgorithm(); in computeOneMbChunkContentDigests()554 ContentDigestAlgorithm digestAlgorithm = digestAlgorithmsArray[i]; in computeOneMbChunkContentDigests() local558 outputContentDigests.put(digestAlgorithm, digest); in computeOneMbChunkContentDigests()1331 signerInfo.digestAlgorithm = digestAlgorithmId; in generatePkcs7DerEncodedMessage()