Lines Matching refs:hashAlgorithm
53 * hashAlgorithm AlgorithmIdentifier,
100 * @param hashAlgorithm The name of the hash algorithm.
102 public TSRequest(byte[] hashValue, String hashAlgorithm) {
105 if ("MD5".equalsIgnoreCase(hashAlgorithm)) {
110 } else if ("SHA-1".equalsIgnoreCase(hashAlgorithm) ||
111 "SHA".equalsIgnoreCase(hashAlgorithm) ||
112 "SHA1".equalsIgnoreCase(hashAlgorithm)) {
179 DerOutputStream hashAlgorithm = new DerOutputStream();
180 hashAlgorithm.putOID(hashAlgorithmId);
181 messageImprint.write(DerValue.tag_Sequence, hashAlgorithm);