Searched refs:hashAlgorithm (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/timestamp/
H A DTSRequest.java53 * hashAlgorithm AlgorithmIdentifier,
100 * @param hashAlgorithm The name of the hash algorithm.
102 public TSRequest(byte[] hashValue, String hashAlgorithm) { argument
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);
[all...]
H A DTimestampToken.java78 private AlgorithmId hashAlgorithm; field in class:TimestampToken
106 return hashAlgorithm;
144 hashAlgorithm = AlgorithmId.parse(messageImprint.data.getDerValue());
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSASignature.java420 int hashSize, String hashAlgorithm, long hCryptProv, long hCryptKey)
427 String hashAlgorithm, byte[] signature, int signatureSize,
419 signHash(boolean noHashOID, byte[] hash, int hashSize, String hashAlgorithm, long hCryptProv, long hCryptKey) argument
426 verifySignedHash(byte[] hash, int hashSize, String hashAlgorithm, byte[] signature, int signatureSize, long hCryptProv, long hCryptKey) argument

Completed in 34 milliseconds