win32crypt.CryptVerifyMessageSignature
(PyCERT_CONTEXT, str) = CryptVerifyMessageSignature(SignedBlob, SignerIndex
, VerifyPara
, ReturnData
)
Verifies the signature of an encoded
message
Parameters
SignedBlob : str
Buffer containing a signed messageSignerIndex=0 : int
Index of the signer to verify, zero-based
VerifyPara=None : PyCRYPT_VERIFY_MESSAGE_PARA
Signature verification parameters, use
None for defaults
ReturnData=False : boolean
Indicates if decoded data should be returned.
Return Value
Returns the signing certificate and the decoded data. If ReturnData parm is False, None is returned for data.