PyCRYPTPROV.CryptGetUserKey

PyCRYPTKEY = CryptGetUserKey(KeySpec)

Returns a handle to one of user's key pairs

Parameters

KeySpec : int

AT_KEYEXCHANGE or AT_SIGNATURE (some providers may implement extra key specs)