Explanation

CryptHashSessionKey part of the data that is supplied to subsequent calls to CryptHashData.

Takes a session key, applies a hash algorithm on this data, and moves the hashed data into the specified hash object. The type of hash algorithm used is based on the parameters of the hash object. In case multiple keys need to be hashed, it is possible to perform this function a number of times using the same hash object. Here also, the already available hash value is added to the subsequent keys before performing the hash.

CryptSetHashParam

CryptSignHash

CryptVerifySignature

Sets the value of a specific parameter from a hash object referenced by the hash handle.

Signs the specified hash object, using the private key of the user's key exchange or signature key-pairs.

Verifies the signature of a hash object, referenced by the hash handle. It uses the public key of the sender to do the verification.

Was this article helpful?

0 0

Post a comment