Home
last modified time | relevance | path

Searched refs:digAlgId (Results 1 – 4 of 4) sorted by relevance

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultDigestAlgorithmIdentifierFinder.java169 AlgorithmIdentifier digAlgId; in find() local
173 digAlgId = RSASSAPSSparams.getInstance(sigAlgId.getParameters()).getHashAlgorithm(); in find()
189digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigAlgId.getAlgorithm()), … in find()
192 return digAlgId; in find()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java356 MessageDigest createDigest(AlgorithmIdentifier digAlgId) in createDigest() argument
363 if (digAlgId.getAlgorithm().equals(NISTObjectIdentifiers.id_shake256_len)) in createDigest()
365 …dig = helper.createMessageDigest("SHAKE256-" + ASN1Integer.getInstance(digAlgId.getParameters()).g… in createDigest()
369 … dig = helper.createMessageDigest(MessageDigestUtils.getDigestName(digAlgId.getAlgorithm())); in createDigest()
377 if (oids.get(digAlgId.getAlgorithm()) != null) in createDigest()
379 String digestAlgorithm = (String)oids.get(digAlgId.getAlgorithm()); in createDigest()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedGenerator.java102 …protected Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, by… in getBaseParameters() argument
106 param.put(CMSAttributeTableGenerator.DIGEST_ALGORITHM_IDENTIFIER, digAlgId); in getBaseParameters()
DSignerInfoGenerator.java273 …private Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, Algo… in getBaseParameters() argument
282 param.put(CMSAttributeTableGenerator.DIGEST_ALGORITHM_IDENTIFIER, digAlgId); in getBaseParameters()