PyCRYPTHASH.CryptSignHash

string = CryptSignHash(KeySpec, Flags )

Signs the hash

Parameters

KeySpec : int

The key to be used to sign the hash, AT_KEYEXCHANGE,AT_SIGNATURE

Flags=0 : int

CRYPT_NOHASHOID,CRYPT_X931_FORMAT or 0

Comments

This methods signs only the hash, not the data that the hash represents