win32crypt.CryptVerifyDetachedMessageSignature

PyCERT_CONTEXT = CryptVerifyDetachedMessageSignature(SignerIndex, DetachedSignBlob , ToBeSigned , VerifyPara )

Verifies a signature that is encoded separately from the data

Parameters

SignerIndex : int

Index of the signer to verify

DetachedSignBlob : buffer

Buffer containing an encoded signature

ToBeSigned : (buffer,...)

Sequence of buffers containing message data.

VerifyPara=None : PyCRYPT_VERIFY_MESSAGE_PARA

Signature verification parameters, use None for defaults

Return Value

Returns the signing certificate