Home
last modified time | relevance | path

Searched refs:digester (Results 1 – 8 of 8) sorted by relevance

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInfoGenerator.java34 private final DigestCalculator digester; field in SignerInfoGenerator
64 … this.digester = digesterProvider.get(digAlgFinder.find(signer.getAlgorithmIdentifier())); in SignerInfoGenerator()
68 this.digester = null; in SignerInfoGenerator()
92 this.digester = original.digester; in SignerInfoGenerator()
112 … this.digester = digesterProvider.get(digAlgFinder.find(signer.getAlgorithmIdentifier())); in SignerInfoGenerator()
116 this.digester = null; in SignerInfoGenerator()
146 if (digester != null) in getDigestAlgorithm()
148 return digester.getAlgorithmIdentifier(); in getDigestAlgorithm()
156 if (digester != null) in getCalculatingOutputStream()
160 … return new TeeOutputStream(digester.getOutputStream(), signer.getOutputStream()); in getCalculatingOutputStream()
[all …]
/external/python/oauth2client/oauth2client/contrib/
Dxsrfutil.py52 digester = hmac.new(_helpers._to_bytes(key, encoding='utf-8'))
53 digester.update(_helpers._to_bytes(str(user_id), encoding='utf-8'))
54 digester.update(DELIMITER)
55 digester.update(_helpers._to_bytes(action_id, encoding='utf-8'))
56 digester.update(DELIMITER)
58 digester.update(when)
59 digest = digester.digest()
/external/vogar/src/vogar/
DMd5Cache.java58 MessageDigest digester = MessageDigest.getInstance("MD5"); in md5() local
64 digester.update(bytes, 0, byteCount); in md5()
66 digest = digester.digest(); in md5()
82 MessageDigest digester = MessageDigest.getInstance("MD5"); in md5() local
83 digester.update(string.getBytes(Charsets.UTF_8)); in md5()
84 digest = digester.digest(); in md5()
/external/python/oauth2client/tests/contrib/
Dtest_xsrfutil.py52 digester = mock.MagicMock()
53 digester.digest = mock.MagicMock(name='digest', return_value=digest)
55 hmac.new = mock.MagicMock(name='new', return_value=digester)
61 digester.digest.assert_called_once_with()
70 self.assertEqual(digester.method_calls, expected_digest_calls)
81 digester = mock.MagicMock()
82 digester.digest = mock.MagicMock(name='digest', return_value=digest)
84 hmac.new = mock.MagicMock(name='new', return_value=digester)
95 digester.digest.assert_called_once_with()
104 self.assertEqual(digester.method_calls, expected_digest_calls)
/external/nist-sip/java/gov/nist/javax/sip/
DUtils.java47 private static MessageDigest digester; field in Utils
68 digester = MessageDigest.getInstance("MD5");
139 byte cid[] = digester.digest(date.getBytes()); in generateCallIdentifier()
175 byte bid[] = digester.digest(Long.toString(num).getBytes()); in generateBranchId()
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DDefaultDeflateCompatibilityWindow.java317 MessageDigest digester; in getSystemValues() local
319 digester = MessageDigest.getInstance("SHA-256"); in getSystemValues()
350 digester.reset(); in getSystemValues()
351 byte[] sha256OfCompressedData = digester.digest(compressedData); in getSystemValues()
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA.txt45464 digester %20831 daɪdʒˈɛstər, dɪdʒˈɛstər, dˈɑɪdʒˌɛstər
Dinternal_raw_IPA-old.txt53831 digester %2769 daɪʤˈɛstər, dɪ-, dɪʤˈɛstər, dˈạʤˌɛstər